| Source file: /home/sergeyb/sources/src/sys/ddb/db_ctf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_ctf_init |
|
26 |
6 |
184 |
| db_ctf_idx2sym |
|
14 |
3 |
91 |
| db_ctf_func_numargs |
|
28 |
9 |
178 |
| db_ctf_type_len |
|
58 |
20 |
274 |
| db_ctf_type_by_symbol |
|
19 |
6 |
112 |
| db_ctf_type_by_name |
|
26 |
7 |
162 |
| db_ctf_type_by_index |
|
22 |
5 |
110 |
| db_ctf_pprint |
|
35 |
15 |
152 |
| db_ctf_pprint_struct |
|
46 |
9 |
314 |
| db_ctf_pprint_ptr |
|
32 |
6 |
167 |
| db_ctf_off2name |
|
14 |
5 |
90 |
| db_ctf_decompress |
|
36 |
6 |
230 |
| db_ctf_pprint_cmd |
|
31 |
5 |
164 |
| db_ctf_show_struct |
|
31 |
5 |
167 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_var.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_break.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_elf.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_lex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_read_line |
|
10 |
2 |
47 |
| db_flush_line |
|
5 |
1 |
14 |
| db_read_char |
|
13 |
3 |
49 |
| db_unread_char |
|
4 |
1 |
11 |
| db_unread_token |
|
4 |
1 |
11 |
| db_read_token |
|
11 |
2 |
35 |
| db_flush_lex |
|
6 |
1 |
18 |
| db_lex |
|
145 |
75 |
749 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_command.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_dwarf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| read_bytes |
|
9 |
2 |
57 |
| read_s8 |
|
4 |
1 |
29 |
| read_u8 |
|
4 |
1 |
29 |
| read_u16 |
|
4 |
1 |
29 |
| read_u32 |
|
4 |
1 |
29 |
| read_u64 |
|
4 |
1 |
29 |
| read_leb128 |
|
17 |
7 |
117 |
| read_sleb128 |
|
4 |
1 |
29 |
| read_uleb128 |
|
4 |
1 |
25 |
| read_string |
|
11 |
2 |
78 |
| read_buf |
|
10 |
2 |
61 |
| skip_bytes |
|
8 |
2 |
42 |
| read_filename |
|
38 |
16 |
256 |
| db_dwarf_line_at_pc |
|
144 |
44 |
750 |
| usage |
|
5 |
1 |
21 |
| main |
|
94 |
28 |
694 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_interface.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_expr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_term |
|
48 |
13 |
233 |
| db_unary |
|
21 |
5 |
112 |
| db_mult_expr |
|
30 |
11 |
158 |
| db_add_expr |
|
21 |
6 |
100 |
| db_shift_expr |
|
25 |
7 |
122 |
| db_expression |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_command.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_skip_to_eol |
|
7 |
2 |
25 |
| db_cmd_search |
|
30 |
6 |
141 |
| db_cmd_list |
|
8 |
2 |
45 |
| db_command |
|
108 |
19 |
471 |
| db_buf_print_cmd |
|
7 |
2 |
48 |
| db_map_print_cmd |
|
7 |
2 |
49 |
| db_malloc_print_cmd |
|
4 |
1 |
22 |
| db_mbuf_print_cmd |
|
4 |
1 |
28 |
| db_socket_print_cmd |
|
4 |
1 |
28 |
| db_mount_print_cmd |
|
7 |
2 |
49 |
| db_show_all_mounts |
|
11 |
2 |
67 |
| db_show_all_vnodes |
|
7 |
2 |
47 |
| db_show_all_bufs |
|
7 |
2 |
47 |
| db_object_print_cmd |
|
7 |
2 |
49 |
| db_page_print_cmd |
|
7 |
2 |
49 |
| db_vnode_print_cmd |
|
7 |
2 |
48 |
| db_nfsreq_print_cmd |
|
8 |
2 |
48 |
| db_nfsnode_print_cmd |
|
8 |
2 |
48 |
| db_show_panic_cmd |
|
7 |
2 |
34 |
| db_extent_print_cmd |
|
4 |
1 |
21 |
| db_pool_print_cmd |
|
4 |
1 |
31 |
| db_proc_print_cmd |
|
6 |
2 |
43 |
| db_uvmexp_print_cmd |
|
4 |
1 |
22 |
| db_bcstats_print_cmd |
|
4 |
1 |
22 |
| db_machine_commands_install |
|
5 |
1 |
20 |
| db_help_cmd |
|
4 |
1 |
22 |
| db_command_loop |
|
22 |
4 |
107 |
| db_error |
|
8 |
3 |
34 |
| db_fncall |
|
49 |
9 |
307 |
| db_boot_sync_cmd |
|
4 |
1 |
26 |
| db_boot_crash_cmd |
|
4 |
1 |
28 |
| db_boot_dump_cmd |
|
4 |
1 |
26 |
| db_boot_halt_cmd |
|
4 |
1 |
28 |
| db_boot_reboot_cmd |
|
4 |
1 |
28 |
| db_boot_poweroff_cmd |
|
4 |
1 |
30 |
| db_dmesg_cmd |
|
18 |
7 |
121 |
| db_stack_trace_cmd |
|
5 |
1 |
30 |
| db_show_regs |
|
21 |
6 |
174 |
| db_write_cmd |
|
46 |
9 |
222 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_run.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_prof.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_prof_init |
|
9 |
2 |
46 |
| db_prof_forall |
|
26 |
10 |
202 |
| db_prof_enable |
|
23 |
5 |
123 |
| db_prof_disable |
|
16 |
2 |
93 |
| db_prof_hook |
|
17 |
5 |
90 |
| db_prof_count |
|
62 |
13 |
371 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_putstring |
|
5 |
2 |
25 |
| db_putnchars |
|
5 |
2 |
22 |
| db_delete |
|
15 |
3 |
84 |
| db_delete_line |
|
6 |
1 |
30 |
| db_inputchar |
|
160 |
55 |
809 |
| db_readline |
|
13 |
2 |
64 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_sym.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ddb_init |
|
21 |
7 |
124 |
| db_eqname |
|
8 |
3 |
57 |
| db_search_symbol |
|
14 |
2 |
72 |
| db_printsym |
|
30 |
8 |
202 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_watch.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_run.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_stop_at_pc |
|
75 |
31 |
413 |
| db_restart_at_pc |
|
26 |
10 |
144 |
| db_single_step |
|
7 |
2 |
25 |
| db_single_step_cmd |
|
13 |
3 |
66 |
| db_trace_until_call_cmd |
|
11 |
2 |
51 |
| db_trace_until_matching_cmd |
|
12 |
2 |
55 |
| db_continue_cmd |
|
9 |
2 |
43 |
| db_set_single_step |
|
16 |
6 |
108 |
| db_clear_single_step |
|
11 |
3 |
42 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_output.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_force_whitespace |
|
19 |
4 |
69 |
| db_more |
|
26 |
7 |
103 |
| db_putchar |
|
33 |
11 |
148 |
| db_print_position |
|
4 |
1 |
11 |
| db_end_line |
|
5 |
2 |
20 |
| db_format |
|
16 |
9 |
107 |
| db_stack_dump |
|
14 |
2 |
61 |
| db_print_stack_trace |
|
9 |
2 |
56 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_watch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_watchpoint_alloc |
|
15 |
3 |
66 |
| db_watchpoint_free |
|
5 |
1 |
17 |
| db_set_watchpoint |
|
19 |
5 |
103 |
| db_delete_watchpoint |
|
13 |
4 |
72 |
| db_list_watchpoints |
|
12 |
3 |
62 |
| db_deletewatch_cmd |
|
4 |
1 |
22 |
| db_watchpoint_cmd |
|
11 |
2 |
54 |
| db_listwatch_cmd |
|
4 |
1 |
21 |
| db_set_watchpoints |
|
12 |
4 |
70 |
| db_clear_watchpoints |
|
4 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_variables.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_find_variable |
|
22 |
6 |
117 |
| db_get_variable |
|
8 |
2 |
39 |
| db_set_variable |
|
8 |
2 |
39 |
| db_read_variable |
|
8 |
2 |
62 |
| db_write_variable |
|
8 |
2 |
62 |
| db_set_cmd |
|
23 |
6 |
119 |
| db_var_rw_int |
|
8 |
2 |
52 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_extern.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_break.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_breakpoint_alloc |
|
15 |
3 |
66 |
| db_breakpoint_free |
|
5 |
1 |
17 |
| db_set_breakpoint |
|
23 |
5 |
101 |
| db_delete_breakpoint |
|
17 |
4 |
78 |
| db_find_breakpoint |
|
8 |
3 |
44 |
| db_set_breakpoints |
|
13 |
3 |
69 |
| db_clear_breakpoints |
|
9 |
3 |
48 |
| db_set_temp_breakpoint |
|
20 |
4 |
112 |
| db_delete_temp_breakpoint |
|
5 |
1 |
25 |
| db_list_breakpoints |
|
14 |
3 |
72 |
| db_delete_cmd |
|
4 |
1 |
25 |
| db_breakpoint_cmd |
|
6 |
2 |
38 |
| db_listbreak_cmd |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_sym.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_access.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_lex.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_trap |
|
40 |
9 |
191 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_elf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_elf_sym_init |
|
78 |
17 |
630 |
| db_elf_find_strtab |
|
15 |
4 |
140 |
| db_elf_find_section |
|
16 |
4 |
142 |
| db_elf_sym_lookup |
|
19 |
6 |
120 |
| db_elf_sym_search |
|
51 |
20 |
279 |
| db_symbol_values |
|
21 |
6 |
107 |
| db_elf_line_at_pc |
|
22 |
5 |
153 |
| db_elf_sym_forall |
|
36 |
9 |
196 |
| db_symbol_by_name |
|
9 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_usrreq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ddb_sysctl |
|
78 |
33 |
497 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_access.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_get_value |
|
17 |
9 |
145 |
| db_put_value |
|
14 |
6 |
90 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_variables.h |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_hangman.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_hang_forall |
|
6 |
2 |
45 |
| db_randomsym |
|
18 |
4 |
121 |
| db_hang |
|
24 |
15 |
202 |
| db_hangman |
|
57 |
19 |
304 |
| Source file: /home/sergeyb/sources/src/sys/ddb/db_examine.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_examine_cmd |
|
8 |
3 |
61 |
| db_examine |
|
148 |
37 |
759 |
| db_print_cmd |
|
40 |
12 |
278 |
| db_print_loc_and_inst |
|
6 |
1 |
31 |
| db_strlcpy |
|
19 |
8 |
110 |
| db_search_cmd |
|
56 |
11 |
269 |
| db_search |
|
11 |
4 |
63 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_descrip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| filedesc_init |
|
8 |
1 |
56 |
| find_next_zero |
|
24 |
6 |
141 |
| find_last_set |
|
17 |
7 |
115 |
| fd_used |
|
10 |
3 |
85 |
| fd_unused |
|
14 |
6 |
121 |
| fd_getfile |
|
9 |
4 |
64 |
| fd_getfile_mode |
|
9 |
3 |
62 |
| sys_dup |
|
28 |
4 |
166 |
| sys_dup2 |
|
6 |
1 |
50 |
| sys_dup3 |
|
11 |
3 |
92 |
| dodup3 |
|
38 |
11 |
245 |
| sys_fcntl |
|
215 |
56 |
1443 |
| finishdup |
|
27 |
7 |
186 |
| fdremove |
|
7 |
1 |
42 |
| fdrelease |
|
16 |
3 |
102 |
| sys_close |
|
13 |
2 |
85 |
| sys_fstat |
|
24 |
7 |
181 |
| sys_fpathconf |
|
35 |
6 |
190 |
| fdalloc |
|
37 |
9 |
270 |
| fdexpand |
|
52 |
6 |
460 |
| falloc |
|
38 |
5 |
254 |
| fdinit |
|
17 |
1 |
134 |
| fdshare |
|
5 |
1 |
23 |
| fdcopy |
|
62 |
12 |
505 |
| fdfree |
|
33 |
8 |
250 |
| closef |
|
21 |
7 |
148 |
| fdrop |
|
15 |
4 |
91 |
| sys_flock |
|
43 |
7 |
276 |
| filedescopen |
|
5 |
1 |
32 |
| dupfdopen |
|
27 |
8 |
224 |
| fdcloseexec |
|
12 |
3 |
78 |
| sys_closefrom |
|
16 |
3 |
104 |
| sys_getdtablecount |
|
5 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/kern/sys_futex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| futex_init |
|
5 |
1 |
29 |
| sys_futex |
|
33 |
4 |
196 |
| futex_get |
|
20 |
5 |
129 |
| futex_put |
|
11 |
2 |
65 |
| futex_wait |
|
42 |
12 |
287 |
| futex_requeue |
|
25 |
6 |
171 |
| futex_wake |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/kern/sys_process.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_ptrace |
|
152 |
51 |
710 |
| ptrace_ctrl |
|
114 |
52 |
787 |
| ptrace_kstate |
|
52 |
14 |
296 |
| ptrace_ustate |
|
108 |
32 |
634 |
| process_tprfind |
|
16 |
4 |
87 |
| process_checktracestate |
|
14 |
7 |
89 |
| process_checkioperm |
|
13 |
6 |
105 |
| process_domem |
|
23 |
8 |
158 |
| process_auxv_offset |
|
35 |
9 |
269 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| initclocks |
|
18 |
5 |
103 |
| hardclock |
|
31 |
12 |
216 |
| tvtohz |
|
21 |
7 |
141 |
| tstohz |
|
13 |
3 |
73 |
| startprofclock |
|
13 |
4 |
71 |
| stopprofclock |
|
13 |
4 |
67 |
| statclock |
|
61 |
23 |
378 |
| sysctl_clockrate |
|
11 |
2 |
85 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_prof.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| prof_init |
|
50 |
6 |
318 |
| prof_state_toggle |
|
21 |
7 |
93 |
| sysctl_doprof |
|
42 |
10 |
272 |
| sys_profil |
|
23 |
3 |
160 |
| addupc_intr |
|
11 |
3 |
73 |
| addupc_task |
|
21 |
7 |
149 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_socket2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| soisconnecting |
|
6 |
1 |
30 |
| soisconnected |
|
16 |
3 |
95 |
| soisdisconnecting |
|
9 |
1 |
50 |
| soisdisconnected |
|
9 |
1 |
56 |
| sonewconn |
|
49 |
8 |
403 |
| soqinsque |
|
15 |
4 |
91 |
| soqremque |
|
18 |
4 |
107 |
| socantsendmore |
|
6 |
1 |
25 |
| socantrcvmore |
|
6 |
1 |
25 |
| solock |
|
11 |
4 |
67 |
| sounlock |
|
5 |
2 |
18 |
| soassertlocked |
|
15 |
6 |
50 |
| sosleep |
|
9 |
4 |
92 |
| sbwait |
|
8 |
2 |
58 |
| sblock |
|
19 |
6 |
131 |
| sbunlock |
|
9 |
2 |
49 |
| sowakeup |
|
13 |
3 |
86 |
| soreserve |
|
21 |
6 |
156 |
| sbreserve |
|
13 |
5 |
111 |
| sbcheckreserve |
|
6 |
3 |
30 |
| sbchecklowmem |
|
11 |
5 |
87 |
| sbrelease |
|
5 |
1 |
31 |
| sblastrecordchk |
|
14 |
5 |
99 |
| sblastmbufchk |
|
21 |
8 |
146 |
| sbappend |
|
19 |
5 |
117 |
| sbappendstream |
|
11 |
2 |
94 |
| sbcheck |
|
20 |
8 |
139 |
| sbappendrecord |
|
19 |
5 |
129 |
| sbinsertoob |
|
32 |
9 |
192 |
| sbappendaddr |
|
39 |
11 |
279 |
| sbappendcontrol |
|
29 |
7 |
203 |
| sbcompress |
|
47 |
17 |
304 |
| sbflush |
|
12 |
3 |
109 |
| sbdrop |
|
45 |
14 |
277 |
| sbdroprecord |
|
13 |
3 |
70 |
| sbcreatecontrol |
|
26 |
5 |
177 |
| Source file: /home/sergeyb/sources/src/sys/kern/exec_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| new_vmcmd |
|
17 |
3 |
130 |
| vmcmdset_extend |
|
16 |
4 |
120 |
| kill_vmcmds |
|
16 |
4 |
108 |
| exec_process_vmcmds |
|
21 |
7 |
138 |
| vmcmd_map_pagedvn |
|
24 |
7 |
164 |
| vmcmd_map_readvn |
|
27 |
5 |
207 |
| vmcmd_map_zero |
|
10 |
2 |
86 |
| vmcmd_randomize |
|
25 |
6 |
151 |
| exec_setup_stack |
|
30 |
5 |
253 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_task.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| taskq_init |
|
5 |
1 |
20 |
| taskq_create |
|
17 |
2 |
115 |
| taskq_destroy |
|
21 |
4 |
125 |
| taskq_create_thread |
|
33 |
7 |
190 |
| taskq_barrier |
|
11 |
2 |
66 |
| taskq_barrier_task |
|
6 |
1 |
25 |
| task_set |
|
6 |
1 |
41 |
| task_add |
|
16 |
4 |
104 |
| task_del |
|
14 |
3 |
95 |
| taskq_sleep |
|
10 |
1 |
72 |
| taskq_next_work |
|
20 |
5 |
154 |
| taskq_thread |
|
27 |
7 |
180 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_cache.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| namecache_compare |
|
7 |
2 |
56 |
| cache_tree_init |
|
4 |
1 |
16 |
| cache_zap |
|
30 |
14 |
210 |
| cache_lookup |
|
95 |
25 |
605 |
| cache_revlookup |
|
40 |
13 |
232 |
| cache_enter |
|
52 |
19 |
344 |
| nchinit |
|
7 |
1 |
40 |
| cache_purge |
|
12 |
5 |
93 |
| cache_purgevfs |
|
14 |
5 |
89 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_tc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dummy_get_timecount |
|
5 |
1 |
19 |
| tc_delta |
|
7 |
1 |
40 |
| binuptime |
|
11 |
3 |
64 |
| nanouptime |
|
6 |
1 |
27 |
| microuptime |
|
6 |
1 |
27 |
| bintime |
|
5 |
1 |
22 |
| nanotime |
|
6 |
1 |
27 |
| microtime |
|
6 |
1 |
27 |
| getnanouptime |
|
10 |
3 |
53 |
| getmicrouptime |
|
10 |
3 |
53 |
| getnanotime |
|
10 |
3 |
50 |
| getmicrotime |
|
10 |
3 |
50 |
| tc_init |
|
27 |
7 |
155 |
| tc_getfrequency |
|
4 |
1 |
15 |
| tc_setrealtimeclock |
|
19 |
2 |
121 |
| tc_setclock |
|
24 |
4 |
154 |
| tc_windup |
|
46 |
8 |
320 |
| sysctl_tc_hardware |
|
20 |
5 |
163 |
| sysctl_tc_choice |
|
21 |
3 |
168 |
| tc_ticktock |
|
8 |
2 |
27 |
| inittimecounter |
|
12 |
4 |
73 |
| sysctl_tc |
|
19 |
6 |
124 |
| ntp_update_second |
|
11 |
2 |
60 |
| tc_adjfreq |
|
10 |
3 |
45 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty_conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nullioctl |
|
4 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_getcwd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vfs_getcwd_scandir |
|
112 |
17 |
627 |
| vfs_getcwd_getcache |
|
38 |
8 |
221 |
| vfs_getcwd_common |
|
84 |
26 |
462 |
| sys___getcwd |
|
24 |
4 |
181 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _mtx_init_flags |
|
12 |
2 |
79 |
| _mtx_enter |
|
7 |
1 |
58 |
| _mtx_enter_try |
|
9 |
2 |
53 |
| _mtx_leave |
|
6 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_uuid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uuid_snprintf |
|
10 |
1 |
107 |
| uuid_printf |
|
7 |
1 |
43 |
| be16dec |
|
5 |
1 |
39 |
| be32dec |
|
5 |
1 |
62 |
| le16dec |
|
5 |
1 |
39 |
| le32dec |
|
5 |
1 |
62 |
| be16enc |
|
6 |
1 |
44 |
| be32enc |
|
8 |
1 |
72 |
| le16enc |
|
6 |
1 |
44 |
| le32enc |
|
8 |
1 |
72 |
| uuid_enc_le |
|
12 |
2 |
99 |
| uuid_dec_le |
|
12 |
2 |
100 |
| uuid_enc_be |
|
12 |
2 |
99 |
| uuid_dec_be |
|
12 |
2 |
100 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty_nmea.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nmeaattach |
|
3 |
1 |
7 |
| nmeaopen |
|
45 |
4 |
409 |
| nmeaclose |
|
13 |
2 |
102 |
| nmeainput |
|
53 |
12 |
390 |
| nmea_scan |
|
52 |
19 |
348 |
| nmea_gprmc |
|
97 |
26 |
744 |
| nmea_degrees |
|
26 |
13 |
226 |
| nmea_date_to_nano |
|
18 |
7 |
187 |
| nmea_time_to_nano |
|
41 |
18 |
245 |
| nmea_timeout |
|
16 |
2 |
104 |
| Source file: /home/sergeyb/sources/src/sys/kern/sched_bsd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scheduler_start |
|
7 |
1 |
34 |
| roundrobin |
|
16 |
4 |
79 |
| schedcpu |
|
43 |
10 |
310 |
| updatepri |
|
15 |
4 |
90 |
| yield |
|
13 |
1 |
60 |
| preempt |
|
12 |
1 |
56 |
| mi_switch |
|
60 |
13 |
384 |
| resched_proc |
|
7 |
3 |
50 |
| setrunnable |
|
26 |
11 |
139 |
| resetpriority |
|
10 |
1 |
61 |
| schedclock |
|
10 |
2 |
56 |
| setperf_auto |
|
53 |
15 |
317 |
| sysctl_hwsetperf |
|
19 |
6 |
109 |
| sysctl_hwperfpolicy |
|
41 |
12 |
242 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_xxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_reboot |
|
12 |
3 |
76 |
| reboot |
|
6 |
2 |
29 |
| __stack_smash_handler |
|
4 |
1 |
19 |
| scdebug_call |
|
29 |
11 |
210 |
| scdebug_ret |
|
22 |
8 |
157 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_mbuf2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m_pulldown |
|
87 |
27 |
623 |
| m_dup1 |
|
32 |
10 |
203 |
| m_tag_get |
|
14 |
5 |
86 |
| m_tag_prepend |
|
5 |
1 |
38 |
| m_tag_delete |
|
10 |
1 |
75 |
| m_tag_delete_chain |
|
9 |
2 |
62 |
| m_tag_find |
|
16 |
5 |
103 |
| m_tag_copy |
|
9 |
2 |
63 |
| m_tag_copy_chain |
|
19 |
3 |
126 |
| m_tag_init |
|
4 |
1 |
19 |
| m_tag_first |
|
4 |
1 |
22 |
| m_tag_next |
|
4 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/kern/sysv_msg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| msginit |
|
16 |
1 |
85 |
| sys_msgctl |
|
7 |
1 |
60 |
| msgctl1 |
|
61 |
14 |
439 |
| sys_msgget |
|
31 |
10 |
211 |
| sys_msgsnd |
|
50 |
15 |
337 |
| sys_msgrcv |
|
46 |
10 |
299 |
| que_create |
|
32 |
4 |
246 |
| que_lookup |
|
10 |
4 |
54 |
| que_key_lookup |
|
12 |
5 |
66 |
| que_wakewriters |
|
10 |
2 |
43 |
| que_free |
|
12 |
4 |
74 |
| msg_create |
|
12 |
2 |
62 |
| msg_lookup |
|
9 |
5 |
60 |
| msg_free |
|
6 |
1 |
27 |
| msg_enqueue |
|
8 |
1 |
68 |
| msg_dequeue |
|
8 |
1 |
68 |
| msg_copyin |
|
40 |
8 |
263 |
| msg_copyout |
|
19 |
6 |
153 |
| sysctl_sysvmsg |
|
36 |
6 |
253 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_proto.c |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_sched.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sched_init_cpu |
|
12 |
2 |
80 |
| sched_kthreads_create |
|
14 |
2 |
94 |
| sched_idle |
|
49 |
9 |
284 |
| sched_exit |
|
17 |
1 |
114 |
| sched_init_runqueues |
|
7 |
3 |
32 |
| setrunqueue |
|
13 |
2 |
97 |
| remrunqueue |
|
14 |
3 |
101 |
| sched_chooseproc |
|
49 |
11 |
290 |
| sched_choosecpu_fork |
|
27 |
10 |
184 |
| sched_choosecpu |
|
35 |
13 |
234 |
| sched_steal_proc |
|
34 |
7 |
206 |
| log2 |
|
7 |
2 |
28 |
| sched_proc_to_cpu_cost |
|
23 |
7 |
154 |
| sched_peg_curproc |
|
14 |
1 |
75 |
| sched_start_secondary_cpus |
|
13 |
2 |
61 |
| sched_stop_secondary_cpus |
|
23 |
4 |
132 |
| sched_barrier_task |
|
8 |
1 |
48 |
| sched_barrier |
|
24 |
5 |
133 |
| sched_barrier |
|
3 |
1 |
9 |
| cpuset_init_cpu |
|
5 |
1 |
27 |
| cpuset_clear |
|
4 |
1 |
22 |
| cpuset_add |
|
5 |
1 |
47 |
| cpuset_del |
|
5 |
1 |
47 |
| cpuset_isset |
|
5 |
1 |
46 |
| cpuset_add_all |
|
4 |
1 |
17 |
| cpuset_copy |
|
4 |
1 |
27 |
| cpuset_first |
|
8 |
3 |
64 |
| cpuset_union |
|
6 |
2 |
59 |
| cpuset_intersection |
|
6 |
2 |
59 |
| cpuset_complement |
|
6 |
2 |
59 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uiomove |
|
49 |
16 |
298 |
| ureadc |
|
34 |
9 |
177 |
| hashinit |
|
16 |
5 |
119 |
| hashfree |
|
10 |
3 |
71 |
| hook_establish |
|
15 |
3 |
97 |
| hook_disestablish |
|
13 |
5 |
82 |
| dohooks |
|
16 |
4 |
118 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_kthread.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kthread_create |
|
14 |
3 |
106 |
| kthread_exit |
|
8 |
3 |
50 |
| kthread_create_deferred |
|
14 |
3 |
87 |
| kthread_run_deferred_queue |
|
10 |
2 |
64 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_proc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| procinit |
|
24 |
5 |
239 |
| uid_find |
|
22 |
5 |
133 |
| chgproccnt |
|
9 |
2 |
48 |
| inferior |
|
7 |
4 |
51 |
| tfind |
|
8 |
2 |
41 |
| prfind |
|
8 |
2 |
41 |
| pgfind |
|
8 |
2 |
41 |
| zombiefind |
|
8 |
2 |
39 |
| enterpgrp |
|
50 |
15 |
339 |
| leavepgrp |
|
9 |
3 |
60 |
| pgdelete |
|
9 |
3 |
61 |
| zapverauth |
|
6 |
1 |
27 |
| fixjobc |
|
21 |
10 |
142 |
| orphanpg |
|
13 |
2 |
68 |
| proc_printit |
|
26 |
3 |
293 |
| db_kill_cmd |
|
16 |
2 |
99 |
| db_show_all_procs |
|
103 |
34 |
586 |
| pgrpdump |
|
21 |
3 |
126 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clalloc |
|
12 |
2 |
91 |
| clfree |
|
12 |
3 |
89 |
| getc |
|
22 |
6 |
143 |
| q_to_b |
|
28 |
8 |
199 |
| ndqb |
|
34 |
12 |
198 |
| ndflush |
|
27 |
8 |
166 |
| putc |
|
31 |
8 |
178 |
| clrbits |
|
26 |
5 |
177 |
| b_to_q |
|
37 |
12 |
239 |
| nextc |
|
18 |
8 |
110 |
| firstc |
|
14 |
4 |
79 |
| unputc |
|
25 |
6 |
155 |
| catq |
|
21 |
5 |
114 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_rwlock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rw_cas |
|
7 |
2 |
40 |
| _rw_enter_read |
|
13 |
3 |
88 |
| _rw_enter_write |
|
13 |
2 |
86 |
| _rw_exit_read |
|
11 |
3 |
73 |
| _rw_exit_write |
|
11 |
3 |
71 |
| rw_enter_diag |
|
21 |
7 |
109 |
| _rw_init_flags_witness |
|
12 |
2 |
78 |
| _rw_init_flags |
|
5 |
1 |
36 |
| _rw_enter |
|
47 |
14 |
362 |
| _rw_exit |
|
23 |
6 |
124 |
| rw_status |
|
13 |
4 |
56 |
| rw_assert_wrlock |
|
7 |
3 |
55 |
| rw_assert_rdlock |
|
5 |
3 |
34 |
| rw_assert_anylock |
|
9 |
3 |
42 |
| rw_assert_unlocked |
|
5 |
2 |
26 |
| _rrw_init_flags |
|
7 |
1 |
51 |
| _rrw_enter |
|
19 |
4 |
108 |
| _rrw_exit |
|
14 |
3 |
83 |
| rrw_status |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_userconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| userconf_init |
|
23 |
5 |
114 |
| userconf_more |
|
17 |
5 |
75 |
| userconf_hist_cmd |
|
8 |
2 |
29 |
| userconf_hist_int |
|
10 |
2 |
57 |
| userconf_hist_eoc |
|
8 |
2 |
28 |
| userconf_pnum |
|
19 |
6 |
73 |
| userconf_pdevnam |
|
22 |
6 |
88 |
| userconf_pdev |
|
60 |
15 |
308 |
| userconf_number |
|
37 |
19 |
225 |
| userconf_device |
|
30 |
10 |
168 |
| userconf_attr |
|
22 |
9 |
134 |
| userconf_modify |
|
25 |
7 |
140 |
| userconf_change |
|
88 |
27 |
544 |
| userconf_disable |
|
51 |
12 |
247 |
| userconf_enable |
|
51 |
12 |
247 |
| userconf_help |
|
63 |
18 |
237 |
| userconf_list |
|
11 |
3 |
46 |
| userconf_show |
|
11 |
3 |
47 |
| userconf_common_attr_val |
|
48 |
11 |
201 |
| userconf_show_attr |
|
35 |
14 |
203 |
| userconf_common_dev |
|
76 |
26 |
362 |
| userconf_common_attr |
|
22 |
10 |
130 |
| userconf_add_read |
|
39 |
13 |
234 |
| userconf_add |
|
112 |
34 |
688 |
| userconf_parse |
|
159 |
67 |
970 |
| user_config |
|
14 |
4 |
62 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_biomem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| buf_mem_init |
|
13 |
2 |
88 |
| buf_acquire |
|
7 |
1 |
41 |
| buf_acquire_nomap |
|
10 |
2 |
53 |
| buf_map |
|
38 |
8 |
228 |
| buf_release |
|
15 |
3 |
76 |
| buf_dealloc_mem |
|
32 |
7 |
180 |
| buf_fix_mapping |
|
9 |
2 |
58 |
| buf_unmap |
|
16 |
2 |
106 |
| buf_alloc_pages |
|
29 |
5 |
180 |
| buf_free_pages |
|
23 |
3 |
158 |
| buf_realloc_pages |
|
46 |
11 |
351 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_socket.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| soinit |
|
7 |
2 |
50 |
| socreate |
|
38 |
7 |
266 |
| sobind |
|
7 |
1 |
56 |
| solisten |
|
24 |
10 |
158 |
| sofree |
|
22 |
9 |
145 |
| soclose |
|
52 |
16 |
318 |
| soabort |
|
6 |
1 |
37 |
| soaccept |
|
15 |
4 |
111 |
| soconnect |
|
15 |
5 |
102 |
| soconnect2 |
|
8 |
1 |
56 |
| sodisconnect |
|
12 |
3 |
76 |
| sosend |
|
106 |
43 |
715 |
| m_getuio |
|
49 |
14 |
339 |
| sbsync |
|
12 |
4 |
78 |
| soreceive |
|
312 |
118 |
2142 |
| soshutdown |
|
22 |
4 |
105 |
| sorflush |
|
22 |
4 |
171 |
| sosplice |
|
95 |
31 |
683 |
| sounsplice |
|
11 |
3 |
84 |
| soidle |
|
11 |
2 |
61 |
| sotask |
|
11 |
2 |
53 |
| somove |
|
224 |
80 |
1554 |
| sorwakeup |
|
15 |
6 |
97 |
| sowwakeup |
|
7 |
3 |
48 |
| sosetopt |
|
147 |
64 |
896 |
| sogetopt |
|
109 |
36 |
669 |
| sohasoutofband |
|
6 |
1 |
40 |
| soo_kqfilter |
|
24 |
4 |
128 |
| filt_sordetach |
|
8 |
2 |
64 |
| filt_soread |
|
25 |
8 |
166 |
| filt_sowdetach |
|
8 |
2 |
64 |
| filt_sowrite |
|
25 |
8 |
189 |
| filt_solisten |
|
11 |
3 |
73 |
| sobuf_print |
|
18 |
1 |
199 |
| so_print |
|
48 |
3 |
538 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_time.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| settime |
|
19 |
4 |
113 |
| clock_gettime |
|
39 |
9 |
250 |
| sys_clock_gettime |
|
17 |
5 |
128 |
| sys_clock_settime |
|
22 |
5 |
136 |
| sys_clock_getres |
|
39 |
13 |
229 |
| sys_nanosleep |
|
48 |
14 |
319 |
| sys_gettimeofday |
|
25 |
6 |
161 |
| sys_settimeofday |
|
27 |
7 |
186 |
| sys_adjfreq |
|
24 |
8 |
174 |
| sys_adjtime |
|
31 |
8 |
222 |
| sys_getitimer |
|
29 |
6 |
248 |
| sys_setitimer |
|
48 |
11 |
341 |
| realitexpire |
|
26 |
6 |
177 |
| timespecfix |
|
9 |
5 |
53 |
| itimerfix |
|
9 |
8 |
71 |
| itimerround |
|
5 |
4 |
35 |
| itimerdecr |
|
30 |
6 |
180 |
| ratecheck |
|
13 |
4 |
85 |
| ppsratecheck |
|
24 |
9 |
150 |
| periodic_resettodr |
|
4 |
1 |
17 |
| perform_resettodr |
|
5 |
1 |
21 |
| start_periodic_resettodr |
|
4 |
1 |
14 |
| stop_periodic_resettodr |
|
5 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_usrreq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uipc_setaddr |
|
12 |
3 |
93 |
| uipc_usrreq |
|
165 |
46 |
813 |
| uipc_attach |
|
30 |
9 |
171 |
| uipc_detach |
|
9 |
2 |
44 |
| unp_detach |
|
21 |
5 |
134 |
| unp_bind |
|
56 |
7 |
404 |
| unp_connect |
|
57 |
12 |
389 |
| unp_connect2 |
|
24 |
5 |
123 |
| unp_disconnect |
|
23 |
5 |
137 |
| unp_shutdown |
|
13 |
4 |
57 |
| unp_drop |
|
12 |
2 |
69 |
| unp_drain |
|
3 |
1 |
6 |
| fptounp |
|
11 |
4 |
68 |
| unp_externalize |
|
83 |
20 |
627 |
| unp_internalize |
|
79 |
17 |
579 |
| unp_gc |
|
63 |
16 |
386 |
| unp_dispose |
|
5 |
2 |
20 |
| unp_scan |
|
26 |
8 |
165 |
| unp_mark |
|
17 |
5 |
97 |
| unp_discard |
|
10 |
1 |
100 |
| unp_nam2sun |
|
28 |
9 |
210 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_resource.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_getpriority |
|
44 |
14 |
282 |
| sys_setpriority |
|
45 |
11 |
292 |
| donice |
|
23 |
9 |
157 |
| sys_setrlimit |
|
14 |
4 |
102 |
| dosetrlimit |
|
68 |
17 |
401 |
| sys_getrlimit |
|
14 |
6 |
117 |
| tuagg_sub |
|
7 |
1 |
56 |
| tuagg_unlocked |
|
9 |
1 |
60 |
| tuagg |
|
7 |
1 |
34 |
| calctsru |
|
28 |
5 |
175 |
| calcru |
|
10 |
3 |
82 |
| sys_getrusage |
|
14 |
5 |
102 |
| dogetrusage |
|
28 |
5 |
178 |
| ruadd |
|
12 |
3 |
121 |
| limcopy |
|
15 |
2 |
91 |
| limfree |
|
6 |
2 |
28 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty_msts.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mstsattach |
|
3 |
1 |
7 |
| mstsopen |
|
34 |
4 |
280 |
| mstsclose |
|
13 |
2 |
100 |
| mstsinput |
|
47 |
9 |
336 |
| msts_scan |
|
25 |
6 |
171 |
| msts_decode |
|
52 |
15 |
418 |
| msts_date_to_nano |
|
27 |
11 |
284 |
| msts_time_to_nano |
|
42 |
17 |
268 |
| msts_timeout |
|
9 |
2 |
54 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty_pty.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ptydevname |
|
18 |
2 |
146 |
| ptyarralloc |
|
7 |
1 |
35 |
| check_pty |
|
33 |
6 |
194 |
| ptyattach |
|
8 |
2 |
33 |
| ptsopen |
|
38 |
10 |
278 |
| ptsclose |
|
10 |
1 |
85 |
| ptsread |
|
45 |
17 |
334 |
| ptswrite |
|
8 |
2 |
72 |
| ptsstart |
|
11 |
3 |
63 |
| ptsstop |
|
18 |
4 |
95 |
| ptcwakeup |
|
12 |
3 |
79 |
| ptcopen |
|
22 |
4 |
153 |
| ptcclose |
|
9 |
1 |
77 |
| ptcread |
|
57 |
22 |
403 |
| ptcwrite |
|
88 |
25 |
564 |
| ptcpoll |
|
38 |
24 |
363 |
| filt_ptcrdetach |
|
8 |
1 |
53 |
| filt_ptcread |
|
15 |
7 |
122 |
| filt_ptcwdetach |
|
8 |
1 |
53 |
| filt_ptcwrite |
|
16 |
5 |
144 |
| ptckqfilter |
|
23 |
3 |
124 |
| ptytty |
|
6 |
1 |
34 |
| ptyioctl |
|
115 |
43 |
758 |
| sysctl_pty |
|
10 |
2 |
53 |
| pty_isfree_locked |
|
6 |
3 |
38 |
| pty_isfree |
|
8 |
1 |
34 |
| pty_getfree |
|
11 |
3 |
55 |
| ptm_vn_open |
|
32 |
5 |
185 |
| ptmattach |
|
10 |
4 |
51 |
| ptmopen |
|
4 |
1 |
23 |
| ptmclose |
|
4 |
1 |
23 |
| ptmioctl |
|
100 |
14 |
724 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_synch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sleep_queue_init |
|
6 |
2 |
30 |
| tsleep |
|
30 |
12 |
194 |
| msleep |
|
44 |
10 |
297 |
| rwsleep |
|
24 |
4 |
175 |
| sleep_setup |
|
20 |
5 |
140 |
| sleep_finish |
|
17 |
6 |
105 |
| sleep_setup_timeout |
|
5 |
2 |
26 |
| sleep_finish_timeout |
|
10 |
2 |
55 |
| sleep_setup_signal |
|
16 |
6 |
118 |
| sleep_finish_signal |
|
16 |
6 |
102 |
| endtsleep |
|
14 |
3 |
65 |
| unsleep |
|
8 |
2 |
45 |
| wakeup_n |
|
26 |
9 |
170 |
| wakeup |
|
4 |
1 |
18 |
| sys_sched_yield |
|
15 |
1 |
98 |
| thrsleep_unlock |
|
8 |
2 |
42 |
| thrsleep |
|
56 |
16 |
380 |
| sys___thrsleep |
|
16 |
3 |
105 |
| sys___thrwakeup |
|
25 |
6 |
147 |
| refcnt_init |
|
4 |
1 |
15 |
| refcnt_take |
|
7 |
2 |
37 |
| refcnt_rele |
|
7 |
1 |
36 |
| refcnt_rele_wake |
|
5 |
2 |
21 |
| refcnt_finalize |
|
11 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_log.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| initmsgbuf |
|
19 |
10 |
162 |
| initconsbuf |
|
10 |
2 |
52 |
| msgbuf_putchar |
|
17 |
6 |
122 |
| logopen |
|
7 |
2 |
36 |
| logclose |
|
11 |
2 |
57 |
| logread |
|
48 |
13 |
306 |
| logpoll |
|
13 |
3 |
81 |
| logkqfilter |
|
18 |
2 |
91 |
| filt_logrdetach |
|
7 |
1 |
39 |
| filt_logread |
|
10 |
1 |
78 |
| logwakeup |
|
13 |
4 |
67 |
| logioctl |
|
44 |
12 |
251 |
| sys_sendsyslog |
|
30 |
5 |
183 |
| dosendsyslog |
|
105 |
32 |
679 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_prf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __assert |
|
4 |
1 |
35 |
| tablefull |
|
4 |
1 |
18 |
| panic |
|
26 |
4 |
120 |
| splassert_fail |
|
17 |
6 |
68 |
| log |
|
17 |
2 |
97 |
| logpri |
|
10 |
2 |
69 |
| addlog |
|
17 |
2 |
94 |
| kputchar |
|
22 |
23 |
164 |
| uprintf |
|
10 |
3 |
68 |
| tprintf_open |
|
9 |
3 |
59 |
| tprintf_close |
|
5 |
2 |
21 |
| tprintf |
|
16 |
4 |
104 |
| ttyprintf |
|
7 |
1 |
44 |
| db_printf |
|
9 |
1 |
43 |
| db_vprintf |
|
8 |
2 |
43 |
| printf |
|
13 |
2 |
72 |
| vprintf |
|
10 |
2 |
58 |
| snprintf |
|
15 |
3 |
94 |
| vsnprintf |
|
12 |
3 |
80 |
| kprintf |
|
296 |
103 |
1551 |
| puts |
|
5 |
1 |
21 |
| putchar |
|
5 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/kern/clock_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| leapyear |
|
13 |
4 |
63 |
| clock_ymdhms_to_secs |
|
19 |
5 |
131 |
| clock_secs_to_ymdhms |
|
24 |
4 |
176 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| config_init |
|
6 |
1 |
24 |
| mapply |
|
37 |
11 |
237 |
| config_search |
|
34 |
11 |
222 |
| config_scan |
|
22 |
9 |
139 |
| config_rootsearch |
|
21 |
5 |
135 |
| config_found_sm |
|
10 |
3 |
83 |
| config_rootfound |
|
8 |
2 |
65 |
| config_attach |
|
59 |
16 |
400 |
| config_make_softc |
|
53 |
16 |
396 |
| config_detach |
|
80 |
29 |
512 |
| config_deactivate |
|
11 |
3 |
60 |
| config_defer |
|
17 |
6 |
128 |
| config_mountroot |
|
18 |
6 |
129 |
| config_process_deferred_children |
|
14 |
3 |
97 |
| config_process_deferred_mountroot |
|
9 |
2 |
62 |
| config_pending_incr |
|
4 |
1 |
9 |
| config_pending_decr |
|
8 |
4 |
36 |
| config_detach_children |
|
16 |
4 |
106 |
| config_suspend |
|
12 |
2 |
71 |
| config_suspend_all |
|
30 |
12 |
130 |
| config_activate_children |
|
42 |
17 |
225 |
| device_lookup |
|
13 |
6 |
88 |
| device_mainbus |
|
7 |
2 |
34 |
| device_mpath |
|
8 |
3 |
39 |
| device_ref |
|
4 |
1 |
17 |
| device_unref |
|
8 |
2 |
47 |
| Source file: /home/sergeyb/sources/src/sys/kern/sysv_sem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| seminit |
|
11 |
1 |
95 |
| semu_alloc |
|
22 |
4 |
129 |
| semundo_adjust |
|
54 |
15 |
336 |
| semundo_clear |
|
37 |
10 |
224 |
| sys___semctl |
|
21 |
7 |
130 |
| semctl1 |
|
123 |
44 |
1037 |
| sys_semget |
|
92 |
22 |
650 |
| sys_semop |
|
172 |
46 |
1164 |
| semexit |
|
44 |
9 |
314 |
| sysctl_sysvsem |
|
92 |
38 |
616 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_sysctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysctl |
|
85 |
27 |
542 |
| kern_sysctl |
|
339 |
146 |
2401 |
| hw_sysctl |
|
99 |
37 |
662 |
| debug_sysctl |
|
20 |
7 |
150 |
| sysctl_int_lower |
|
13 |
4 |
110 |
| sysctl_int |
|
14 |
8 |
114 |
| sysctl_rdint |
|
12 |
5 |
85 |
| sysctl_int_arr |
|
9 |
4 |
87 |
| sysctl_quad |
|
15 |
8 |
114 |
| sysctl_rdquad |
|
12 |
5 |
85 |
| sysctl_string |
|
5 |
1 |
44 |
| sysctl_tstring |
|
5 |
1 |
44 |
| sysctl__string |
|
29 |
13 |
198 |
| sysctl_rdstring |
|
14 |
5 |
86 |
| sysctl_struct |
|
16 |
8 |
104 |
| sysctl_rdstruct |
|
13 |
5 |
77 |
| fill_file |
|
181 |
41 |
1406 |
| sysctl_file |
|
143 |
52 |
993 |
| sysctl_doproc |
|
116 |
39 |
651 |
| fill_kproc |
|
57 |
22 |
480 |
| sysctl_proc_args |
|
148 |
33 |
961 |
| sysctl_proc_cwd |
|
47 |
10 |
320 |
| sysctl_proc_nobroadcastkill |
|
29 |
10 |
200 |
| sysctl_proc_vmmap |
|
65 |
20 |
447 |
| sysctl_diskinit |
|
77 |
15 |
589 |
| sysctl_sysvipc |
|
82 |
26 |
481 |
| sysctl_intrcnt |
|
4 |
1 |
37 |
| sysctl_sensors |
|
44 |
6 |
369 |
| sysctl_cptime2 |
|
20 |
4 |
116 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_physio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| physio |
|
76 |
15 |
558 |
| minphys |
|
5 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_acct.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_acct |
|
35 |
10 |
266 |
| acct_process |
|
41 |
5 |
364 |
| encode_comp_t |
|
20 |
4 |
103 |
| acct_start |
|
6 |
2 |
32 |
| acct_thread |
|
37 |
8 |
223 |
| acct_shutdown |
|
9 |
4 |
50 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttyopen |
|
14 |
2 |
97 |
| ttyclose |
|
13 |
3 |
69 |
| ttyinput |
|
261 |
106 |
1888 |
| ttyoutput |
|
100 |
44 |
615 |
| ttioctl |
|
290 |
98 |
1887 |
| ttpoll |
|
27 |
12 |
227 |
| ttkqfilter |
|
23 |
3 |
137 |
| ttkqflush |
|
10 |
1 |
65 |
| filt_ttyrdetach |
|
12 |
2 |
85 |
| filt_ttyread |
|
19 |
4 |
136 |
| filt_ttywdetach |
|
12 |
2 |
85 |
| filt_ttywrite |
|
16 |
2 |
120 |
| ttnread |
|
14 |
5 |
91 |
| ttywait |
|
22 |
12 |
172 |
| ttywflush |
|
7 |
2 |
37 |
| ttyflush |
|
22 |
3 |
145 |
| ttychars |
|
4 |
1 |
23 |
| ttyblock |
|
22 |
12 |
193 |
| ttrstrt |
|
12 |
3 |
56 |
| ttstart |
|
6 |
2 |
32 |
| ttylclose |
|
8 |
2 |
43 |
| ttymodem |
|
25 |
10 |
199 |
| nullmodem |
|
16 |
6 |
102 |
| ttypend |
|
14 |
2 |
97 |
| ttvtimeout |
|
5 |
1 |
28 |
| ttread |
|
131 |
45 |
813 |
| ttyunblock |
|
16 |
8 |
122 |
| ttycheckoutq |
|
19 |
6 |
129 |
| ttwrite |
|
139 |
43 |
838 |
| ttyrub |
|
67 |
22 |
443 |
| ttyrubo |
|
8 |
2 |
51 |
| ttyretype |
|
17 |
4 |
165 |
| ttyecho |
|
20 |
12 |
163 |
| ttwakeupwr |
|
10 |
3 |
61 |
| ttwakeup |
|
7 |
2 |
50 |
| ttspeedtab |
|
7 |
3 |
47 |
| ttsetwater |
|
8 |
1 |
62 |
| process_sum |
|
15 |
3 |
79 |
| ttyinfo |
|
88 |
30 |
599 |
| tputchar |
|
16 |
5 |
109 |
| ttysleep |
|
9 |
3 |
72 |
| tty_init |
|
5 |
1 |
16 |
| ttymalloc |
|
20 |
4 |
143 |
| ttyfree |
|
13 |
3 |
90 |
| ttystats_init |
|
25 |
3 |
194 |
| sysctl_tty |
|
30 |
8 |
199 |
| ttytstamp |
|
12 |
6 |
94 |
| Source file: /home/sergeyb/sources/src/sys/kern/spec_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spec_open |
|
57 |
30 |
412 |
| spec_read |
|
67 |
19 |
513 |
| spec_inactive |
|
6 |
1 |
31 |
| spec_write |
|
64 |
19 |
478 |
| spec_ioctl |
|
16 |
3 |
119 |
| spec_poll |
|
13 |
2 |
83 |
| spec_kqfilter |
|
9 |
2 |
64 |
| spec_fsync |
|
34 |
8 |
200 |
| spec_strategy |
|
10 |
2 |
69 |
| spec_close |
|
46 |
18 |
374 |
| spec_getattr |
|
8 |
2 |
62 |
| spec_setattr |
|
13 |
2 |
96 |
| spec_access |
|
8 |
2 |
62 |
| spec_print |
|
7 |
1 |
41 |
| spec_pathconf |
|
29 |
7 |
113 |
| spec_advlock |
|
7 |
1 |
56 |
| spec_badop |
|
4 |
1 |
13 |
| spec_open_clone |
|
40 |
7 |
304 |
| spec_close_clone |
|
13 |
2 |
95 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_poison.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| poison_value |
|
16 |
5 |
78 |
| poison_mem |
|
12 |
3 |
70 |
| poison_check |
|
18 |
4 |
100 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_bufq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bufq_init |
|
28 |
6 |
185 |
| bufq_switch |
|
32 |
5 |
204 |
| bufq_destroy |
|
12 |
2 |
76 |
| bufq_queue |
|
11 |
2 |
81 |
| bufq_dequeue |
|
8 |
1 |
48 |
| bufq_requeue |
|
6 |
1 |
43 |
| bufq_peek |
|
8 |
1 |
46 |
| bufq_drain |
|
12 |
2 |
60 |
| bufq_wait |
|
14 |
3 |
78 |
| bufq_done |
|
12 |
5 |
92 |
| bufq_quiesce |
|
16 |
2 |
87 |
| bufq_restart |
|
14 |
1 |
74 |
| bufq_fifo_create |
|
9 |
2 |
49 |
| bufq_fifo_destroy |
|
5 |
1 |
28 |
| bufq_fifo_queue |
|
5 |
1 |
33 |
| bufq_fifo_dequeue |
|
9 |
2 |
49 |
| bufq_fifo_requeue |
|
5 |
1 |
33 |
| bufq_fifo_peek |
|
5 |
1 |
25 |
| bufq_simple_nscan |
|
14 |
3 |
76 |
| bufq_nscan_resort |
|
15 |
3 |
92 |
| bufq_nscan_create |
|
10 |
2 |
55 |
| bufq_nscan_destroy |
|
5 |
1 |
28 |
| bufq_nscan_queue |
|
13 |
4 |
83 |
| bufq_nscan_dequeue |
|
12 |
3 |
69 |
| bufq_nscan_requeue |
|
5 |
1 |
32 |
| bufq_nscan_peek |
|
6 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_tree.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rb_n2e |
|
5 |
1 |
40 |
| rb_e2n |
|
5 |
1 |
40 |
| rbe_set |
|
6 |
1 |
40 |
| rbe_set_blackred |
|
5 |
1 |
28 |
| rbe_augment |
|
4 |
1 |
30 |
| rbe_if_augment |
|
5 |
2 |
30 |
| rbe_rotate_left |
|
28 |
6 |
178 |
| rbe_rotate_right |
|
28 |
6 |
178 |
| rbe_insert_color |
|
43 |
10 |
264 |
| rbe_remove_color |
|
77 |
24 |
533 |
| rbe_remove |
|
67 |
18 |
426 |
| _rb_remove |
|
7 |
2 |
63 |
| _rb_insert |
|
31 |
6 |
192 |
| _rb_find |
|
17 |
4 |
106 |
| _rb_nfind |
|
19 |
4 |
118 |
| _rb_next |
|
20 |
8 |
141 |
| _rb_prev |
|
20 |
8 |
137 |
| _rb_root |
|
5 |
2 |
41 |
| _rb_min |
|
10 |
3 |
67 |
| _rb_max |
|
10 |
3 |
67 |
| _rb_left |
|
6 |
2 |
49 |
| _rb_right |
|
6 |
2 |
49 |
| _rb_parent |
|
6 |
2 |
49 |
| _rb_set_left |
|
6 |
2 |
57 |
| _rb_set_right |
|
6 |
2 |
57 |
| _rb_set_parent |
|
6 |
2 |
57 |
| _rb_poison |
|
6 |
1 |
52 |
| _rb_check |
|
7 |
3 |
66 |
| Source file: /home/sergeyb/sources/src/sys/kern/sys_socket.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| soo_read |
|
6 |
1 |
72 |
| soo_write |
|
5 |
1 |
63 |
| soo_ioctl |
|
55 |
11 |
353 |
| soo_poll |
|
33 |
12 |
236 |
| soo_stat |
|
18 |
4 |
167 |
| soo_close |
|
8 |
2 |
45 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_pool.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pl_enter |
|
4 |
1 |
25 |
| pl_enter_try |
|
4 |
1 |
26 |
| pl_leave |
|
4 |
1 |
25 |
| pl_assert_locked |
|
4 |
1 |
23 |
| pl_assert_unlocked |
|
4 |
1 |
23 |
| pl_sleep |
|
5 |
1 |
47 |
| phtree_compare |
|
11 |
3 |
64 |
| pr_find_pagehead |
|
17 |
4 |
145 |
| pool_init |
|
111 |
20 |
768 |
| pool_destroy |
|
33 |
8 |
207 |
| pool_request_init |
|
7 |
1 |
48 |
| pool_request |
|
7 |
1 |
53 |
| pool_get |
|
44 |
16 |
331 |
| pool_get_done |
|
8 |
1 |
55 |
| pool_runqueue |
|
41 |
11 |
316 |
| pool_do_get |
|
53 |
11 |
396 |
| pool_put |
|
28 |
10 |
204 |
| pool_do_put |
|
31 |
8 |
220 |
| pool_prime |
|
21 |
4 |
146 |
| pool_p_alloc |
|
41 |
9 |
292 |
| pool_p_free |
|
29 |
6 |
204 |
| pool_p_insert |
|
14 |
4 |
107 |
| pool_p_remove |
|
12 |
2 |
84 |
| pool_update_curpage |
|
7 |
2 |
47 |
| pool_setlowat |
|
14 |
4 |
97 |
| pool_sethiwat |
|
6 |
2 |
37 |
| pool_sethardlimit |
|
15 |
2 |
85 |
| pool_set_constraints |
|
4 |
1 |
21 |
| pool_reclaim |
|
24 |
6 |
175 |
| pool_reclaim_all |
|
8 |
1 |
37 |
| pool_printit |
|
5 |
1 |
49 |
| pool_print_pagelist |
|
16 |
2 |
117 |
| pool_print1 |
|
38 |
8 |
345 |
| db_show_all_pools |
|
56 |
7 |
372 |
| pool_chk_page |
|
63 |
13 |
420 |
| pool_chk |
|
12 |
1 |
93 |
| pool_walk |
|
33 |
5 |
226 |
| sysctl_dopool |
|
65 |
14 |
408 |
| pool_gc_sched |
|
4 |
1 |
16 |
| pool_gc_pages |
|
28 |
8 |
181 |
| pool_allocator_alloc |
|
13 |
5 |
95 |
| pool_allocator_free |
|
5 |
1 |
34 |
| pool_page_alloc |
|
7 |
1 |
59 |
| pool_page_free |
|
4 |
1 |
29 |
| pool_multi_alloc |
|
15 |
2 |
102 |
| pool_multi_free |
|
10 |
2 |
64 |
| pool_multi_alloc_ni |
|
14 |
2 |
96 |
| pool_multi_free_ni |
|
9 |
2 |
58 |
| pool_cache_init |
|
35 |
2 |
221 |
| pool_cache_item_magic |
|
6 |
1 |
65 |
| pool_cache_item_magic_check |
|
18 |
3 |
120 |
| pool_list_enter |
|
7 |
2 |
40 |
| pool_list_leave |
|
4 |
1 |
19 |
| pool_cache_list_alloc |
|
17 |
2 |
105 |
| pool_cache_list_free |
|
13 |
2 |
85 |
| pool_cache_enter |
|
8 |
1 |
47 |
| pool_cache_leave |
|
6 |
1 |
36 |
| pool_cache_get |
|
37 |
8 |
240 |
| pool_cache_put |
|
29 |
8 |
200 |
| pool_cache_list_put |
|
15 |
3 |
94 |
| pool_cache_destroy |
|
19 |
2 |
114 |
| pool_cache_gc |
|
28 |
9 |
196 |
| pool_cache_pool_info |
|
23 |
4 |
152 |
| pool_cache_info |
|
14 |
2 |
119 |
| pool_cache_cpus_info |
|
42 |
7 |
274 |
| pool_cache_init |
|
3 |
1 |
9 |
| pool_cache_pool_info |
|
3 |
1 |
14 |
| pool_cache_info |
|
4 |
1 |
22 |
| pool_cache_cpus_info |
|
4 |
1 |
22 |
| pool_lock_mtx_init |
|
5 |
1 |
39 |
| pool_lock_mtx_enter |
|
4 |
1 |
19 |
| pool_lock_mtx_enter_try |
|
4 |
1 |
22 |
| pool_lock_mtx_leave |
|
4 |
1 |
19 |
| pool_lock_mtx_assert_locked |
|
4 |
1 |
17 |
| pool_lock_mtx_assert_unlocked |
|
4 |
1 |
17 |
| pool_lock_mtx_sleep |
|
5 |
1 |
41 |
| pool_lock_rw_init |
|
5 |
1 |
35 |
| pool_lock_rw_enter |
|
4 |
1 |
19 |
| pool_lock_rw_enter_try |
|
5 |
1 |
28 |
| pool_lock_rw_leave |
|
4 |
1 |
19 |
| pool_lock_rw_assert_locked |
|
4 |
1 |
17 |
| pool_lock_rw_assert_unlocked |
|
4 |
1 |
22 |
| pool_lock_rw_sleep |
|
5 |
1 |
41 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_hibernate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hibernate_sort_ranges |
|
19 |
4 |
150 |
| hibe_cmp |
|
6 |
2 |
46 |
| hib_entry_to_addr |
|
7 |
1 |
29 |
| hib_addr_to_entry |
|
7 |
1 |
34 |
| hib_alloc |
|
24 |
6 |
170 |
| hib_getentropy |
|
7 |
3 |
44 |
| hib_free |
|
20 |
5 |
150 |
| hiballoc_init |
|
17 |
2 |
134 |
| uvm_pmr_zero_everything |
|
29 |
4 |
185 |
| uvm_pmr_dirty_everything |
|
25 |
4 |
165 |
| uvm_pmr_alloc_pig |
|
22 |
3 |
145 |
| uvm_pmr_alloc_piglet |
|
17 |
3 |
119 |
| uvm_pmr_free_piglet |
|
5 |
1 |
34 |
| uvm_page_rle |
|
17 |
5 |
120 |
| hibsum |
|
4 |
1 |
29 |
| get_hibernate_info |
|
45 |
10 |
353 |
| hibernate_zlib_alloc |
|
7 |
1 |
41 |
| hibernate_zlib_free |
|
7 |
1 |
36 |
| hibernate_inflate_page |
|
34 |
11 |
212 |
| hibernate_inflate_region |
|
26 |
4 |
132 |
| hibernate_deflate |
|
18 |
2 |
140 |
| hibernate_write_signature |
|
6 |
1 |
38 |
| hibernate_write_chunktable |
|
19 |
3 |
109 |
| hibernate_clear_signature |
|
15 |
3 |
84 |
| hibernate_compare_signature |
|
31 |
7 |
223 |
| hibernate_block_io |
|
42 |
8 |
303 |
| hibernate_preserve_entropy |
|
14 |
2 |
102 |
| hibernate_unprotect_ssp |
|
16 |
2 |
110 |
| hibernate_reprotect_ssp |
|
5 |
1 |
31 |
| hibernate_resume |
|
67 |
10 |
336 |
| hibernate_unpack_image |
|
23 |
3 |
170 |
| hibernate_copy_chunk_to_piglet |
|
25 |
3 |
156 |
| hibernate_process_chunk |
|
10 |
1 |
77 |
| hibernate_calc_rle |
|
9 |
4 |
62 |
| hibernate_write_rle |
|
29 |
4 |
193 |
| hibernate_write_chunks |
|
121 |
20 |
729 |
| hibernate_zlib_reset |
|
24 |
3 |
173 |
| hibernate_read_image |
|
51 |
6 |
334 |
| hibernate_read_chunks |
|
77 |
14 |
548 |
| hibernate_suspend |
|
40 |
7 |
230 |
| hibernate_alloc |
|
24 |
3 |
124 |
| hibernate_free |
|
16 |
3 |
76 |
| Source file: /home/sergeyb/sources/src/sys/kern/init_main.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
164 |
30 |
1152 |
| check_console |
|
14 |
3 |
73 |
| start_init |
|
76 |
17 |
614 |
| start_update |
|
4 |
1 |
13 |
| start_cleaner |
|
4 |
1 |
13 |
| start_reaper |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty_tty.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cttyopen |
|
11 |
2 |
78 |
| cttyread |
|
12 |
2 |
86 |
| cttywrite |
|
12 |
2 |
86 |
| cttyioctl |
|
42 |
13 |
288 |
| cttypoll |
|
7 |
2 |
59 |
| cttykqfilter |
|
7 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_event.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| KQREF |
|
4 |
1 |
14 |
| KQRELE |
|
6 |
2 |
28 |
| kqueue_init |
|
7 |
1 |
50 |
| filt_fileattach |
|
5 |
1 |
30 |
| kqueue_kqfilter |
|
9 |
2 |
64 |
| filt_kqdetach |
|
5 |
1 |
36 |
| filt_kqueue |
|
6 |
1 |
40 |
| filt_procattach |
|
23 |
7 |
153 |
| filt_procdetach |
|
7 |
2 |
44 |
| filt_proc |
|
29 |
6 |
216 |
| filt_timer_timeout_add |
|
9 |
2 |
61 |
| filt_timerexpire |
|
8 |
2 |
42 |
| filt_timerattach |
|
13 |
2 |
74 |
| filt_timerdetach |
|
8 |
1 |
46 |
| filt_timer |
|
4 |
1 |
21 |
| filt_seltrue |
|
5 |
1 |
23 |
| filt_seltruedetach |
|
3 |
1 |
9 |
| seltrue_kqfilter |
|
12 |
3 |
47 |
| sys_kqueue |
|
25 |
3 |
164 |
| sys_kevent |
|
71 |
17 |
495 |
| kqueue_register |
|
99 |
29 |
651 |
| kqueue_scan |
|
148 |
36 |
933 |
| kqueue_read |
|
4 |
1 |
28 |
| kqueue_write |
|
4 |
1 |
28 |
| kqueue_ioctl |
|
4 |
1 |
25 |
| kqueue_poll |
|
16 |
3 |
102 |
| kqueue_stat |
|
9 |
1 |
70 |
| kqueue_close |
|
45 |
8 |
292 |
| kqueue_wakeup |
|
12 |
3 |
67 |
| knote_acquire |
|
10 |
2 |
52 |
| knote_release |
|
9 |
2 |
41 |
| knote_activate |
|
4 |
1 |
14 |
| knote |
|
7 |
2 |
48 |
| knote_remove |
|
10 |
3 |
64 |
| knote_fdclose |
|
6 |
1 |
41 |
| knote_processexit |
|
6 |
1 |
38 |
| knote_attach |
|
31 |
5 |
234 |
| knote_drop |
|
14 |
4 |
110 |
| knote_enqueue |
|
11 |
1 |
71 |
| knote_dequeue |
|
10 |
1 |
62 |
| klist_invalidate |
|
8 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/kern/exec_script.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exec_script_makecmds |
|
134 |
34 |
964 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_timeout.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| timeout_from_circq |
|
4 |
1 |
21 |
| timeout_startup |
|
8 |
2 |
46 |
| timeout_proc_init |
|
4 |
1 |
13 |
| timeout_set |
|
6 |
1 |
41 |
| timeout_set_proc |
|
5 |
1 |
38 |
| timeout_add |
|
25 |
6 |
153 |
| timeout_add_tv |
|
10 |
4 |
74 |
| timeout_add_ts |
|
10 |
4 |
78 |
| timeout_add_bt |
|
11 |
4 |
97 |
| timeout_add_sec |
|
8 |
2 |
47 |
| timeout_add_msec |
|
10 |
4 |
63 |
| timeout_add_usec |
|
7 |
3 |
43 |
| timeout_add_nsec |
|
7 |
3 |
47 |
| timeout_del |
|
13 |
2 |
65 |
| timeout_barrier |
|
22 |
3 |
127 |
| timeout_proc_barrier |
|
6 |
1 |
24 |
| timeout_hardclock_update |
|
17 |
4 |
100 |
| timeout_run |
|
13 |
1 |
70 |
| softclock |
|
27 |
7 |
163 |
| softclock_create_thread |
|
5 |
2 |
26 |
| softclock_thread |
|
25 |
4 |
137 |
| timeout_adjust_ticks |
|
23 |
5 |
142 |
| db_show_callout_bucket |
|
15 |
3 |
108 |
| db_show_callout |
|
9 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/kern/syscalls.c |
| Source file: /home/sergeyb/sources/src/sys/kern/sysv_shm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| shm_find_segment_by_key |
|
11 |
4 |
64 |
| shm_find_segment_by_shmid |
|
11 |
5 |
66 |
| shm_deallocate_segment |
|
11 |
1 |
57 |
| shm_delete_mapping |
|
21 |
6 |
142 |
| sys_shmdt |
|
19 |
6 |
135 |
| sys_shmat |
|
70 |
14 |
520 |
| sys_shmctl |
|
7 |
1 |
60 |
| shmctl1 |
|
49 |
13 |
349 |
| shmget_existing |
|
19 |
5 |
143 |
| shmget_allocate_segment |
|
62 |
14 |
464 |
| sys_shmget |
|
19 |
5 |
138 |
| shmfork |
|
22 |
4 |
163 |
| shmexit |
|
15 |
4 |
98 |
| shminit |
|
14 |
1 |
95 |
| sysctl_sysvshm |
|
78 |
28 |
531 |
| Source file: /home/sergeyb/sources/src/sys/kern/init_sysent.c |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_srp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| srpl_rc_init |
|
6 |
1 |
57 |
| srp_gc_init |
|
6 |
1 |
46 |
| srp_init |
|
4 |
1 |
15 |
| srp_swap_locked |
|
7 |
1 |
34 |
| srp_update_locked |
|
8 |
3 |
56 |
| srp_get_locked |
|
4 |
1 |
16 |
| srp_gc_finalize |
|
4 |
1 |
19 |
| srp_startup |
|
5 |
1 |
28 |
| srp_v_referenced |
|
19 |
4 |
101 |
| srp_v_dtor |
|
5 |
1 |
35 |
| srp_v_gc_start |
|
14 |
2 |
98 |
| srp_v_gc |
|
10 |
2 |
67 |
| srp_swap |
|
4 |
1 |
26 |
| srp_update |
|
8 |
3 |
56 |
| srp_v |
|
11 |
2 |
60 |
| srp_enter |
|
15 |
3 |
99 |
| srp_follow |
|
4 |
1 |
26 |
| srp_leave |
|
4 |
1 |
17 |
| srp_referenced |
|
15 |
4 |
86 |
| srp_finalize |
|
5 |
2 |
31 |
| srp_startup |
|
3 |
1 |
6 |
| srp_v_gc_start |
|
5 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_percpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| percpu_init |
|
5 |
1 |
31 |
| cpumem_get |
|
9 |
2 |
62 |
| cpumem_put |
|
7 |
2 |
51 |
| cpumem_malloc |
|
10 |
2 |
74 |
| cpumem_malloc_ncpus |
|
11 |
2 |
93 |
| cpumem_free |
|
8 |
2 |
63 |
| cpumem_first |
|
5 |
1 |
30 |
| cpumem_next |
|
7 |
2 |
44 |
| counters_alloc |
|
15 |
2 |
85 |
| counters_alloc_ncpus |
|
5 |
1 |
33 |
| counters_free |
|
5 |
1 |
30 |
| counters_read |
|
33 |
8 |
226 |
| counters_zero |
|
14 |
3 |
86 |
| percpu_init |
|
3 |
1 |
6 |
| cpumem_get |
|
4 |
1 |
21 |
| cpumem_put |
|
4 |
1 |
21 |
| cpumem_malloc |
|
4 |
1 |
24 |
| cpumem_malloc_ncpus |
|
4 |
1 |
20 |
| cpumem_free |
|
4 |
1 |
24 |
| cpumem_first |
|
4 |
1 |
19 |
| cpumem_next |
|
4 |
1 |
19 |
| counters_alloc |
|
5 |
1 |
30 |
| counters_alloc_ncpus |
|
4 |
1 |
30 |
| counters_free |
|
4 |
1 |
27 |
| counters_read |
|
11 |
2 |
70 |
| counters_zero |
|
11 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_lookup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ndinitat |
|
11 |
1 |
87 |
| namei |
|
145 |
39 |
987 |
| vfs_lookup |
|
205 |
63 |
1239 |
| vfs_relookup |
|
66 |
30 |
437 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_sync.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vn_initialize_syncerd |
|
6 |
1 |
26 |
| vn_syncer_add_to_worklist |
|
13 |
3 |
86 |
| sched_sync |
|
46 |
13 |
257 |
| speedup_syncer |
|
14 |
4 |
59 |
| vfs_allocate_syncvnode |
|
25 |
5 |
135 |
| sync_fsync |
|
19 |
4 |
120 |
| sync_inactive |
|
18 |
2 |
99 |
| sync_print |
|
5 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_exit.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_exit |
|
7 |
1 |
48 |
| sys___threxit |
|
12 |
3 |
83 |
| exit1 |
|
128 |
35 |
848 |
| exit2 |
|
7 |
1 |
37 |
| proc_free |
|
6 |
1 |
27 |
| reaper |
|
31 |
5 |
178 |
| sys_wait4 |
|
19 |
12 |
190 |
| dowait4 |
|
76 |
31 |
548 |
| proc_finish_wait |
|
21 |
2 |
140 |
| proc_reparent |
|
8 |
2 |
49 |
| process_zap |
|
22 |
3 |
156 |
| Source file: /home/sergeyb/sources/src/sys/kern/tty_endrun.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| endrunattach |
|
3 |
1 |
7 |
| endrunopen |
|
35 |
5 |
286 |
| endrunclose |
|
14 |
2 |
107 |
| endruninput |
|
46 |
8 |
351 |
| endrun_scan |
|
26 |
6 |
184 |
| endrun_decode |
|
72 |
19 |
515 |
| endrun_atoi |
|
12 |
8 |
93 |
| endrun_date_to_nano |
|
29 |
7 |
220 |
| endrun_time_to_nano |
|
28 |
9 |
231 |
| endrun_offset_to_nano |
|
16 |
5 |
121 |
| endrun_timeout |
|
9 |
2 |
54 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_xxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| enodev |
|
4 |
1 |
11 |
| enxio |
|
4 |
1 |
11 |
| enoioctl |
|
4 |
1 |
11 |
| enosys |
|
4 |
1 |
11 |
| eopnotsupp |
|
4 |
1 |
13 |
| nullop |
|
4 |
1 |
13 |
| bdevsw_lookup |
|
4 |
1 |
19 |
| cdevsw_lookup |
|
4 |
1 |
19 |
| chrtoblk |
|
10 |
4 |
65 |
| blktochr |
|
11 |
4 |
69 |
| assertwaitok |
|
7 |
3 |
32 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_malloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| BUCKETINDX |
|
17 |
4 |
78 |
| malloc |
|
148 |
45 |
967 |
| free |
|
78 |
29 |
540 |
| kmeminit_nkmempages |
|
17 |
6 |
69 |
| kmeminit |
|
30 |
9 |
242 |
| sysctl_malloc |
|
71 |
26 |
567 |
| malloc_roundup |
|
6 |
2 |
30 |
| malloc_printit |
|
18 |
5 |
154 |
| mallocarray |
|
10 |
6 |
74 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_domain.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| domaininit |
|
22 |
6 |
153 |
| pffinddomain |
|
10 |
3 |
55 |
| pffindtype |
|
12 |
5 |
78 |
| pffindproto |
|
19 |
10 |
134 |
| net_sysctl |
|
37 |
16 |
293 |
| pfctlinput |
|
12 |
4 |
91 |
| pfslowtimo |
|
13 |
4 |
95 |
| pffasttimo |
|
13 |
4 |
95 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_vops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| VOP_ISLOCKED |
|
8 |
2 |
49 |
| VOP_LOOKUP |
|
11 |
2 |
71 |
| VOP_CREATE |
|
13 |
2 |
87 |
| VOP_MKNOD |
|
13 |
2 |
87 |
| VOP_OPEN |
|
11 |
2 |
80 |
| VOP_CLOSE |
|
12 |
2 |
85 |
| VOP_ACCESS |
|
12 |
2 |
85 |
| VOP_GETATTR |
|
12 |
2 |
82 |
| VOP_SETATTR |
|
13 |
2 |
87 |
| VOP_READ |
|
12 |
2 |
85 |
| VOP_WRITE |
|
13 |
2 |
85 |
| VOP_IOCTL |
|
14 |
2 |
99 |
| VOP_POLL |
|
11 |
2 |
78 |
| VOP_KQFILTER |
|
9 |
2 |
60 |
| VOP_REVOKE |
|
9 |
2 |
58 |
| VOP_FSYNC |
|
13 |
2 |
85 |
| VOP_REMOVE |
|
12 |
2 |
81 |
| VOP_LINK |
|
11 |
2 |
76 |
| VOP_RENAME |
|
16 |
2 |
109 |
| VOP_MKDIR |
|
13 |
2 |
87 |
| VOP_RMDIR |
|
12 |
2 |
81 |
| VOP_SYMLINK |
|
14 |
2 |
97 |
| VOP_READDIR |
|
13 |
2 |
86 |
| VOP_READLINK |
|
11 |
2 |
76 |
| VOP_ABORTOP |
|
9 |
2 |
60 |
| VOP_INACTIVE |
|
10 |
2 |
65 |
| VOP_RECLAIM |
|
9 |
2 |
60 |
| VOP_LOCK |
|
10 |
2 |
69 |
| VOP_UNLOCK |
|
9 |
2 |
60 |
| VOP_BMAP |
|
14 |
2 |
94 |
| VOP_PRINT |
|
8 |
2 |
49 |
| VOP_PATHCONF |
|
24 |
7 |
124 |
| VOP_ADVLOCK |
|
12 |
2 |
88 |
| VOP_STRATEGY |
|
10 |
4 |
83 |
| VOP_BWRITE |
|
8 |
2 |
53 |
| Source file: /home/sergeyb/sources/src/sys/kern/sys_generic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_read |
|
15 |
2 |
127 |
| sys_readv |
|
13 |
2 |
110 |
| dofilereadv |
|
72 |
23 |
479 |
| sys_write |
|
15 |
2 |
131 |
| sys_writev |
|
13 |
2 |
110 |
| dofilewritev |
|
75 |
24 |
496 |
| sys_ioctl |
|
116 |
30 |
790 |
| sys_select |
|
20 |
6 |
174 |
| sys_pselect |
|
24 |
8 |
216 |
| dopselect |
|
95 |
30 |
855 |
| selscan |
|
31 |
6 |
273 |
| seltrue |
|
4 |
1 |
30 |
| selfalse |
|
4 |
1 |
20 |
| selrecord |
|
13 |
4 |
78 |
| selwakeup |
|
26 |
7 |
147 |
| pollscan |
|
24 |
5 |
159 |
| pollout |
|
12 |
3 |
72 |
| sys_poll |
|
16 |
3 |
121 |
| sys_ppoll |
|
24 |
8 |
202 |
| doppoll |
|
76 |
22 |
533 |
| sys_utrace |
|
8 |
2 |
58 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_lockf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lf_init |
|
5 |
1 |
28 |
| lf_alloc |
|
13 |
5 |
82 |
| lf_free |
|
7 |
1 |
36 |
| lf_advlock |
|
61 |
15 |
337 |
| lf_setlock |
|
142 |
39 |
808 |
| lf_clearlock |
|
44 |
11 |
233 |
| lf_getlock |
|
19 |
5 |
121 |
| lf_getblock |
|
12 |
4 |
84 |
| lf_findoverlap |
|
56 |
35 |
460 |
| lf_split |
|
27 |
5 |
181 |
| lf_wakelock |
|
9 |
2 |
53 |
| lf_print |
|
20 |
6 |
146 |
| lf_printlist |
|
18 |
6 |
133 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_fork.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fork_return |
|
7 |
2 |
42 |
| sys_fork |
|
8 |
2 |
54 |
| sys_vfork |
|
5 |
1 |
35 |
| sys___tfork |
|
18 |
8 |
141 |
| thread_new |
|
17 |
2 |
140 |
| process_initialize |
|
13 |
1 |
98 |
| process_new |
|
44 |
10 |
325 |
| fork_check_maxthread |
|
11 |
5 |
57 |
| fork_thread_start |
|
9 |
1 |
52 |
| fork1 |
|
114 |
31 |
855 |
| thread_fork |
|
45 |
7 |
308 |
| alloctid |
|
8 |
2 |
39 |
| ispidtaken |
|
14 |
6 |
87 |
| allocpid |
|
14 |
3 |
55 |
| freepid |
|
5 |
1 |
24 |
| proc_trampoline_mp |
|
9 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/kern/exec_conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| init_exec |
|
8 |
4 |
51 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_pledge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_pledge |
|
45 |
15 |
305 |
| pledge_syscall |
|
13 |
5 |
89 |
| pledge_fail |
|
22 |
6 |
174 |
| pledge_namei |
|
103 |
54 |
768 |
| pledge_recvfd |
|
19 |
7 |
115 |
| pledge_sendfd |
|
19 |
7 |
115 |
| pledge_sysctl |
|
160 |
150 |
1380 |
| pledge_chown |
|
12 |
7 |
96 |
| pledge_adjtime |
|
11 |
4 |
72 |
| pledge_sendit |
|
10 |
4 |
79 |
| pledge_ioctl |
|
192 |
129 |
1018 |
| pledge_sockopt |
|
124 |
60 |
512 |
| pledge_socket |
|
25 |
11 |
166 |
| pledge_flock |
|
8 |
3 |
57 |
| pledge_swapctl |
|
6 |
2 |
33 |
| pledgereq_flags |
|
15 |
4 |
103 |
| pledge_fcntl |
|
8 |
4 |
64 |
| pledge_kill |
|
10 |
5 |
69 |
| pledge_protexec |
|
8 |
4 |
61 |
| canonpath |
|
33 |
21 |
252 |
| Source file: /home/sergeyb/sources/src/sys/kern/dma_alloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dma_alloc_init |
|
11 |
2 |
97 |
| dma_alloc_index |
|
9 |
4 |
59 |
| dma_alloc |
|
7 |
2 |
42 |
| dma_free |
|
7 |
2 |
39 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_prot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| crset |
|
8 |
1 |
70 |
| sys_getpid |
|
5 |
1 |
31 |
| sys_getthrid |
|
5 |
1 |
31 |
| sys_getppid |
|
5 |
1 |
33 |
| sys_getpgrp |
|
5 |
1 |
33 |
| sys_getpgid |
|
15 |
5 |
112 |
| sys_getsid |
|
17 |
6 |
135 |
| sys_getuid |
|
5 |
1 |
31 |
| sys_geteuid |
|
5 |
1 |
31 |
| sys_issetugid |
|
8 |
2 |
43 |
| sys_getgid |
|
5 |
1 |
31 |
| sys_getegid |
|
5 |
1 |
31 |
| sys_getgroups |
|
21 |
4 |
129 |
| sys_setsid |
|
19 |
3 |
138 |
| sys_setpgid |
|
46 |
13 |
274 |
| sys_getresuid |
|
18 |
6 |
168 |
| sys_setresuid |
|
52 |
24 |
408 |
| sys_getresgid |
|
18 |
6 |
168 |
| sys_setresgid |
|
48 |
22 |
373 |
| sys_setregid |
|
43 |
23 |
368 |
| sys_setreuid |
|
47 |
25 |
403 |
| sys_setuid |
|
38 |
11 |
254 |
| sys_seteuid |
|
23 |
4 |
161 |
| sys_setgid |
|
32 |
9 |
214 |
| sys_setegid |
|
23 |
4 |
161 |
| sys_setgroups |
|
27 |
4 |
191 |
| groupmember |
|
12 |
4 |
79 |
| suser |
|
10 |
3 |
58 |
| suser_ucred |
|
6 |
2 |
27 |
| crget |
|
7 |
1 |
34 |
| crfree |
|
5 |
2 |
26 |
| crcopy |
|
11 |
2 |
55 |
| crdup |
|
8 |
1 |
37 |
| crfromxucred |
|
12 |
3 |
94 |
| sys_getlogin_r |
|
15 |
3 |
110 |
| sys_setlogin |
|
16 |
4 |
130 |
| proc_cansugid |
|
8 |
3 |
48 |
| sys___set_tcb |
|
10 |
3 |
57 |
| sys___get_tcb |
|
5 |
1 |
33 |
| dorefreshcreds |
|
11 |
2 |
61 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_init.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vfsinit |
|
16 |
2 |
81 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_mbuf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mbinit |
|
29 |
6 |
244 |
| mbcpuinit |
|
9 |
2 |
54 |
| nmbclust_update |
|
4 |
1 |
12 |
| m_get |
|
22 |
3 |
132 |
| m_gethdr |
|
18 |
3 |
109 |
| m_inithdr |
|
10 |
1 |
67 |
| m_resethdr |
|
13 |
2 |
105 |
| m_getclr |
|
9 |
2 |
54 |
| m_clpool |
|
11 |
3 |
59 |
| m_clget |
|
22 |
7 |
137 |
| m_extfree_pool |
|
4 |
1 |
21 |
| m_free |
|
28 |
7 |
150 |
| m_extref |
|
14 |
3 |
107 |
| m_extunref |
|
16 |
3 |
90 |
| mextfree_register |
|
6 |
1 |
39 |
| m_extfree |
|
9 |
2 |
69 |
| m_freem |
|
11 |
3 |
51 |
| m_purge |
|
5 |
2 |
22 |
| m_defrag |
|
35 |
7 |
291 |
| m_prepend |
|
25 |
6 |
145 |
| m_copym |
|
58 |
19 |
379 |
| m_copydata |
|
20 |
6 |
136 |
| m_copyback |
|
65 |
17 |
444 |
| m_cat |
|
15 |
5 |
98 |
| m_adj |
|
56 |
16 |
292 |
| m_pullup |
|
60 |
13 |
402 |
| m_getptr |
|
22 |
5 |
105 |
| m_split |
|
65 |
14 |
431 |
| m_makespace |
|
59 |
16 |
405 |
| m_devget |
|
48 |
12 |
273 |
| m_zero |
|
13 |
5 |
74 |
| m_apply |
|
30 |
9 |
184 |
| m_leadingspace |
|
8 |
4 |
60 |
| m_trailingspace |
|
8 |
3 |
68 |
| m_dup_pkthdr |
|
15 |
4 |
127 |
| m_dup_pkt |
|
26 |
6 |
182 |
| m_pool_alloc |
|
22 |
5 |
128 |
| m_pool_free |
|
7 |
1 |
43 |
| m_pool_init |
|
5 |
1 |
46 |
| m_print |
|
39 |
3 |
389 |
| ml_init |
|
5 |
1 |
25 |
| ml_enqueue |
|
11 |
2 |
60 |
| ml_enlist |
|
12 |
3 |
71 |
| ml_dequeue |
|
13 |
3 |
66 |
| ml_dechain |
|
7 |
1 |
30 |
| ml_purge |
|
12 |
2 |
66 |
| mq_init |
|
6 |
1 |
39 |
| mq_enqueue |
|
15 |
3 |
82 |
| mq_dequeue |
|
8 |
1 |
45 |
| mq_enlist |
|
18 |
4 |
106 |
| mq_delist |
|
7 |
1 |
45 |
| mq_dechain |
|
8 |
1 |
45 |
| mq_purge |
|
6 |
1 |
30 |
| sysctl_mq |
|
25 |
7 |
170 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_syscalls.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_mount |
|
149 |
32 |
1043 |
| checkdirs |
|
32 |
7 |
158 |
| sys_unmount |
|
29 |
6 |
199 |
| dounmount |
|
42 |
10 |
256 |
| dounmount_leaf |
|
34 |
11 |
243 |
| sys_sync |
|
19 |
4 |
117 |
| sys_quotactl |
|
15 |
2 |
122 |
| copyout_statfs |
|
20 |
4 |
185 |
| sys_statfs |
|
20 |
3 |
158 |
| sys_fstatfs |
|
23 |
4 |
165 |
| sys_getfsstat |
|
44 |
13 |
255 |
| sys_fchdir |
|
37 |
8 |
243 |
| sys_chdir |
|
18 |
2 |
119 |
| sys_chroot |
|
25 |
4 |
177 |
| change_dir |
|
17 |
4 |
96 |
| sys_open |
|
7 |
1 |
57 |
| sys_openat |
|
7 |
1 |
62 |
| doopenat |
|
106 |
25 |
694 |
| sys_getfh |
|
26 |
4 |
179 |
| sys_fhopen |
|
107 |
28 |
701 |
| sys_fhstat |
|
24 |
6 |
189 |
| sys_fhstatfs |
|
25 |
6 |
210 |
| sys_mknod |
|
7 |
1 |
55 |
| sys_mknodat |
|
7 |
1 |
60 |
| domknodat |
|
66 |
17 |
379 |
| sys_mkfifo |
|
7 |
1 |
56 |
| sys_mkfifoat |
|
7 |
1 |
61 |
| sys_link |
|
7 |
1 |
52 |
| sys_linkat |
|
7 |
1 |
67 |
| dolinkat |
|
38 |
8 |
263 |
| sys_symlink |
|
6 |
1 |
48 |
| sys_symlinkat |
|
7 |
1 |
53 |
| dosymlinkat |
|
31 |
5 |
225 |
| sys_unlink |
|
6 |
1 |
43 |
| sys_unlinkat |
|
7 |
1 |
53 |
| dounlinkat |
|
43 |
10 |
260 |
| sys_lseek |
|
54 |
11 |
291 |
| sys_access |
|
7 |
1 |
50 |
| sys_faccessat |
|
7 |
1 |
60 |
| dofaccessat |
|
44 |
14 |
294 |
| sys_stat |
|
6 |
1 |
50 |
| sys_fstatat |
|
7 |
1 |
60 |
| dofstatat |
|
33 |
11 |
253 |
| sys_lstat |
|
7 |
1 |
50 |
| sys_pathconf |
|
15 |
2 |
109 |
| sys_readlink |
|
7 |
1 |
57 |
| sys_readlinkat |
|
7 |
1 |
62 |
| doreadlinkat |
|
31 |
3 |
202 |
| sys_chflags |
|
7 |
1 |
50 |
| sys_chflagsat |
|
7 |
1 |
60 |
| dochflagsat |
|
13 |
4 |
114 |
| sys_fchflags |
|
14 |
2 |
100 |
| dovchflags |
|
27 |
8 |
166 |
| sys_chmod |
|
6 |
1 |
50 |
| sys_fchmodat |
|
7 |
1 |
60 |
| dofchmodat |
|
29 |
7 |
214 |
| sys_fchmod |
|
28 |
6 |
197 |
| sys_chown |
|
7 |
1 |
57 |
| sys_fchownat |
|
7 |
1 |
67 |
| dofchownat |
|
43 |
13 |
310 |
| sys_lchown |
|
43 |
11 |
306 |
| sys_fchown |
|
42 |
11 |
296 |
| sys_utimes |
|
19 |
3 |
155 |
| sys_utimensat |
|
17 |
3 |
128 |
| doutimensat |
|
16 |
4 |
127 |
| dovutimens |
|
43 |
18 |
347 |
| sys_futimes |
|
19 |
3 |
151 |
| sys_futimens |
|
16 |
3 |
114 |
| dofutimens |
|
12 |
2 |
85 |
| sys_truncate |
|
25 |
4 |
195 |
| sys_ftruncate |
|
30 |
6 |
200 |
| sys_fsync |
|
18 |
6 |
143 |
| sys_rename |
|
7 |
1 |
50 |
| sys_renameat |
|
7 |
1 |
60 |
| dorenameat |
|
68 |
17 |
460 |
| sys_mkdir |
|
6 |
1 |
48 |
| sys_mkdirat |
|
7 |
1 |
53 |
| domkdirat |
|
29 |
5 |
208 |
| sys_rmdir |
|
6 |
1 |
43 |
| sys_getdents |
|
48 |
7 |
292 |
| sys_umask |
|
10 |
1 |
60 |
| sys_revoke |
|
29 |
9 |
225 |
| getvnode |
|
15 |
4 |
96 |
| sys_pread |
|
25 |
7 |
194 |
| sys_preadv |
|
23 |
7 |
177 |
| sys_pwrite |
|
25 |
7 |
198 |
| sys_pwritev |
|
23 |
7 |
177 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_bio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| buf_put |
|
21 |
10 |
150 |
| bufinit |
|
43 |
10 |
274 |
| bufadjust |
|
24 |
7 |
129 |
| bufbackoff |
|
38 |
10 |
220 |
| buf_flip_high |
|
18 |
2 |
114 |
| buf_flip_dma |
|
18 |
3 |
132 |
| bio_doread |
|
23 |
6 |
156 |
| bread |
|
6 |
1 |
49 |
| breadn |
|
13 |
3 |
114 |
| bread_cluster_callback |
|
36 |
10 |
265 |
| bread_cluster |
|
60 |
13 |
492 |
| bwrite |
|
43 |
11 |
260 |
| bdwrite |
|
15 |
2 |
86 |
| bawrite |
|
5 |
1 |
23 |
| buf_dirty |
|
11 |
4 |
65 |
| buf_undirty |
|
10 |
4 |
58 |
| brelse |
|
44 |
13 |
282 |
| incore |
|
13 |
3 |
80 |
| getblk |
|
33 |
6 |
208 |
| geteblk |
|
7 |
2 |
36 |
| buf_get |
|
76 |
18 |
479 |
| buf_daemon |
|
48 |
17 |
269 |
| biowait |
|
17 |
5 |
117 |
| biodone |
|
33 |
11 |
227 |
| bcstats_print |
|
15 |
1 |
130 |
| buf_adjcnt |
|
5 |
1 |
27 |
| bufcache_init |
|
10 |
2 |
63 |
| bufcache_adjust |
|
11 |
4 |
78 |
| bufcache_getcleanbuf |
|
39 |
10 |
276 |
| bufcache_getcleanbuf_range |
|
12 |
4 |
76 |
| bufcache_gethighcleanbuf |
|
6 |
2 |
28 |
| bufcache_getdmacleanbuf |
|
6 |
2 |
32 |
| bufcache_getdirtybuf |
|
4 |
1 |
13 |
| bufcache_take |
|
29 |
4 |
193 |
| chillbufs |
|
23 |
6 |
157 |
| bufcache_release |
|
37 |
8 |
249 |
| hibernate_suspend_bufcache |
|
15 |
3 |
81 |
| hibernate_resume_bufcache |
|
3 |
1 |
6 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_disk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dkcksum |
|
10 |
2 |
62 |
| initdisklabel |
|
24 |
6 |
188 |
| checkdisklabel |
|
102 |
25 |
855 |
| readdisksector |
|
11 |
1 |
97 |
| readdoslabel |
|
186 |
62 |
1172 |
| gpt_chk_mbr |
|
23 |
9 |
137 |
| gpt_chk_hdr |
|
43 |
14 |
285 |
| gpt_chk_parts |
|
9 |
2 |
61 |
| gpt_get_fstype |
|
39 |
9 |
313 |
| spoofgptlabel |
|
93 |
18 |
631 |
| setdisklabel |
|
46 |
19 |
355 |
| bounds_check_with_label |
|
27 |
10 |
203 |
| diskerr |
|
35 |
8 |
355 |
| disk_init |
|
5 |
1 |
18 |
| disk_construct |
|
7 |
1 |
42 |
| disk_attach |
|
32 |
7 |
213 |
| disk_attach_callback |
|
18 |
3 |
118 |
| disk_detach |
|
10 |
3 |
64 |
| disk_openpart |
|
18 |
8 |
121 |
| disk_closepart |
|
13 |
4 |
76 |
| disk_gone |
|
11 |
5 |
118 |
| disk_busy |
|
7 |
2 |
42 |
| disk_unbusy |
|
24 |
4 |
167 |
| disk_lock |
|
4 |
1 |
24 |
| disk_lock_nointr |
|
4 |
1 |
17 |
| disk_unlock |
|
4 |
1 |
17 |
| dk_mountroot |
|
43 |
10 |
205 |
| getdisk |
|
15 |
5 |
104 |
| parsedisk |
|
31 |
12 |
198 |
| setroot |
|
210 |
75 |
1383 |
| findblkmajor |
|
14 |
7 |
120 |
| findblkname |
|
8 |
3 |
52 |
| disk_readlabel |
|
33 |
6 |
207 |
| disk_map |
|
45 |
21 |
335 |
| disk_lookup |
|
16 |
4 |
84 |
| duid_equal |
|
4 |
1 |
26 |
| duid_iszero |
|
6 |
1 |
36 |
| duid_format |
|
9 |
1 |
72 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_lock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _kernel_lock_init |
|
4 |
1 |
12 |
| _kernel_lock |
|
6 |
2 |
32 |
| _kernel_unlock |
|
4 |
1 |
12 |
| _kernel_lock_held |
|
6 |
2 |
26 |
| ___mp_lock_init |
|
15 |
4 |
123 |
| __mp_lock_spin |
|
14 |
4 |
67 |
| ___mp_lock |
|
15 |
4 |
118 |
| ___mp_unlock |
|
16 |
4 |
99 |
| ___mp_release_all |
|
16 |
4 |
99 |
| ___mp_release_all_but_one |
|
14 |
5 |
100 |
| ___mp_acquire_count |
|
5 |
2 |
24 |
| __mp_lock_held |
|
5 |
2 |
47 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_extent.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| extent_align |
|
4 |
1 |
39 |
| extent_register |
|
14 |
5 |
69 |
| extent_pool_init |
|
9 |
2 |
43 |
| extent_print_all |
|
7 |
1 |
29 |
| extent_create |
|
67 |
19 |
471 |
| extent_destroy |
|
15 |
6 |
110 |
| extent_insert_and_optimize |
|
46 |
11 |
319 |
| extent_alloc_region |
|
78 |
23 |
477 |
| extent_do_alloc |
|
151 |
53 |
1034 |
| extent_alloc_subregion |
|
13 |
3 |
92 |
| extent_alloc_subregion_with_descr |
|
10 |
3 |
88 |
| extent_free |
|
67 |
22 |
449 |
| extent_alloc_region_descriptor |
|
27 |
9 |
173 |
| extent_free_region_descriptor |
|
28 |
6 |
155 |
| extent_print |
|
4 |
1 |
16 |
| extent_print1 |
|
13 |
3 |
130 |
| Source file: /home/sergeyb/sources/src/sys/kern/exec_elf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| elf_copyargs |
|
12 |
3 |
81 |
| elf_check_header |
|
14 |
8 |
86 |
| elf_load_psection |
|
53 |
12 |
462 |
| elf_read_from |
|
12 |
3 |
83 |
| elf_load_file |
|
151 |
34 |
1052 |
| exec_elf_makecmds |
|
169 |
48 |
1076 |
| exec_elf_fixup |
|
53 |
5 |
323 |
| elf_os_pt_note |
|
60 |
17 |
417 |
| coredump_elf |
|
4 |
1 |
16 |
| coredump_elf |
|
47 |
14 |
319 |
| coredump_setup_elf |
|
50 |
3 |
382 |
| coredump_walk_elf |
|
26 |
4 |
158 |
| coredump_notes_elf |
|
110 |
16 |
795 |
| coredump_note_elf |
|
43 |
9 |
299 |
| coredump_writenote_elf |
|
13 |
3 |
92 |
| Source file: /home/sergeyb/sources/src/sys/kern/sys_pipe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_pipe |
|
6 |
1 |
41 |
| sys_pipe2 |
|
8 |
2 |
66 |
| dopipe |
|
54 |
9 |
386 |
| pipespace |
|
16 |
2 |
102 |
| pipe_create |
|
17 |
2 |
110 |
| pipelock |
|
11 |
3 |
59 |
| pipeunlock |
|
8 |
2 |
36 |
| pipeselwakeup |
|
10 |
4 |
71 |
| pipe_read |
|
69 |
21 |
458 |
| pipe_write |
|
125 |
45 |
779 |
| pipe_ioctl |
|
25 |
7 |
141 |
| pipe_poll |
|
31 |
12 |
222 |
| pipe_stat |
|
18 |
1 |
184 |
| pipe_close |
|
8 |
1 |
45 |
| pipe_free_kmem |
|
11 |
3 |
71 |
| pipeclose |
|
21 |
4 |
110 |
| pipe_kqfilter |
|
21 |
4 |
119 |
| filt_pipedetach |
|
15 |
4 |
87 |
| filt_piperead |
|
12 |
4 |
88 |
| filt_pipewrite |
|
12 |
3 |
92 |
| pipe_init |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vn_open |
|
104 |
31 |
694 |
| vn_writechk |
|
21 |
13 |
89 |
| vn_fsizechk |
|
17 |
6 |
134 |
| vn_marktext |
|
4 |
1 |
15 |
| vn_close |
|
10 |
2 |
70 |
| vn_rdwr |
|
32 |
7 |
217 |
| vn_read |
|
18 |
5 |
146 |
| vn_write |
|
25 |
9 |
192 |
| vn_statfile |
|
5 |
1 |
38 |
| vn_stat |
|
55 |
9 |
324 |
| vn_ioctl |
|
34 |
13 |
212 |
| vn_poll |
|
4 |
1 |
35 |
| vn_lock |
|
16 |
4 |
91 |
| vn_closefile |
|
13 |
2 |
101 |
| vn_kqfilter |
|
4 |
1 |
26 |
| vn_isunder |
|
8 |
2 |
58 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rb_buf_compare |
|
8 |
3 |
52 |
| vntblinit |
|
13 |
2 |
87 |
| vfs_busy |
|
17 |
5 |
91 |
| vfs_unbusy |
|
4 |
1 |
17 |
| vfs_isbusy |
|
7 |
2 |
32 |
| vfs_rootmountalloc |
|
25 |
4 |
210 |
| vfs_getvfs |
|
11 |
3 |
74 |
| vfs_getnewfsid |
|
20 |
4 |
144 |
| vattr_null |
|
24 |
1 |
147 |
| getnewvnode |
|
66 |
14 |
404 |
| insmntque |
|
7 |
3 |
53 |
| bdevvp |
|
4 |
1 |
24 |
| cdevvp |
|
4 |
1 |
24 |
| getdevvp |
|
25 |
6 |
154 |
| checkalias |
|
56 |
16 |
369 |
| vget |
|
32 |
10 |
197 |
| vref |
|
8 |
4 |
40 |
| vputonfreelist |
|
22 |
6 |
115 |
| vput |
|
22 |
10 |
124 |
| vrele |
|
26 |
12 |
150 |
| vhold |
|
9 |
4 |
58 |
| vdrop |
|
11 |
6 |
71 |
| vfs_mount_foreach_vnode |
|
14 |
3 |
90 |
| vflush_vnode |
|
32 |
13 |
205 |
| vflush |
|
11 |
2 |
65 |
| vclean |
|
40 |
12 |
244 |
| vrecycle |
|
8 |
2 |
41 |
| vgone |
|
5 |
1 |
23 |
| vgonel |
|
63 |
25 |
431 |
| vfinddev |
|
13 |
4 |
80 |
| vdevgone |
|
8 |
3 |
62 |
| vcount |
|
19 |
7 |
121 |
| vprint |
|
36 |
13 |
275 |
| printlockedvnodes |
|
15 |
3 |
77 |
| vfs_sysctl |
|
42 |
14 |
333 |
| vfs_mountedon |
|
19 |
7 |
102 |
| vfs_hang_addrlist |
|
67 |
19 |
471 |
| vfs_free_netcred |
|
7 |
1 |
57 |
| vfs_free_addrlist |
|
9 |
2 |
52 |
| vfs_export |
|
15 |
5 |
95 |
| vfs_export_lookup |
|
26 |
8 |
143 |
| vaccess |
|
37 |
19 |
224 |
| vfs_unmountall |
|
24 |
5 |
122 |
| vfs_shutdown |
|
15 |
5 |
66 |
| vfs_syncwait |
|
42 |
14 |
222 |
| fs_posix_sysctl |
|
14 |
5 |
91 |
| fs_sysctl |
|
13 |
2 |
85 |
| vwaitforio |
|
13 |
3 |
76 |
| vwakeup |
|
12 |
5 |
68 |
| vinvalbuf |
|
68 |
29 |
465 |
| vflushbuf |
|
32 |
8 |
181 |
| bgetvp |
|
13 |
4 |
80 |
| brelvp |
|
16 |
5 |
103 |
| buf_replacevnode |
|
13 |
3 |
77 |
| reassignbuf |
|
35 |
9 |
187 |
| vfs_register |
|
18 |
7 |
128 |
| vfs_unregister |
|
22 |
7 |
134 |
| vn_isdisk |
|
6 |
3 |
37 |
| vfs_buf_print |
|
18 |
3 |
170 |
| vfs_vnode_print |
|
26 |
4 |
229 |
| vfs_mount_print |
|
50 |
7 |
490 |
| copy_statfs_info |
|
20 |
2 |
181 |
| Source file: /home/sergeyb/sources/src/sys/kern/sysv_ipc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipcperm |
|
14 |
7 |
117 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_evcount.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| evcount_attach |
|
9 |
1 |
66 |
| evcount_detach |
|
4 |
1 |
19 |
| evcount_sysctl |
|
50 |
14 |
290 |
| Source file: /home/sergeyb/sources/src/sys/kern/uipc_syscalls.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_socket |
|
43 |
11 |
310 |
| isdnssocket |
|
4 |
1 |
18 |
| dns_portcheck |
|
40 |
12 |
294 |
| sys_bind |
|
29 |
6 |
205 |
| sys_listen |
|
14 |
2 |
97 |
| sys_accept |
|
7 |
1 |
57 |
| sys_accept4 |
|
9 |
2 |
82 |
| doaccept |
|
84 |
23 |
563 |
| sys_connect |
|
64 |
20 |
412 |
| sys_socketpair |
|
75 |
16 |
583 |
| sys_sendto |
|
16 |
1 |
135 |
| sys_sendmsg |
|
33 |
11 |
261 |
| sendit |
|
94 |
32 |
641 |
| sys_recvfrom |
|
24 |
3 |
182 |
| sys_recvmsg |
|
40 |
11 |
300 |
| recvit |
|
109 |
38 |
724 |
| sys_shutdown |
|
12 |
2 |
88 |
| sys_setsockopt |
|
46 |
9 |
306 |
| sys_getsockopt |
|
39 |
11 |
301 |
| sys_getsockname |
|
30 |
5 |
227 |
| sys_getpeername |
|
34 |
6 |
248 |
| sockargs |
|
29 |
9 |
192 |
| getsock |
|
11 |
3 |
72 |
| sys_setrtable |
|
15 |
5 |
120 |
| sys_getrtable |
|
5 |
1 |
34 |
| copyaddrout |
|
13 |
4 |
109 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_sig.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cansignal |
|
40 |
25 |
222 |
| signal_init |
|
6 |
1 |
38 |
| sigactsinit |
|
8 |
1 |
50 |
| sigactsshare |
|
6 |
1 |
26 |
| sigstkinit |
|
6 |
1 |
27 |
| sigactsunshare |
|
9 |
2 |
44 |
| sigactsfree |
|
8 |
2 |
43 |
| sys_sigaction |
|
59 |
26 |
423 |
| setsigvec |
|
54 |
16 |
363 |
| siginit |
|
9 |
4 |
64 |
| execsigs |
|
22 |
5 |
143 |
| sys_sigprocmask |
|
24 |
4 |
116 |
| sys_sigpending |
|
5 |
1 |
29 |
| dosigsuspend |
|
7 |
1 |
43 |
| sys_sigsuspend |
|
11 |
2 |
80 |
| sigonstack |
|
6 |
2 |
44 |
| sys_sigaltstack |
|
36 |
10 |
225 |
| sys_kill |
|
35 |
11 |
233 |
| sys_thrkill |
|
26 |
9 |
174 |
| killpg1 |
|
34 |
14 |
200 |
| csignal |
|
20 |
7 |
127 |
| gsignal |
|
6 |
2 |
37 |
| pgsignal |
|
8 |
4 |
54 |
| trapsignal |
|
45 |
16 |
339 |
| psignal |
|
4 |
1 |
21 |
| ptsignal |
|
132 |
54 |
807 |
| issignal |
|
80 |
29 |
472 |
| proc_stop |
|
16 |
4 |
98 |
| proc_stop_sweep |
|
12 |
3 |
80 |
| postsig |
|
65 |
17 |
421 |
| sigexit |
|
13 |
4 |
90 |
| coredump |
|
88 |
23 |
663 |
| coredump_write |
|
32 |
5 |
205 |
| coredump_unmap |
|
5 |
1 |
37 |
| sys_nosys |
|
5 |
1 |
31 |
| sys___thrsigdivert |
|
66 |
23 |
452 |
| initsiginfo |
|
21 |
7 |
102 |
| filt_sigattach |
|
10 |
2 |
60 |
| filt_sigdetach |
|
5 |
1 |
34 |
| filt_signal |
|
9 |
3 |
46 |
| userret |
|
31 |
7 |
196 |
| single_thread_check |
|
24 |
9 |
143 |
| single_thread_set |
|
76 |
22 |
345 |
| single_thread_wait |
|
5 |
2 |
31 |
| single_thread_clear |
|
23 |
6 |
151 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| check_exec |
|
75 |
25 |
552 |
| sys_execve |
|
325 |
83 |
2578 |
| copyargs |
|
29 |
10 |
262 |
| exec_sigcode_map |
|
36 |
5 |
300 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_ktrace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ktrcleartrace |
|
14 |
2 |
69 |
| ktrsettrace |
|
21 |
4 |
120 |
| ktrinitheaderraw |
|
8 |
1 |
57 |
| ktrinitheader |
|
6 |
1 |
56 |
| ktrstart |
|
6 |
1 |
54 |
| ktrsyscall |
|
27 |
6 |
251 |
| ktrsysret |
|
19 |
3 |
126 |
| ktrnamei |
|
8 |
1 |
62 |
| ktrgenio |
|
35 |
7 |
233 |
| ktrpsig |
|
15 |
1 |
113 |
| ktrstruct |
|
11 |
2 |
91 |
| ktruser |
|
29 |
7 |
222 |
| ktrexec |
|
22 |
5 |
134 |
| ktrpledge |
|
12 |
1 |
90 |
| doktrace |
|
70 |
16 |
382 |
| sys_ktrace |
|
24 |
4 |
182 |
| ktrops |
|
15 |
4 |
95 |
| ktrsetchildren |
|
21 |
6 |
138 |
| ktrwrite |
|
17 |
2 |
130 |
| ktrwrite2 |
|
19 |
2 |
153 |
| ktrwriteraw |
|
38 |
6 |
273 |
| ktrcanset |
|
14 |
8 |
104 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_sensors.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sensordev_install |
|
20 |
5 |
128 |
| sensor_attach |
|
29 |
10 |
234 |
| sensordev_deinstall |
|
9 |
2 |
45 |
| sensor_detach |
|
12 |
2 |
83 |
| sensordev_get |
|
13 |
3 |
66 |
| sensor_find |
|
17 |
4 |
102 |
| sensor_task_register |
|
20 |
5 |
153 |
| sensor_task_unregister |
|
6 |
1 |
31 |
| sensor_task_tick |
|
5 |
1 |
25 |
| sensor_quiesce |
|
6 |
2 |
28 |
| sensor_restart |
|
4 |
1 |
10 |
| sensor_task_work |
|
19 |
6 |
119 |
| Source file: /home/sergeyb/sources/src/sys/kern/vfs_default.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vop_generic_revoke |
|
37 |
14 |
237 |
| vop_generic_bmap |
|
11 |
4 |
63 |
| vop_generic_bwrite |
|
5 |
1 |
25 |
| vop_generic_abortop |
|
7 |
2 |
50 |
| vop_generic_lock |
|
4 |
1 |
13 |
| vop_generic_unlock |
|
4 |
1 |
13 |
| vop_generic_islocked |
|
4 |
1 |
13 |
| vop_generic_kqfilter |
|
14 |
3 |
59 |
| vop_generic_lookup |
|
6 |
1 |
27 |
| filt_generic_detach |
|
3 |
1 |
9 |
| filt_generic_readwrite |
|
9 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/kern/kern_watchdog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdog_register |
|
8 |
2 |
46 |
| wdog_tickle |
|
7 |
2 |
41 |
| wdog_shutdown |
|
10 |
3 |
51 |
| sysctl_wdog |
|
32 |
9 |
193 |
| Source file: /home/sergeyb/sources/src/sys/kern/subr_witness.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| witness_lock_type_equal |
|
5 |
1 |
45 |
| witness_lock_order_key_equal |
|
5 |
2 |
35 |
| fixup_filename |
|
8 |
3 |
42 |
| witness_initialize |
|
45 |
6 |
376 |
| witness_init |
|
29 |
12 |
219 |
| witness_ddb_compute_levels |
|
11 |
2 |
55 |
| witness_ddb_level_descendants |
|
12 |
4 |
74 |
| witness_ddb_display_descendants |
|
26 |
7 |
177 |
| witness_ddb_display_list |
|
10 |
3 |
63 |
| witness_ddb_display |
|
19 |
2 |
126 |
| witness_defineorder |
|
18 |
9 |
119 |
| witness_checkorder |
|
207 |
61 |
1443 |
| witness_lock |
|
48 |
12 |
303 |
| witness_upgrade |
|
42 |
11 |
277 |
| witness_downgrade |
|
44 |
11 |
277 |
| witness_unlock |
|
72 |
22 |
519 |
| witness_thread_exit |
|
22 |
7 |
133 |
| witness_warn |
|
52 |
22 |
360 |
| witness_file |
|
8 |
4 |
46 |
| witness_line |
|
8 |
4 |
46 |
| enroll |
|
48 |
11 |
288 |
| adopt |
|
54 |
17 |
375 |
| itismychild |
|
23 |
6 |
126 |
| _isitmyx |
|
26 |
7 |
191 |
| isitmychild |
|
4 |
1 |
28 |
| isitmydescendant |
|
5 |
1 |
28 |
| witness_get |
|
28 |
7 |
151 |
| witness_free |
|
5 |
1 |
22 |
| witness_lock_list_get |
|
18 |
3 |
92 |
| witness_lock_list_free |
|
7 |
1 |
31 |
| find_instance |
|
14 |
4 |
93 |
| witness_list_lock |
|
11 |
2 |
88 |
| witness_output |
|
9 |
1 |
43 |
| witness_voutput |
|
16 |
4 |
63 |
| witness_thread_has_locks |
|
6 |
2 |
33 |
| witness_process_has_locks |
|
9 |
2 |
44 |
| witness_list_locks |
|
13 |
3 |
94 |
| witness_display_spinlock |
|
11 |
3 |
74 |
| witness_save |
|
25 |
7 |
152 |
| witness_restore |
|
27 |
8 |
169 |
| witness_assert |
|
68 |
27 |
408 |
| witness_setflag |
|
26 |
8 |
141 |
| witness_norelease |
|
4 |
1 |
18 |
| witness_releaseok |
|
4 |
1 |
18 |
| witness_ddb_list |
|
11 |
4 |
82 |
| db_witness_list |
|
9 |
2 |
45 |
| db_witness_list_all |
|
16 |
3 |
95 |
| witness_print_badstacks |
|
98 |
18 |
576 |
| db_witness_display |
|
11 |
2 |
44 |
| db_witness_print_fullgraph |
|
20 |
3 |
87 |
| db_witness_add_fullgraph |
|
15 |
6 |
109 |
| witness_hash_djb2 |
|
12 |
4 |
104 |
| witness_init_hash_tables |
|
19 |
4 |
137 |
| witness_hash_get |
|
18 |
5 |
109 |
| witness_hash_put |
|
17 |
2 |
123 |
| witness_lock_order_get |
|
24 |
5 |
160 |
| witness_lock_order_check |
|
9 |
4 |
51 |
| witness_lock_order_add |
|
27 |
4 |
192 |
| witness_increment_graph_generation |
|
6 |
2 |
21 |
| witness_debugger |
|
6 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/icmp6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| icmp6_init |
|
7 |
1 |
31 |
| icmp6_errcount |
|
55 |
16 |
168 |
| icmp6_mtudisc_callback_register |
|
13 |
3 |
85 |
| icmp6_error |
|
76 |
22 |
522 |
| icmp6_input |
|
275 |
81 |
1490 |
| icmp6_notify_error |
|
147 |
26 |
940 |
| icmp6_mtudisc_update |
|
48 |
17 |
341 |
| icmp6_reflect |
|
91 |
13 |
651 |
| icmp6_fasttimo |
|
4 |
1 |
10 |
| icmp6_redirect_diag |
|
13 |
1 |
101 |
| icmp6_redirect_input |
|
177 |
29 |
1171 |
| icmp6_redirect_output |
|
170 |
34 |
1281 |
| icmp6_ctloutput |
|
56 |
11 |
247 |
| icmp6_ratelimit |
|
7 |
2 |
38 |
| icmp6_mtudisc_clone |
|
43 |
9 |
284 |
| icmp6_mtudisc_timeout |
|
15 |
4 |
98 |
| icmp6_redirect_timeout |
|
12 |
3 |
78 |
| icmp6_sysctl_icmp6stat |
|
12 |
1 |
107 |
| icmp6_sysctl |
|
20 |
4 |
108 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6_ifattach.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in6_get_rand_ifid |
|
7 |
1 |
50 |
| in6_get_hw_ifid |
|
60 |
20 |
405 |
| in6_get_ifid |
|
30 |
5 |
200 |
| in6_ifattach_linklocal |
|
53 |
10 |
490 |
| in6_ifattach_loopback |
|
19 |
1 |
164 |
| in6_nigroup |
|
37 |
11 |
304 |
| in6_ifattach |
|
28 |
12 |
147 |
| in6_ifdetach |
|
36 |
8 |
283 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6_ifattach.h |
| Source file: /home/sergeyb/sources/src/sys/netinet6/nd6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nd6_init |
|
17 |
2 |
110 |
| nd6_ifattach |
|
10 |
1 |
63 |
| nd6_ifdetach |
|
4 |
1 |
22 |
| nd6_option_init |
|
11 |
2 |
79 |
| nd6_option |
|
32 |
9 |
200 |
| nd6_options |
|
58 |
17 |
264 |
| nd6_llinfo_settimer |
|
10 |
3 |
59 |
| nd6_timer |
|
21 |
8 |
128 |
| nd6_llinfo_timer |
|
69 |
15 |
391 |
| nd6_expire_timer_update |
|
23 |
9 |
128 |
| nd6_expire |
|
24 |
4 |
125 |
| nd6_expire_timer |
|
4 |
1 |
19 |
| nd6_purge |
|
16 |
5 |
96 |
| nd6_lookup |
|
58 |
19 |
400 |
| nd6_is_addr_neighbor |
|
26 |
7 |
178 |
| nd6_invalidate |
|
8 |
1 |
48 |
| nd6_free |
|
17 |
4 |
113 |
| nd6_nud_hint |
|
25 |
10 |
154 |
| nd6_rtrequest |
|
139 |
38 |
921 |
| nd6_ioctl |
|
44 |
9 |
264 |
| nd6_cache_lladdr |
|
118 |
44 |
651 |
| nd6_slowtimo |
|
16 |
3 |
87 |
| nd6_resolve |
|
63 |
14 |
460 |
| nd6_need_cache |
|
11 |
4 |
38 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in6_mask2len |
|
26 |
13 |
208 |
| in6_nam2sin6 |
|
14 |
5 |
96 |
| in6_control |
|
13 |
5 |
80 |
| in6_ioctl |
|
174 |
59 |
977 |
| in6_update_ifa |
|
225 |
51 |
1728 |
| in6_purgeaddr |
|
28 |
6 |
189 |
| in6_unlink_ifa |
|
17 |
3 |
109 |
| in6_ifinit |
|
29 |
10 |
225 |
| in6_addmulti |
|
33 |
4 |
245 |
| in6_delmulti |
|
21 |
3 |
150 |
| in6_hasmulti |
|
8 |
1 |
45 |
| in6_joingroup |
|
15 |
3 |
94 |
| in6_leavegroup |
|
6 |
2 |
35 |
| in6ifa_ifpforlinklocal |
|
14 |
4 |
81 |
| in6ifa_ifpwithaddr |
|
11 |
3 |
66 |
| in6_addrscope |
|
42 |
11 |
179 |
| in6_addr2scopeid |
|
13 |
4 |
53 |
| in6_matchlen |
|
16 |
4 |
100 |
| in6_prefixlen2mask |
|
17 |
5 |
129 |
| in6_ifawithscope |
|
137 |
52 |
818 |
| in6if_do_dad |
|
14 |
5 |
74 |
| in6_domifattach |
|
9 |
1 |
55 |
| in6_domifdetach |
|
6 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/dest6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dest6_input |
|
44 |
10 |
286 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip6_init |
|
21 |
8 |
142 |
| ip6_ours |
|
8 |
2 |
54 |
| ip6intr |
|
12 |
4 |
75 |
| ipv6_input |
|
7 |
1 |
47 |
| ip6_input_if |
|
200 |
68 |
1378 |
| ip6_local |
|
8 |
3 |
59 |
| ip6_hbhchcheck |
|
50 |
12 |
356 |
| ip6_check_rh0hdr |
|
48 |
12 |
315 |
| ip6_hopopts_input |
|
28 |
4 |
191 |
| ip6_process_hopopts |
|
92 |
17 |
499 |
| ip6_unknown_opt |
|
27 |
7 |
161 |
| ip6_savecontrol |
|
135 |
33 |
845 |
| ip6_pullexthdr |
|
38 |
12 |
214 |
| ip6_get_prevhdr |
|
31 |
6 |
175 |
| ip6_nexthdr |
|
59 |
24 |
402 |
| ip6_lasthdr |
|
20 |
6 |
100 |
| ip6_sysctl_ip6stat |
|
12 |
1 |
107 |
| ip6_sysctl |
|
65 |
22 |
366 |
| ip6_send_dispatch |
|
14 |
3 |
81 |
| ip6_send |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_mroute.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip6_mrouter_set |
|
32 |
19 |
275 |
| ip6_mrouter_get |
|
10 |
2 |
54 |
| mrt6_ioctl |
|
14 |
3 |
78 |
| get_sg6_cnt |
|
21 |
4 |
148 |
| get_mif6_cnt |
|
13 |
2 |
89 |
| mrt6_sysctl_mif |
|
38 |
7 |
237 |
| mrt6_rtwalk_mf6csysctl |
|
50 |
12 |
354 |
| mrt6_sysctl_mfc |
|
24 |
7 |
176 |
| ip6_mrouter_init |
|
16 |
5 |
105 |
| mrouter6_rtwalk_delete |
|
9 |
2 |
54 |
| ip6_mrouter_done |
|
18 |
2 |
104 |
| ip6_mrouter_detach |
|
13 |
2 |
101 |
| add_m6if |
|
38 |
7 |
247 |
| del_m6if |
|
12 |
3 |
71 |
| mf6c_add_route |
|
25 |
4 |
191 |
| mf6c_update |
|
74 |
12 |
520 |
| mf6c_add |
|
24 |
4 |
190 |
| add_m6fc |
|
9 |
1 |
64 |
| del_m6fc |
|
13 |
2 |
87 |
| socket6_send |
|
11 |
3 |
67 |
| ip6_mforward |
|
67 |
11 |
442 |
| mf6c_expire_route |
|
22 |
5 |
161 |
| ip6_mdq |
|
61 |
15 |
419 |
| phyint_send6 |
|
41 |
7 |
278 |
| mrt6_iflookupbymif |
|
15 |
4 |
77 |
| mf6c_find |
|
25 |
6 |
163 |
| mrt6_mcast6_add |
|
21 |
4 |
125 |
| mrt6_mcast6_del |
|
20 |
3 |
118 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in6_cksum |
|
164 |
36 |
1305 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6_pcb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in6_pcbaddrisavail |
|
47 |
15 |
351 |
| in6_pcbconnect |
|
50 |
14 |
362 |
| in6_pcbnotify |
|
66 |
32 |
461 |
| in6_setsockaddr |
|
13 |
1 |
99 |
| in6_setpeeraddr |
|
13 |
1 |
99 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/mld6.h |
| Source file: /home/sergeyb/sources/src/sys/netinet6/udp6_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udp6_output |
|
117 |
24 |
758 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/mld6_var.h |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_divert.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| div6stat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/nd6_nbr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nd6_ns_input |
|
164 |
46 |
1132 |
| nd6_ns_output |
|
127 |
24 |
934 |
| nd6_na_input |
|
206 |
55 |
1270 |
| nd6_na_output |
|
111 |
20 |
826 |
| nd6_ifptomac |
|
13 |
6 |
49 |
| nd6_dad_find |
|
9 |
2 |
39 |
| nd6_dad_starttimer |
|
5 |
1 |
36 |
| nd6_dad_stoptimer |
|
4 |
1 |
17 |
| nd6_dad_start |
|
39 |
7 |
294 |
| nd6_dad_stop |
|
16 |
3 |
82 |
| nd6_dad_timer |
|
72 |
12 |
437 |
| nd6_dad_duplicated |
|
22 |
1 |
167 |
| nd6_dad_ns_output |
|
16 |
5 |
111 |
| nd6_dad_ns_input |
|
17 |
6 |
75 |
| nd6_isneighbor |
|
16 |
3 |
128 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_id.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip6id_pmod |
|
14 |
3 |
74 |
| ip6id_initid |
|
27 |
7 |
287 |
| ip6id_randomid |
|
15 |
5 |
139 |
| ip6_randomflowlabel |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_forward.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip6_forward |
|
185 |
52 |
1100 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifmatoin6m |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/raw_ip6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rip6_init |
|
5 |
1 |
21 |
| rip6_input |
|
117 |
33 |
756 |
| rip6_ctlinput |
|
47 |
14 |
312 |
| rip6_output |
|
118 |
23 |
752 |
| rip6_ctloutput |
|
31 |
14 |
167 |
| rip6_usrreq |
|
107 |
29 |
560 |
| rip6_attach |
|
27 |
8 |
167 |
| rip6_detach |
|
13 |
4 |
82 |
| rip6_sysctl_rip6stat |
|
8 |
1 |
69 |
| rip6_sysctl |
|
12 |
3 |
66 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_mroute.h |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip6stat_inc |
|
4 |
1 |
15 |
| ip6stat_add |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/frag6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| frag6_init |
|
8 |
1 |
56 |
| frag6_input |
|
242 |
46 |
1652 |
| frag6_deletefraghdr |
|
16 |
3 |
126 |
| frag6_freef |
|
19 |
3 |
123 |
| frag6_unlink |
|
8 |
1 |
48 |
| frag6_slowtimo |
|
27 |
6 |
160 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/mld6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mld6_init |
|
15 |
1 |
108 |
| mld6_start_listening |
|
16 |
3 |
93 |
| mld6_stop_listening |
|
11 |
4 |
79 |
| mld6_input |
|
95 |
28 |
586 |
| mld6_fasttimeo |
|
12 |
2 |
47 |
| mld6_checktimer |
|
18 |
4 |
99 |
| mld6_sendpkt |
|
63 |
11 |
453 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6_src.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in6_pcbselsrc |
|
83 |
23 |
623 |
| in6_selectsrc |
|
34 |
13 |
232 |
| in6_selectroute |
|
37 |
12 |
251 |
| in6_selectif |
|
23 |
11 |
195 |
| in6_selecthlim |
|
6 |
3 |
31 |
| in6_embedscope |
|
30 |
11 |
201 |
| in6_recoverscope |
|
13 |
3 |
77 |
| in6_clearscope |
|
5 |
2 |
25 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/route6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| route6_input |
|
27 |
4 |
173 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_divert.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divert6_init |
|
5 |
1 |
21 |
| divert6_output |
|
75 |
18 |
504 |
| divert6_packet |
|
53 |
9 |
318 |
| divert6_usrreq |
|
58 |
22 |
267 |
| divert6_attach |
|
16 |
5 |
94 |
| divert6_detach |
|
9 |
2 |
45 |
| divert6_sysctl_div6stat |
|
13 |
2 |
121 |
| divert6_sysctl |
|
32 |
6 |
178 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/nd6.h |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| satosin6 |
|
4 |
1 |
21 |
| sin6tosa |
|
4 |
1 |
21 |
| ifatoia6 |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6protosw.h |
| Source file: /home/sergeyb/sources/src/sys/netinet6/raw_ip6.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rip6stat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/ip6_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip6_output |
|
348 |
112 |
2409 |
| ip6_fragment |
|
48 |
9 |
403 |
| ip6_copyexthdr |
|
21 |
6 |
123 |
| ip6_insert_jumboopt |
|
53 |
8 |
357 |
| ip6_insertfraghdr |
|
31 |
7 |
233 |
| ip6_getpmtu |
|
21 |
6 |
120 |
| ip6_ctloutput |
|
434 |
158 |
1896 |
| ip6_raw_ctloutput |
|
44 |
11 |
232 |
| ip6_initpktopts |
|
7 |
1 |
40 |
| ip6_pcbopt |
|
12 |
2 |
86 |
| ip6_getpcbopt |
|
82 |
28 |
500 |
| ip6_clearpktopts |
|
36 |
21 |
261 |
| copypktopts |
|
21 |
3 |
126 |
| ip6_freepcbopts |
|
7 |
2 |
34 |
| ip6_setmoptions |
|
190 |
52 |
1064 |
| ip6_getmoptions |
|
32 |
8 |
184 |
| ip6_freemoptions |
|
12 |
3 |
66 |
| ip6_setpktopts |
|
37 |
13 |
251 |
| ip6_setpktopt |
|
173 |
55 |
951 |
| ip6_mloopback |
|
24 |
9 |
180 |
| ip6_splithdr |
|
23 |
3 |
162 |
| ip6_randomid |
|
4 |
1 |
13 |
| ip6_randomid_init |
|
4 |
1 |
12 |
| in6_cksum_phdr |
|
24 |
4 |
249 |
| in6_delayed_cksum |
|
26 |
8 |
182 |
| in6_proto_cksum_out |
|
42 |
17 |
349 |
| ip6_output_ipsec_lookup |
|
23 |
8 |
168 |
| ip6_output_ipsec_send |
|
14 |
7 |
110 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/nd6_rtr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nd6_rtr_cache |
|
82 |
15 |
518 |
| rt6_flush |
|
8 |
2 |
55 |
| rt6_deleteroute |
|
27 |
8 |
231 |
| Source file: /home/sergeyb/sources/src/sys/netinet6/in6_proto.c |
| Source file: /home/sergeyb/sources/src/sys/sys/lockf.h |
| Source file: /home/sergeyb/sources/src/sys/sys/device.h |
| Source file: /home/sergeyb/sources/src/sys/sys/kernel.h |
| Source file: /home/sergeyb/sources/src/sys/sys/reboot.h |
| Source file: /home/sergeyb/sources/src/sys/sys/systm.h |
| Source file: /home/sergeyb/sources/src/sys/sys/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/sys/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/sys/specdev.h |
| Source file: /home/sergeyb/sources/src/sys/sys/protosw.h |
| Source file: /home/sergeyb/sources/src/sys/sys/witness.h |
| Source file: /home/sergeyb/sources/src/sys/sys/types.h |
| Source file: /home/sergeyb/sources/src/sys/sys/filio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/signalvar.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ipc.h |
| Source file: /home/sergeyb/sources/src/sys/sys/resourcevar.h |
| Source file: /home/sergeyb/sources/src/sys/sys/percpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpumem_enter |
|
5 |
2 |
26 |
| cpumem_leave |
|
3 |
1 |
13 |
| counters_enter |
|
8 |
2 |
55 |
| counters_leave |
|
6 |
2 |
39 |
| counters_inc |
|
8 |
1 |
45 |
| counters_add |
|
8 |
1 |
49 |
| counters_pkt |
|
9 |
1 |
59 |
| Source file: /home/sergeyb/sources/src/sys/sys/pipe.h |
| Source file: /home/sergeyb/sources/src/sys/sys/mman.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ataio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/syscall.h |
| Source file: /home/sergeyb/sources/src/sys/sys/unpcb.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ttydefaults.h |
| Source file: /home/sergeyb/sources/src/sys/sys/times.h |
| Source file: /home/sergeyb/sources/src/sys/sys/selinfo.h |
| Source file: /home/sergeyb/sources/src/sys/sys/extent.h |
| Source file: /home/sergeyb/sources/src/sys/sys/uuid.h |
| Source file: /home/sergeyb/sources/src/sys/sys/radioio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/lock.h |
| Source file: /home/sergeyb/sources/src/sys/sys/tty.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ctf.h |
| Source file: /home/sergeyb/sources/src/sys/sys/core.h |
| Source file: /home/sergeyb/sources/src/sys/sys/socketvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sb_notify |
|
7 |
2 |
70 |
| sbspace |
|
6 |
2 |
56 |
| soreadable |
|
8 |
5 |
53 |
| Source file: /home/sergeyb/sources/src/sys/sys/dkio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/pool.h |
| Source file: /home/sergeyb/sources/src/sys/sys/cdio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/fusebuf.h |
| Source file: /home/sergeyb/sources/src/sys/sys/sockio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/shm.h |
| Source file: /home/sergeyb/sources/src/sys/sys/hibernate.h |
| Source file: /home/sergeyb/sources/src/sys/sys/_lock.h |
| Source file: /home/sergeyb/sources/src/sys/sys/exec.h |
| Source file: /home/sergeyb/sources/src/sys/sys/memrange.h |
| Source file: /home/sergeyb/sources/src/sys/sys/syslog.h |
| Source file: /home/sergeyb/sources/src/sys/sys/sem.h |
| Source file: /home/sergeyb/sources/src/sys/sys/poll.h |
| Source file: /home/sergeyb/sources/src/sys/sys/stat.h |
| Source file: /home/sergeyb/sources/src/sys/sys/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/sys/exec_elf.h |
| Source file: /home/sergeyb/sources/src/sys/sys/_types.h |
| Source file: /home/sergeyb/sources/src/sys/sys/pciio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/event.h |
| Source file: /home/sergeyb/sources/src/sys/sys/mount.h |
| Source file: /home/sergeyb/sources/src/sys/sys/videoio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ttycom.h |
| Source file: /home/sergeyb/sources/src/sys/sys/statvfs.h |
| Source file: /home/sergeyb/sources/src/sys/sys/srp.h |
| Source file: /home/sergeyb/sources/src/sys/sys/tprintf.h |
| Source file: /home/sergeyb/sources/src/sys/sys/termios.h |
| Source file: /home/sergeyb/sources/src/sys/sys/audioio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/timeout.h |
| Source file: /home/sergeyb/sources/src/sys/sys/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/sys/utsname.h |
| Source file: /home/sergeyb/sources/src/sys/sys/disk.h |
| Source file: /home/sergeyb/sources/src/sys/sys/socket.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sstosa |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/sys/refcnt.h |
| Source file: /home/sergeyb/sources/src/sys/sys/syslimits.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ioctl.h |
| Source file: /home/sergeyb/sources/src/sys/sys/tree.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _rb_init |
|
4 |
1 |
15 |
| _rb_empty |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/sys/resource.h |
| Source file: /home/sergeyb/sources/src/sys/sys/gmon.h |
| Source file: /home/sergeyb/sources/src/sys/sys/dirent.h |
| Source file: /home/sergeyb/sources/src/sys/sys/_time.h |
| Source file: /home/sergeyb/sources/src/sys/sys/time.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bintime_addx |
|
8 |
2 |
40 |
| bintime_add |
|
9 |
2 |
52 |
| bintime_sub |
|
9 |
2 |
52 |
| bintime2timespec |
|
5 |
1 |
53 |
| timespec2bintime |
|
5 |
1 |
38 |
| bintime2timeval |
|
5 |
1 |
53 |
| timeval2bintime |
|
5 |
1 |
41 |
| Source file: /home/sergeyb/sources/src/sys/sys/user.h |
| Source file: /home/sergeyb/sources/src/sys/sys/vnode.h |
| Source file: /home/sergeyb/sources/src/sys/sys/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/sys/msg.h |
| Source file: /home/sergeyb/sources/src/sys/sys/syscall_mi.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mi_syscall |
|
30 |
8 |
200 |
| mi_syscall_return |
|
13 |
4 |
76 |
| mi_child_return |
|
15 |
7 |
103 |
| mi_ast |
|
10 |
3 |
43 |
| Source file: /home/sergeyb/sources/src/sys/sys/swap.h |
| Source file: /home/sergeyb/sources/src/sys/sys/mtio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ktrace.h |
| Source file: /home/sergeyb/sources/src/sys/sys/exec_script.h |
| Source file: /home/sergeyb/sources/src/sys/sys/timetc.h |
| Source file: /home/sergeyb/sources/src/sys/sys/endian.h |
| Source file: /home/sergeyb/sources/src/sys/sys/file.h |
| Source file: /home/sergeyb/sources/src/sys/sys/task.h |
| Source file: /home/sergeyb/sources/src/sys/sys/eventvar.h |
| Source file: /home/sergeyb/sources/src/sys/sys/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/sys/stdint.h |
| Source file: /home/sergeyb/sources/src/sys/sys/domain.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/sys/filedesc.h |
| Source file: /home/sergeyb/sources/src/sys/sys/limits.h |
| Source file: /home/sergeyb/sources/src/sys/sys/mbuf.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m_freemp |
|
6 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/sys/sched.h |
| Source file: /home/sergeyb/sources/src/sys/sys/conf.h |
| Source file: /home/sergeyb/sources/src/sys/sys/scsiio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/vmmeter.h |
| Source file: /home/sergeyb/sources/src/sys/sys/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atomic_cas_uint |
|
4 |
1 |
28 |
| atomic_cas_ulong |
|
4 |
1 |
28 |
| atomic_cas_ptr |
|
5 |
1 |
41 |
| atomic_swap_uint |
|
4 |
1 |
22 |
| atomic_swap_ulong |
|
4 |
1 |
22 |
| atomic_swap_ptr |
|
5 |
1 |
35 |
| atomic_add_int_nv |
|
4 |
1 |
22 |
| atomic_add_long_nv |
|
4 |
1 |
22 |
| atomic_sub_int_nv |
|
4 |
1 |
22 |
| atomic_sub_long_nv |
|
4 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/sys/msgbuf.h |
| Source file: /home/sergeyb/sources/src/sys/sys/evcount.h |
| Source file: /home/sergeyb/sources/src/sys/sys/acct.h |
| Source file: /home/sergeyb/sources/src/sys/sys/_endian.h |
| Source file: /home/sergeyb/sources/src/sys/sys/hotplug.h |
| Source file: /home/sergeyb/sources/src/sys/sys/proc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| refreshcreds |
|
6 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/sys/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/sys/dir.h |
| Source file: /home/sergeyb/sources/src/sys/sys/sensors.h |
| Source file: /home/sergeyb/sources/src/sys/sys/rwlock.h |
| Source file: /home/sergeyb/sources/src/sys/sys/kthread.h |
| Source file: /home/sergeyb/sources/src/sys/sys/pledge.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ioccom.h |
| Source file: /home/sergeyb/sources/src/sys/sys/gpio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/syscallargs.h |
| Source file: /home/sergeyb/sources/src/sys/sys/malloc.h |
| Source file: /home/sergeyb/sources/src/sys/sys/un.h |
| Source file: /home/sergeyb/sources/src/sys/sys/signal.h |
| Source file: /home/sergeyb/sources/src/sys/sys/futex.h |
| Source file: /home/sergeyb/sources/src/sys/sys/buf.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| buf_start |
|
5 |
2 |
25 |
| buf_complete |
|
5 |
2 |
25 |
| buf_deallocate |
|
5 |
2 |
25 |
| buf_movedeps |
|
5 |
2 |
32 |
| buf_countdeps |
|
7 |
2 |
44 |
| Source file: /home/sergeyb/sources/src/sys/sys/param.h |
| Source file: /home/sergeyb/sources/src/sys/sys/sysctl.h |
| Source file: /home/sergeyb/sources/src/sys/sys/namei.h |
| Source file: /home/sergeyb/sources/src/sys/sys/_null.h |
| Source file: /home/sergeyb/sources/src/sys/sys/select.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __fd_set |
|
4 |
1 |
31 |
| __fd_clr |
|
4 |
1 |
31 |
| __fd_isset |
|
4 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/sys/chio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/queue.h |
| Source file: /home/sergeyb/sources/src/sys/sys/fcntl.h |
| Source file: /home/sergeyb/sources/src/sys/sys/errno.h |
| Source file: /home/sergeyb/sources/src/sys/sys/uio.h |
| Source file: /home/sergeyb/sources/src/sys/sys/unistd.h |
| Source file: /home/sergeyb/sources/src/sys/sys/wait.h |
| Source file: /home/sergeyb/sources/src/sys/sys/siginfo.h |
| Source file: /home/sergeyb/sources/src/sys/sys/ucred.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/exrtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exrtc_match |
|
5 |
1 |
34 |
| exrtc_attach |
|
14 |
2 |
122 |
| exrtc_gettime |
|
25 |
11 |
218 |
| exrtc_settime |
|
16 |
1 |
147 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sxitwi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxitwi_match |
|
7 |
3 |
54 |
| sxitwi_attach |
|
49 |
5 |
388 |
| sxitwi_bus_scan |
|
24 |
5 |
204 |
| sxitwi_read_4 |
|
6 |
1 |
36 |
| sxitwi_write_4 |
|
6 |
1 |
37 |
| sxitwi_intr |
|
12 |
2 |
60 |
| sxitwi_acquire_bus |
|
7 |
2 |
38 |
| sxitwi_release_bus |
|
7 |
2 |
34 |
| sxitwi_send_start |
|
11 |
2 |
54 |
| sxitwi_send_stop |
|
13 |
3 |
74 |
| sxitwi_initiate_xfer |
|
28 |
5 |
168 |
| sxitwi_read_byte |
|
14 |
4 |
103 |
| sxitwi_write_byte |
|
10 |
2 |
62 |
| sxitwi_wait |
|
26 |
7 |
149 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sxipiovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rkiic_match |
|
6 |
2 |
45 |
| rkiic_attach |
|
44 |
4 |
341 |
| rkiic_acquire_bus |
|
6 |
1 |
30 |
| rkiic_release_bus |
|
5 |
1 |
27 |
| rkiic_send_start |
|
16 |
4 |
93 |
| rkiic_send_stop |
|
16 |
4 |
93 |
| rkiic_write |
|
25 |
7 |
206 |
| rkiic_read |
|
29 |
7 |
223 |
| rkiic_exec |
|
29 |
7 |
188 |
| rkiic_bus_scan |
|
24 |
5 |
204 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sxipio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxipio_match |
|
10 |
3 |
67 |
| sxipio_attach |
|
29 |
4 |
247 |
| sxipio_drive |
|
11 |
3 |
61 |
| sxipio_pull |
|
14 |
5 |
77 |
| sxipio_pinctrl |
|
66 |
20 |
569 |
| sxipio_config_pin |
|
12 |
4 |
100 |
| sxipio_get_pin |
|
17 |
4 |
108 |
| sxipio_set_pin |
|
18 |
5 |
119 |
| sxipio_pin_read |
|
9 |
2 |
61 |
| sxipio_pin_write |
|
9 |
1 |
61 |
| sxipio_pin_ctl |
|
12 |
2 |
82 |
| sxipio_attach_gpio |
|
51 |
11 |
423 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkdwusb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rkdwusb_match |
|
5 |
1 |
34 |
| rkdwusb_attach |
|
7 |
1 |
58 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rktemp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rktemp_match |
|
5 |
1 |
36 |
| rktemp_attach |
|
62 |
5 |
507 |
| rktemp_calc_code |
|
20 |
5 |
156 |
| rktemp_calc_temp |
|
20 |
5 |
156 |
| rktemp_valid |
|
9 |
3 |
49 |
| rktemp_refresh_sensors |
|
17 |
3 |
132 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sxiccmu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxiccmu_match |
|
20 |
13 |
154 |
| sxiccmu_attach |
|
56 |
11 |
450 |
| sxiccmu_attach_clock |
|
34 |
7 |
286 |
| sxiccmu_gen_get_frequency |
|
5 |
1 |
29 |
| sxiccmu_osc_get_frequency |
|
5 |
1 |
31 |
| sxiccmu_pll6_get_frequency |
|
22 |
5 |
148 |
| sxiccmu_pll6_enable |
|
20 |
7 |
90 |
| sxiccmu_apb1_get_frequency |
|
12 |
1 |
88 |
| sxiccmu_gmac_set_frequency |
|
17 |
3 |
75 |
| sxiccmu_mmc_do_set_frequency |
|
34 |
8 |
175 |
| sxiccmu_mmc_set_frequency |
|
9 |
2 |
59 |
| sxiccmu_mmc_enable |
|
10 |
3 |
56 |
| sxiccmu_gate_enable |
|
13 |
2 |
101 |
| sxiccmu_reset |
|
10 |
2 |
79 |
| sxiccmu_ccu_get_frequency |
|
11 |
3 |
79 |
| sxiccmu_a10_get_frequency |
|
13 |
4 |
55 |
| sxiccmu_a64_get_frequency |
|
55 |
14 |
237 |
| sxiccmu_h3_get_frequency |
|
53 |
13 |
224 |
| sxiccmu_ccu_set_frequency |
|
6 |
1 |
42 |
| sxiccmu_a10_set_frequency |
|
19 |
5 |
115 |
| sxiccmu_a64_set_frequency |
|
18 |
4 |
112 |
| sxiccmu_h3_set_frequency |
|
18 |
4 |
112 |
| sxiccmu_ccu_enable |
|
16 |
4 |
125 |
| sxiccmu_ccu_reset |
|
16 |
4 |
125 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sxiccmu_clocks.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sunxireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/axp20x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| axp20x_match |
|
7 |
2 |
53 |
| axp20x_attach |
|
25 |
5 |
153 |
| axp20x_readb |
|
12 |
2 |
80 |
| axp20x_writeb |
|
12 |
2 |
79 |
| axp20x_shutdown |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/plrtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| plrtc_gettime |
|
9 |
1 |
56 |
| plrtc_settime |
|
6 |
1 |
43 |
| plrtc_match |
|
5 |
1 |
36 |
| plrtc_attach |
|
26 |
4 |
178 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/bcm2835_dog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcmdog_match |
|
5 |
1 |
34 |
| bcmdog_attach |
|
13 |
2 |
106 |
| bcmdog_activate |
|
9 |
2 |
31 |
| bcmdog_wdog_set |
|
15 |
2 |
85 |
| bcmdog_wdog_cb |
|
6 |
1 |
31 |
| bcmdog_wdog_reset |
|
6 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rkgpio_match |
|
5 |
1 |
34 |
| rkgpio_attach |
|
22 |
3 |
160 |
| rkgpio_config_pin |
|
11 |
3 |
73 |
| rkgpio_get_pin |
|
16 |
3 |
93 |
| rkgpio_set_pin |
|
14 |
4 |
90 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkpmic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rkpmic_match |
|
6 |
1 |
46 |
| rkpmic_attach |
|
18 |
3 |
143 |
| rkpmic_attach_regulator |
|
25 |
4 |
205 |
| rkpmic_get_voltage |
|
7 |
1 |
48 |
| rkpmic_gettime |
|
20 |
11 |
150 |
| rkpmic_settime |
|
18 |
3 |
110 |
| rkpmic_reg_read |
|
16 |
2 |
96 |
| rkpmic_reg_write |
|
13 |
2 |
89 |
| rkpmic_clock_read |
|
25 |
3 |
193 |
| rkpmic_clock_write |
|
25 |
2 |
211 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkpinctrl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rkpinctrl_match |
|
6 |
2 |
45 |
| rkpinctrl_attach |
|
19 |
4 |
157 |
| rk3288_pull |
|
16 |
6 |
89 |
| rk3288_strength |
|
19 |
6 |
116 |
| rk3288_pinctrl |
|
71 |
24 |
622 |
| rk3399_pull |
|
22 |
7 |
115 |
| rk3399_strength |
|
19 |
6 |
122 |
| rk3399_pinctrl |
|
69 |
14 |
576 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/bcm2835_aux.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcmaux_match |
|
5 |
1 |
34 |
| bcmaux_attach |
|
24 |
3 |
187 |
| bcm_aux_get_frequency |
|
8 |
2 |
41 |
| bcm_aux_intr_establish_fdt |
|
9 |
2 |
73 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/ehci_fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ehci_fdt_match |
|
5 |
1 |
34 |
| ehci_fdt_attach |
|
51 |
5 |
395 |
| ehci_fdt_detach |
|
18 |
4 |
115 |
| ehci_next_phy |
|
10 |
2 |
55 |
| ehci_init_phy |
|
14 |
4 |
85 |
| ehci_init_phys |
|
25 |
6 |
154 |
| sun4i_phy_init |
|
30 |
6 |
226 |
| sun9i_phy_init |
|
20 |
3 |
136 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sdhc_fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdhc_fdt_match |
|
5 |
1 |
34 |
| sdhc_fdt_attach |
|
37 |
6 |
299 |
| sdhc_fdt_signal_voltage |
|
9 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkclock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rkclock_match |
|
10 |
3 |
67 |
| rkclock_attach |
|
35 |
6 |
284 |
| rk3288_get_pll |
|
11 |
1 |
96 |
| rk3288_get_frequency |
|
93 |
25 |
578 |
| rk3288_set_frequency |
|
6 |
1 |
36 |
| rk3288_enable |
|
31 |
22 |
107 |
| rk3288_reset |
|
5 |
1 |
32 |
| rk3399_init |
|
16 |
3 |
79 |
| rk3399_get_pll |
|
23 |
3 |
139 |
| rk3399_set_pll |
|
62 |
23 |
307 |
| rk3399_armclk_parent |
|
14 |
5 |
40 |
| rk3399_get_armclk |
|
12 |
1 |
75 |
| rk3399_set_armclk |
|
42 |
5 |
241 |
| rk3399_get_i2c |
|
16 |
2 |
110 |
| rk3399_get_frequency |
|
101 |
33 |
637 |
| rk3399_set_frequency |
|
17 |
5 |
113 |
| rk3399_enable |
|
50 |
41 |
164 |
| rk3399_reset |
|
8 |
2 |
69 |
| rk3399_cpuspeed |
|
6 |
1 |
29 |
| rk3399_pmu_init |
|
4 |
1 |
13 |
| rk3399_pmu_get_i2c |
|
9 |
1 |
62 |
| rk3399_pmu_get_frequency |
|
19 |
5 |
111 |
| rk3399_pmu_set_frequency |
|
6 |
1 |
36 |
| rk3399_pmu_enable |
|
16 |
7 |
62 |
| rk3399_pmu_reset |
|
5 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/if_dwxe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwxe_match |
|
6 |
2 |
43 |
| dwxe_attach |
|
67 |
8 |
557 |
| dwxe_phy_setup |
|
29 |
7 |
219 |
| dwxe_read |
|
4 |
1 |
26 |
| dwxe_write |
|
4 |
1 |
30 |
| dwxe_lladdr_read |
|
12 |
1 |
120 |
| dwxe_lladdr_write |
|
8 |
1 |
83 |
| dwxe_start |
|
39 |
12 |
236 |
| dwxe_ioctl |
|
40 |
11 |
220 |
| dwxe_watchdog |
|
4 |
1 |
16 |
| dwxe_media_change |
|
7 |
2 |
43 |
| dwxe_media_status |
|
9 |
2 |
65 |
| dwxe_mii_readreg |
|
18 |
3 |
114 |
| dwxe_mii_writereg |
|
19 |
3 |
117 |
| dwxe_mii_statchg |
|
35 |
9 |
162 |
| dwxe_tick |
|
9 |
1 |
47 |
| dwxe_intr |
|
13 |
4 |
67 |
| dwxe_tx_proc |
|
34 |
6 |
224 |
| dwxe_rx_proc |
|
44 |
5 |
312 |
| dwxe_up |
|
63 |
4 |
560 |
| dwxe_down |
|
47 |
5 |
359 |
| bitrev32 |
|
8 |
1 |
126 |
| dwxe_iff |
|
34 |
5 |
234 |
| dwxe_encap |
|
54 |
10 |
457 |
| dwxe_reset |
|
13 |
3 |
73 |
| dwxe_stop_dma |
|
8 |
1 |
38 |
| dwxe_dmamem_alloc |
|
30 |
5 |
243 |
| dwxe_dmamem_free |
|
7 |
1 |
63 |
| dwxe_alloc_mbuf |
|
17 |
3 |
124 |
| dwxe_fill_rx_ring |
|
22 |
4 |
164 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/mvmdiovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/simplefb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| simplefb_match |
|
5 |
1 |
34 |
| simplefb_attach |
|
58 |
7 |
470 |
| simplefb_init |
|
29 |
4 |
227 |
| simplefb_wsioctl |
|
43 |
10 |
204 |
| simplefb_wsmmap |
|
8 |
3 |
53 |
| simplefb_alloc_screen |
|
5 |
1 |
44 |
| simplefb_init_cons |
|
30 |
6 |
210 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/xhci_fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xhci_fdt_match |
|
7 |
3 |
52 |
| xhci_fdt_attach |
|
42 |
6 |
334 |
| xhci_dwc3_init |
|
25 |
4 |
202 |
| xhci_next_phy |
|
10 |
2 |
55 |
| xhci_init_phy |
|
14 |
4 |
85 |
| xhci_init_phys |
|
25 |
6 |
154 |
| exynos5_usbdrd_init |
|
47 |
5 |
355 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/ahci_fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahci_fdt_match |
|
7 |
3 |
52 |
| ahci_fdt_attach |
|
28 |
5 |
203 |
| ahci_fdt_detach |
|
7 |
1 |
49 |
| ahci_fdt_activate |
|
5 |
1 |
37 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/dwmmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwmmc_match |
|
6 |
2 |
45 |
| dwmmc_attach |
|
78 |
12 |
543 |
| dwmmc_intr |
|
4 |
1 |
11 |
| dwmmc_host_reset |
|
5 |
1 |
17 |
| dwmmc_host_ocr |
|
4 |
1 |
12 |
| dwmmc_host_maxblklen |
|
4 |
1 |
10 |
| dwmmc_card_detect |
|
7 |
1 |
34 |
| dwmmc_bus_power |
|
9 |
2 |
50 |
| dwmmc_bus_clock |
|
41 |
11 |
251 |
| dwmmc_bus_width |
|
19 |
4 |
84 |
| dwmmc_exec_command |
|
105 |
31 |
772 |
| dwmmc_transfer_data |
|
51 |
13 |
302 |
| dwmmc_read_data32 |
|
16 |
4 |
99 |
| dwmmc_write_data32 |
|
17 |
5 |
111 |
| dwmmc_read_data64 |
|
20 |
4 |
140 |
| dwmmc_write_data64 |
|
29 |
9 |
205 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkclock_clocks.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/if_mvnetareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/syscon.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| syscon_match |
|
7 |
3 |
52 |
| syscon_attach |
|
44 |
12 |
351 |
| syscon_reset |
|
10 |
2 |
53 |
| syscon_powerdown |
|
10 |
2 |
53 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sximmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sximmc_match |
|
9 |
5 |
72 |
| sximmc_idma_setup |
|
38 |
6 |
254 |
| sximmc_attach |
|
72 |
16 |
519 |
| sximmc_set_clock |
|
11 |
3 |
65 |
| sximmc_intr |
|
24 |
7 |
150 |
| sximmc_wait_rint |
|
25 |
9 |
141 |
| sximmc_led |
|
3 |
1 |
12 |
| sximmc_host_reset |
|
31 |
9 |
191 |
| sximmc_host_ocr |
|
5 |
2 |
19 |
| sximmc_host_maxblklen |
|
5 |
2 |
13 |
| sximmc_card_detect |
|
10 |
3 |
67 |
| sximmc_bus_power |
|
15 |
8 |
101 |
| sximmc_update_clock |
|
29 |
6 |
198 |
| sximmc_bus_clock |
|
25 |
7 |
138 |
| sximmc_bus_width |
|
19 |
5 |
86 |
| sximmc_pio_wait |
|
13 |
4 |
73 |
| sximmc_pio_transfer |
|
15 |
4 |
107 |
| sximmc_dma_prepare |
|
72 |
8 |
488 |
| sximmc_dma_complete |
|
5 |
1 |
28 |
| sximmc_exec_command |
|
143 |
40 |
1000 |
| sximmc_pwrseq_pre |
|
25 |
6 |
153 |
| sximmc_pwrseq_post |
|
22 |
6 |
132 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/mvmdio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvmdio_match |
|
5 |
1 |
34 |
| mvmdio_attach |
|
13 |
2 |
118 |
| mvmdio_miibus_readreg |
|
29 |
6 |
187 |
| mvmdio_miibus_writereg |
|
28 |
7 |
199 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/virtio_mmio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| virtio_mmio_read_queue_size |
|
7 |
1 |
53 |
| virtio_mmio_setup_queue |
|
10 |
1 |
98 |
| virtio_mmio_set_status |
|
10 |
2 |
67 |
| virtio_mmio_match |
|
5 |
1 |
34 |
| virtio_mmio_attach |
|
67 |
9 |
445 |
| virtio_mmio_detach |
|
19 |
6 |
138 |
| virtio_mmio_negotiate_features |
|
29 |
6 |
184 |
| virtio_mmio_read_device_config_1 |
|
6 |
1 |
42 |
| virtio_mmio_read_device_config_2 |
|
6 |
1 |
42 |
| virtio_mmio_read_device_config_4 |
|
6 |
1 |
42 |
| virtio_mmio_read_device_config_8 |
|
11 |
1 |
78 |
| virtio_mmio_write_device_config_1 |
|
7 |
1 |
46 |
| virtio_mmio_write_device_config_2 |
|
7 |
1 |
46 |
| virtio_mmio_write_device_config_4 |
|
7 |
1 |
46 |
| virtio_mmio_write_device_config_8 |
|
11 |
1 |
75 |
| virtio_mmio_intr |
|
16 |
4 |
107 |
| virtio_mmio_kick |
|
6 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/if_mvneta.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvneta_miibus_readreg |
|
5 |
1 |
39 |
| mvneta_miibus_writereg |
|
5 |
1 |
44 |
| mvneta_miibus_statchg |
|
41 |
11 |
224 |
| mvneta_enaddr_write |
|
12 |
1 |
98 |
| mvneta_wininit |
|
25 |
6 |
189 |
| mvneta_match |
|
5 |
1 |
34 |
| mvneta_attach |
|
199 |
25 |
1506 |
| mvneta_attach_deferred |
|
23 |
3 |
169 |
| mvneta_tick |
|
10 |
1 |
54 |
| mvneta_intr |
|
16 |
5 |
100 |
| mvneta_start |
|
36 |
11 |
232 |
| mvneta_ioctl |
|
42 |
11 |
236 |
| mvneta_port_up |
|
5 |
1 |
33 |
| mvneta_up |
|
64 |
5 |
549 |
| mvneta_down |
|
87 |
16 |
622 |
| mvneta_watchdog |
|
9 |
2 |
49 |
| mvneta_mediachange |
|
7 |
2 |
43 |
| mvneta_mediastatus |
|
13 |
3 |
93 |
| mvneta_encap |
|
61 |
11 |
477 |
| mvneta_rx_proc |
|
75 |
19 |
508 |
| mvneta_tx_proc |
|
42 |
9 |
308 |
| mvneta_crc8 |
|
11 |
4 |
93 |
| mvneta_iff |
|
49 |
7 |
439 |
| mvneta_dmamem_alloc |
|
30 |
5 |
243 |
| mvneta_dmamem_free |
|
7 |
1 |
63 |
| mvneta_alloc_mbuf |
|
16 |
3 |
118 |
| mvneta_fill_rx_ring |
|
23 |
3 |
188 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/dwdog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwdog_match |
|
5 |
1 |
34 |
| dwdog_attach |
|
17 |
4 |
118 |
| dwdog_reset |
|
9 |
1 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/if_dwge_fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwge_fdt_match |
|
7 |
3 |
54 |
| dwge_fdt_attach |
|
54 |
10 |
386 |
| dwge_fdt_reset_phy |
|
25 |
3 |
183 |
| dwge_fdt_intr |
|
5 |
1 |
24 |
| dwge_fdt_attach_allwinner |
|
11 |
2 |
65 |
| dwge_fdt_attach_rockchip |
|
40 |
3 |
248 |
| dwge_fdt_statchg_rockchip |
|
23 |
5 |
121 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/rkgrf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rkgrf_match |
|
9 |
5 |
72 |
| rkgrf_attach |
|
18 |
3 |
134 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/psci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| psci_match |
|
7 |
3 |
52 |
| psci_attach |
|
28 |
9 |
209 |
| psci_reset |
|
6 |
2 |
37 |
| psci_powerdown |
|
6 |
2 |
37 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sxipio_pins.h |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/mvpinctrl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvpinctrl_match |
|
5 |
1 |
34 |
| mvpinctrl_attach |
|
13 |
2 |
121 |
| mvpinctrl_pinctrl |
|
42 |
9 |
346 |
| Source file: /home/sergeyb/sources/src/sys/dev/fdt/sxirtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxirtc_match |
|
7 |
3 |
54 |
| sxirtc_attach |
|
40 |
6 |
266 |
| sxirtc_gettime |
|
25 |
10 |
219 |
| sxirtc_settime |
|
19 |
9 |
210 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/uperf_sbusreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/xboxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/stp4020reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/if_le.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_sbus_wrcsr |
|
15 |
3 |
116 |
| le_sbus_rdcsr |
|
8 |
1 |
72 |
| lematch_sbus |
|
6 |
1 |
49 |
| leattach_sbus |
|
80 |
12 |
629 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/qla_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qla_sbus_match |
|
8 |
3 |
54 |
| qla_sbus_attach |
|
69 |
10 |
421 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/bpp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bppmatch |
|
5 |
1 |
38 |
| bppattach |
|
59 |
10 |
480 |
| bpp_setparams |
|
16 |
1 |
148 |
| bppopen |
|
20 |
3 |
135 |
| bppclose |
|
11 |
1 |
86 |
| bppwrite |
|
62 |
13 |
422 |
| bppioctl |
|
10 |
1 |
45 |
| bppintr |
|
21 |
5 |
150 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/spif.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spifmatch |
|
11 |
3 |
70 |
| spifattach |
|
96 |
15 |
704 |
| sttymatch |
|
7 |
2 |
47 |
| sttyattach |
|
26 |
4 |
190 |
| sttyopen |
|
73 |
18 |
542 |
| sttyclose |
|
24 |
3 |
178 |
| sttyioctl |
|
66 |
14 |
422 |
| stty_modem_control |
|
51 |
17 |
342 |
| stty_param |
|
77 |
16 |
520 |
| sttyread |
|
10 |
1 |
83 |
| sttywrite |
|
10 |
1 |
83 |
| sttytty |
|
7 |
1 |
47 |
| sttystop |
|
16 |
3 |
113 |
| stty_start |
|
21 |
3 |
162 |
| spifstcintr_rxexception |
|
24 |
4 |
156 |
| spifstcintr_rx |
|
32 |
6 |
199 |
| spifstcintr_tx |
|
45 |
9 |
299 |
| spifstcintr_mx |
|
17 |
2 |
105 |
| spifstcintr |
|
27 |
9 |
195 |
| spifsoftintr |
|
58 |
11 |
401 |
| stty_write_ccr |
|
11 |
4 |
60 |
| stty_compute_baud |
|
17 |
4 |
106 |
| sbppmatch |
|
7 |
2 |
47 |
| sbppattach |
|
13 |
3 |
93 |
| sbppopen |
|
8 |
1 |
31 |
| sbppclose |
|
8 |
1 |
31 |
| spifppcintr |
|
5 |
1 |
15 |
| sbppread |
|
7 |
1 |
31 |
| sbppwrite |
|
7 |
1 |
31 |
| sbpp_rw |
|
6 |
1 |
21 |
| sbpppoll |
|
7 |
1 |
33 |
| sbppioctl |
|
11 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/if_ti_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ti_sbus_match |
|
5 |
1 |
38 |
| ti_sbus_attach |
|
41 |
6 |
329 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/cs4231var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/zxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/sbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/qlw_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qlw_sbus_match |
|
10 |
5 |
76 |
| qlw_sbus_attach |
|
57 |
12 |
427 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/stp4020var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/magmareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/if_le_lebuffer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_lebuffer_wrcsr |
|
15 |
3 |
116 |
| le_lebuffer_rdcsr |
|
8 |
1 |
72 |
| lematch_lebuffer |
|
6 |
1 |
49 |
| leattach_lebuffer |
|
37 |
3 |
294 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/lebuffer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lebufprint |
|
10 |
1 |
62 |
| lebufmatch |
|
6 |
1 |
49 |
| lebufattach |
|
44 |
6 |
356 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/mgx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mgxmatch |
|
8 |
3 |
58 |
| mgxattach |
|
72 |
10 |
568 |
| mgx_read_1 |
|
5 |
2 |
40 |
| mgx_read_2 |
|
5 |
2 |
40 |
| mgx_write_1 |
|
5 |
2 |
45 |
| mgx_write_4 |
|
4 |
1 |
27 |
| mgx_ioctl |
|
41 |
10 |
236 |
| mgx_mmap |
|
11 |
4 |
75 |
| mgx_burner |
|
24 |
7 |
140 |
| mgx_setcolor |
|
9 |
1 |
72 |
| mgx_loadcmap |
|
9 |
2 |
71 |
| mgx_getcmap |
|
20 |
7 |
165 |
| mgx_putcmap |
|
20 |
7 |
165 |
| mgx_wait_engine |
|
11 |
3 |
58 |
| mgx_wait_fifo |
|
13 |
3 |
73 |
| mgx_ras_init |
|
56 |
15 |
336 |
| mgx_ras_copycols |
|
28 |
2 |
222 |
| mgx_ras_copyrows |
|
26 |
2 |
207 |
| mgx_ras_erasecols |
|
24 |
1 |
213 |
| mgx_ras_eraserows |
|
29 |
3 |
254 |
| mgx_ras_do_cursor |
|
19 |
1 |
174 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/qereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/tvtwo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tvtwomatch |
|
8 |
3 |
58 |
| tvtwoattach |
|
76 |
12 |
595 |
| tvtwo_ioctl |
|
44 |
16 |
213 |
| tvtwo_mmap |
|
11 |
4 |
79 |
| tvtwo_burner |
|
13 |
3 |
69 |
| tvtwo_reset |
|
8 |
2 |
38 |
| tvtwo_ramdac_wraddr |
|
6 |
1 |
56 |
| tvtwo_directcmap |
|
11 |
2 |
72 |
| tvtwo_setcolor |
|
9 |
1 |
72 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/xbox.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xboxmatch |
|
7 |
2 |
45 |
| xboxattach |
|
41 |
4 |
331 |
| xbox_fix_range |
|
22 |
5 |
175 |
| xboxprint |
|
7 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/qecreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/if_le_ledma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_ledma_wrcsr |
|
15 |
3 |
116 |
| le_ledma_rdcsr |
|
8 |
1 |
72 |
| le_ledma_setutp |
|
9 |
1 |
51 |
| le_ledma_setaui |
|
9 |
1 |
51 |
| lemediachange |
|
19 |
5 |
83 |
| lemediastatus |
|
8 |
2 |
56 |
| le_ledma_hwreset |
|
17 |
1 |
105 |
| le_ledma_hwinit |
|
11 |
3 |
44 |
| le_ledma_nocarrier |
|
21 |
6 |
109 |
| lematch_ledma |
|
6 |
1 |
49 |
| leattach_ledma |
|
76 |
7 |
560 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/esp_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| espmatch_sbus |
|
11 |
3 |
85 |
| espattach_sbus |
|
105 |
21 |
756 |
| espattach_dma |
|
37 |
6 |
264 |
| espattach |
|
56 |
10 |
387 |
| esp_read_reg |
|
10 |
6 |
93 |
| esp_write_reg |
|
8 |
6 |
90 |
| esp_rdreg1 |
|
5 |
1 |
40 |
| esp_wrreg1 |
|
5 |
1 |
42 |
| esp_dma_isintr |
|
5 |
1 |
31 |
| esp_dma_reset |
|
5 |
1 |
28 |
| esp_dma_intr |
|
5 |
1 |
31 |
| esp_dma_setup |
|
6 |
1 |
54 |
| esp_dma_go |
|
5 |
1 |
28 |
| esp_dma_stop |
|
8 |
1 |
46 |
| esp_dma_isactive |
|
5 |
1 |
31 |
| db_esp |
|
39 |
7 |
302 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/apio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apio_match |
|
7 |
2 |
47 |
| apio_attach |
|
48 |
7 |
355 |
| apio_print |
|
7 |
2 |
42 |
| apio_intr_enable |
|
9 |
1 |
71 |
| lpt_apio_match |
|
4 |
1 |
22 |
| lpt_apio_attach |
|
17 |
2 |
134 |
| lpt_apio_intr |
|
8 |
1 |
48 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/if_hme_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hmematch_sbus |
|
8 |
3 |
71 |
| hmeattach_sbus |
|
70 |
14 |
592 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/bppreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/spifvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/magma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cd1400_compute_baud |
|
15 |
5 |
116 |
| cd1400_write_ccr |
|
6 |
2 |
31 |
| cd1400_enable_transmitter |
|
10 |
1 |
62 |
| magma_match |
|
12 |
4 |
77 |
| magma_attach |
|
112 |
21 |
837 |
| magma_hard |
|
148 |
28 |
968 |
| magma_soft |
|
66 |
17 |
507 |
| mtty_match |
|
6 |
3 |
48 |
| mtty_attach |
|
31 |
7 |
243 |
| mttyopen |
|
62 |
16 |
509 |
| mttyclose |
|
15 |
3 |
136 |
| mttyread |
|
7 |
1 |
77 |
| mttywrite |
|
7 |
1 |
77 |
| mttytty |
|
6 |
1 |
45 |
| mttyioctl |
|
56 |
14 |
371 |
| mttystop |
|
14 |
3 |
109 |
| mtty_start |
|
17 |
3 |
135 |
| mtty_modem_control |
|
49 |
22 |
327 |
| mtty_param |
|
72 |
18 |
508 |
| mbpp_match |
|
6 |
3 |
48 |
| mbpp_attach |
|
20 |
4 |
170 |
| mbppopen |
|
33 |
6 |
233 |
| mbppclose |
|
7 |
1 |
60 |
| mbppread |
|
4 |
1 |
25 |
| mbppwrite |
|
4 |
1 |
25 |
| mbppioctl |
|
36 |
8 |
248 |
| mbpppoll |
|
4 |
1 |
27 |
| mbpp_rw |
|
80 |
21 |
521 |
| mbpp_timeout |
|
6 |
1 |
31 |
| mbpp_start |
|
6 |
1 |
29 |
| mbpp_send |
|
23 |
3 |
156 |
| mbpp_recv |
|
27 |
3 |
194 |
| mbpp_hztoms |
|
7 |
2 |
31 |
| mbpp_mstohz |
|
10 |
3 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/qec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qecprint |
|
12 |
1 |
66 |
| qecmatch |
|
9 |
1 |
55 |
| qecattach |
|
76 |
11 |
597 |
| qec_bus_map |
|
36 |
7 |
235 |
| if |
|
8 |
2 |
42 |
| for |
|
5 |
2 |
53 |
| qec_init |
|
31 |
6 |
241 |
| qec_meminit |
|
44 |
4 |
314 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/agten.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agtenmatch |
|
7 |
2 |
47 |
| agtenattach |
|
51 |
5 |
444 |
| agten_ioctl |
|
55 |
18 |
291 |
| agten_mmap |
|
14 |
4 |
85 |
| agten_setcolor |
|
11 |
1 |
77 |
| agten_getcmap |
|
14 |
6 |
142 |
| agten_putcmap |
|
14 |
6 |
142 |
| ibm561_write |
|
5 |
1 |
39 |
| agten_loadcmap |
|
17 |
2 |
137 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/cgtwelvereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/cgthree.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cgthreematch |
|
6 |
1 |
49 |
| cgthreeattach |
|
50 |
6 |
402 |
| cgthree_ioctl |
|
49 |
16 |
262 |
| cgthree_mmap |
|
26 |
9 |
155 |
| cgthree_is_console |
|
5 |
1 |
18 |
| cgthree_setcolor |
|
9 |
1 |
82 |
| cgthree_loadcmap |
|
12 |
2 |
86 |
| cg3_bt_getcmap |
|
19 |
7 |
186 |
| cg3_bt_putcmap |
|
19 |
7 |
186 |
| cgthree_reset |
|
41 |
6 |
309 |
| cgthree_burner |
|
17 |
3 |
83 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/asioreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/rfx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rfxmatch |
|
16 |
6 |
107 |
| rfxattach |
|
77 |
13 |
627 |
| rfx_ioctl |
|
41 |
10 |
238 |
| rfx_mmap |
|
11 |
4 |
77 |
| rfx_burner |
|
12 |
3 |
72 |
| rfx_setcolor |
|
8 |
1 |
69 |
| rfx_getcmap |
|
14 |
6 |
136 |
| rfx_putcmap |
|
18 |
6 |
179 |
| rfx_loadcmap |
|
15 |
2 |
128 |
| rfx_initialize |
|
43 |
11 |
301 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/uperf_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uperf_sbus_match |
|
5 |
1 |
38 |
| uperf_sbus_attach |
|
33 |
6 |
255 |
| uperf_sbus_read_reg |
|
26 |
1 |
225 |
| uperf_sbus_write_reg |
|
25 |
1 |
233 |
| uperf_sbus_clrcnt |
|
14 |
4 |
76 |
| uperf_sbus_setcntsrc |
|
16 |
3 |
104 |
| uperf_sbus_getcntsrc |
|
11 |
3 |
79 |
| uperf_sbus_getcnt |
|
12 |
3 |
76 |
| uperf_sbus_xir |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/bwtwo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwtwomatch |
|
8 |
1 |
54 |
| bwtwoattach |
|
50 |
6 |
391 |
| bwtwo_ioctl |
|
39 |
13 |
173 |
| bwtwo_mmap |
|
13 |
4 |
81 |
| bwtwo_is_console |
|
6 |
1 |
20 |
| bwtwo_burner |
|
19 |
3 |
88 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/vigra.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vigramatch |
|
9 |
4 |
69 |
| vigraattach |
|
63 |
8 |
541 |
| vigra_ioctl |
|
49 |
16 |
279 |
| vigra_mmap |
|
11 |
4 |
75 |
| vigra_setcolor |
|
15 |
2 |
145 |
| vigra_getcmap |
|
32 |
12 |
306 |
| vigra_putcmap |
|
33 |
12 |
320 |
| vigra_loadcmap_immediate |
|
11 |
3 |
88 |
| vigra_loadcmap_deferred |
|
4 |
1 |
23 |
| vigra_burner |
|
9 |
2 |
46 |
| vigra_intr |
|
11 |
3 |
66 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/lebuffervar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/qe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qematch |
|
9 |
1 |
55 |
| qeattach |
|
100 |
9 |
823 |
| qe_get |
|
41 |
8 |
259 |
| qe_put |
|
22 |
3 |
132 |
| qe_read |
|
22 |
4 |
127 |
| qestart |
|
31 |
9 |
215 |
| qestop |
|
22 |
5 |
135 |
| qereset |
|
9 |
1 |
35 |
| qewatchdog |
|
8 |
1 |
43 |
| qeintr |
|
42 |
14 |
284 |
| qe_tint |
|
28 |
8 |
169 |
| qe_rint |
|
27 |
9 |
165 |
| qe_eint |
|
140 |
27 |
736 |
| qeioctl |
|
43 |
13 |
255 |
| qeinit |
|
55 |
2 |
467 |
| qe_mcreset |
|
55 |
8 |
390 |
| qe_ifmedia_sts |
|
16 |
3 |
90 |
| qe_ifmedia_upd |
|
11 |
3 |
62 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/if_gem_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gemmatch_sbus |
|
5 |
1 |
38 |
| gemattach_sbus |
|
42 |
6 |
340 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/cgsixreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/asio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asio_match |
|
7 |
2 |
47 |
| asio_attach |
|
50 |
8 |
394 |
| asio_print |
|
8 |
2 |
51 |
| asio_intr_enable |
|
9 |
1 |
71 |
| com_asio_match |
|
4 |
1 |
22 |
| com_asio_attach |
|
19 |
2 |
135 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/spifreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/be.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bematch |
|
6 |
1 |
49 |
| beattach |
|
165 |
21 |
1303 |
| be_put |
|
19 |
3 |
126 |
| be_get |
|
39 |
8 |
254 |
| be_read |
|
20 |
4 |
122 |
| bestart |
|
30 |
9 |
213 |
| bestop |
|
21 |
5 |
149 |
| bereset |
|
9 |
2 |
49 |
| bewatchdog |
|
7 |
1 |
45 |
| beintr |
|
19 |
7 |
147 |
| beqint |
|
62 |
17 |
342 |
| beeint |
|
29 |
6 |
153 |
| betint |
|
33 |
6 |
233 |
| berint |
|
20 |
4 |
126 |
| beioctl |
|
43 |
13 |
252 |
| beinit |
|
65 |
1 |
525 |
| be_mcreset |
|
56 |
8 |
402 |
| be_mii_sync |
|
15 |
2 |
91 |
| be_pal_gate |
|
12 |
2 |
77 |
| be_tcvr_read_bit |
|
24 |
2 |
177 |
| be_tcvr_write_bit |
|
17 |
2 |
125 |
| be_mii_sendbits |
|
6 |
2 |
58 |
| be_mii_readreg |
|
18 |
2 |
165 |
| be_mii_writereg |
|
14 |
2 |
129 |
| be_mii_reset |
|
18 |
4 |
129 |
| be_tick |
|
9 |
1 |
60 |
| be_mii_statchg |
|
18 |
4 |
129 |
| be_ifmedia_sts |
|
9 |
1 |
68 |
| be_ifmedia_upd |
|
8 |
2 |
57 |
| be_intphy_service |
|
96 |
23 |
691 |
| be_intphy_status |
|
29 |
6 |
173 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/bereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/cgsix.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cgsixmatch |
|
6 |
1 |
49 |
| cgsixattach |
|
104 |
14 |
873 |
| cgsix_ioctl |
|
122 |
30 |
853 |
| cgsix_setcursor |
|
55 |
16 |
496 |
| cgsix_updatecursor |
|
42 |
5 |
375 |
| cgsix_mmap |
|
41 |
11 |
267 |
| cgsix_is_console |
|
5 |
1 |
18 |
| cg6_bt_getcmap |
|
19 |
7 |
186 |
| cg6_bt_putcmap |
|
19 |
7 |
186 |
| cgsix_loadcmap_deferred |
|
8 |
1 |
44 |
| cgsix_loadcmap_immediate |
|
17 |
2 |
135 |
| cgsix_setcolor |
|
9 |
1 |
82 |
| cgsix_reset |
|
20 |
3 |
144 |
| cgsix_hardreset |
|
41 |
3 |
343 |
| cgsix_burner |
|
17 |
3 |
83 |
| cgsix_intr |
|
15 |
2 |
87 |
| cgsix_ras_init |
|
9 |
1 |
43 |
| cgsix_ras_copyrows |
|
44 |
7 |
361 |
| cgsix_ras_copycols |
|
49 |
9 |
403 |
| cgsix_ras_erasecols |
|
38 |
6 |
327 |
| cgsix_ras_eraserows |
|
42 |
6 |
358 |
| cgsix_ras_do_cursor |
|
25 |
1 |
217 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/qecvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/cs4231.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cs4231_match |
|
5 |
1 |
38 |
| cs4231_attach |
|
48 |
7 |
340 |
| cs4231_write |
|
5 |
1 |
33 |
| cs4231_read |
|
5 |
1 |
31 |
| cs4231_set_speed |
|
50 |
9 |
430 |
| cs4231_open |
|
32 |
5 |
237 |
| cs4231_setup_output |
|
59 |
12 |
361 |
| cs4231_close |
|
9 |
1 |
49 |
| cs4231_set_params |
|
52 |
15 |
296 |
| cs4231_round_blocksize |
|
4 |
1 |
25 |
| cs4231_commit_settings |
|
51 |
15 |
389 |
| cs4231_halt_output |
|
13 |
1 |
91 |
| cs4231_halt_input |
|
11 |
1 |
72 |
| cs4231_set_port |
|
182 |
57 |
1113 |
| cs4231_get_port |
|
160 |
50 |
979 |
| cs4231_query_devinfo |
|
194 |
20 |
1588 |
| cs4231_get_props |
|
4 |
1 |
13 |
| cs4231_intr |
|
85 |
24 |
599 |
| cs4231_alloc |
|
35 |
6 |
283 |
| cs4231_free |
|
18 |
3 |
150 |
| cs4231_trigger_output |
|
48 |
7 |
368 |
| cs4231_trigger_input |
|
63 |
10 |
466 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/zx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zx_match |
|
7 |
2 |
47 |
| zx_attach |
|
89 |
9 |
817 |
| zx_ioctl |
|
35 |
10 |
178 |
| zx_mmap |
|
11 |
4 |
77 |
| zx_setcolor |
|
7 |
1 |
60 |
| zx_reset |
|
59 |
5 |
486 |
| zx_cross_wait |
|
15 |
4 |
82 |
| zx_cross_loadwid |
|
18 |
3 |
123 |
| zx_putcmap |
|
22 |
3 |
170 |
| zx_burner |
|
15 |
2 |
77 |
| zx_fillrect |
|
22 |
2 |
207 |
| zx_copyrect |
|
31 |
4 |
248 |
| zx_do_cursor |
|
7 |
1 |
42 |
| zx_erasecols |
|
7 |
1 |
54 |
| zx_eraserows |
|
24 |
4 |
208 |
| zx_copyrows |
|
7 |
1 |
53 |
| zx_copycols |
|
7 |
1 |
54 |
| zx_putchar |
|
61 |
9 |
480 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/stp4020.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| stp4020_rd_sockctl |
|
7 |
1 |
49 |
| stp4020_wr_sockctl |
|
8 |
1 |
51 |
| stp4020_rd_winctl |
|
9 |
1 |
58 |
| stp4020_wr_winctl |
|
10 |
1 |
62 |
| stp4020print |
|
9 |
1 |
47 |
| stpattach_common |
|
18 |
4 |
120 |
| stp4020_attach_socket |
|
34 |
3 |
242 |
| stp4020_create_event_thread |
|
9 |
2 |
50 |
| stp4020_event_thread |
|
40 |
9 |
231 |
| stp4020_queue_event |
|
10 |
1 |
49 |
| stp4020_intr_dispatch |
|
9 |
1 |
54 |
| stp4020_statintr |
|
60 |
14 |
338 |
| stp4020_iointr |
|
30 |
5 |
163 |
| stp4020_calc_speed |
|
15 |
5 |
87 |
| stp4020_map_window |
|
22 |
4 |
128 |
| stp4020_chip_mem_alloc |
|
13 |
1 |
70 |
| stp4020_chip_mem_free |
|
5 |
1 |
16 |
| stp4020_chip_mem_map |
|
20 |
2 |
130 |
| stp4020_chip_mem_unmap |
|
5 |
1 |
14 |
| stp4020_chip_io_alloc |
|
13 |
1 |
75 |
| stp4020_chip_io_free |
|
5 |
1 |
16 |
| stp4020_chip_io_map |
|
15 |
1 |
92 |
| stp4020_chip_io_unmap |
|
5 |
1 |
14 |
| stp4020_chip_socket_enable |
|
55 |
7 |
353 |
| stp4020_chip_socket_disable |
|
12 |
1 |
70 |
| stp4020_chip_intr_disestablish |
|
12 |
2 |
62 |
| stp4020_chip_intr_string |
|
9 |
2 |
32 |
| stp4020_delay |
|
13 |
5 |
68 |
| stp4020_dump_regs |
|
10 |
1 |
55 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/dma_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dmaprint_sbus |
|
10 |
1 |
64 |
| dmamatch_sbus |
|
7 |
2 |
60 |
| dmaattach_sbus |
|
69 |
13 |
462 |
| dmabus_intr_establish |
|
25 |
4 |
140 |
| dma_alloc_bustag |
|
13 |
2 |
89 |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/xboxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sbus/cgtwelve.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cgtwelvematch |
|
8 |
2 |
58 |
| cgtwelveattach |
|
82 |
15 |
676 |
| cgtwelveactivate |
|
12 |
3 |
56 |
| cgtwelve_ioctl |
|
39 |
11 |
198 |
| cgtwelve_reset |
|
56 |
14 |
434 |
| cgtwelve_mmap |
|
11 |
4 |
77 |
| cgtwelve_ramdac_wraddr |
|
5 |
1 |
41 |
| cgtwelve_prom |
|
8 |
2 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/gpio/gpioiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gpioiic_match |
|
8 |
2 |
59 |
| gpioiic_attach |
|
84 |
14 |
582 |
| gpioiic_detach |
|
4 |
1 |
17 |
| gpioiic_i2c_acquire_bus |
|
7 |
3 |
48 |
| gpioiic_i2c_release_bus |
|
7 |
3 |
38 |
| gpioiic_i2c_send_start |
|
4 |
1 |
24 |
| gpioiic_i2c_send_stop |
|
4 |
1 |
24 |
| gpioiic_i2c_initiate_xfer |
|
4 |
1 |
29 |
| gpioiic_i2c_read_byte |
|
4 |
1 |
30 |
| gpioiic_i2c_write_byte |
|
4 |
1 |
29 |
| gpioiic_bb_set_bits |
|
8 |
3 |
66 |
| gpioiic_bb_set_dir |
|
14 |
5 |
102 |
| gpioiic_bb_read_bits |
|
12 |
3 |
67 |
| Source file: /home/sergeyb/sources/src/sys/dev/gpio/gpiosim.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gpiosim_match |
|
4 |
1 |
20 |
| gpiosim_attach |
|
26 |
2 |
191 |
| gpiosim_ioctl |
|
15 |
3 |
88 |
| gpiosim_pin_read |
|
8 |
2 |
43 |
| gpiosim_pin_write |
|
8 |
2 |
55 |
| gpiosim_pin_ctl |
|
5 |
1 |
37 |
| Source file: /home/sergeyb/sources/src/sys/dev/gpio/gpiovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/gpio/gpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gpio_match |
|
6 |
1 |
49 |
| gpio_submatch |
|
8 |
2 |
72 |
| gpio_attach |
|
10 |
1 |
79 |
| gpio_detach |
|
10 |
3 |
65 |
| gpio_search |
|
12 |
2 |
102 |
| gpio_print |
|
10 |
3 |
70 |
| gpiobus_print |
|
7 |
2 |
42 |
| gpio_pin_map |
|
20 |
7 |
154 |
| gpio_pin_unmap |
|
9 |
2 |
62 |
| gpio_pin_read |
|
5 |
1 |
40 |
| gpio_pin_write |
|
5 |
1 |
45 |
| gpio_pin_ctl |
|
5 |
1 |
45 |
| gpio_pin_caps |
|
5 |
1 |
40 |
| gpio_npins |
|
8 |
3 |
48 |
| gpioopen |
|
11 |
3 |
74 |
| gpioclose |
|
9 |
2 |
63 |
| gpio_pinbyname |
|
8 |
2 |
54 |
| gpioioctl |
|
195 |
61 |
1381 |
| Source file: /home/sergeyb/sources/src/sys/dev/gpio/gpioow.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gpioow_match |
|
8 |
2 |
59 |
| gpioow_attach |
|
51 |
9 |
350 |
| gpioow_detach |
|
9 |
2 |
65 |
| gpioow_activate |
|
13 |
3 |
68 |
| gpioow_ow_reset |
|
4 |
1 |
19 |
| gpioow_ow_bit |
|
4 |
1 |
24 |
| gpioow_bb_rx |
|
14 |
3 |
80 |
| gpioow_bb_tx |
|
12 |
2 |
70 |
| gpioow_bb_get |
|
6 |
2 |
38 |
| gpioow_bb_set |
|
6 |
2 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/gpio/gpiodcf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gpiodcf_match |
|
8 |
2 |
59 |
| gpiodcf_attach |
|
80 |
5 |
625 |
| gpiodcf_detach |
|
13 |
1 |
93 |
| gpiodcf_signal |
|
5 |
2 |
32 |
| gpiodcf_probe |
|
40 |
8 |
242 |
| gpiodcf_bv_probe |
|
16 |
5 |
86 |
| gpiodcf_mg_probe |
|
110 |
21 |
905 |
| gpiodcf_sl_probe |
|
10 |
2 |
58 |
| gpiodcf_invalidate |
|
13 |
3 |
70 |
| gpiodcf_activate |
|
10 |
2 |
44 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmcvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmcreg.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __bitfield |
|
24 |
7 |
154 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmc_scsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdmmc_scsi_attach |
|
46 |
4 |
347 |
| sdmmc_scsi_detach |
|
23 |
5 |
156 |
| sdmmc_alloc_ccbs |
|
24 |
3 |
160 |
| sdmmc_free_ccbs |
|
8 |
2 |
44 |
| sdmmc_ccb_alloc |
|
13 |
2 |
75 |
| sdmmc_ccb_free |
|
16 |
2 |
106 |
| sdmmc_scsi_decode_rw |
|
15 |
3 |
114 |
| sdmmc_scsi_cmd |
|
65 |
16 |
422 |
| sdmmc_inquiry |
|
58 |
9 |
461 |
| sdmmc_start_xs |
|
18 |
2 |
130 |
| sdmmc_complete_xs |
|
25 |
4 |
197 |
| sdmmc_done_xs |
|
14 |
4 |
109 |
| sdmmc_stimeout |
|
12 |
2 |
60 |
| sdmmc_scsi_minphys |
|
11 |
3 |
97 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmc_io.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdmmc_io_enable |
|
34 |
6 |
221 |
| sdmmc_io_scan |
|
27 |
4 |
177 |
| sdmmc_io_init |
|
17 |
4 |
105 |
| sdmmc_io_function_ready |
|
11 |
2 |
74 |
| sdmmc_io_function_enable |
|
16 |
5 |
119 |
| sdmmc_io_function_disable |
|
12 |
2 |
77 |
| sdmmc_io_attach |
|
14 |
2 |
83 |
| sdmmc_submatch |
|
7 |
2 |
56 |
| sdmmc_print |
|
36 |
19 |
269 |
| sdmmc_io_detach |
|
12 |
2 |
71 |
| sdmmc_io_rw_direct |
|
24 |
3 |
163 |
| sdmmc_io_rw_extended |
|
28 |
5 |
203 |
| sdmmc_io_read_1 |
|
8 |
1 |
53 |
| sdmmc_io_write_1 |
|
6 |
1 |
48 |
| sdmmc_io_read_2 |
|
8 |
1 |
57 |
| sdmmc_io_write_2 |
|
6 |
1 |
52 |
| sdmmc_io_read_4 |
|
8 |
1 |
57 |
| sdmmc_io_write_4 |
|
6 |
1 |
52 |
| sdmmc_io_read_multi_1 |
|
16 |
3 |
92 |
| sdmmc_io_write_multi_1 |
|
16 |
3 |
92 |
| sdmmc_io_xchg |
|
7 |
1 |
45 |
| sdmmc_io_reset |
|
8 |
2 |
49 |
| sdmmc_io_send_op_cond |
|
24 |
7 |
148 |
| sdmmc_intr_enable |
|
10 |
1 |
65 |
| sdmmc_intr_disable |
|
10 |
1 |
67 |
| sdmmc_intr_establish |
|
24 |
4 |
169 |
| sdmmc_intr_disestablish |
|
16 |
3 |
105 |
| sdmmc_card_intr |
|
8 |
3 |
54 |
| sdmmc_intr_task |
|
14 |
1 |
81 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmc_ioreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/if_bwfm_sdio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwfm_sdio_match |
|
17 |
7 |
110 |
| bwfm_sdio_attach |
|
43 |
3 |
317 |
| bwfm_sdio_detach |
|
7 |
1 |
48 |
| bwfm_sdio_read_1 |
|
11 |
2 |
61 |
| bwfm_sdio_read_4 |
|
23 |
3 |
140 |
| bwfm_sdio_write_1 |
|
9 |
2 |
58 |
| bwfm_sdio_write_4 |
|
21 |
3 |
137 |
| bwfm_sdio_buscore_read |
|
7 |
1 |
38 |
| bwfm_sdio_buscore_write |
|
5 |
1 |
35 |
| bwfm_sdio_buscore_prepare |
|
34 |
5 |
176 |
| bwfm_sdio_buscore_activate |
|
10 |
3 |
78 |
| bwfm_sdio_txdata |
|
7 |
2 |
47 |
| bwfm_sdio_txctl |
|
7 |
2 |
49 |
| bwfm_sdio_rxctl |
|
7 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmc_scsi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmc_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdmmc_mem_enable |
|
39 |
8 |
236 |
| sdmmc_mem_scan |
|
60 |
13 |
406 |
| sdmmc_decode_csd |
|
44 |
8 |
277 |
| sdmmc_decode_cid |
|
37 |
7 |
231 |
| sdmmc_print_cid |
|
6 |
1 |
39 |
| sdmmc_mem_send_scr |
|
24 |
4 |
153 |
| sdmmc_mem_decode_scr |
|
23 |
2 |
185 |
| sdmmc_mem_send_cxd_data |
|
30 |
5 |
183 |
| sdmmc_set_bus_width |
|
23 |
4 |
122 |
| sdmmc_mem_sd_switch |
|
36 |
11 |
267 |
| sdmmc_mem_mmc_switch |
|
12 |
1 |
94 |
| sdmmc_mem_init |
|
13 |
4 |
84 |
| sdmmc_be512_to_bitfield512 |
|
11 |
2 |
94 |
| sdmmc_mem_sd_init |
|
62 |
14 |
381 |
| sdmmc_mem_mmc_init |
|
124 |
25 |
694 |
| sdmmc_mem_send_op_cond |
|
32 |
8 |
192 |
| sdmmc_mem_set_blocklen |
|
12 |
1 |
95 |
| sdmmc_mem_read_block_subr |
|
45 |
10 |
314 |
| sdmmc_mem_single_read_block |
|
13 |
3 |
88 |
| sdmmc_mem_read_block |
|
33 |
5 |
216 |
| sdmmc_mem_write_block_subr |
|
44 |
10 |
301 |
| sdmmc_mem_single_write_block |
|
13 |
3 |
88 |
| sdmmc_mem_write_block |
|
33 |
5 |
216 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdmmc_match |
|
6 |
1 |
47 |
| sdmmc_attach |
|
44 |
10 |
339 |
| sdmmc_detach |
|
12 |
3 |
79 |
| sdmmc_activate |
|
20 |
4 |
107 |
| sdmmc_create_thread |
|
7 |
2 |
46 |
| sdmmc_task_thread |
|
33 |
5 |
201 |
| sdmmc_add_task |
|
10 |
1 |
60 |
| sdmmc_del_task |
|
12 |
2 |
64 |
| sdmmc_needs_discover |
|
6 |
2 |
42 |
| sdmmc_discover_task |
|
21 |
5 |
132 |
| sdmmc_card_attach |
|
28 |
6 |
180 |
| sdmmc_card_detach |
|
21 |
5 |
157 |
| sdmmc_enable |
|
28 |
6 |
172 |
| sdmmc_disable |
|
8 |
1 |
61 |
| sdmmc_set_bus_power |
|
19 |
5 |
124 |
| sdmmc_function_alloc |
|
12 |
1 |
74 |
| sdmmc_function_free |
|
4 |
1 |
20 |
| sdmmc_scan |
|
13 |
4 |
77 |
| sdmmc_init |
|
18 |
6 |
126 |
| sdmmc_delay |
|
8 |
3 |
45 |
| sdmmc_app_command |
|
22 |
4 |
134 |
| sdmmc_mmc_command |
|
10 |
2 |
59 |
| sdmmc_go_idle_state |
|
9 |
1 |
55 |
| sdmmc_send_if_cond |
|
18 |
3 |
111 |
| sdmmc_set_relative_addr |
|
20 |
4 |
130 |
| sdmmc_select_card |
|
19 |
9 |
143 |
| sdmmc_ioctl |
|
61 |
19 |
420 |
| sdmmc_dump_command |
|
19 |
8 |
189 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdhcreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdhcvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmcdevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmc_cis.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdmmc_cisptr |
|
12 |
1 |
95 |
| sdmmc_read_cis |
|
85 |
17 |
492 |
| sdmmc_print_cis |
|
28 |
5 |
184 |
| sdmmc_check_cis_quirks |
|
12 |
3 |
89 |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdmmcchip.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sdmmc/sdhc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdhc_host_found |
|
140 |
32 |
965 |
| sdhc_activate |
|
33 |
8 |
229 |
| sdhc_shutdown |
|
10 |
2 |
57 |
| sdhc_host_reset |
|
24 |
2 |
136 |
| sdhc_host_ocr |
|
5 |
1 |
19 |
| sdhc_host_maxblklen |
|
5 |
1 |
19 |
| sdhc_card_detect |
|
8 |
3 |
51 |
| sdhc_bus_power |
|
34 |
7 |
191 |
| sdhc_clock_divisor |
|
11 |
4 |
72 |
| sdhc_bus_clock |
|
51 |
13 |
290 |
| sdhc_bus_width |
|
23 |
7 |
135 |
| sdhc_card_intr_mask |
|
11 |
2 |
62 |
| sdhc_card_intr_ack |
|
5 |
1 |
23 |
| sdhc_signal_voltage |
|
23 |
7 |
122 |
| sdhc_wait_state |
|
14 |
3 |
88 |
| sdhc_exec_command |
|
32 |
9 |
242 |
| sdhc_start_command |
|
94 |
23 |
694 |
| sdhc_transfer_data |
|
61 |
17 |
378 |
| sdhc_read_data |
|
15 |
4 |
90 |
| sdhc_write_data |
|
18 |
5 |
129 |
| sdhc_soft_reset |
|
19 |
4 |
138 |
| sdhc_wait_intr |
|
26 |
4 |
150 |
| sdhc_intr |
|
46 |
9 |
297 |
| sdhc_needs_discover |
|
6 |
2 |
39 |
| sdhc_dump_regs |
|
23 |
1 |
151 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/onewire.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| onewire_match |
|
5 |
1 |
40 |
| onewire_attach |
|
16 |
3 |
112 |
| onewire_detach |
|
10 |
2 |
71 |
| onewire_activate |
|
10 |
2 |
51 |
| onewire_print |
|
16 |
4 |
104 |
| onewirebus_print |
|
6 |
2 |
31 |
| onewire_lock |
|
8 |
2 |
46 |
| onewire_unlock |
|
5 |
1 |
23 |
| onewire_reset |
|
6 |
1 |
36 |
| onewire_bit |
|
6 |
1 |
41 |
| onewire_read_byte |
|
12 |
3 |
88 |
| onewire_write_byte |
|
10 |
3 |
83 |
| onewire_read_block |
|
10 |
3 |
75 |
| onewire_write_block |
|
10 |
3 |
77 |
| onewire_triplet |
|
22 |
4 |
139 |
| onewire_matchrom |
|
11 |
3 |
90 |
| onewire_search |
|
57 |
16 |
383 |
| onewire_thread |
|
13 |
3 |
73 |
| onewire_createthread |
|
8 |
2 |
48 |
| onewire_scan |
|
54 |
9 |
351 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/onewirevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/onewiredevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/onewire_bitbang.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| onewire_bb_reset |
|
19 |
3 |
121 |
| onewire_bb_bit |
|
24 |
4 |
150 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/owctr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| owctr_match |
|
4 |
1 |
32 |
| owctr_attach |
|
25 |
2 |
230 |
| owctr_detach |
|
10 |
2 |
68 |
| owctr_activate |
|
4 |
1 |
17 |
| owctr_update |
|
5 |
1 |
22 |
| owctr_update_counter |
|
58 |
6 |
426 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/onewire_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| onewire_crc |
|
8 |
2 |
45 |
| onewire_crc16 |
|
14 |
2 |
82 |
| onewire_famname |
|
8 |
4 |
48 |
| onewire_matchbyfam |
|
10 |
3 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/owtemp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| owtemp_match |
|
4 |
1 |
32 |
| owtemp_attach |
|
21 |
2 |
182 |
| owtemp_detach |
|
10 |
2 |
68 |
| owtemp_activate |
|
4 |
1 |
17 |
| owtemp_update |
|
42 |
7 |
286 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/owid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| owid_match |
|
4 |
1 |
32 |
| owid_attach |
|
16 |
1 |
151 |
| owid_detach |
|
6 |
1 |
37 |
| owid_activate |
|
10 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/onewirereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/owsbm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| owsbm_match |
|
4 |
1 |
32 |
| owsbm_attach |
|
30 |
2 |
305 |
| owsbm_detach |
|
10 |
2 |
68 |
| owsbm_activate |
|
4 |
1 |
17 |
| owsbm_update |
|
73 |
12 |
628 |
| Source file: /home/sergeyb/sources/src/sys/dev/onewire/onewiredevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/siop/ncr53cxxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
118 |
36 |
742 |
| setarch |
|
22 |
6 |
68 |
| emit_symbols |
|
36 |
14 |
252 |
| list_symbols |
|
11 |
4 |
73 |
| errout |
|
5 |
1 |
21 |
| parse |
|
39 |
26 |
268 |
| process |
|
28 |
7 |
176 |
| define_symbol |
|
39 |
8 |
254 |
| patch_label |
|
12 |
2 |
72 |
| close_script |
|
22 |
7 |
157 |
| new_script |
|
7 |
1 |
38 |
| reserved |
|
6 |
3 |
46 |
| CheckPhase |
|
11 |
3 |
56 |
| CheckRegister |
|
13 |
5 |
102 |
| expression |
|
17 |
4 |
94 |
| evaluate |
|
15 |
4 |
75 |
| number |
|
42 |
15 |
183 |
| lookup |
|
36 |
6 |
274 |
| f_arch |
|
11 |
2 |
46 |
| f_proc |
|
7 |
3 |
44 |
| f_pass |
|
4 |
1 |
11 |
| f_list |
|
21 |
7 |
127 |
| f_define |
|
23 |
5 |
123 |
| store_inst |
|
24 |
6 |
138 |
| f_move |
|
10 |
4 |
53 |
| f_jump |
|
4 |
1 |
13 |
| f_call |
|
4 |
1 |
13 |
| f_return |
|
4 |
1 |
13 |
| f_int |
|
4 |
1 |
13 |
| f_intfly |
|
4 |
1 |
13 |
| f_select |
|
9 |
2 |
34 |
| f_reselect |
|
4 |
1 |
11 |
| f_wait |
|
30 |
7 |
130 |
| f_disconnect |
|
5 |
1 |
14 |
| f_set |
|
4 |
1 |
11 |
| f_clear |
|
4 |
1 |
11 |
| f_load |
|
9 |
2 |
30 |
| f_store |
|
15 |
3 |
55 |
| f_nop |
|
6 |
1 |
18 |
| loadstore |
|
37 |
11 |
189 |
| transfer |
|
76 |
26 |
407 |
| select_reselect |
|
30 |
7 |
145 |
| set_clear |
|
34 |
8 |
142 |
| block_move |
|
32 |
7 |
157 |
| register_write |
|
110 |
45 |
685 |
| memory_to_memory |
|
8 |
1 |
42 |
| error_line |
|
7 |
4 |
34 |
| makefn |
|
15 |
2 |
92 |
| usage |
|
5 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/myx/ethp_z8e.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/myx/eth_z8e.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/myx/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| myx_build_firmware |
|
40 |
9 |
267 |
| main |
|
8 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aicasm_symbol.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| symbol_create |
|
15 |
3 |
92 |
| symbol_delete |
|
44 |
19 |
229 |
| symtable_open |
|
10 |
2 |
42 |
| symtable_close |
|
13 |
3 |
71 |
| symtable_get |
|
31 |
5 |
189 |
| symlist_search |
|
11 |
3 |
62 |
| symlist_add |
|
66 |
25 |
375 |
| symlist_free |
|
11 |
2 |
53 |
| symlist_merge |
|
12 |
2 |
67 |
| aic_print_file_prologue |
|
12 |
2 |
29 |
| aic_print_include |
|
6 |
2 |
29 |
| aic_print_reg_dump_types |
|
14 |
2 |
35 |
| aic_print_reg_dump_start |
|
9 |
2 |
35 |
| aic_print_reg_dump_end |
|
50 |
7 |
195 |
| aic_print_reg_dump_entry |
|
15 |
3 |
96 |
| symtable_dump |
|
187 |
34 |
988 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aicasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
153 |
36 |
765 |
| usage |
|
9 |
1 |
25 |
| back_patch |
|
23 |
4 |
129 |
| output_code |
|
89 |
10 |
442 |
| dump_scope |
|
11 |
2 |
58 |
| emit_patch |
|
22 |
4 |
147 |
| output_listing |
|
91 |
17 |
565 |
| check_patch |
|
22 |
7 |
129 |
| stop |
|
38 |
9 |
183 |
| seq_alloc |
|
11 |
2 |
71 |
| cs_alloc |
|
10 |
2 |
62 |
| scope_alloc |
|
15 |
3 |
98 |
| process_scope |
|
45 |
8 |
222 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aic79xx_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aic79xx_seq.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahd_patch23_func |
|
4 |
1 |
22 |
| ahd_patch22_func |
|
4 |
1 |
22 |
| ahd_patch21_func |
|
4 |
1 |
22 |
| ahd_patch20_func |
|
4 |
1 |
22 |
| ahd_patch19_func |
|
4 |
1 |
22 |
| ahd_patch18_func |
|
4 |
1 |
22 |
| ahd_patch17_func |
|
4 |
1 |
22 |
| ahd_patch16_func |
|
4 |
1 |
22 |
| ahd_patch15_func |
|
4 |
1 |
22 |
| ahd_patch14_func |
|
4 |
1 |
22 |
| ahd_patch13_func |
|
4 |
1 |
22 |
| ahd_patch12_func |
|
4 |
1 |
22 |
| ahd_patch11_func |
|
4 |
1 |
22 |
| ahd_patch10_func |
|
4 |
1 |
22 |
| ahd_patch9_func |
|
4 |
1 |
22 |
| ahd_patch8_func |
|
4 |
1 |
22 |
| ahd_patch7_func |
|
4 |
1 |
22 |
| ahd_patch6_func |
|
4 |
1 |
22 |
| ahd_patch5_func |
|
4 |
1 |
22 |
| ahd_patch4_func |
|
4 |
1 |
22 |
| ahd_patch3_func |
|
4 |
1 |
22 |
| ahd_patch2_func |
|
4 |
1 |
22 |
| ahd_patch1_func |
|
4 |
1 |
22 |
| ahd_patch0_func |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aic7xxx_seq.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_patch23_func |
|
4 |
1 |
22 |
| ahc_patch22_func |
|
4 |
1 |
22 |
| ahc_patch21_func |
|
4 |
1 |
22 |
| ahc_patch20_func |
|
4 |
1 |
22 |
| ahc_patch19_func |
|
4 |
1 |
22 |
| ahc_patch18_func |
|
4 |
1 |
22 |
| ahc_patch17_func |
|
4 |
1 |
22 |
| ahc_patch16_func |
|
4 |
1 |
22 |
| ahc_patch15_func |
|
4 |
1 |
22 |
| ahc_patch14_func |
|
4 |
2 |
28 |
| ahc_patch13_func |
|
4 |
1 |
22 |
| ahc_patch12_func |
|
4 |
1 |
22 |
| ahc_patch11_func |
|
4 |
1 |
22 |
| ahc_patch10_func |
|
4 |
1 |
22 |
| ahc_patch9_func |
|
4 |
1 |
22 |
| ahc_patch8_func |
|
4 |
1 |
22 |
| ahc_patch7_func |
|
4 |
1 |
22 |
| ahc_patch6_func |
|
4 |
1 |
22 |
| ahc_patch5_func |
|
4 |
1 |
22 |
| ahc_patch4_func |
|
4 |
1 |
22 |
| ahc_patch3_func |
|
4 |
1 |
22 |
| ahc_patch2_func |
|
4 |
1 |
22 |
| ahc_patch1_func |
|
4 |
1 |
22 |
| ahc_patch0_func |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aicasm_insformat.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aic7xxx_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aicasm_symbol.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/aic7xxx/aicasm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/esa/esadsp.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/tusb3410/tusb3410.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/tusb3410/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
13 |
3 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/ral/microcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/ral/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| output |
|
15 |
4 |
110 |
| main |
|
8 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/cyclades/cyzfirm2h.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
59 |
13 |
374 |
| usage |
|
6 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/cyclades/cyzfirm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/typhoon/3c990img.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/typhoon/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fullwrite |
|
9 |
3 |
56 |
| main |
|
16 |
4 |
112 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/ncr53cxxx/ncr53cxxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
99 |
33 |
623 |
| emit_symbols |
|
31 |
12 |
212 |
| list_symbols |
|
11 |
4 |
73 |
| errout |
|
5 |
1 |
21 |
| parse |
|
39 |
26 |
266 |
| process |
|
28 |
7 |
176 |
| define_symbol |
|
39 |
8 |
261 |
| close_script |
|
22 |
7 |
155 |
| new_script |
|
7 |
1 |
38 |
| reserved |
|
6 |
3 |
46 |
| CheckPhase |
|
11 |
3 |
56 |
| CheckRegister |
|
18 |
7 |
97 |
| expression |
|
17 |
4 |
94 |
| evaluate |
|
15 |
4 |
75 |
| number |
|
41 |
15 |
183 |
| lookup |
|
36 |
6 |
274 |
| f_arch |
|
12 |
3 |
56 |
| f_proc |
|
7 |
3 |
44 |
| f_pass |
|
4 |
1 |
11 |
| f_list |
|
21 |
7 |
127 |
| f_define |
|
23 |
5 |
124 |
| store_inst |
|
24 |
6 |
137 |
| f_move |
|
10 |
4 |
53 |
| f_jump |
|
4 |
1 |
13 |
| f_call |
|
4 |
1 |
13 |
| f_return |
|
4 |
1 |
13 |
| f_int |
|
4 |
1 |
13 |
| f_select |
|
9 |
2 |
34 |
| f_reselect |
|
4 |
1 |
11 |
| f_wait |
|
25 |
5 |
111 |
| f_disconnect |
|
5 |
1 |
14 |
| f_set |
|
4 |
1 |
11 |
| f_clear |
|
4 |
1 |
11 |
| transfer |
|
66 |
22 |
365 |
| select_reselect |
|
21 |
4 |
111 |
| set_clear |
|
30 |
7 |
124 |
| block_move |
|
29 |
6 |
145 |
| register_write |
|
67 |
25 |
462 |
| memory_to_memory |
|
6 |
1 |
34 |
| error_line |
|
7 |
4 |
34 |
| makefn |
|
15 |
2 |
92 |
| usage |
|
5 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/bnx/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hswapn |
|
7 |
2 |
34 |
| write_firmware |
|
35 |
7 |
263 |
| main |
|
149 |
1 |
1301 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/bnx/bnxfw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/zydas/microcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/zydas/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| output |
|
15 |
4 |
110 |
| main |
|
6 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/kue/kue_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/kue/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
35 |
4 |
290 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/neomagic/neo-coeff.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/neomagic/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
21 |
4 |
147 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/yds/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hswapn |
|
7 |
2 |
34 |
| main |
|
40 |
4 |
361 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/yds/yds_hwmcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/symbol/spectrum24t_cf.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/ises/ises_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/rum/microcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/rum/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| output |
|
15 |
4 |
110 |
| main |
|
7 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/cirruslogic/cs4280_image.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/cirruslogic/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
16 |
4 |
113 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/udl/udl_huffman.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/udl/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
19 |
5 |
141 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/tigon/ti_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/tigon/ti_fw2.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/tigon/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| output |
|
58 |
5 |
453 |
| main |
|
26 |
1 |
112 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_2400.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_1080.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_1040.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_2300.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_12160.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_sbus.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_2100.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_2500.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/isp/asm_2200.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/tht/microcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/tht/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
18 |
5 |
150 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/adw/adwmcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/adw/adwmcode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| AdwInitCarriers |
|
18 |
2 |
115 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/adw/advmcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/adw/advmcode.c |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/afb/microcode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/afb/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
16 |
4 |
111 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/fxp/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| output |
|
20 |
5 |
160 |
| main |
|
11 |
1 |
88 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/fxp/rcvbundl.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_at76c503_rfmd_acc_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_at76c503_rfmd2_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_rfmd2958-smc_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_intersil_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_at76c503_i3863_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_at76c505_rfmd.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_rfmd2958_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| output |
|
15 |
4 |
109 |
| main |
|
32 |
1 |
186 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/atmel/atmel_rfmd_fw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/bwi/build/build.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
94 |
19 |
783 |
| Source file: /home/sergeyb/sources/src/sys/dev/microcode/bwi/extract/extract.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
53 |
18 |
553 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ex_look_for_card |
|
13 |
3 |
99 |
| ex_probe |
|
49 |
8 |
391 |
| ex_attach |
|
37 |
4 |
337 |
| ex_init |
|
52 |
3 |
505 |
| ex_start |
|
98 |
20 |
765 |
| ex_stop |
|
15 |
1 |
124 |
| ex_intr |
|
29 |
9 |
180 |
| ex_tx_intr |
|
20 |
4 |
153 |
| ex_rx_intr |
|
72 |
15 |
478 |
| ex_ioctl |
|
38 |
10 |
245 |
| ex_setmulti |
|
65 |
11 |
567 |
| ex_reset |
|
10 |
1 |
55 |
| ex_watchdog |
|
11 |
1 |
74 |
| ex_get_media |
|
15 |
6 |
112 |
| ex_ifmedia_upd |
|
7 |
2 |
41 |
| ex_ifmedia_sts |
|
6 |
1 |
40 |
| ex_eeprom_read |
|
33 |
5 |
252 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/viasioreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ec_probe |
|
65 |
22 |
450 |
| ec_attach |
|
127 |
19 |
901 |
| ec_fake_test_mem |
|
4 |
1 |
14 |
| ec_test_mem |
|
28 |
7 |
180 |
| ec_readmem |
|
12 |
3 |
86 |
| ec_write_mbuf |
|
66 |
17 |
435 |
| ec_ring_copy |
|
15 |
2 |
96 |
| ec_read_hdr |
|
8 |
2 |
59 |
| ec_media_init |
|
7 |
1 |
67 |
| ec_mediachange |
|
6 |
1 |
43 |
| ec_mediastatus |
|
5 |
1 |
34 |
| ec_init_card |
|
6 |
1 |
45 |
| ec_set_media |
|
18 |
4 |
83 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isadmareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_le.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_isa_wrcsr |
|
8 |
1 |
67 |
| le_isa_rdcsr |
|
10 |
1 |
72 |
| le_isa_intredge |
|
8 |
4 |
41 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isapnpdebug.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isapnp_print_mem |
|
29 |
10 |
162 |
| isapnp_print_io |
|
9 |
2 |
59 |
| isapnp_print_irq |
|
19 |
7 |
119 |
| isapnp_print_drq |
|
47 |
15 |
221 |
| isapnp_print_dep_start |
|
26 |
6 |
89 |
| isapnp_print_attach |
|
18 |
6 |
185 |
| isapnp_get_config |
|
107 |
16 |
773 |
| isapnp_print_config |
|
33 |
11 |
264 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isamatch |
|
10 |
2 |
61 |
| isaattach |
|
27 |
9 |
231 |
| isaprint |
|
34 |
14 |
256 |
| isascan |
|
85 |
27 |
628 |
| isa_intr_typename |
|
16 |
5 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/fdreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/addcom_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| addcomprobe |
|
37 |
11 |
226 |
| addcomprint |
|
10 |
2 |
49 |
| addcomattach |
|
52 |
10 |
338 |
| addcomintr |
|
15 |
5 |
85 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/elink.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/elink.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| elink_reset |
|
21 |
4 |
137 |
| elink_idseq |
|
14 |
3 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ie.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ie_setup_config |
|
17 |
1 |
98 |
| ie_ack |
|
10 |
2 |
52 |
| ieprobe |
|
14 |
4 |
75 |
| sl_probe |
|
47 |
10 |
262 |
| el_probe |
|
79 |
12 |
556 |
| ee16_probe |
|
114 |
22 |
840 |
| ieattach |
|
22 |
1 |
167 |
| iewatchdog |
|
8 |
1 |
47 |
| ieintr |
|
45 |
19 |
287 |
| ierint |
|
33 |
7 |
218 |
| ietint |
|
39 |
12 |
280 |
| ether_equal |
|
8 |
7 |
83 |
| check_eh |
|
35 |
14 |
205 |
| ie_buflen |
|
7 |
1 |
38 |
| ie_packet_len |
|
15 |
3 |
92 |
| iexmit |
|
20 |
3 |
198 |
| ieget |
|
71 |
13 |
424 |
| ie_readframe |
|
27 |
5 |
207 |
| ie_drop_packet_buffer |
|
20 |
4 |
161 |
| iestart |
|
47 |
16 |
329 |
| check_ie_present |
|
50 |
3 |
374 |
| ie_find_mem_size |
|
10 |
3 |
51 |
| el_reset_586 |
|
8 |
1 |
39 |
| sl_reset_586 |
|
5 |
1 |
20 |
| ee16_reset_586 |
|
8 |
1 |
39 |
| el_chan_attn |
|
5 |
1 |
20 |
| sl_chan_attn |
|
5 |
1 |
20 |
| ee16_chan_attn |
|
5 |
1 |
20 |
| ee16_read_eeprom |
|
19 |
1 |
117 |
| ee16_eeprom_outbits |
|
21 |
3 |
122 |
| ee16_eeprom_inbits |
|
17 |
3 |
97 |
| ee16_eeprom_clock |
|
13 |
2 |
60 |
| ee16_interrupt_enable |
|
7 |
1 |
34 |
| slel_get_address |
|
8 |
2 |
49 |
| iereset |
|
12 |
3 |
85 |
| command_and_wait |
|
23 |
6 |
131 |
| run_tdr |
|
32 |
8 |
209 |
| iememinit |
|
36 |
7 |
412 |
| mc_setup |
|
20 |
3 |
144 |
| ieinit |
|
57 |
6 |
384 |
| iestop |
|
5 |
1 |
22 |
| ieioctl |
|
42 |
11 |
235 |
| mc_reset |
|
26 |
4 |
156 |
| print_rbd |
|
8 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isagpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isagpio_match |
|
15 |
3 |
107 |
| isagpio_attach |
|
29 |
3 |
224 |
| isagpio_pin_read |
|
7 |
1 |
48 |
| isagpio_pin_write |
|
9 |
3 |
71 |
| isagpio_pin_ctl |
|
3 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isapnpreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/viasio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| viasio_conf_enable |
|
5 |
1 |
32 |
| viasio_conf_disable |
|
4 |
1 |
21 |
| viasio_conf_read |
|
5 |
1 |
36 |
| viasio_conf_write |
|
6 |
1 |
38 |
| viasio_raw2temp |
|
22 |
6 |
169 |
| viasio_probe |
|
24 |
3 |
163 |
| viasio_attach |
|
19 |
2 |
142 |
| viasio_activate |
|
9 |
2 |
33 |
| viasio_hm_init |
|
87 |
11 |
682 |
| viasio_hm_refresh |
|
80 |
8 |
630 |
| viasio_wdg_init |
|
37 |
5 |
249 |
| viasio_wdg_cb |
|
11 |
2 |
72 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/com_commulti.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_commulti_probe |
|
16 |
5 |
110 |
| com_commulti_attach |
|
14 |
2 |
98 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/ad1848.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| if |
|
3 |
1 |
22 |
| ad1848_dump_regs |
|
18 |
4 |
109 |
| ad1848_mapprobe |
|
15 |
5 |
91 |
| ad1848_probe |
|
108 |
31 |
668 |
| ad1848_unmap |
|
4 |
1 |
22 |
| ad1848_attach |
|
69 |
20 |
524 |
| ad1848_mute_channel |
|
31 |
8 |
228 |
| ad1848_set_channel_gain |
|
24 |
3 |
193 |
| ad1848_get_device_gain |
|
6 |
1 |
30 |
| ad1848_get_rec_gain |
|
5 |
1 |
24 |
| ad1848_set_rec_gain |
|
15 |
1 |
124 |
| ad1848_mute_monitor |
|
15 |
8 |
106 |
| ad1848_set_mic_gain |
|
17 |
2 |
98 |
| ad1848_get_mic_gain |
|
8 |
2 |
44 |
| ad1848_mixer_find_dev |
|
10 |
3 |
58 |
| ad1848_mixer_get_port |
|
58 |
20 |
313 |
| ad1848_mixer_set_port |
|
55 |
17 |
314 |
| ad1848_set_params |
|
72 |
20 |
353 |
| ad1848_set_rec_port |
|
23 |
6 |
148 |
| ad1848_get_rec_port |
|
4 |
1 |
14 |
| ad1848_round_blocksize |
|
5 |
1 |
25 |
| ad1848_open |
|
13 |
3 |
84 |
| ad1848_close |
|
21 |
3 |
138 |
| ad1848_commit_settings |
|
36 |
9 |
235 |
| ad1848_reset |
|
13 |
4 |
82 |
| ad1848_set_speed |
|
51 |
9 |
431 |
| ad1848_halt_output |
|
15 |
2 |
89 |
| ad1848_halt_input |
|
15 |
2 |
89 |
| ad1848_trigger_input |
|
31 |
5 |
259 |
| ad1848_trigger_output |
|
22 |
3 |
194 |
| ad1848_intr |
|
38 |
13 |
251 |
| ad1848_malloc |
|
10 |
2 |
65 |
| ad1848_free |
|
4 |
1 |
22 |
| ad1848_round |
|
6 |
2 |
27 |
| ad1848_get_props |
|
6 |
2 |
30 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/cs4231var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/uguru.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uguru_match |
|
32 |
7 |
237 |
| uguru_attach |
|
146 |
37 |
780 |
| uguru_refresh |
|
7 |
2 |
52 |
| uguru_refresh_temp |
|
23 |
5 |
143 |
| uguru_refresh_volt |
|
13 |
4 |
98 |
| uguru_refresh_fan |
|
20 |
4 |
121 |
| uguru_read_sensor |
|
28 |
7 |
247 |
| uguru_ac5_read_sensor |
|
11 |
2 |
77 |
| uguru_ac5_read |
|
14 |
3 |
112 |
| uguru_write_multi |
|
22 |
5 |
139 |
| uguru_read_multi |
|
18 |
4 |
105 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sbmatch |
|
81 |
20 |
592 |
| sbattach |
|
24 |
6 |
174 |
| sb_mpu401_output |
|
6 |
1 |
26 |
| sb_mpu401_close |
|
5 |
1 |
18 |
| sb_mpu401_getinfo |
|
7 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/fdc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdcprobe |
|
29 |
4 |
191 |
| fdcattach |
|
23 |
3 |
177 |
| fdc_create_kthread |
|
8 |
2 |
43 |
| fdcattach_deferred |
|
22 |
7 |
155 |
| fddprint |
|
7 |
2 |
38 |
| fdcresult |
|
23 |
5 |
137 |
| out_fdc |
|
12 |
7 |
96 |
| fdcstart |
|
8 |
3 |
34 |
| fdcstatus |
|
30 |
6 |
182 |
| fdcpseudointr |
|
7 |
1 |
30 |
| fdcintr |
|
8 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/essreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/lm78_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lm_wbsio_match |
|
35 |
3 |
282 |
| lm_isa_match |
|
48 |
12 |
351 |
| lm_isa_attach |
|
33 |
9 |
239 |
| lm_isa_remove_alias |
|
12 |
3 |
90 |
| lm_isa_readreg |
|
6 |
1 |
55 |
| lm_isa_writereg |
|
6 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/hsq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hsqprobe |
|
36 |
10 |
203 |
| hsqprint |
|
10 |
2 |
49 |
| hsqattach |
|
27 |
4 |
239 |
| hsqintr |
|
20 |
4 |
110 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ne_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ne_isapnp_match |
|
4 |
1 |
22 |
| ne_isapnp_attach |
|
57 |
7 |
331 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/ad1848var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ad1848_to_vol |
|
15 |
3 |
110 |
| ad1848_from_vol |
|
15 |
3 |
106 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/com_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_isapnp_probe |
|
13 |
3 |
73 |
| com_isapnp_attach |
|
25 |
2 |
148 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/boca.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bocaprobe |
|
36 |
10 |
203 |
| bocaprint |
|
10 |
2 |
49 |
| bocaattach |
|
29 |
5 |
246 |
| bocaintr |
|
24 |
4 |
139 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/wds.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wds_wait |
|
6 |
2 |
37 |
| wds_cmd |
|
15 |
3 |
102 |
| wdsprobe |
|
16 |
3 |
102 |
| wdsprint |
|
6 |
2 |
29 |
| wdsattach |
|
32 |
4 |
272 |
| wds_finish_scbs |
|
43 |
9 |
266 |
| wdsintr |
|
24 |
4 |
122 |
| wds_reset_scb |
|
4 |
1 |
20 |
| wds_scb_free |
|
13 |
2 |
84 |
| wds_free_buf |
|
10 |
2 |
61 |
| wds_init_scb |
|
10 |
1 |
73 |
| wds_scb_alloc |
|
13 |
2 |
75 |
| wds_get_buf |
|
20 |
4 |
102 |
| wds_scb_phys_kv |
|
13 |
4 |
75 |
| wds_queue_scb |
|
5 |
1 |
31 |
| wds_collect_mbo |
|
15 |
5 |
85 |
| wds_start_scbs |
|
32 |
7 |
233 |
| wds_done |
|
60 |
22 |
316 |
| wds_find |
|
53 |
13 |
383 |
| wds_init |
|
33 |
3 |
264 |
| wds_inquire_setup_information |
|
34 |
5 |
251 |
| wdsminphys |
|
6 |
2 |
51 |
| wds_scsi_cmd |
|
112 |
20 |
800 |
| wds_sense |
|
24 |
4 |
210 |
| wds_poll |
|
18 |
4 |
93 |
| wds_ipoll |
|
18 |
4 |
93 |
| wds_timeout |
|
27 |
4 |
146 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/lpt_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lpt_isa_probe |
|
46 |
14 |
333 |
| lpt_isa_attach |
|
20 |
4 |
146 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pcppi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcppi_match |
|
44 |
14 |
321 |
| pcppi_attach |
|
21 |
6 |
161 |
| pcppi_bell |
|
51 |
10 |
318 |
| pcppi_bell_stop |
|
15 |
2 |
82 |
| pcppi_kbd_bell |
|
8 |
3 |
53 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/i82365_isavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_le_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_isa_probe |
|
17 |
7 |
137 |
| depca_isa_probe |
|
72 |
25 |
635 |
| ne2100_isa_probe |
|
24 |
4 |
182 |
| bicc_isa_probe |
|
24 |
4 |
180 |
| lance_isa_probe |
|
9 |
2 |
51 |
| le_isa_attach |
|
61 |
11 |
428 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/wdc_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_isa_probe |
|
28 |
5 |
201 |
| wdc_isa_attach |
|
50 |
7 |
416 |
| wdc_isa_dma_setup |
|
9 |
2 |
55 |
| wdc_isa_dma_init |
|
9 |
2 |
61 |
| wdc_isa_dma_start |
|
3 |
1 |
14 |
| wdc_isa_dma_finish |
|
6 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isapnp_init |
|
12 |
2 |
62 |
| isapnp_shift_bit |
|
13 |
3 |
57 |
| isapnp_findcard |
|
37 |
6 |
249 |
| isapnp_free_region |
|
9 |
2 |
45 |
| isapnp_alloc_region |
|
16 |
4 |
100 |
| isapnp_alloc_irq |
|
16 |
4 |
88 |
| isapnp_alloc_drq |
|
16 |
6 |
89 |
| isapnp_testconfig |
|
44 |
16 |
327 |
| isapnp_config |
|
6 |
1 |
32 |
| isapnp_unconfig |
|
12 |
4 |
107 |
| isapnp_bestconfig |
|
61 |
17 |
345 |
| isapnp_id_to_vendor |
|
16 |
1 |
165 |
| isapnp_print_region |
|
17 |
5 |
96 |
| isapnp_print_pin |
|
15 |
4 |
81 |
| isapnp_print |
|
18 |
3 |
134 |
| isapnp_com_submatch |
|
19 |
8 |
145 |
| isapnp_submatch |
|
25 |
7 |
197 |
| isapnp_find |
|
28 |
7 |
141 |
| isapnp_configure |
|
107 |
15 |
676 |
| isapnp_isa_attach_hook |
|
14 |
2 |
75 |
| isapnp_match |
|
22 |
3 |
126 |
| isapnp_attach |
|
66 |
12 |
461 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pnpdevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isadma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isadmamatch |
|
8 |
1 |
40 |
| isadmaattach |
|
16 |
5 |
119 |
| isa_dmaunmask |
|
12 |
2 |
68 |
| isa_dmamask |
|
17 |
2 |
102 |
| isa_dmacascade |
|
26 |
5 |
160 |
| isa_dmamap_create |
|
28 |
6 |
176 |
| isa_dmamap_destroy |
|
20 |
4 |
113 |
| isa_dmastart |
|
100 |
18 |
735 |
| isa_dmaabort |
|
13 |
3 |
85 |
| isa_dmacount |
|
34 |
5 |
220 |
| isa_dmafinished |
|
17 |
4 |
125 |
| isa_dmadone |
|
21 |
5 |
148 |
| isa_dmamem_alloc |
|
23 |
5 |
154 |
| isa_dmamem_free |
|
16 |
3 |
90 |
| isa_dmamem_map |
|
18 |
3 |
110 |
| isa_dmamem_unmap |
|
13 |
3 |
74 |
| isa_dmamem_mmap |
|
19 |
4 |
124 |
| isa_drq_isfree |
|
11 |
3 |
61 |
| isa_malloc |
|
33 |
5 |
203 |
| isa_free |
|
18 |
4 |
132 |
| isa_mappage |
|
15 |
4 |
93 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/fd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdgetdisklabel |
|
19 |
1 |
171 |
| fdprobe |
|
34 |
10 |
301 |
| fdattach |
|
49 |
11 |
327 |
| fdactivate |
|
21 |
4 |
115 |
| fd_nvtotype |
|
25 |
10 |
122 |
| fd_dev_to_type |
|
7 |
3 |
57 |
| fdstrategy |
|
53 |
13 |
340 |
| fdstart |
|
9 |
2 |
78 |
| fdfinish |
|
18 |
4 |
141 |
| fdread |
|
4 |
1 |
31 |
| fdwrite |
|
4 |
1 |
31 |
| fd_set_motor |
|
17 |
6 |
125 |
| fd_motor_off |
|
9 |
1 |
55 |
| fd_motor_on |
|
12 |
3 |
84 |
| fdopen |
|
35 |
9 |
217 |
| fdclose |
|
18 |
3 |
113 |
| fdsize |
|
4 |
1 |
11 |
| fddump |
|
4 |
1 |
19 |
| fdintr |
|
221 |
54 |
1625 |
| fdtimeout |
|
15 |
3 |
95 |
| fdretry |
|
32 |
7 |
207 |
| fdioctl |
|
62 |
19 |
422 |
| fdformat |
|
23 |
3 |
207 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/itvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/vga_isavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/asmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asmc_match |
|
25 |
10 |
196 |
| asmc_attach |
|
63 |
12 |
566 |
| asmc_detach |
|
22 |
6 |
216 |
| asmc_activate |
|
10 |
2 |
43 |
| asmc_backlight |
|
9 |
2 |
64 |
| asmc_get_backlight |
|
9 |
1 |
51 |
| asmc_set_backlight |
|
10 |
2 |
60 |
| asmc_status |
|
4 |
1 |
23 |
| asmc_wait |
|
11 |
3 |
65 |
| asmc_write |
|
9 |
3 |
61 |
| asmc_read |
|
7 |
2 |
49 |
| asmc_command |
|
25 |
13 |
183 |
| asmc_try |
|
14 |
4 |
103 |
| asmc_uk |
|
4 |
1 |
33 |
| asmc_rpm |
|
4 |
1 |
22 |
| asmc_lux |
|
6 |
2 |
55 |
| asmc_temp |
|
29 |
7 |
290 |
| asmc_fan |
|
32 |
7 |
324 |
| asmc_light |
|
27 |
7 |
235 |
| asmc_motion |
|
21 |
3 |
193 |
| asmc_init |
|
34 |
21 |
353 |
| asmc_update |
|
17 |
12 |
185 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_levar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/tcic2_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcic_isa_probe |
|
36 |
9 |
243 |
| tcic_isa_attach |
|
64 |
9 |
464 |
| tcic_isa_chip_intr_disestablish |
|
14 |
1 |
95 |
| tcic_isa_chip_intr_string |
|
12 |
2 |
74 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/rtreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/ess.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ess_printsc |
|
19 |
4 |
176 |
| ess_dump_mixer |
|
42 |
1 |
284 |
| ess_config_addr |
|
45 |
7 |
224 |
| ess_config_irq |
|
69 |
19 |
291 |
| ess_config_drq |
|
46 |
11 |
182 |
| ess_setup |
|
6 |
1 |
28 |
| ess_identify |
|
80 |
15 |
497 |
| ess_setup_sc |
|
12 |
3 |
61 |
| essmatch |
|
59 |
22 |
408 |
| essattach |
|
100 |
22 |
701 |
| ess_open |
|
11 |
3 |
68 |
| ess_1788_close |
|
10 |
1 |
53 |
| ess_1888_close |
|
11 |
1 |
58 |
| ess_speaker_ctl |
|
13 |
5 |
81 |
| ess_set_params |
|
59 |
20 |
365 |
| ess_audio1_trigger_output |
|
60 |
8 |
422 |
| ess_audio2_trigger_output |
|
55 |
9 |
389 |
| ess_audio1_trigger_input |
|
60 |
8 |
420 |
| ess_audio1_halt |
|
16 |
3 |
97 |
| ess_audio2_halt |
|
17 |
3 |
99 |
| ess_audio1_intr |
|
22 |
3 |
150 |
| ess_audio2_intr |
|
23 |
3 |
142 |
| ess_audio1_poll |
|
23 |
5 |
179 |
| ess_audio2_poll |
|
23 |
5 |
179 |
| ess_round_blocksize |
|
4 |
1 |
23 |
| ess_set_port |
|
108 |
34 |
628 |
| ess_get_port |
|
76 |
28 |
453 |
| ess_query_devinfo |
|
252 |
26 |
2479 |
| ess_malloc |
|
10 |
2 |
75 |
| ess_free |
|
4 |
1 |
22 |
| ess_round_buffersize |
|
6 |
2 |
29 |
| ess_1788_get_props |
|
4 |
1 |
15 |
| ess_1888_get_props |
|
4 |
1 |
17 |
| ess_reset |
|
14 |
2 |
92 |
| ess_set_gain |
|
82 |
23 |
312 |
| ess_set_in_port |
|
18 |
5 |
121 |
| ess_set_in_ports |
|
15 |
3 |
120 |
| ess_speaker_on |
|
4 |
1 |
18 |
| ess_speaker_off |
|
4 |
1 |
18 |
| ess_srtotc |
|
9 |
2 |
38 |
| ess_srtofc |
|
4 |
1 |
16 |
| ess_get_dsp_status |
|
4 |
1 |
25 |
| ess_dsp_read_ready |
|
4 |
2 |
25 |
| ess_dsp_write_ready |
|
4 |
2 |
25 |
| ess_rdsp |
|
16 |
3 |
94 |
| ess_wdsp |
|
16 |
3 |
101 |
| ess_write_x_reg |
|
8 |
2 |
58 |
| ess_read_x_reg |
|
12 |
3 |
78 |
| ess_clear_xreg_bits |
|
6 |
2 |
45 |
| ess_set_xreg_bits |
|
6 |
2 |
45 |
| ess_write_mix_reg |
|
10 |
1 |
76 |
| ess_read_mix_reg |
|
12 |
1 |
79 |
| ess_clear_mreg_bits |
|
4 |
1 |
31 |
| ess_set_mreg_bits |
|
4 |
1 |
31 |
| ess_read_multi_mix_reg |
|
10 |
1 |
69 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ne_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ne_isa_match |
|
33 |
7 |
221 |
| ne_isa_attach |
|
55 |
8 |
332 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/wbsioreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_exreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/mpu_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpu_test |
|
35 |
9 |
210 |
| mpu_isa_match |
|
11 |
2 |
60 |
| mpu_isa_attach |
|
19 |
3 |
125 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/fins.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fins_match |
|
43 |
7 |
330 |
| fins_attach |
|
48 |
10 |
339 |
| fins_activate |
|
9 |
2 |
33 |
| fins_read |
|
5 |
1 |
36 |
| fins_read_2 |
|
8 |
1 |
68 |
| fins_write |
|
5 |
1 |
38 |
| fins_read_sens |
|
4 |
1 |
28 |
| fins_read_sens_2 |
|
4 |
1 |
28 |
| fins_read_wdog |
|
4 |
1 |
28 |
| fins_write_wdog |
|
4 |
1 |
30 |
| fins_unlock |
|
5 |
1 |
32 |
| fins_lock |
|
5 |
1 |
30 |
| fins_setup_sensors |
|
14 |
3 |
139 |
| fins_get_dividers |
|
12 |
4 |
95 |
| fins_refresh |
|
7 |
2 |
52 |
| fins_get_volt |
|
14 |
3 |
95 |
| fins_get_temp |
|
16 |
4 |
114 |
| fins_refresh_offset |
|
10 |
1 |
78 |
| fins_get_rpm |
|
14 |
2 |
89 |
| fins_wdog_cb |
|
20 |
3 |
135 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_le_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_isapnp_match |
|
4 |
1 |
20 |
| le_isapnp_attach |
|
38 |
5 |
305 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sbdspvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sbvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/essvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/ics2101.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ics2101_mix_doit |
|
52 |
13 |
385 |
| ics2101_mix_mute |
|
7 |
2 |
44 |
| ics2101_mix_attenuate |
|
6 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/wbsio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wbsio_conf_enable |
|
5 |
1 |
32 |
| wbsio_conf_disable |
|
4 |
1 |
21 |
| wbsio_conf_read |
|
5 |
1 |
36 |
| wbsio_conf_write |
|
6 |
1 |
38 |
| wbsio_probe |
|
34 |
12 |
191 |
| wbsio_attach |
|
62 |
13 |
368 |
| wbsio_print |
|
11 |
4 |
68 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/vga_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vga_isa_match |
|
17 |
11 |
143 |
| vga_isa_attach |
|
8 |
2 |
57 |
| vga_isa_cnattach |
|
4 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/ess_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ess_isapnp_probe |
|
4 |
1 |
20 |
| ess_isapnp_attach |
|
21 |
2 |
198 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/rtfps.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtfpsprobe |
|
36 |
10 |
203 |
| rtfpsprint |
|
10 |
2 |
49 |
| rtfpsattach |
|
42 |
8 |
361 |
| rtfpsintr |
|
13 |
1 |
69 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/uha_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uha_isa_probe |
|
25 |
7 |
173 |
| uha_isa_attach |
|
30 |
5 |
203 |
| u14_find |
|
74 |
15 |
353 |
| u14_start_mbox |
|
23 |
6 |
157 |
| u14_poll |
|
17 |
4 |
87 |
| u14_intr |
|
29 |
7 |
190 |
| u14_init |
|
11 |
2 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/gus_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gus_isa_match |
|
41 |
16 |
277 |
| gus_isa_attach |
|
25 |
5 |
223 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isapnpres.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isapnp_wait_status |
|
10 |
3 |
49 |
| isapnp_newdev |
|
17 |
3 |
109 |
| isapnp_newconf |
|
22 |
3 |
155 |
| isapnp_merge |
|
14 |
6 |
178 |
| isapnp_flatten |
|
26 |
6 |
162 |
| isapnp_process_tag |
|
152 |
38 |
1204 |
| isapnp_get_resource |
|
71 |
16 |
434 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_we.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| we_probe |
|
5 |
1 |
45 |
| we_match |
|
86 |
25 |
667 |
| we_attach |
|
138 |
34 |
1049 |
| we_test_mem |
|
29 |
7 |
185 |
| we_readmem |
|
13 |
3 |
86 |
| we_write_mbuf |
|
62 |
15 |
395 |
| we_ring_copy |
|
14 |
2 |
96 |
| we_read_hdr |
|
8 |
2 |
59 |
| we_recv_int |
|
7 |
1 |
36 |
| we_media_init |
|
28 |
4 |
201 |
| we_mediachange |
|
5 |
1 |
19 |
| we_mediastatus |
|
5 |
1 |
34 |
| we_params |
|
125 |
35 |
541 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_iee16.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_sm_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sm_isa_match |
|
37 |
8 |
270 |
| sm_isa_attach |
|
22 |
3 |
164 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_egreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pcdisplay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcdisplay_probe_col |
|
18 |
4 |
140 |
| pcdisplay_probe_mono |
|
18 |
4 |
140 |
| pcdisplay_init |
|
28 |
7 |
227 |
| pcdisplay_match |
|
29 |
20 |
218 |
| pcdisplay_attach |
|
33 |
8 |
237 |
| pcdisplay_cnattach |
|
17 |
3 |
92 |
| pcdisplay_is_console |
|
8 |
4 |
32 |
| pcdisplay_ioctl |
|
4 |
1 |
28 |
| pcdisplay_mmap |
|
4 |
1 |
20 |
| pcdisplay_alloc_screen |
|
13 |
2 |
84 |
| pcdisplay_free_screen |
|
7 |
2 |
38 |
| pcdisplay_show_screen |
|
8 |
3 |
58 |
| pcdisplay_alloc_attr |
|
8 |
2 |
47 |
| pcdisplay_unpack_attr |
|
12 |
3 |
69 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sbreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ep_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| epaddcard |
|
11 |
3 |
80 |
| ep_isa_probe |
|
76 |
18 |
557 |
| ep_isa_attach |
|
22 |
3 |
171 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/aic_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aic_isa_probe |
|
19 |
3 |
117 |
| aic_isa_attach |
|
17 |
2 |
130 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/wdc_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_isapnp_match |
|
14 |
6 |
70 |
| wdc_isapnp_attach |
|
37 |
3 |
331 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/gus_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gus_isapnp_match |
|
6 |
1 |
25 |
| gus_isapnp_attach |
|
18 |
1 |
158 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/i82365_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcic_isapnp_match |
|
7 |
1 |
28 |
| pcic_isapnp_attach |
|
83 |
13 |
580 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/com_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_isa_probe |
|
22 |
5 |
129 |
| com_isa_attach |
|
29 |
4 |
178 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/rtvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/mpu401.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpu_find |
|
15 |
3 |
73 |
| mpu_waitready |
|
11 |
3 |
58 |
| mpu_reset |
|
23 |
5 |
133 |
| mpu_close |
|
9 |
1 |
43 |
| mpu_readinput |
|
13 |
3 |
85 |
| mpu_output |
|
16 |
4 |
116 |
| mpu_getinfo |
|
7 |
1 |
29 |
| mpu_intr |
|
14 |
2 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sb_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sb_isa_match |
|
11 |
1 |
87 |
| sbfind |
|
34 |
11 |
241 |
| sb_isa_attach |
|
16 |
3 |
109 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/gscsioreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ecreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/spkr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tone |
|
5 |
1 |
24 |
| rest |
|
7 |
3 |
35 |
| playinit |
|
9 |
1 |
38 |
| playtone |
|
22 |
7 |
172 |
| playstring |
|
122 |
60 |
714 |
| spkrprobe |
|
4 |
1 |
23 |
| spkrattach |
|
6 |
1 |
40 |
| spkropen |
|
14 |
5 |
79 |
| spkrwrite |
|
16 |
4 |
92 |
| spkrclose |
|
12 |
3 |
67 |
| spkrioctl |
|
42 |
13 |
232 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_an_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| an_isapnp_match |
|
4 |
1 |
20 |
| an_isapnp_attach |
|
10 |
1 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pcdisplayvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ieatt.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_wereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/ics2101var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pcppireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pasreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/aic_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aic_isapnp_match |
|
7 |
1 |
34 |
| aic_isapnp_attach |
|
18 |
1 |
143 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_eg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| egprintpcb |
|
6 |
2 |
48 |
| egoutPCB |
|
15 |
3 |
90 |
| egreadPCBstat |
|
15 |
4 |
95 |
| egreadPCBready |
|
14 |
3 |
85 |
| egwritePCB |
|
25 |
5 |
174 |
| egreadPCB |
|
38 |
9 |
309 |
| egprobe |
|
53 |
10 |
378 |
| egattach |
|
60 |
12 |
444 |
| eginit |
|
35 |
7 |
281 |
| egrecv |
|
18 |
3 |
134 |
| egstart |
|
60 |
14 |
448 |
| egintr |
|
70 |
12 |
519 |
| egread |
|
20 |
4 |
118 |
| egget |
|
34 |
7 |
197 |
| egioctl |
|
31 |
8 |
195 |
| egreset |
|
9 |
1 |
40 |
| egwatchdog |
|
7 |
1 |
45 |
| egstop |
|
6 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/skgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| skgpio_match |
|
19 |
7 |
139 |
| skgpio_attach |
|
48 |
5 |
408 |
| skgpio_gpio_read |
|
7 |
2 |
52 |
| skgpio_gpio_write |
|
11 |
3 |
85 |
| skgpio_gpio_ctl |
|
11 |
3 |
84 |
| skgpio_led_read |
|
8 |
2 |
50 |
| skgpio_led_write |
|
6 |
1 |
39 |
| skgpio_led_ctl |
|
3 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ep_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ep_isapnp_match |
|
4 |
1 |
20 |
| ep_isapnp_attach |
|
14 |
1 |
120 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/aps.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aps_do_io |
|
49 |
12 |
360 |
| aps_match |
|
35 |
7 |
247 |
| aps_attach |
|
47 |
3 |
468 |
| aps_init |
|
31 |
13 |
253 |
| aps_read_data |
|
18 |
2 |
186 |
| aps_refresh_sensor_data |
|
32 |
11 |
270 |
| aps_refresh |
|
6 |
1 |
33 |
| aps_activate |
|
21 |
4 |
121 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/i82365_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcic_isa_probe |
|
48 |
12 |
355 |
| pcic_isa_attach |
|
62 |
10 |
430 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pas.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pasconf |
|
49 |
4 |
336 |
| pasprobe |
|
86 |
15 |
540 |
| pasattach |
|
16 |
1 |
149 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/gusreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pcppivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isavar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isapnp_write_reg |
|
5 |
1 |
29 |
| isapnp_read_reg |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/gscsio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| idxread |
|
5 |
1 |
36 |
| idxwrite |
|
5 |
1 |
38 |
| gscsio_probe |
|
23 |
4 |
148 |
| gscsio_attach |
|
64 |
10 |
550 |
| gscsio_acb_init |
|
23 |
1 |
147 |
| gscsio_acb_wait |
|
31 |
7 |
171 |
| gscsio_acb_reset |
|
14 |
1 |
84 |
| gscsio_acb_acquire_bus |
|
7 |
3 |
46 |
| gscsio_acb_release_bus |
|
7 |
3 |
36 |
| gscsio_acb_send_start |
|
10 |
1 |
53 |
| gscsio_acb_send_stop |
|
10 |
1 |
53 |
| gscsio_acb_initiate_xfer |
|
17 |
3 |
110 |
| gscsio_acb_read_byte |
|
16 |
3 |
96 |
| gscsio_acb_write_byte |
|
16 |
3 |
94 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/spkrio.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sch311x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| schsio_config_enable |
|
4 |
1 |
21 |
| schsio_config_disable |
|
4 |
1 |
21 |
| schsio_config_read |
|
6 |
1 |
36 |
| schsio_config_write |
|
6 |
1 |
38 |
| schsio_probe |
|
28 |
5 |
183 |
| schsio_attach |
|
44 |
6 |
280 |
| schsio_activate |
|
9 |
2 |
33 |
| schsio_hwm_init |
|
40 |
6 |
432 |
| schsio_hwm_update |
|
60 |
7 |
532 |
| schsio_hwm_read |
|
5 |
1 |
43 |
| schsio_wdt_init |
|
29 |
4 |
193 |
| schsio_wdt_cb |
|
26 |
4 |
134 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sbdsp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sb_printsc |
|
22 |
2 |
170 |
| sbdsp_probe |
|
17 |
4 |
78 |
| sbdsp_jazz16_probe |
|
54 |
10 |
379 |
| sbdsp_attach |
|
68 |
27 |
396 |
| sbdsp_mix_write |
|
14 |
1 |
79 |
| sbdsp_mix_read |
|
15 |
1 |
80 |
| sbdsp_set_params |
|
168 |
61 |
1022 |
| sbdsp_set_ifilter |
|
23 |
4 |
94 |
| sbdsp_get_ifilter |
|
15 |
3 |
59 |
| sbdsp_set_in_ports |
|
54 |
16 |
297 |
| sbdsp_speaker_ctl |
|
19 |
6 |
94 |
| sbdsp_round_blocksize |
|
6 |
1 |
25 |
| sbdsp_open |
|
20 |
5 |
107 |
| sbdsp_close |
|
14 |
1 |
73 |
| sbdsp_reset |
|
23 |
4 |
151 |
| sbdsp_wdsp |
|
20 |
3 |
106 |
| sbdsp_rdsp |
|
19 |
3 |
97 |
| sbdsp_to |
|
5 |
1 |
15 |
| sbdsp_pause |
|
6 |
1 |
35 |
| sbdsp_spkron |
|
6 |
1 |
26 |
| sbdsp_spkroff |
|
6 |
1 |
26 |
| sbversion |
|
49 |
14 |
269 |
| sbdsp_haltdma |
|
10 |
1 |
46 |
| sbdsp_set_timeconst |
|
10 |
3 |
53 |
| sbdsp16_set_rate |
|
11 |
4 |
71 |
| if |
|
4 |
1 |
26 |
| if |
|
9 |
3 |
52 |
| if |
|
5 |
1 |
32 |
| if |
|
8 |
3 |
61 |
| if |
|
7 |
2 |
44 |
| if |
|
5 |
1 |
33 |
| sbdsp_block_input |
|
44 |
16 |
342 |
| if |
|
4 |
1 |
26 |
| if |
|
9 |
3 |
52 |
| if |
|
5 |
1 |
32 |
| if |
|
8 |
4 |
63 |
| if |
|
7 |
2 |
44 |
| if |
|
5 |
1 |
33 |
| sbdsp_block_output |
|
44 |
16 |
340 |
| sbdsp_intr |
|
41 |
10 |
248 |
| sbdsp_adjust |
|
8 |
2 |
41 |
| sbdsp_set_mixer_gain |
|
101 |
27 |
409 |
| sbdsp_mixer_set_port |
|
169 |
57 |
931 |
| sbdsp_mixer_get_port |
|
89 |
40 |
435 |
| sbdsp_mixer_query_devinfo |
|
283 |
42 |
2546 |
| sb_malloc |
|
15 |
2 |
78 |
| sb_free |
|
7 |
1 |
28 |
| sb_round |
|
9 |
2 |
33 |
| sbdsp_get_props |
|
7 |
2 |
32 |
| sbdsp_midi_close |
|
10 |
2 |
51 |
| sbdsp_midi_output |
|
10 |
3 |
53 |
| sbdsp_midi_getinfo |
|
8 |
2 |
44 |
| sbdsp_midi_intr |
|
7 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ie507.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/sb_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sb_isapnp_match |
|
9 |
2 |
43 |
| sb_isapnp_attach |
|
32 |
7 |
268 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_el.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| elprobe |
|
34 |
7 |
235 |
| elattach |
|
23 |
1 |
184 |
| elreset |
|
10 |
1 |
42 |
| elstop |
|
5 |
1 |
22 |
| el_hardreset |
|
11 |
2 |
73 |
| elinit |
|
20 |
2 |
147 |
| elstart |
|
69 |
14 |
477 |
| el_xmit |
|
17 |
4 |
96 |
| elintr |
|
40 |
7 |
290 |
| elread |
|
22 |
4 |
118 |
| elget |
|
40 |
7 |
230 |
| elioctl |
|
31 |
7 |
170 |
| elwatchdog |
|
8 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/wdsreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/gus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gusopen |
|
30 |
7 |
212 |
| gusmaxopen |
|
5 |
1 |
28 |
| gus_deinterleave |
|
28 |
6 |
245 |
| gusmax_dma_output |
|
6 |
1 |
52 |
| stereo_dmaintr |
|
24 |
3 |
183 |
| gus_dma_output |
|
63 |
15 |
412 |
| gusmax_close |
|
9 |
2 |
50 |
| gusclose |
|
18 |
2 |
95 |
| gusintr |
|
37 |
10 |
220 |
| gus_dmaout_timeout |
|
13 |
2 |
90 |
| gus_dmaout_intr |
|
12 |
2 |
66 |
| gus_dmaout_dointr |
|
89 |
20 |
700 |
| gus_voice_intr |
|
67 |
14 |
435 |
| gus_start_playing |
|
52 |
8 |
514 |
| gus_continue_playing |
|
48 |
8 |
447 |
| gusdmaout |
|
26 |
2 |
216 |
| gus_start_voice |
|
54 |
3 |
512 |
| gus_stop_voice |
|
27 |
2 |
243 |
| gus_set_volume |
|
17 |
2 |
172 |
| gusmax_set_params |
|
12 |
2 |
83 |
| gus_set_params |
|
34 |
7 |
238 |
| gusmax_round_blocksize |
|
6 |
1 |
35 |
| gus_round_blocksize |
|
24 |
7 |
146 |
| gus_get_out_gain |
|
6 |
1 |
33 |
| gus_set_voices |
|
8 |
1 |
58 |
| gusmax_commit_settings |
|
10 |
2 |
47 |
| gus_commit_settings |
|
14 |
1 |
99 |
| gus_set_chan_addrs |
|
16 |
4 |
122 |
| gus_set_samprate |
|
14 |
1 |
134 |
| gus_set_recrate |
|
11 |
2 |
85 |
| gusmax_speaker_ctl |
|
5 |
1 |
28 |
| gus_speaker_ctl |
|
17 |
5 |
116 |
| gus_linein_ctl |
|
17 |
5 |
116 |
| gus_mic_ctl |
|
17 |
5 |
116 |
| gus_set_endaddr |
|
12 |
2 |
106 |
| gus_set_curaddr |
|
13 |
2 |
121 |
| gus_get_curaddr |
|
16 |
2 |
159 |
| convert_to_16bit |
|
9 |
1 |
36 |
| guspoke |
|
9 |
1 |
89 |
| guspeek |
|
8 |
1 |
88 |
| gusreset |
|
80 |
3 |
704 |
| gus_init_cs4231 |
|
33 |
4 |
234 |
| gus_set_in_gain |
|
5 |
1 |
23 |
| gus_get_in_gain |
|
5 |
1 |
17 |
| gusmax_dma_input |
|
6 |
1 |
52 |
| gus_dma_input |
|
34 |
8 |
223 |
| gus_dmain_intr |
|
22 |
2 |
128 |
| gusmax_halt_out_dma |
|
5 |
1 |
23 |
| gusmax_halt_in_dma |
|
5 |
1 |
23 |
| gus_halt_out_dma |
|
24 |
1 |
163 |
| gus_halt_in_dma |
|
19 |
1 |
127 |
| gusmax_mixer_get_port |
|
32 |
8 |
173 |
| gus_mixer_get_port |
|
102 |
36 |
641 |
| gusics_master_mute |
|
5 |
1 |
34 |
| gusics_mic_mute |
|
5 |
1 |
34 |
| gusics_linein_mute |
|
5 |
1 |
34 |
| gusics_cd_mute |
|
5 |
1 |
34 |
| gusics_dac_mute |
|
5 |
1 |
34 |
| gusmax_mixer_set_port |
|
31 |
10 |
178 |
| gus_mixer_set_port |
|
137 |
37 |
659 |
| gus_get_props |
|
6 |
2 |
32 |
| gusmax_get_props |
|
5 |
1 |
23 |
| gusmax_mixer_query_devinfo |
|
187 |
22 |
1549 |
| gus_mixer_query_devinfo |
|
131 |
17 |
1013 |
| gus_malloc |
|
10 |
2 |
65 |
| gus_free |
|
4 |
1 |
22 |
| gus_round |
|
6 |
2 |
27 |
| gus_init_ics2101 |
|
64 |
2 |
252 |
| gus_subattach |
|
119 |
20 |
989 |
| gus_test_iobase |
|
41 |
6 |
311 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/ast.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| astprobe |
|
36 |
10 |
203 |
| astprint |
|
10 |
2 |
49 |
| astattach |
|
29 |
5 |
259 |
| astintr |
|
20 |
4 |
119 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/fdlink.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/nsclpcsio_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nsread |
|
5 |
1 |
36 |
| nswrite |
|
5 |
1 |
38 |
| nsclpcsio_isa_match |
|
23 |
4 |
148 |
| nsclpcsio_isa_attach |
|
61 |
14 |
513 |
| nsclpcsio_refresh |
|
9 |
3 |
56 |
| nsclpcsio_tms_init |
|
21 |
2 |
211 |
| nsclpcsio_tms_update |
|
20 |
3 |
137 |
| nsclpcsio_vlm_init |
|
39 |
10 |
187 |
| nsclpcsio_vlm_update |
|
28 |
6 |
187 |
| nsclpcsio_gpio_pin_select |
|
10 |
1 |
73 |
| nsclpcsio_gpio_init |
|
17 |
3 |
111 |
| nsclpcsio_gpio_pin_read |
|
24 |
5 |
103 |
| nsclpcsio_gpio_pin_write |
|
28 |
7 |
134 |
| nsclpcsio_gpio_pin_ctl |
|
17 |
4 |
122 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_elreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/cy_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cy_isa_probe |
|
24 |
4 |
153 |
| cy_isa_attach |
|
19 |
3 |
147 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/it.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| it_match |
|
45 |
15 |
335 |
| it_attach |
|
61 |
11 |
608 |
| it_activate |
|
9 |
2 |
33 |
| it_readreg |
|
5 |
1 |
36 |
| it_writereg |
|
5 |
1 |
38 |
| it_enter |
|
10 |
2 |
75 |
| it_exit |
|
5 |
1 |
32 |
| it_ec_readreg |
|
5 |
1 |
43 |
| it_ec_writereg |
|
5 |
1 |
45 |
| it_ec_refresh |
|
93 |
29 |
767 |
| it_wdog_cb |
|
36 |
9 |
236 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/madreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/gusvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/i82365_isasubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcic_isa_bus_width_probe |
|
46 |
8 |
315 |
| pcic_isa_chip_intr_disestablish |
|
14 |
1 |
92 |
| pcic_isa_chip_intr_string |
|
12 |
2 |
74 |
| pcic_intr_probe |
|
6 |
1 |
19 |
| pcic_intr_find |
|
53 |
11 |
300 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/isadmavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/mpu_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpu_isapnp_match |
|
9 |
2 |
43 |
| mpu_isapnp_attach |
|
20 |
2 |
178 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/pckbc_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pckbc_isa_match |
|
40 |
12 |
304 |
| pckbc_isa_activate |
|
19 |
3 |
91 |
| pckbc_isa_attach |
|
38 |
6 |
282 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_lc_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lemac_isa_find |
|
53 |
21 |
377 |
| lemac_isa_probe |
|
12 |
1 |
89 |
| lemac_isa_attach |
|
9 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/dev/isa/if_ef_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ef_isapnp_match |
|
6 |
1 |
27 |
| ef_isapnp_attach |
|
63 |
6 |
524 |
| efstart |
|
82 |
18 |
544 |
| efioctl |
|
42 |
11 |
238 |
| efinit |
|
52 |
7 |
435 |
| efreset |
|
9 |
1 |
35 |
| efstop |
|
21 |
1 |
169 |
| efcompletecmd |
|
10 |
2 |
59 |
| efintr |
|
42 |
6 |
246 |
| eftxstat |
|
37 |
10 |
242 |
| efbusyeeprom |
|
19 |
4 |
83 |
| efwatchdog |
|
8 |
1 |
45 |
| efsetmulti |
|
22 |
5 |
134 |
| efread |
|
47 |
14 |
265 |
| efget |
|
51 |
9 |
301 |
| ef_mii_writeb |
|
14 |
2 |
66 |
| ef_mii_sync |
|
7 |
2 |
34 |
| ef_miibus_readreg |
|
47 |
7 |
340 |
| ef_miibus_writereg |
|
25 |
7 |
210 |
| ef_ifmedia_upd |
|
7 |
1 |
33 |
| ef_ifmedia_sts |
|
9 |
1 |
55 |
| ef_miibus_statchg |
|
16 |
2 |
92 |
| ef_tick |
|
10 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/if_ep_eisa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ep_eisa_match |
|
19 |
12 |
140 |
| ep_eisa_attach |
|
77 |
18 |
554 |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/cac_eisa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cac_eisa_match |
|
12 |
3 |
86 |
| cac_eisa_attach |
|
66 |
12 |
373 |
| cac_eisa_l0_fifo_full |
|
5 |
1 |
25 |
| cac_eisa_l0_submit |
|
12 |
1 |
107 |
| cac_eisa_l0_completed |
|
21 |
3 |
150 |
| cac_eisa_l0_intr_pending |
|
5 |
1 |
21 |
| cac_eisa_l0_intr_enable |
|
12 |
2 |
64 |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/eisa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eisamatch |
|
10 |
2 |
61 |
| eisaprint |
|
13 |
2 |
72 |
| eisasubmatch |
|
11 |
3 |
74 |
| eisaattach |
|
68 |
10 |
486 |
| eisa_devinfo |
|
30 |
8 |
186 |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/eisadevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/uha_eisa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uha_eisa_match |
|
17 |
3 |
113 |
| uha_eisa_attach |
|
45 |
7 |
299 |
| u24_find |
|
50 |
11 |
251 |
| u24_start_mbox |
|
24 |
6 |
168 |
| u24_poll |
|
21 |
4 |
103 |
| u24_intr |
|
30 |
7 |
201 |
| u24_init |
|
13 |
2 |
92 |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/eisadevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/eisavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/dpt_eisa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dpt_eisa_irq |
|
20 |
4 |
78 |
| dpt_eisa_match |
|
14 |
3 |
84 |
| dpt_eisa_attach |
|
52 |
9 |
297 |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/eisareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/eisa/ahc_eisa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_eisa_irq |
|
24 |
7 |
108 |
| ahc_eisa_match |
|
21 |
7 |
138 |
| ahc_eisa_attach |
|
133 |
25 |
856 |
| Source file: /home/sergeyb/sources/src/sys/dev/dec/if_le_dec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_le_common_attach |
|
16 |
2 |
105 |
| le_dec_wrcsr |
|
6 |
1 |
51 |
| le_dec_rdcsr |
|
8 |
1 |
56 |
| le_dec_writereg |
|
14 |
3 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/dec/clockvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/dec/mcclockvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/an.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| an_swap16 |
|
5 |
2 |
29 |
| an_attach |
|
128 |
23 |
1013 |
| an_rxeof |
|
106 |
14 |
799 |
| an_txeof |
|
31 |
6 |
219 |
| an_intr |
|
41 |
17 |
279 |
| an_cmd |
|
42 |
11 |
297 |
| an_reset |
|
15 |
3 |
94 |
| an_linkstat_intr |
|
17 |
5 |
102 |
| an_wait |
|
11 |
3 |
74 |
| an_read_bap |
|
18 |
8 |
159 |
| an_write_bap |
|
16 |
6 |
121 |
| an_seek_bap |
|
27 |
5 |
155 |
| an_mwrite_bap |
|
32 |
9 |
264 |
| an_alloc_nicmem |
|
21 |
5 |
127 |
| an_read_rid |
|
13 |
3 |
101 |
| an_write_rid |
|
13 |
3 |
94 |
| an_ioctl |
|
45 |
14 |
245 |
| an_init |
|
122 |
20 |
906 |
| an_start |
|
114 |
21 |
846 |
| an_stop |
|
27 |
6 |
187 |
| an_watchdog |
|
16 |
4 |
78 |
| an_media_change |
|
49 |
13 |
278 |
| an_media_status |
|
39 |
9 |
224 |
| an_set_nwkey |
|
29 |
8 |
145 |
| an_set_nwkey_wep |
|
96 |
29 |
721 |
| an_get_nwkey |
|
34 |
11 |
256 |
| an_write_wepkey |
|
31 |
6 |
291 |
| an_newstate |
|
48 |
6 |
360 |
| an_detach |
|
15 |
2 |
83 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic7xxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_restart |
|
30 |
3 |
244 |
| ahc_run_qoutfifo |
|
47 |
6 |
288 |
| ahc_run_untagged_queues |
|
6 |
2 |
38 |
| ahc_run_untagged_queue |
|
11 |
4 |
67 |
| ahc_handle_brkadrint |
|
19 |
4 |
120 |
| ahc_handle_seqint |
|
409 |
58 |
2336 |
| ahc_handle_scsiint |
|
289 |
60 |
1793 |
| ahc_force_renegotiation |
|
12 |
1 |
59 |
| ahc_clear_critical_section |
|
58 |
13 |
354 |
| ahc_clear_intstat |
|
11 |
1 |
67 |
| ahc_print_scb |
|
29 |
4 |
194 |
| ahc_alloc_tstate |
|
31 |
7 |
248 |
| ahc_free_tstate |
|
14 |
8 |
100 |
| ahc_devlimited_syncrate |
|
36 |
8 |
223 |
| ahc_find_syncrate |
|
33 |
14 |
209 |
| ahc_find_period |
|
21 |
7 |
133 |
| ahc_validate_offset |
|
24 |
6 |
135 |
| ahc_validate_width |
|
20 |
5 |
102 |
| ahc_update_neg_request |
|
25 |
11 |
188 |
| ahc_set_syncrate |
|
98 |
21 |
578 |
| ahc_set_width |
|
41 |
9 |
263 |
| ahc_set_tags |
|
7 |
1 |
48 |
| ahc_update_pending_scbs |
|
62 |
9 |
389 |
| ahc_fetch_devinfo |
|
26 |
6 |
166 |
| ahc_lookup_phase_entry |
|
11 |
3 |
55 |
| ahc_compile_devinfo |
|
13 |
2 |
85 |
| ahc_print_devinfo |
|
5 |
1 |
36 |
| ahc_scb_devinfo |
|
12 |
2 |
84 |
| ahc_assert_atn |
|
8 |
2 |
46 |
| ahc_setup_initiator_msgout |
|
52 |
10 |
438 |
| ahc_build_transfer_msg |
|
55 |
17 |
365 |
| ahc_construct_sdtr |
|
17 |
3 |
128 |
| ahc_construct_wdtr |
|
14 |
2 |
101 |
| ahc_construct_ppr |
|
22 |
3 |
175 |
| ahc_clear_msg_state |
|
12 |
2 |
78 |
| ahc_handle_proto_violation |
|
63 |
8 |
377 |
| ahc_handle_message_phase |
|
183 |
45 |
1007 |
| ahc_sent_msg |
|
34 |
14 |
196 |
| ahc_parse_msg |
|
302 |
53 |
1463 |
| ahc_handle_msg_reject |
|
99 |
10 |
652 |
| ahc_handle_ign_wide_residue |
|
47 |
8 |
304 |
| ahc_reinitialize_dataptrs |
|
44 |
3 |
381 |
| ahc_handle_devreset |
|
34 |
9 |
229 |
| ahc_setup_target_msgin |
|
12 |
3 |
72 |
| ahc_softc_init |
|
15 |
4 |
100 |
| ahc_softc_insert |
|
41 |
10 |
228 |
| ahc_set_unit |
|
4 |
1 |
18 |
| ahc_set_name |
|
6 |
2 |
38 |
| ahc_free |
|
40 |
12 |
243 |
| ahc_shutdown |
|
12 |
2 |
81 |
| ahc_reset |
|
55 |
12 |
343 |
| ahc_probe_scbs |
|
13 |
4 |
85 |
| ahc_dmamap_cb |
|
6 |
1 |
37 |
| ahc_build_free_scb_list |
|
29 |
6 |
214 |
| ahc_init_scbdata |
|
53 |
9 |
377 |
| ahc_fini_scbdata |
|
37 |
10 |
220 |
| ahc_alloc_scbs |
|
62 |
8 |
436 |
| ahc_controller_info |
|
38 |
7 |
264 |
| ahc_chip_init |
|
116 |
23 |
1081 |
| ahc_init |
|
207 |
57 |
1488 |
| ahc_intr_enable |
|
14 |
2 |
71 |
| ahc_index_busy_tcl |
|
16 |
2 |
105 |
| ahc_unbusy_tcl |
|
14 |
2 |
97 |
| ahc_busy_tcl |
|
14 |
2 |
100 |
| ahc_match_scb |
|
31 |
16 |
251 |
| ahc_freeze_devq |
|
13 |
1 |
74 |
| ahc_qinfifo_requeue_tail |
|
18 |
3 |
114 |
| ahc_qinfifo_requeue |
|
18 |
2 |
134 |
| ahc_qinfifo_count |
|
12 |
2 |
70 |
| ahc_search_qinfifo |
|
148 |
28 |
872 |
| ahc_search_untagged_queues |
|
66 |
17 |
340 |
| ahc_search_disc_list |
|
54 |
9 |
273 |
| ahc_rem_scb_from_disc_list |
|
14 |
2 |
91 |
| ahc_add_curscb_to_free_list |
|
8 |
2 |
60 |
| ahc_rem_wscb |
|
18 |
2 |
129 |
| ahc_abort_scbs |
|
83 |
20 |
544 |
| ahc_reset_current_bus |
|
12 |
1 |
90 |
| ahc_reset_channel |
|
94 |
22 |
589 |
| ahc_calc_residual |
|
42 |
11 |
277 |
| ahc_queue_lstate_event |
|
35 |
7 |
233 |
| ahc_send_lstate_events |
|
28 |
4 |
186 |
| ahc_dumpseq |
|
15 |
2 |
113 |
| ahc_loadseq |
|
82 |
15 |
555 |
| ahc_check_patch |
|
22 |
5 |
133 |
| ahc_download_instr |
|
97 |
27 |
524 |
| ahc_print_register |
|
38 |
13 |
245 |
| ahc_dump_card_state |
|
170 |
25 |
1381 |
| ahc_find_tmode_devs |
|
28 |
10 |
195 |
| ahc_handle_en_lun |
|
258 |
50 |
1573 |
| ahc_update_scsiid |
|
26 |
6 |
154 |
| ahc_run_tqinfifo |
|
35 |
9 |
222 |
| ahc_handle_target_cmd |
|
77 |
17 |
459 |
| ahc_createdmamem |
|
41 |
5 |
292 |
| ahc_freedmamem |
|
8 |
1 |
55 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic7xxx_seeprom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_check_extport |
|
99 |
26 |
619 |
| ahc_parse_pci_eeprom |
|
85 |
27 |
648 |
| configure_termination |
|
164 |
48 |
860 |
| ahc_new_term_detect |
|
12 |
1 |
82 |
| aic787X_cable_detect |
|
14 |
5 |
108 |
| aic785X_cable_detect |
|
16 |
4 |
126 |
| ahc_acquire_seeprom |
|
17 |
6 |
121 |
| ahc_release_seeprom |
|
4 |
1 |
16 |
| write_brdctl |
|
29 |
6 |
170 |
| read_brdctl |
|
20 |
4 |
112 |
| verify_seeprom_cksum |
|
18 |
4 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ds1286reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5416.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar5416_attach |
|
22 |
2 |
142 |
| ar5416_setup |
|
11 |
4 |
61 |
| ar5416_swap_rom |
|
18 |
4 |
132 |
| ar5416_get_spur_chans |
|
5 |
1 |
34 |
| ar5416_set_synth |
|
48 |
11 |
360 |
| ar5416_init_from_rom |
|
81 |
13 |
715 |
| ar5416_init_calib |
|
25 |
6 |
137 |
| ar5416_get_pdadcs |
|
50 |
9 |
394 |
| ar5416_set_power_calib |
|
83 |
16 |
656 |
| ar5416_set_txpower |
|
108 |
19 |
800 |
| ar5416_spur_mitigate |
|
40 |
6 |
231 |
| ar5416_reverse_bits |
|
8 |
1 |
101 |
| ar5416_get_rf_rev |
|
15 |
3 |
133 |
| ar5416_rw_rfbits |
|
13 |
4 |
110 |
| ar5416_rw_bank6tpc |
|
15 |
2 |
126 |
| ar5416_rf_reset |
|
34 |
6 |
241 |
| ar5416_reset_bb_gain |
|
11 |
3 |
66 |
| ar5416_force_bias |
|
19 |
4 |
132 |
| ar9160_rw_addac |
|
27 |
6 |
202 |
| ar5416_reset_addac |
|
16 |
4 |
129 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lm78var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2661reg.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| RAL_READ |
|
5 |
1 |
39 |
| RAL_READ_REGION_4 |
|
6 |
2 |
46 |
| RAL_WRITE |
|
5 |
1 |
43 |
| RAL_WRITE_1 |
|
5 |
1 |
43 |
| RAL_WRITE_REGION_1 |
|
6 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtsxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ath.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ath_activate |
|
22 |
7 |
118 |
| ath_enable |
|
12 |
4 |
69 |
| ath_disable |
|
8 |
3 |
43 |
| ath_attach |
|
164 |
20 |
1147 |
| ath_detach |
|
22 |
3 |
144 |
| ath_intr |
|
4 |
1 |
19 |
| ath_intr1 |
|
57 |
13 |
368 |
| ath_fatal_proc |
|
9 |
2 |
62 |
| ath_rxorn_proc |
|
9 |
2 |
62 |
| ath_bmiss_proc |
|
11 |
3 |
71 |
| ath_chan2flags |
|
17 |
5 |
69 |
| ath_init |
|
4 |
1 |
22 |
| ath_init1 |
|
58 |
8 |
381 |
| ath_stop |
|
30 |
5 |
182 |
| ath_reset |
|
29 |
5 |
195 |
| ath_start |
|
85 |
16 |
527 |
| ath_media_change |
|
12 |
3 |
59 |
| ath_watchdog |
|
18 |
5 |
102 |
| ath_ioctl |
|
55 |
17 |
307 |
| ath_initkeytable |
|
34 |
9 |
226 |
| ath_mcastfilter_accum |
|
11 |
1 |
115 |
| ath_mcastfilter_compute |
|
18 |
3 |
131 |
| ath_calcrxfilter |
|
16 |
4 |
97 |
| ath_mode_init |
|
13 |
1 |
103 |
| ath_getmbuf |
|
19 |
6 |
116 |
| ath_beacon_alloc |
|
81 |
10 |
503 |
| ath_beacon_proc |
|
25 |
6 |
204 |
| ath_beacon_free |
|
10 |
2 |
58 |
| ath_beacon_config |
|
69 |
13 |
439 |
| ath_desc_alloc |
|
106 |
15 |
878 |
| ath_desc_free |
|
32 |
3 |
255 |
| ath_node_alloc |
|
13 |
3 |
82 |
| ath_node_free |
|
10 |
2 |
69 |
| ath_node_copy |
|
8 |
1 |
72 |
| ath_node_getrssi |
|
25 |
6 |
154 |
| ath_rxbuf_init |
|
46 |
6 |
289 |
| ath_rx_proc |
|
126 |
26 |
927 |
| ath_tx_start |
|
263 |
47 |
1859 |
| ath_tx_proc |
|
70 |
13 |
480 |
| ath_draintxq |
|
50 |
8 |
338 |
| ath_stoprecv |
|
19 |
4 |
129 |
| ath_startrecv |
|
21 |
2 |
113 |
| ath_chan_set |
|
43 |
6 |
291 |
| ath_next_scan |
|
11 |
2 |
62 |
| ath_set_slot_time |
|
8 |
2 |
51 |
| ath_calibrate |
|
28 |
3 |
177 |
| ath_ledstate |
|
28 |
7 |
115 |
| ath_newstate |
|
79 |
19 |
531 |
| ath_recv_mgmt |
|
21 |
6 |
133 |
| ath_newassoc |
|
5 |
2 |
27 |
| ath_getchannels |
|
51 |
7 |
356 |
| ath_rate_setup |
|
39 |
7 |
233 |
| ath_setcurmode |
|
21 |
4 |
203 |
| ath_rssadapt_updatenode |
|
5 |
1 |
31 |
| ath_rssadapt_updatestats |
|
11 |
2 |
71 |
| ath_printrxbuf |
|
13 |
4 |
115 |
| ath_printtxbuf |
|
14 |
4 |
130 |
| ath_gpio_attach |
|
34 |
10 |
252 |
| ath_gpio_pin_read |
|
6 |
2 |
41 |
| ath_gpio_pin_write |
|
6 |
2 |
43 |
| ath_gpio_pin_ctl |
|
10 |
3 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82365var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ncr5380var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/gem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gem_config |
|
173 |
29 |
1238 |
| gem_unconfig |
|
25 |
5 |
211 |
| gem_tick |
|
32 |
1 |
254 |
| gem_bitwait |
|
12 |
4 |
84 |
| gem_reset |
|
14 |
2 |
104 |
| gem_rxdrain |
|
16 |
3 |
107 |
| gem_stop |
|
31 |
4 |
229 |
| gem_reset_rx |
|
16 |
3 |
127 |
| gem_reset_tx |
|
17 |
3 |
127 |
| gem_disable_rx |
|
10 |
1 |
68 |
| gem_disable_tx |
|
10 |
1 |
68 |
| gem_meminit |
|
17 |
3 |
123 |
| gem_ringsize |
|
26 |
10 |
79 |
| gem_init |
|
62 |
4 |
517 |
| gem_init_regs |
|
59 |
5 |
594 |
| gem_rint |
|
54 |
8 |
397 |
| gem_fill_rx_ring |
|
10 |
3 |
60 |
| gem_add_rxbuf |
|
24 |
4 |
180 |
| gem_eint |
|
9 |
3 |
60 |
| gem_pint |
|
11 |
3 |
68 |
| gem_intr |
|
51 |
16 |
367 |
| gem_rx_watchdog |
|
21 |
6 |
140 |
| gem_watchdog |
|
12 |
1 |
90 |
| gem_mifinit |
|
8 |
1 |
55 |
| gem_mii_readreg |
|
21 |
5 |
150 |
| gem_mii_writereg |
|
23 |
5 |
151 |
| gem_mii_statchg |
|
40 |
10 |
276 |
| gem_pcs_readreg |
|
29 |
9 |
135 |
| gem_pcs_writereg |
|
40 |
12 |
206 |
| gem_mediachange |
|
11 |
2 |
68 |
| gem_mediastatus |
|
7 |
1 |
51 |
| gem_ioctl |
|
43 |
14 |
257 |
| gem_iff |
|
40 |
7 |
269 |
| gem_tint |
|
30 |
6 |
192 |
| gem_load_mbuf |
|
18 |
5 |
95 |
| gem_start |
|
69 |
10 |
454 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic79xx_openbsd.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/advlib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| AscInitASC_SOFTC |
|
86 |
9 |
629 |
| AscInitFromEEP |
|
140 |
29 |
1044 |
| AscInitFromASC_SOFTC |
|
47 |
12 |
308 |
| AscInitDriver |
|
18 |
4 |
108 |
| AscFindSignature |
|
11 |
4 |
55 |
| AscInitLram |
|
31 |
3 |
295 |
| AscReInitLram |
|
5 |
1 |
18 |
| AscInitQLinkVar |
|
23 |
2 |
207 |
| AscResetChipAndScsiBus |
|
16 |
2 |
121 |
| AscGetChipBusType |
|
18 |
8 |
100 |
| AscSetBank |
|
20 |
3 |
82 |
| AscStartChip |
|
7 |
2 |
44 |
| AscStopChip |
|
12 |
2 |
86 |
| AscGetChipVersion |
|
7 |
2 |
31 |
| AscSetChipScsiID |
|
11 |
2 |
75 |
| AscGetChipScsiCtrl |
|
8 |
1 |
47 |
| AscSetRunChipSynRegAtID |
|
10 |
2 |
57 |
| AscSetChipSynRegAtID |
|
25 |
5 |
172 |
| AscHostReqRiscHalt |
|
20 |
4 |
110 |
| AscIsChipHalted |
|
7 |
3 |
50 |
| AscSetChipIH |
|
7 |
1 |
42 |
| AscReadLramByte |
|
13 |
2 |
82 |
| AscWriteLramByte |
|
14 |
2 |
89 |
| AscReadLramWord |
|
5 |
1 |
32 |
| AscWriteLramWord |
|
6 |
1 |
34 |
| AscReadLramDWord |
|
8 |
1 |
65 |
| AscWriteLramDWord |
|
7 |
1 |
58 |
| AscMemWordSetLram |
|
8 |
2 |
53 |
| AscMemWordCopyToLram |
|
8 |
2 |
58 |
| AscMemWordCopyFromLram |
|
8 |
2 |
58 |
| AscMemDWordCopyToLram |
|
13 |
2 |
89 |
| AscMemSumLramWord |
|
9 |
2 |
57 |
| AscTestExternalLram |
|
18 |
2 |
106 |
| AscInitMicroCodeVar |
|
33 |
5 |
230 |
| AscLoadMicroCode |
|
16 |
1 |
126 |
| AscGetOnePhyAddr |
|
13 |
3 |
78 |
| AscGetSGList |
|
10 |
1 |
62 |
| AscWriteEEPCmdReg |
|
15 |
4 |
75 |
| AscWriteEEPDataReg |
|
16 |
4 |
75 |
| AscWaitEEPRead |
|
4 |
1 |
11 |
| AscWaitEEPWrite |
|
4 |
1 |
11 |
| AscReadEEPWord |
|
13 |
1 |
69 |
| AscWriteEEPWord |
|
18 |
2 |
109 |
| AscGetEEPConfig |
|
33 |
4 |
183 |
| AscSetEEPConfig |
|
14 |
4 |
68 |
| AscSetEEPConfigOnce |
|
43 |
11 |
275 |
| AscPrintEEPConfig |
|
33 |
2 |
307 |
| AscISR |
|
59 |
13 |
384 |
| AscIsrQDone |
|
103 |
16 |
684 |
| AscIsrChipHalted |
|
113 |
23 |
810 |
| AscWaitTixISRDone |
|
15 |
4 |
78 |
| AscWaitISRDone |
|
7 |
2 |
39 |
| _AscCopyLramScsiDoneQ |
|
20 |
1 |
156 |
| AscGetQDoneInfo |
|
21 |
1 |
193 |
| AscToggleIRQAct |
|
5 |
1 |
28 |
| AscDisableInterrupt |
|
6 |
1 |
35 |
| AscEnableInterrupt |
|
6 |
1 |
33 |
| AscGetChipIRQ |
|
22 |
7 |
134 |
| AscSetChipIRQ |
|
32 |
7 |
209 |
| AscAckInterrupt |
|
24 |
5 |
140 |
| AscGetMaxDmaCount |
|
8 |
3 |
39 |
| AscGetIsaDmaChannel |
|
10 |
3 |
54 |
| AscSetIsaDmaChannel |
|
17 |
4 |
91 |
| AscGetIsaDmaSpeed |
|
9 |
1 |
49 |
| AscSetIsaDmaSpeed |
|
9 |
1 |
54 |
| AscHandleExtMsgIn |
|
79 |
15 |
521 |
| AscMsgOutSDTR |
|
24 |
2 |
161 |
| AscSetChipSDTR |
|
6 |
1 |
40 |
| AscCalSDTRData |
|
10 |
2 |
62 |
| AscGetSynPeriodIndex |
|
18 |
4 |
101 |
| AscExeScsiQueue |
|
131 |
41 |
872 |
| AscSendScsiQueue |
|
28 |
4 |
172 |
| AscPutReadySgListQueue |
|
69 |
7 |
426 |
| AscPutReadyQueue |
|
30 |
4 |
258 |
| AscPutSCSIQ |
|
33 |
1 |
332 |
| AscSgListToQueue |
|
8 |
2 |
46 |
| AscGetNumOfFreeQueue |
|
22 |
6 |
119 |
| AscAllocFreeQueue |
|
13 |
3 |
83 |
| AscAllocMultipleFreeQueue |
|
11 |
3 |
58 |
| AscStopQueueExe |
|
14 |
4 |
80 |
| AscStartQueueExe |
|
5 |
2 |
34 |
| AscCleanUpBusyQueue |
|
14 |
4 |
83 |
| _AscWaitQDone |
|
15 |
4 |
96 |
| AscCleanUpDiscQueue |
|
16 |
4 |
90 |
| AscAbortCCB |
|
23 |
3 |
122 |
| AscRiscHaltedAbortCCB |
|
36 |
6 |
248 |
| AscRiscHaltedAbortTIX |
|
32 |
6 |
221 |
| AscResetDevice |
|
61 |
7 |
404 |
| AscResetBus |
|
29 |
5 |
199 |
| AscSetLibErrorCode |
|
6 |
1 |
31 |
| AscInquiryHandling |
|
35 |
10 |
249 |
| AscTagQueuingSafe |
|
9 |
4 |
56 |
| AscAsyncFix |
|
43 |
19 |
312 |
| AscCompareString |
|
11 |
3 |
69 |
| DvcEnterCritical |
|
6 |
1 |
20 |
| DvcLeaveCritical |
|
4 |
1 |
12 |
| DvcSleepMilliSecond |
|
4 |
1 |
14 |
| DvcDelayMicroSecond |
|
4 |
1 |
12 |
| DvcDelayNanoSecond |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i8237reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/osiopvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6360.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aic_find |
|
23 |
5 |
194 |
| aicattach |
|
19 |
1 |
150 |
| aic_detach |
|
7 |
1 |
46 |
| aic_reset |
|
20 |
1 |
197 |
| aic_scsi_reset |
|
9 |
1 |
55 |
| aic_init |
|
52 |
8 |
380 |
| aic_acb_free |
|
9 |
1 |
60 |
| aic_acb_alloc |
|
13 |
2 |
73 |
| aic_scsi_cmd |
|
38 |
6 |
269 |
| aic_minphys |
|
7 |
2 |
50 |
| aic_poll |
|
19 |
4 |
108 |
| aic_sched_msgout |
|
8 |
2 |
55 |
| aic_setsync |
|
10 |
3 |
80 |
| aic_select |
|
16 |
1 |
144 |
| aic_reselect |
|
50 |
7 |
326 |
| aic_sched |
|
28 |
2 |
205 |
| aic_sense |
|
27 |
4 |
223 |
| aic_done |
|
39 |
11 |
271 |
| aic_dequeue |
|
8 |
2 |
51 |
| aic_msgin |
|
202 |
50 |
1233 |
| aic_msgout |
|
111 |
24 |
714 |
| aic_dataout_pio |
|
96 |
20 |
654 |
| aic_datain_pio |
|
75 |
14 |
513 |
| aicintr |
|
253 |
51 |
1640 |
| aic_abort |
|
14 |
4 |
86 |
| aic_timeout |
|
19 |
2 |
104 |
| aic_show_scsi_cmd |
|
16 |
4 |
104 |
| aic_print_acb |
|
7 |
1 |
46 |
| aic_print_active_acb |
|
14 |
2 |
85 |
| aic_dump6360 |
|
26 |
1 |
192 |
| aic_dump_driver |
|
15 |
2 |
124 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2661var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tc921x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tc921x_encode_freq |
|
7 |
3 |
36 |
| tc921x_decode_freq |
|
3 |
1 |
18 |
| tc921x_read_addr |
|
11 |
1 |
132 |
| tc921x_write_addr |
|
9 |
1 |
131 |
| __tc921x_write_burst |
|
16 |
7 |
192 |
| __tc921x_read_burst |
|
11 |
3 |
113 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mpireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am7990var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ad1848reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/elink3reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6360reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tcic2reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/anvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/apcdmareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5212reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pgtvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pgt_queue_is_rx |
|
6 |
3 |
23 |
| pgt_queue_is_tx |
|
6 |
3 |
23 |
| pgt_queue_is_data |
|
7 |
4 |
27 |
| pgt_queue_is_mgmt |
|
5 |
2 |
19 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9380reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/siop_common.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siop_common_attach |
|
77 |
22 |
590 |
| siop_common_reset |
|
67 |
10 |
626 |
| siop_setuptables |
|
74 |
22 |
634 |
| siop_wdtr_neg |
|
65 |
10 |
482 |
| siop_ppr_neg |
|
97 |
13 |
731 |
| siop_sdtr_neg |
|
114 |
25 |
916 |
| siop_sdtr_msg |
|
13 |
1 |
111 |
| siop_wdtr_msg |
|
12 |
1 |
94 |
| siop_ppr_msg |
|
16 |
1 |
150 |
| siop_minphys |
|
6 |
2 |
33 |
| siop_ma |
|
55 |
14 |
396 |
| siop_sdp |
|
29 |
6 |
201 |
| siop_update_resid |
|
19 |
4 |
128 |
| siop_iwr |
|
30 |
5 |
194 |
| siop_clearfifo |
|
20 |
4 |
126 |
| siop_modechange |
|
44 |
6 |
257 |
| siop_resetbus |
|
10 |
1 |
66 |
| siop_update_xfer_mode |
|
50 |
15 |
232 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82586reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am7930var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/adv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adv_alloc_ccbs |
|
35 |
5 |
251 |
| adv_create_ccbs |
|
18 |
3 |
105 |
| adv_ccb_free |
|
10 |
1 |
60 |
| adv_reset_ccb |
|
5 |
1 |
16 |
| adv_init_ccb |
|
17 |
2 |
91 |
| adv_ccb_alloc |
|
14 |
2 |
75 |
| adv_queue_ccb |
|
8 |
1 |
47 |
| adv_start_ccbs |
|
22 |
5 |
157 |
| adv_alloc_overrunbuf |
|
42 |
6 |
277 |
| adv_init |
|
60 |
15 |
265 |
| adv_attach |
|
49 |
8 |
296 |
| advminphys |
|
6 |
2 |
49 |
| adv_scsi_cmd |
|
81 |
13 |
649 |
| adv_intr |
|
15 |
5 |
64 |
| adv_poll |
|
17 |
3 |
73 |
| adv_timeout |
|
27 |
3 |
152 |
| adv_watchdog |
|
13 |
1 |
67 |
| adv_narrow_isr_callback |
|
68 |
15 |
391 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/wd33c93.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wd33c93_attach |
|
31 |
6 |
248 |
| wd33c93_init |
|
33 |
7 |
219 |
| wd33c93_reset |
|
72 |
15 |
513 |
| wd33c93_error |
|
9 |
2 |
50 |
| wd33c93_stp2syn |
|
18 |
8 |
152 |
| wd33c93_setsync |
|
10 |
2 |
64 |
| wd33c93_dmaok |
|
7 |
5 |
48 |
| wd33c93_dma_setup |
|
14 |
2 |
85 |
| wd33c93_dma_stop |
|
35 |
7 |
218 |
| wd33c93_scsi_cmd |
|
62 |
17 |
410 |
| wd33c93_sched |
|
104 |
31 |
648 |
| wd33c93_scsidone |
|
46 |
14 |
313 |
| wd33c93_dequeue |
|
23 |
10 |
185 |
| wd33c93_wait |
|
21 |
6 |
108 |
| wd33c93_abort |
|
52 |
9 |
330 |
| wd33c93_selectbus |
|
111 |
21 |
783 |
| wd33c93_xfout |
|
27 |
6 |
206 |
| wd33c93_xfin |
|
30 |
6 |
208 |
| wd33c93_xferdone |
|
27 |
5 |
169 |
| wd33c93_loop |
|
18 |
6 |
114 |
| wd33c93_go |
|
40 |
6 |
273 |
| wd33c93_intr |
|
13 |
2 |
82 |
| wd33c93_poll |
|
35 |
6 |
197 |
| __verify_msg_format |
|
11 |
8 |
74 |
| wd33c93_msgin_phase |
|
29 |
4 |
198 |
| wd33c93_msgin |
|
164 |
34 |
955 |
| wd33c93_sched_msgout |
|
15 |
2 |
87 |
| wd33c93_msgout |
|
77 |
19 |
478 |
| wd33c93_nextstate |
|
164 |
50 |
968 |
| wd33c93_reselect |
|
56 |
11 |
377 |
| wd33c93_timeout |
|
22 |
2 |
152 |
| wd33c93_watchdog |
|
22 |
7 |
157 |
| wd33c93_io_get |
|
4 |
1 |
19 |
| wd33c93_io_put |
|
4 |
1 |
20 |
| wd33c93_hexdump |
|
7 |
2 |
37 |
| wd33c93_print_csr |
|
46 |
13 |
153 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bwireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/m41t8xreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtsxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pcf8584.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcfiic_init |
|
9 |
1 |
65 |
| pcfiic_attach |
|
31 |
3 |
217 |
| pcfiic_intr |
|
4 |
1 |
13 |
| pcfiic_i2c_acquire_bus |
|
7 |
4 |
52 |
| pcfiic_i2c_release_bus |
|
7 |
4 |
42 |
| pcfiic_i2c_exec |
|
22 |
9 |
172 |
| pcfiic_xmit |
|
24 |
6 |
155 |
| pcfiic_recv |
|
28 |
9 |
210 |
| pcfiic_read |
|
6 |
1 |
55 |
| pcfiic_write |
|
7 |
1 |
72 |
| pcfiic_choose_bus |
|
6 |
1 |
44 |
| pcfiic_wait_nBB |
|
10 |
3 |
53 |
| pcfiic_wait_pin |
|
11 |
3 |
68 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/siopvar_common.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lance.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ether_cmp |
|
11 |
2 |
108 |
| lance_config |
|
67 |
11 |
441 |
| lance_reset |
|
7 |
1 |
28 |
| lance_stop |
|
5 |
1 |
35 |
| lance_init |
|
32 |
6 |
275 |
| lance_put |
|
21 |
4 |
133 |
| lance_get |
|
41 |
8 |
245 |
| lance_read |
|
31 |
10 |
211 |
| lance_watchdog |
|
7 |
1 |
41 |
| lance_mediachange |
|
7 |
2 |
42 |
| lance_mediastatus |
|
11 |
4 |
73 |
| lance_ioctl |
|
46 |
13 |
243 |
| lance_setladrf |
|
22 |
4 |
169 |
| lance_copytobuf_contig |
|
5 |
1 |
38 |
| lance_copyfrombuf_contig |
|
5 |
1 |
38 |
| lance_zerobuf_contig |
|
5 |
1 |
34 |
| lance_copytobuf_gap2 |
|
21 |
4 |
161 |
| lance_copyfrombuf_gap2 |
|
23 |
4 |
158 |
| lance_zerobuf_gap2 |
|
17 |
3 |
105 |
| lance_copytobuf_gap16 |
|
18 |
2 |
115 |
| lance_copyfrombuf_gap16 |
|
18 |
2 |
115 |
| lance_zerobuf_gap16 |
|
16 |
2 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lpt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lpt_port_test |
|
16 |
3 |
102 |
| lpt_attach_common |
|
6 |
1 |
41 |
| lpt_detach_common |
|
8 |
2 |
38 |
| lptopen |
|
56 |
15 |
393 |
| lpt_not_ready |
|
14 |
4 |
101 |
| lptwakeup |
|
10 |
2 |
52 |
| lptclose |
|
17 |
3 |
137 |
| lptpushbytes |
|
60 |
16 |
350 |
| lptwrite |
|
19 |
4 |
124 |
| lptintr |
|
25 |
8 |
172 |
| lpt_activate |
|
34 |
7 |
194 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2860reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/r92creg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/wdcevent.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| WDC_LOG_STATUS |
|
7 |
2 |
40 |
| WDC_LOG_ERROR |
|
4 |
1 |
24 |
| WDC_LOG_ATAPI_CMD |
|
8 |
1 |
75 |
| WDC_LOG_ATAPI_DONE |
|
5 |
1 |
48 |
| WDC_LOG_ATA_CMDSHORT |
|
3 |
1 |
24 |
| WDC_LOG_ATA_CMDLONG |
|
7 |
1 |
63 |
| WDC_LOG_SET_DRIVE |
|
5 |
2 |
27 |
| WDC_LOG_REG |
|
8 |
1 |
61 |
| WDC_LOG_ATA_CMDEXT |
|
8 |
1 |
73 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/osiop.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| osiop_attach |
|
118 |
12 |
909 |
| osiop_minphys |
|
6 |
2 |
33 |
| osiop_io_get |
|
11 |
2 |
69 |
| osiop_io_put |
|
8 |
1 |
54 |
| osiop_scsicmd |
|
52 |
12 |
358 |
| osiop_poll |
|
59 |
11 |
358 |
| osiop_sched |
|
39 |
12 |
258 |
| osiop_scsidone |
|
126 |
29 |
836 |
| osiop_abort |
|
16 |
2 |
86 |
| osiop_init |
|
45 |
13 |
355 |
| osiop_reset |
|
69 |
11 |
512 |
| osiop_resetbus |
|
10 |
1 |
57 |
| osiop_start |
|
97 |
22 |
751 |
| osiop_checkintr |
|
495 |
141 |
3477 |
| osiop_select |
|
27 |
11 |
200 |
| osiop_intr |
|
60 |
16 |
415 |
| osiop_update_xfer_mode |
|
43 |
15 |
192 |
| scsi_period_to_osiop |
|
47 |
16 |
319 |
| osiop_timeout |
|
16 |
1 |
87 |
| osiop_dump_trace |
|
12 |
2 |
77 |
| osiop_dump_acb |
|
23 |
3 |
151 |
| osiop_dump |
|
46 |
11 |
285 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ibm525reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/p9000.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bwfmreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ibm561reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bwfm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwfm_attach |
|
96 |
14 |
658 |
| bwfm_detach |
|
10 |
1 |
64 |
| bwfm_start |
|
31 |
9 |
189 |
| bwfm_init |
|
69 |
10 |
516 |
| bwfm_stop |
|
13 |
1 |
88 |
| bwfm_watchdog |
|
14 |
3 |
73 |
| bwfm_ioctl |
|
30 |
8 |
155 |
| bwfm_media_change |
|
13 |
3 |
63 |
| bwfm_chip_attach |
|
96 |
22 |
626 |
| bwfm_chip_get_core |
|
9 |
2 |
46 |
| bwfm_chip_get_pmu |
|
12 |
4 |
63 |
| bwfm_chip_ai_isup |
|
13 |
3 |
85 |
| bwfm_chip_ai_disable |
|
32 |
5 |
201 |
| bwfm_chip_ai_reset |
|
22 |
4 |
149 |
| bwfm_chip_dmp_erom_scan |
|
42 |
7 |
264 |
| bwfm_chip_dmp_get_regaddr |
|
53 |
16 |
315 |
| bwfm_chip_cr4_set_passive |
|
4 |
1 |
19 |
| bwfm_chip_ca7_set_passive |
|
4 |
1 |
19 |
| bwfm_chip_cm3_set_passive |
|
18 |
2 |
138 |
| bwfm_proto_bcdc_query_dcmd |
|
52 |
10 |
437 |
| bwfm_proto_bcdc_set_dcmd |
|
43 |
7 |
379 |
| bwfm_fwvar_cmd_get_data |
|
4 |
1 |
38 |
| bwfm_fwvar_cmd_set_data |
|
4 |
1 |
37 |
| bwfm_fwvar_cmd_get_int |
|
7 |
1 |
48 |
| bwfm_fwvar_cmd_set_int |
|
5 |
1 |
38 |
| bwfm_fwvar_var_get_data |
|
13 |
1 |
123 |
| bwfm_fwvar_var_set_data |
|
12 |
1 |
114 |
| bwfm_fwvar_var_get_int |
|
7 |
1 |
49 |
| bwfm_fwvar_var_set_int |
|
5 |
1 |
39 |
| bwfm_connect |
|
66 |
18 |
541 |
| bwfm_scan |
|
33 |
3 |
281 |
| bwfm_rx |
|
40 |
14 |
309 |
| bwfm_rx_event |
|
62 |
16 |
471 |
| bwfm_scan_node |
|
48 |
6 |
403 |
| bwfm_task |
|
17 |
2 |
109 |
| bwfm_do_async |
|
15 |
1 |
126 |
| bwfm_send_mgmt |
|
7 |
2 |
49 |
| bwfm_set_key |
|
10 |
1 |
62 |
| bwfm_set_key_cb |
|
47 |
11 |
313 |
| bwfm_delete_key |
|
9 |
1 |
59 |
| bwfm_delete_key_cb |
|
10 |
1 |
81 |
| bwfm_newstate |
|
9 |
1 |
59 |
| bwfm_newstate_cb |
|
33 |
4 |
172 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/z8530reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic79xx_openbsd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahd_attach |
|
28 |
4 |
216 |
| ahd_platform_intr |
|
6 |
1 |
28 |
| ahd_done |
|
72 |
20 |
415 |
| ahd_minphys |
|
7 |
2 |
51 |
| ahd_action |
|
47 |
3 |
333 |
| ahd_execute_scb |
|
98 |
18 |
698 |
| ahd_poll |
|
14 |
4 |
74 |
| ahd_setup_data |
|
37 |
7 |
221 |
| ahd_platform_set_tags |
|
11 |
2 |
65 |
| ahd_platform_alloc |
|
10 |
3 |
62 |
| ahd_platform_free |
|
5 |
2 |
30 |
| ahd_softc_comp |
|
4 |
1 |
19 |
| ahd_detach |
|
9 |
2 |
60 |
| ahd_adapter_req_set_xfer_mode |
|
56 |
12 |
416 |
| aic_timer_reset |
|
9 |
1 |
45 |
| aic_scb_timer_reset |
|
9 |
2 |
56 |
| ahd_flush_device_writes |
|
4 |
1 |
16 |
| aic_platform_scb_free |
|
12 |
3 |
70 |
| ahd_print_path |
|
4 |
1 |
23 |
| ahd_platform_dump_card_state |
|
5 |
1 |
30 |
| ahd_platform_flushwork |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mc146818reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am7990reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt458reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/trm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt463var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ncr5380reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/vgareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ami.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ami_get_ccb |
|
13 |
2 |
77 |
| ami_put_ccb |
|
12 |
1 |
78 |
| ami_read |
|
9 |
1 |
65 |
| ami_write |
|
7 |
1 |
60 |
| ami_allocmem |
|
31 |
6 |
244 |
| ami_freemem |
|
8 |
1 |
76 |
| ami_copyhds |
|
12 |
2 |
111 |
| ami_alloc_ccbs |
|
58 |
7 |
427 |
| ami_attach |
|
187 |
31 |
1501 |
| ami_quartz_init |
|
5 |
1 |
23 |
| ami_quartz_exec |
|
15 |
2 |
125 |
| ami_quartz_done |
|
46 |
9 |
395 |
| ami_quartz_poll |
|
70 |
15 |
464 |
| ami_schwartz_init |
|
10 |
1 |
97 |
| ami_schwartz_exec |
|
14 |
2 |
107 |
| ami_schwartz_done |
|
19 |
5 |
136 |
| ami_schwartz_poll |
|
57 |
11 |
402 |
| ami_start_xs |
|
7 |
2 |
46 |
| ami_start |
|
8 |
1 |
53 |
| ami_runqueue_tick |
|
4 |
1 |
13 |
| ami_runqueue |
|
20 |
5 |
130 |
| ami_poll |
|
11 |
2 |
74 |
| ami_complete |
|
42 |
7 |
239 |
| ami_done_pt |
|
31 |
9 |
232 |
| ami_done_xs |
|
18 |
4 |
128 |
| ami_done_flush |
|
14 |
2 |
83 |
| ami_done_sysflush |
|
8 |
2 |
48 |
| ami_done_dummy |
|
3 |
1 |
14 |
| ami_done_ioctl |
|
4 |
1 |
19 |
| ami_done_init |
|
3 |
1 |
14 |
| amiminphys |
|
6 |
2 |
33 |
| ami_copy_internal_data |
|
11 |
2 |
65 |
| ami_scsi_raw_cmd |
|
41 |
3 |
334 |
| ami_load_ptmem |
|
38 |
8 |
280 |
| ami_scsi_cmd |
|
162 |
31 |
1173 |
| ami_intr |
|
31 |
7 |
240 |
| ami_scsi_ioctl |
|
8 |
2 |
60 |
| ami_ioctl |
|
34 |
7 |
225 |
| ami_drv_pt |
|
47 |
6 |
339 |
| ami_drv_inq |
|
24 |
4 |
168 |
| ami_drv_readcap |
|
35 |
6 |
263 |
| ami_mgmt |
|
80 |
17 |
493 |
| ami_ioctl_inq |
|
77 |
17 |
613 |
| ami_vol |
|
28 |
6 |
190 |
| ami_disk |
|
57 |
11 |
472 |
| ami_ioctl_vol |
|
88 |
23 |
726 |
| ami_ioctl_disk |
|
91 |
15 |
709 |
| ami_ioctl_alarm |
|
34 |
8 |
156 |
| ami_ioctl_setstate |
|
33 |
6 |
177 |
| ami_create_sensors |
|
45 |
9 |
362 |
| ami_refresh_sensors |
|
32 |
7 |
225 |
| ami_print_mbox |
|
13 |
2 |
89 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/qlavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82596var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ie_ack |
|
8 |
1 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dwc_gmac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc_gmac_attach |
|
80 |
8 |
611 |
| dwc_gmac_ifmedia_upd |
|
13 |
2 |
72 |
| dwc_gmac_ifmedia_sts |
|
8 |
1 |
54 |
| dwc_gmac_reset |
|
14 |
3 |
98 |
| dwc_gmac_write_hwaddr |
|
9 |
1 |
102 |
| dwc_gmac_miibus_read_reg |
|
25 |
3 |
171 |
| dwc_gmac_miibus_write_reg |
|
21 |
3 |
166 |
| dwc_gmac_alloc_rx_ring |
|
63 |
6 |
434 |
| dwc_gmac_reset_rx_ring |
|
19 |
2 |
132 |
| dwc_gmac_alloc_dma_rings |
|
41 |
5 |
301 |
| dwc_gmac_free_dma_rings |
|
9 |
1 |
79 |
| dwc_gmac_free_rx_ring |
|
19 |
4 |
119 |
| dwc_gmac_alloc_tx_ring |
|
31 |
3 |
205 |
| dwc_gmac_txdesc_sync |
|
18 |
2 |
112 |
| dwc_gmac_reset_tx_ring |
|
24 |
3 |
163 |
| dwc_gmac_free_tx_ring |
|
20 |
4 |
139 |
| dwc_gmac_miibus_statchg |
|
46 |
9 |
231 |
| dwc_gmac_init |
|
21 |
1 |
144 |
| dwc_gmac_start |
|
33 |
11 |
220 |
| dwc_gmac_stop |
|
18 |
1 |
123 |
| dwc_gmac_queue |
|
52 |
6 |
404 |
| bitrev32 |
|
8 |
1 |
126 |
| dwc_gmac_iff |
|
41 |
7 |
281 |
| dwc_gmac_ioctl |
|
38 |
11 |
210 |
| dwc_gmac_tx_intr |
|
34 |
7 |
258 |
| dwc_gmac_rx_intr |
|
88 |
12 |
593 |
| dwc_gmac_intr |
|
30 |
9 |
189 |
| dwc_gmac_dump_dma |
|
27 |
1 |
297 |
| dwc_gmac_dump_tx_desc |
|
17 |
2 |
132 |
| dwc_gmac_dump_rx_desc |
|
16 |
2 |
126 |
| dwc_dump_status |
|
27 |
1 |
107 |
| dwc_dump_and_abort |
|
10 |
1 |
59 |
| dwc_gmac_dump_ffilt |
|
17 |
1 |
66 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rf3000reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5211reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/malo.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9285.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar9285_attach |
|
22 |
5 |
162 |
| ar9285_setup |
|
24 |
7 |
132 |
| ar9285_swap_rom |
|
13 |
2 |
91 |
| ar9285_get_spur_chans |
|
6 |
1 |
36 |
| ar9285_init_from_rom |
|
180 |
12 |
1834 |
| ar9285_pa_calib |
|
75 |
8 |
567 |
| ar9271_pa_calib |
|
58 |
6 |
461 |
| ar9285_cl_cal |
|
42 |
9 |
280 |
| ar9271_load_ani |
|
12 |
2 |
86 |
| ar9285_init_calib |
|
44 |
10 |
335 |
| ar9285_get_pdadcs |
|
25 |
2 |
229 |
| ar9285_set_power_calib |
|
43 |
6 |
360 |
| ar9285_set_txpower |
|
68 |
8 |
521 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5212var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/fxp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fxp_lwcopy |
|
7 |
1 |
56 |
| fxp_scb_wait |
|
8 |
4 |
52 |
| fxp_eeprom_shiftin |
|
17 |
3 |
104 |
| fxp_eeprom_putword |
|
29 |
3 |
226 |
| fxp_write_eeprom |
|
6 |
2 |
49 |
| fxp_activate |
|
21 |
5 |
114 |
| fxp_wakeup |
|
7 |
1 |
32 |
| fxp_attach |
|
152 |
21 |
1312 |
| fxp_autosize_eeprom |
|
32 |
5 |
199 |
| fxp_read_eeprom |
|
50 |
8 |
335 |
| fxp_start |
|
74 |
14 |
483 |
| fxp_intr |
|
112 |
20 |
674 |
| fxp_stats_update |
|
46 |
7 |
291 |
| fxp_detach |
|
12 |
3 |
97 |
| fxp_stop |
|
43 |
9 |
288 |
| fxp_watchdog |
|
7 |
1 |
41 |
| fxp_scb_cmd |
|
4 |
1 |
21 |
| fxp_init |
|
194 |
30 |
1443 |
| fxp_mediachange |
|
12 |
2 |
70 |
| fxp_mediastatus |
|
7 |
1 |
51 |
| fxp_add_rfabuf |
|
71 |
8 |
595 |
| fxp_mdi_read |
|
14 |
4 |
114 |
| fxp_statchg |
|
3 |
1 |
9 |
| fxp_mdi_write |
|
13 |
4 |
109 |
| fxp_ioctl |
|
38 |
11 |
214 |
| fxp_mc_setup |
|
52 |
12 |
390 |
| fxp_load_ucode |
|
70 |
19 |
509 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/qla.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qla_classify_port |
|
39 |
12 |
225 |
| qla_get_loop_id |
|
18 |
5 |
88 |
| qla_get_port_db |
|
21 |
3 |
169 |
| qla_add_loop_port |
|
46 |
12 |
309 |
| qla_add_fabric_port |
|
25 |
5 |
216 |
| qla_add_logged_in_port |
|
52 |
7 |
345 |
| qla_attach |
|
219 |
36 |
1611 |
| qla_detach |
|
4 |
1 |
17 |
| qla_handle_resp |
|
115 |
21 |
624 |
| qla_handle_intr |
|
54 |
11 |
313 |
| qla_intr |
|
10 |
2 |
55 |
| qla_scsi_probe |
|
17 |
3 |
118 |
| qla_scsi_cmd |
|
99 |
18 |
706 |
| qla_read |
|
8 |
1 |
54 |
| qla_write |
|
6 |
1 |
49 |
| qla_read_mbox |
|
4 |
1 |
30 |
| qla_write_mbox |
|
4 |
1 |
32 |
| qla_host_cmd |
|
4 |
1 |
24 |
| qla_mbox |
|
51 |
13 |
334 |
| qla_mbox_putaddr |
|
7 |
1 |
81 |
| qla_sns_req |
|
22 |
1 |
211 |
| qla_set_ints |
|
5 |
2 |
34 |
| qla_read_isr_1G |
|
17 |
4 |
98 |
| qla_read_isr_2G |
|
28 |
8 |
145 |
| qla_clear_isr |
|
12 |
3 |
46 |
| qla_read_queue_2100 |
|
12 |
3 |
80 |
| qla_softreset |
|
38 |
5 |
274 |
| qla_update_topology |
|
41 |
10 |
213 |
| qla_update_fabric |
|
45 |
7 |
347 |
| qla_get_port_name_list |
|
59 |
10 |
378 |
| qla_next_fabric_port |
|
51 |
9 |
378 |
| qla_fabric_plogi |
|
56 |
8 |
371 |
| qla_fabric_plogo |
|
15 |
3 |
107 |
| qla_update_done |
|
4 |
1 |
22 |
| qla_update_start |
|
5 |
1 |
34 |
| qla_clear_port_lists |
|
18 |
4 |
141 |
| qla_do_update |
|
242 |
46 |
1433 |
| qla_async |
|
77 |
19 |
396 |
| qla_dump_iocb |
|
15 |
5 |
98 |
| qla_dump_iocb_segs |
|
15 |
5 |
110 |
| qla_put_marker |
|
11 |
1 |
63 |
| qla_put_data_seg |
|
7 |
1 |
67 |
| qla_put_cmd |
|
59 |
9 |
466 |
| qla_verify_firmware |
|
6 |
1 |
40 |
| qla_load_firmware_words |
|
15 |
3 |
101 |
| qla_load_firmware_2100 |
|
5 |
1 |
19 |
| qla_load_firmware_2200 |
|
5 |
1 |
19 |
| qla_load_fwchunk_2300 |
|
33 |
4 |
235 |
| qla_load_firmware_2300 |
|
10 |
1 |
58 |
| qla_load_firmware_2322 |
|
22 |
5 |
145 |
| qla_read_nvram |
|
61 |
15 |
478 |
| qla_dmamem_alloc |
|
31 |
6 |
248 |
| qla_dmamem_free |
|
8 |
1 |
78 |
| qla_alloc_ccbs |
|
69 |
8 |
492 |
| qla_free_ccbs |
|
11 |
2 |
84 |
| qla_get_ccb |
|
12 |
2 |
69 |
| qla_put_ccb |
|
9 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5212.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar5k_ar5212_fill |
|
98 |
2 |
861 |
| ar5k_ar5212_attach |
|
64 |
14 |
437 |
| ar5k_ar5212_nic_reset |
|
16 |
3 |
92 |
| ar5k_ar5212_nic_wakeup |
|
53 |
11 |
267 |
| ar5k_ar5212_radio_revision |
|
24 |
4 |
163 |
| ar5k_ar5212_get_rate_table |
|
17 |
6 |
77 |
| ar5k_ar5212_detach |
|
6 |
2 |
37 |
| ar5k_ar5212_phy_disable |
|
5 |
1 |
21 |
| ar5k_ar5212_reset |
|
254 |
43 |
1759 |
| ar5k_ar5212_set_def_antenna |
|
4 |
1 |
19 |
| ar5k_ar5212_get_def_antenna |
|
4 |
1 |
15 |
| ar5k_ar5212_set_opmode |
|
26 |
5 |
102 |
| ar5k_ar5212_calibrate |
|
33 |
6 |
217 |
| ar5k_ar5212_update_tx_triglevel |
|
20 |
3 |
105 |
| ar5k_ar5212_setup_tx_queue |
|
28 |
9 |
174 |
| ar5k_ar5212_setup_tx_queueprops |
|
14 |
5 |
106 |
| ar5k_ar5212_get_tx_queueprops |
|
7 |
1 |
52 |
| ar5k_ar5212_release_tx_queue |
|
7 |
1 |
50 |
| ar5k_ar5212_reset_tx_queue |
|
133 |
20 |
746 |
| ar5k_ar5212_get_tx_buf |
|
5 |
1 |
36 |
| ar5k_ar5212_put_tx_buf |
|
8 |
2 |
57 |
| ar5k_ar5212_num_tx_pending |
|
5 |
1 |
35 |
| ar5k_ar5212_tx_start |
|
8 |
2 |
51 |
| ar5k_ar5212_stop_tx_dma |
|
13 |
3 |
79 |
| ar5k_ar5212_setup_tx_desc |
|
46 |
7 |
266 |
| ar5k_ar5212_fill_tx_desc |
|
19 |
5 |
125 |
| ar5k_ar5212_setup_xtx_desc |
|
11 |
1 |
69 |
| ar5k_ar5212_proc_tx_desc |
|
71 |
11 |
405 |
| ar5k_ar5212_has_veol |
|
4 |
1 |
14 |
| ar5k_ar5212_get_rx_buf |
|
4 |
1 |
17 |
| ar5k_ar5212_put_rx_buf |
|
4 |
1 |
19 |
| ar5k_ar5212_start_rx |
|
4 |
1 |
16 |
| ar5k_ar5212_stop_rx_dma |
|
10 |
4 |
59 |
| ar5k_ar5212_start_rx_pcu |
|
4 |
1 |
16 |
| ar5k_ar5212_stop_pcu_recv |
|
4 |
1 |
16 |
| ar5k_ar5212_set_mcast_filter |
|
6 |
1 |
29 |
| ar5k_ar5212_set_mcast_filterindex |
|
13 |
3 |
70 |
| ar5k_ar5212_clear_mcast_filter_idx |
|
13 |
3 |
70 |
| ar5k_ar5212_get_rx_filter |
|
12 |
3 |
59 |
| ar5k_ar5212_set_rx_filter |
|
18 |
4 |
78 |
| ar5k_ar5212_setup_rx_desc |
|
12 |
3 |
75 |
| ar5k_ar5212_proc_rx_desc |
|
54 |
8 |
332 |
| ar5k_ar5212_set_rx_signal |
|
3 |
1 |
9 |
| ar5k_ar5212_dump_state |
|
96 |
2 |
474 |
| ar5k_ar5212_get_diag_state |
|
5 |
1 |
25 |
| ar5k_ar5212_get_lladdr |
|
4 |
1 |
24 |
| ar5k_ar5212_set_lladdr |
|
10 |
1 |
65 |
| ar5k_ar5212_set_regdomain |
|
13 |
2 |
62 |
| ar5k_ar5212_set_ledstate |
|
27 |
6 |
86 |
| ar5k_ar5212_set_associd |
|
24 |
3 |
147 |
| ar5k_ar5212_set_bssid_mask |
|
9 |
1 |
54 |
| ar5k_ar5212_set_gpio_output |
|
9 |
2 |
51 |
| ar5k_ar5212_set_gpio_input |
|
9 |
2 |
51 |
| ar5k_ar5212_get_gpio |
|
7 |
2 |
42 |
| ar5k_ar5212_set_gpio |
|
11 |
2 |
68 |
| ar5k_ar5212_set_gpio_intr |
|
15 |
3 |
88 |
| ar5k_ar5212_get_tsf32 |
|
4 |
1 |
17 |
| ar5k_ar5212_get_tsf64 |
|
5 |
1 |
32 |
| ar5k_ar5212_reset_tsf |
|
5 |
1 |
16 |
| ar5k_ar5212_get_regdomain |
|
4 |
1 |
17 |
| ar5k_ar5212_detect_card_present |
|
7 |
3 |
42 |
| ar5k_ar5212_update_mib_counters |
|
12 |
1 |
86 |
| ar5k_ar5212_get_rf_gain |
|
29 |
11 |
185 |
| ar5k_ar5212_set_slot_time |
|
7 |
3 |
39 |
| ar5k_ar5212_get_slot_time |
|
4 |
1 |
19 |
| ar5k_ar5212_set_ack_timeout |
|
9 |
2 |
48 |
| ar5k_ar5212_get_ack_timeout |
|
5 |
1 |
25 |
| ar5k_ar5212_set_cts_timeout |
|
9 |
2 |
48 |
| ar5k_ar5212_get_cts_timeout |
|
5 |
1 |
25 |
| ar5k_ar5212_is_cipher_supported |
|
6 |
2 |
28 |
| ar5k_ar5212_get_keycache_size |
|
4 |
1 |
14 |
| ar5k_ar5212_reset_key |
|
10 |
2 |
62 |
| ar5k_ar5212_is_key_valid |
|
8 |
2 |
41 |
| ar5k_ar5212_set_key |
|
36 |
5 |
346 |
| ar5k_ar5212_set_key_lladdr |
|
13 |
2 |
85 |
| ar5k_ar5212_softcrypto |
|
14 |
3 |
74 |
| ar5k_ar5212_warm_reset |
|
15 |
5 |
87 |
| ar5k_ar5212_set_power |
|
46 |
12 |
204 |
| ar5k_ar5212_get_power_mode |
|
4 |
1 |
16 |
| ar5k_ar5212_query_pspoll_support |
|
4 |
1 |
14 |
| ar5k_ar5212_init_pspoll |
|
4 |
1 |
14 |
| ar5k_ar5212_enable_pspoll |
|
5 |
1 |
21 |
| ar5k_ar5212_disable_pspoll |
|
4 |
1 |
14 |
| ar5k_ar5212_init_beacon |
|
25 |
3 |
126 |
| ar5k_ar5212_set_beacon_timers |
|
62 |
13 |
396 |
| ar5k_ar5212_reset_beacon |
|
7 |
1 |
32 |
| ar5k_ar5212_wait_for_beacon |
|
10 |
2 |
52 |
| ar5k_ar5212_is_intr_pending |
|
4 |
2 |
23 |
| ar5k_ar5212_get_isr |
|
20 |
8 |
133 |
| ar5k_ar5212_get_intr |
|
4 |
1 |
16 |
| ar5k_ar5212_set_intr |
|
30 |
4 |
116 |
| ar5k_ar5212_get_capabilities |
|
28 |
10 |
176 |
| ar5k_ar5212_radar_alert |
|
16 |
2 |
65 |
| ar5k_ar5212_eeprom_is_busy |
|
5 |
2 |
23 |
| ar5k_ar5212_eeprom_read |
|
19 |
4 |
109 |
| ar5k_ar5212_eeprom_write |
|
19 |
4 |
102 |
| ar5k_ar5212_txpower |
|
40 |
4 |
336 |
| ar5k_ar5212_set_txpower_limit |
|
6 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mk48txxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/silivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mpi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpi_dvatosge |
|
5 |
1 |
35 |
| mpi_attach |
|
142 |
30 |
929 |
| mpi_cfg_spi_port |
|
31 |
7 |
277 |
| mpi_squash_ppr |
|
26 |
5 |
193 |
| mpi_run_ppr |
|
70 |
14 |
472 |
| mpi_ppr |
|
157 |
36 |
1052 |
| mpi_inq |
|
47 |
5 |
346 |
| mpi_cfg_sas |
|
24 |
6 |
163 |
| mpi_cfg_fc |
|
33 |
6 |
259 |
| mpi_detach |
|
3 |
1 |
9 |
| mpi_intr |
|
13 |
3 |
72 |
| mpi_reply |
|
39 |
3 |
242 |
| mpi_dmamem_alloc |
|
34 |
6 |
273 |
| mpi_dmamem_free |
|
9 |
1 |
90 |
| mpi_alloc_ccbs |
|
54 |
6 |
397 |
| mpi_get_ccb |
|
14 |
2 |
89 |
| mpi_put_ccb |
|
15 |
3 |
110 |
| mpi_alloc_replies |
|
14 |
3 |
103 |
| mpi_push_reply |
|
6 |
1 |
45 |
| mpi_push_replies |
|
16 |
2 |
124 |
| mpi_start |
|
14 |
1 |
100 |
| mpi_poll |
|
30 |
4 |
163 |
| mpi_poll_done |
|
5 |
1 |
22 |
| mpi_wait |
|
14 |
2 |
99 |
| mpi_wait_done |
|
8 |
1 |
39 |
| mpi_scsi_cmd |
|
68 |
9 |
448 |
| mpi_scsi_cmd_done |
|
99 |
20 |
615 |
| mpi_timeout_xs |
|
3 |
1 |
8 |
| mpi_load_xs |
|
65 |
10 |
520 |
| mpi_minphys |
|
6 |
2 |
33 |
| mpi_scsi_probe_virtual |
|
25 |
6 |
175 |
| mpi_scsi_probe |
|
45 |
7 |
348 |
| mpi_read |
|
9 |
1 |
68 |
| mpi_write |
|
7 |
1 |
63 |
| mpi_wait_eq |
|
13 |
3 |
84 |
| mpi_wait_ne |
|
13 |
3 |
84 |
| mpi_init |
|
41 |
10 |
214 |
| mpi_reset_soft |
|
15 |
4 |
90 |
| mpi_reset_hard |
|
14 |
1 |
103 |
| mpi_handshake_send |
|
22 |
7 |
152 |
| mpi_handshake_recv_dword |
|
12 |
3 |
82 |
| mpi_handshake_recv |
|
24 |
7 |
183 |
| mpi_empty_done |
|
3 |
1 |
9 |
| mpi_iocfacts |
|
99 |
6 |
827 |
| mpi_iocinit |
|
45 |
4 |
361 |
| mpi_portfacts |
|
59 |
5 |
429 |
| mpi_cfg_coalescing |
|
33 |
5 |
255 |
| mpi_eventnotify |
|
23 |
2 |
139 |
| mpi_eventnotify_done |
|
44 |
9 |
301 |
| mpi_eventnotify_free |
|
11 |
2 |
75 |
| mpi_evt_sas |
|
39 |
9 |
220 |
| mpi_evt_sas_detach |
|
33 |
4 |
219 |
| mpi_evt_sas_detach_done |
|
14 |
2 |
92 |
| mpi_fc_rescan |
|
40 |
10 |
271 |
| mpi_eventack |
|
30 |
4 |
197 |
| mpi_eventack_done |
|
7 |
1 |
49 |
| mpi_portenable |
|
29 |
4 |
180 |
| mpi_fwupload |
|
50 |
7 |
351 |
| mpi_manufacturing |
|
26 |
5 |
189 |
| mpi_get_raid |
|
40 |
6 |
258 |
| mpi_req_cfg_header |
|
78 |
9 |
569 |
| mpi_req_cfg_page |
|
88 |
15 |
656 |
| mpi_scsi_ioctl |
|
19 |
5 |
119 |
| mpi_ioctl_cache |
|
81 |
14 |
502 |
| mpi_bio_get_pg0_raid |
|
42 |
7 |
283 |
| mpi_ioctl |
|
38 |
8 |
225 |
| mpi_ioctl_inq |
|
21 |
3 |
170 |
| mpi_ioctl_vol |
|
76 |
20 |
416 |
| mpi_ioctl_disk |
|
59 |
15 |
332 |
| mpi_ioctl_setstate |
|
4 |
1 |
19 |
| mpi_create_sensors |
|
44 |
10 |
339 |
| mpi_refresh_sensors |
|
45 |
11 |
280 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lm700x.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/hayespreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ax88190.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ax88190_media_init |
|
18 |
2 |
153 |
| ax88190_media_fini |
|
4 |
1 |
21 |
| ax88190_mediachange |
|
5 |
1 |
22 |
| ax88190_mediastatus |
|
6 |
1 |
42 |
| ax88190_init_card |
|
4 |
1 |
17 |
| ax88190_stop_card |
|
4 |
1 |
17 |
| ax88190_mii_bitbang_read |
|
6 |
1 |
38 |
| ax88190_mii_bitbang_write |
|
7 |
1 |
42 |
| ax88190_mii_readreg |
|
6 |
1 |
35 |
| ax88190_mii_writereg |
|
6 |
1 |
38 |
| ax88190_mii_statchg |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5008reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/nvmevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/athnvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtwvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lptvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/athn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| athn_attach |
|
154 |
33 |
1048 |
| athn_detach |
|
19 |
5 |
134 |
| athn_radiotap_attach |
|
11 |
1 |
112 |
| athn_get_chanlist |
|
30 |
7 |
187 |
| athn_rx_start |
|
33 |
5 |
228 |
| athn_set_rxfilter |
|
15 |
3 |
97 |
| athn_intr |
|
9 |
2 |
64 |
| athn_get_chipid |
|
16 |
4 |
110 |
| athn_get_mac_name |
|
24 |
10 |
94 |
| athn_get_rf_name |
|
15 |
5 |
63 |
| athn_reset_power_on |
|
26 |
6 |
154 |
| athn_reset |
|
31 |
8 |
206 |
| athn_set_power_awake |
|
28 |
7 |
168 |
| athn_set_power_sleep |
|
10 |
4 |
74 |
| athn_init_pll |
|
44 |
14 |
297 |
| athn_write_serdes |
|
7 |
2 |
57 |
| athn_config_pcie |
|
9 |
1 |
57 |
| athn_config_nonpcie |
|
4 |
1 |
17 |
| athn_set_chan |
|
22 |
6 |
183 |
| athn_switch_chan |
|
40 |
11 |
276 |
| athn_get_delta_slope |
|
11 |
3 |
92 |
| athn_reset_key |
|
12 |
1 |
113 |
| athn_set_key |
|
65 |
9 |
533 |
| athn_delete_key |
|
21 |
5 |
107 |
| athn_led_init |
|
6 |
1 |
39 |
| athn_set_led |
|
6 |
1 |
44 |
| athn_btcoex_init |
|
31 |
2 |
178 |
| athn_btcoex_enable |
|
35 |
3 |
224 |
| athn_btcoex_disable |
|
14 |
2 |
90 |
| athn_iter_calib |
|
7 |
2 |
59 |
| athn_calib_to |
|
33 |
10 |
203 |
| athn_init_calib |
|
37 |
12 |
213 |
| athn_ani_get_rssi |
|
4 |
1 |
14 |
| athn_ani_ofdm_err_trigger |
|
53 |
14 |
325 |
| athn_ani_cck_err_trigger |
|
30 |
8 |
182 |
| athn_ani_lower_immunity |
|
40 |
10 |
232 |
| athn_ani_restart |
|
12 |
1 |
78 |
| athn_ani_monitor |
|
60 |
14 |
411 |
| athn_chan2fbin |
|
7 |
2 |
39 |
| athn_interpolate |
|
6 |
2 |
55 |
| athn_get_pier_ival |
|
15 |
7 |
106 |
| athn_init_dma |
|
28 |
8 |
196 |
| athn_inc_tx_trigger_level |
|
11 |
4 |
83 |
| athn_stop_rx_dma |
|
12 |
3 |
72 |
| athn_rx_abort |
|
14 |
3 |
92 |
| athn_tx_reclaim |
|
15 |
2 |
121 |
| athn_tx_pending |
|
5 |
2 |
50 |
| athn_stop_tx_dma |
|
36 |
8 |
242 |
| athn_txtime |
|
22 |
6 |
199 |
| athn_init_tx_queues |
|
47 |
3 |
303 |
| athn_set_sta_timers |
|
41 |
5 |
307 |
| athn_set_hostap_timers |
|
19 |
1 |
139 |
| athn_set_opmode |
|
28 |
4 |
148 |
| athn_set_bss |
|
8 |
1 |
72 |
| athn_enable_interrupts |
|
18 |
1 |
131 |
| athn_disable_interrupts |
|
15 |
1 |
112 |
| athn_init_qos |
|
15 |
1 |
105 |
| athn_hw_reset |
|
152 |
35 |
1158 |
| athn_node_alloc |
|
8 |
3 |
59 |
| athn_newassoc |
|
51 |
14 |
429 |
| athn_node_leave |
|
6 |
2 |
41 |
| athn_media_change |
|
24 |
6 |
158 |
| athn_next_scan |
|
10 |
2 |
55 |
| athn_iter_mira_delete |
|
5 |
1 |
33 |
| athn_delete_mira_nodes |
|
9 |
2 |
61 |
| athn_newstate |
|
59 |
14 |
365 |
| athn_updateedca |
|
22 |
3 |
156 |
| athn_clock_rate |
|
18 |
6 |
97 |
| athn_updateslot |
|
9 |
2 |
54 |
| athn_start |
|
46 |
16 |
291 |
| athn_watchdog |
|
16 |
3 |
89 |
| athn_set_multi |
|
35 |
5 |
282 |
| athn_ioctl |
|
59 |
18 |
362 |
| athn_init |
|
58 |
16 |
395 |
| athn_stop |
|
37 |
7 |
277 |
| athn_suspend |
|
6 |
2 |
36 |
| athn_wakeup |
|
6 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/qlareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtl81x9reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9380.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar9380_attach |
|
24 |
2 |
151 |
| ar9380_setup |
|
51 |
15 |
351 |
| ar9380_get_rom_template |
|
8 |
3 |
56 |
| ar9380_swap_rom |
|
24 |
4 |
243 |
| ar9380_get_paprd_masks |
|
12 |
2 |
74 |
| ar9380_set_synth |
|
27 |
3 |
182 |
| ar9380_init_from_rom |
|
131 |
20 |
1047 |
| ar9380_init_swreg |
|
13 |
2 |
77 |
| ar9485_pmu_write |
|
13 |
3 |
82 |
| ar9485_init_swreg |
|
18 |
2 |
122 |
| ar9380_spur_mitigate_cck |
|
34 |
4 |
265 |
| ar9380_spur_mitigate_ofdm |
|
114 |
15 |
749 |
| ar9380_spur_mitigate |
|
6 |
1 |
37 |
| ar9380_set_txpower |
|
88 |
6 |
754 |
| ar9380_get_correction |
|
26 |
2 |
192 |
| ar9380_set_correction |
|
43 |
7 |
323 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cs4231reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc83c170var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5210reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dl10019var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dp8390.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dp8390_media_init |
|
6 |
1 |
51 |
| dp8390_config |
|
40 |
7 |
291 |
| dp8390_mediachange |
|
7 |
2 |
42 |
| dp8390_mediastatus |
|
11 |
3 |
67 |
| dp8390_reset |
|
8 |
1 |
33 |
| dp8390_stop |
|
15 |
4 |
104 |
| dp8390_watchdog |
|
7 |
1 |
45 |
| dp8390_init |
|
64 |
7 |
538 |
| dp8390_xmit |
|
27 |
5 |
227 |
| dp8390_start |
|
34 |
11 |
236 |
| dp8390_rint |
|
79 |
13 |
523 |
| dp8390_intr |
|
80 |
21 |
517 |
| dp8390_ioctl |
|
48 |
13 |
260 |
| dp8390_getmcaf |
|
23 |
6 |
163 |
| dp8390_get |
|
43 |
9 |
273 |
| dp8390_test_mem |
|
15 |
3 |
97 |
| dp8390_read_hdr |
|
9 |
1 |
90 |
| dp8390_ring_copy |
|
15 |
2 |
102 |
| dp8390_write_mbuf |
|
17 |
3 |
105 |
| dp8390_enable |
|
12 |
4 |
68 |
| dp8390_disable |
|
7 |
3 |
41 |
| dp8390_detach |
|
11 |
2 |
72 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/w83l518dvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/athnreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic7xxx_cam.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6360var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cy_probe_common |
|
52 |
16 |
346 |
| cy_attach |
|
41 |
7 |
336 |
| cyopen |
|
93 |
22 |
686 |
| cyclose |
|
24 |
4 |
178 |
| cyread |
|
14 |
2 |
110 |
| cywrite |
|
14 |
2 |
110 |
| cytty |
|
10 |
1 |
64 |
| cyioctl |
|
65 |
16 |
412 |
| cystart |
|
21 |
5 |
142 |
| cystop |
|
20 |
4 |
140 |
| cyparam |
|
78 |
22 |
549 |
| cy_modem_control |
|
72 |
36 |
488 |
| cy_poll |
|
96 |
30 |
592 |
| cy_intr |
|
179 |
43 |
1204 |
| cy_enable_transmitter |
|
10 |
1 |
54 |
| cd1400_channel_cmd |
|
12 |
5 |
73 |
| cy_speed |
|
15 |
5 |
114 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dwc_gmac_var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic7xxx_openbsd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_attach |
|
49 |
10 |
374 |
| ahc_platform_intr |
|
8 |
1 |
53 |
| ahc_done |
|
75 |
20 |
418 |
| ahc_minphys |
|
7 |
2 |
51 |
| ahc_action |
|
31 |
2 |
226 |
| ahc_execute_scb |
|
125 |
20 |
913 |
| ahc_poll |
|
14 |
4 |
74 |
| ahc_setup_data |
|
40 |
7 |
240 |
| ahc_timeout |
|
27 |
5 |
176 |
| ahc_platform_set_tags |
|
16 |
4 |
77 |
| ahc_platform_alloc |
|
10 |
3 |
62 |
| ahc_platform_free |
|
5 |
2 |
30 |
| ahc_softc_comp |
|
4 |
1 |
19 |
| ahc_send_async |
|
4 |
1 |
25 |
| ahc_adapter_req_set_xfer_mode |
|
56 |
12 |
397 |
| ahc_scb_alloc |
|
11 |
2 |
73 |
| ahc_scb_free |
|
14 |
1 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dwiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwiic_detach |
|
9 |
2 |
50 |
| dwiic_activate |
|
18 |
5 |
92 |
| dwiic_i2c_print |
|
8 |
2 |
49 |
| dwiic_read |
|
6 |
1 |
48 |
| dwiic_write |
|
6 |
1 |
47 |
| dwiic_i2c_acquire_bus |
|
7 |
4 |
50 |
| dwiic_i2c_release_bus |
|
7 |
4 |
42 |
| dwiic_init |
|
26 |
3 |
184 |
| dwiic_enable |
|
12 |
4 |
80 |
| dwiic_i2c_exec |
|
138 |
33 |
949 |
| dwiic_read_clear_intrbits |
|
26 |
11 |
154 |
| dwiic_intr |
|
33 |
7 |
200 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/acxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pcdisplay_chars.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcdisplay_mapchar |
|
23 |
8 |
193 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ibm561.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ibm561_funcs |
|
4 |
1 |
10 |
| ibm561_init |
|
54 |
4 |
555 |
| ibm561_set_cmap |
|
31 |
6 |
214 |
| ibm561_get_cmap |
|
21 |
5 |
153 |
| ibm561_set_cursor |
|
6 |
1 |
21 |
| ibm561_get_cursor |
|
6 |
1 |
21 |
| ibm561_set_curpos |
|
6 |
1 |
21 |
| ibm561_get_curpos |
|
6 |
1 |
21 |
| ibm561_get_curmax |
|
6 |
1 |
21 |
| ibm561_set_dotclock |
|
29 |
17 |
326 |
| ibm561_update |
|
26 |
9 |
192 |
| ibm561_load_cmap |
|
19 |
5 |
178 |
| ibm561_load_dotclock |
|
9 |
4 |
66 |
| ibm561_regcont10bit |
|
5 |
1 |
55 |
| ibm561_regbegin |
|
5 |
1 |
47 |
| ibm561_regcont |
|
4 |
1 |
28 |
| ibm561_regwr |
|
5 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dwc_gmac_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ax88190reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/hmereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bwivar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwi_phy_init |
|
4 |
1 |
18 |
| bwi_rf_off |
|
5 |
1 |
26 |
| bwi_rf_on |
|
7 |
2 |
38 |
| bwi_rf_calc_nrssi_slope |
|
4 |
1 |
18 |
| bwi_rf_set_nrssi_thr |
|
4 |
1 |
18 |
| bwi_rf_calc_rssi |
|
4 |
1 |
29 |
| bwi_rf_lo_update |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dwiicvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am7930.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| am7930_init |
|
26 |
2 |
166 |
| am7930_open |
|
12 |
2 |
69 |
| am7930_close |
|
8 |
1 |
46 |
| am7930_set_params |
|
22 |
6 |
141 |
| am7930_round_blocksize |
|
4 |
1 |
14 |
| am7930_commit_settings |
|
40 |
4 |
249 |
| am7930_halt_output |
|
8 |
1 |
35 |
| am7930_halt_input |
|
8 |
1 |
35 |
| am7930_get_props |
|
4 |
1 |
11 |
| am7930_set_port |
|
42 |
17 |
235 |
| am7930_get_port |
|
38 |
14 |
209 |
| am7930_query_devinfo |
|
119 |
12 |
976 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/qlw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qlw_xs_bus |
|
4 |
2 |
38 |
| qlw_swap16 |
|
7 |
2 |
33 |
| qlw_swap32 |
|
7 |
2 |
33 |
| qlw_queue_read |
|
4 |
1 |
24 |
| qlw_queue_write |
|
4 |
1 |
28 |
| qlw_attach |
|
199 |
43 |
1632 |
| qlw_detach |
|
4 |
1 |
17 |
| qlw_config_bus |
|
16 |
4 |
117 |
| qlw_config_target |
|
26 |
4 |
245 |
| qlw_update_bus |
|
6 |
2 |
37 |
| qlw_update_target |
|
39 |
9 |
386 |
| qlw_update_task |
|
7 |
2 |
40 |
| qlw_handle_resp |
|
129 |
20 |
778 |
| qlw_handle_intr |
|
54 |
12 |
295 |
| qlw_intr |
|
10 |
2 |
55 |
| qlw_scsi_probe |
|
6 |
2 |
27 |
| qlw_scsi_cmd |
|
121 |
20 |
882 |
| qlw_read |
|
8 |
1 |
54 |
| qlw_write |
|
6 |
1 |
49 |
| qlw_read_mbox |
|
4 |
1 |
30 |
| qlw_write_mbox |
|
4 |
1 |
32 |
| qlw_host_cmd |
|
4 |
1 |
26 |
| qlw_mbox |
|
52 |
12 |
313 |
| qlw_mbox_putaddr |
|
7 |
1 |
81 |
| qlw_set_ints |
|
5 |
2 |
34 |
| qlw_read_isr |
|
17 |
4 |
102 |
| qlw_clear_isr |
|
12 |
3 |
46 |
| qlw_softreset |
|
35 |
5 |
233 |
| qlw_dma_burst_enable |
|
21 |
3 |
138 |
| qlw_update |
|
3 |
1 |
12 |
| qlw_async |
|
29 |
8 |
125 |
| qlw_dump_iocb |
|
15 |
4 |
101 |
| qlw_dump_iocb_segs |
|
15 |
4 |
110 |
| qlw_get_header |
|
11 |
2 |
63 |
| qlw_put_header |
|
15 |
2 |
81 |
| qlw_put_data_seg |
|
6 |
1 |
56 |
| qlw_put_marker |
|
8 |
1 |
76 |
| qlw_put_cmd |
|
46 |
9 |
362 |
| qlw_put_cont |
|
13 |
3 |
102 |
| qlw_load_firmware_words |
|
22 |
4 |
148 |
| qlw_load_firmware |
|
4 |
1 |
21 |
| qlw_read_nvram |
|
71 |
15 |
513 |
| qlw_parse_nvram_1040 |
|
24 |
3 |
282 |
| qlw_parse_nvram_1080 |
|
28 |
4 |
316 |
| qlw_init_defaults |
|
35 |
7 |
217 |
| qlw_dmamem_alloc |
|
31 |
6 |
248 |
| qlw_dmamem_free |
|
8 |
1 |
78 |
| qlw_alloc_ccbs |
|
53 |
7 |
369 |
| qlw_free_ccbs |
|
10 |
2 |
75 |
| qlw_get_ccb |
|
12 |
2 |
69 |
| qlw_put_ccb |
|
9 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mpivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/oosiopreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ne2000reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/sili.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sili_attach |
|
19 |
2 |
124 |
| sili_detach |
|
12 |
4 |
65 |
| sili_resume |
|
14 |
4 |
103 |
| sili_pmp_port_start_error_recovery |
|
26 |
3 |
185 |
| sili_port_clear_commands |
|
12 |
2 |
77 |
| sili_pmp_port_do_error_recovery |
|
17 |
3 |
84 |
| sili_simulate_error |
|
27 |
10 |
152 |
| sili_port_intr |
|
218 |
47 |
1482 |
| sili_intr |
|
17 |
4 |
108 |
| sili_ports_alloc |
|
25 |
4 |
182 |
| sili_ports_free |
|
12 |
3 |
82 |
| sili_ccb_alloc |
|
45 |
5 |
340 |
| sili_ccb_free |
|
9 |
2 |
64 |
| sili_get_ccb |
|
16 |
3 |
99 |
| sili_put_ccb |
|
15 |
5 |
105 |
| sili_dmamem_alloc |
|
29 |
5 |
236 |
| sili_dmamem_free |
|
8 |
1 |
76 |
| sili_read |
|
8 |
1 |
52 |
| sili_write |
|
6 |
1 |
47 |
| sili_pread |
|
8 |
1 |
56 |
| sili_pwrite |
|
6 |
1 |
51 |
| sili_pwait_eq |
|
11 |
3 |
62 |
| sili_pwait_ne |
|
11 |
3 |
62 |
| sili_post_direct |
|
11 |
4 |
91 |
| sili_pread_fis |
|
8 |
1 |
73 |
| sili_post_indirect |
|
7 |
1 |
61 |
| sili_signature |
|
9 |
1 |
57 |
| sili_dummy_done |
|
3 |
1 |
9 |
| sili_pmp_portreset |
|
63 |
14 |
387 |
| sili_pmp_op_timeout |
|
23 |
4 |
130 |
| sili_pmp_softreset |
|
52 |
7 |
342 |
| sili_port_softreset |
|
27 |
5 |
163 |
| sili_ata_probe |
|
70 |
16 |
444 |
| sili_ata_free |
|
9 |
3 |
55 |
| sili_ata_cmd |
|
46 |
6 |
299 |
| sili_ata_cmd_done |
|
30 |
9 |
251 |
| sili_ata_cmd_timeout |
|
9 |
1 |
49 |
| sili_load |
|
47 |
9 |
383 |
| sili_unload |
|
18 |
4 |
125 |
| sili_poll |
|
18 |
4 |
123 |
| sili_start |
|
11 |
1 |
84 |
| sili_read_ncq_error |
|
57 |
4 |
467 |
| sili_ata_get_xfer |
|
13 |
2 |
85 |
| sili_ata_put_xfer |
|
5 |
1 |
26 |
| sili_pmp_read |
|
37 |
3 |
265 |
| sili_pmp_write |
|
32 |
2 |
239 |
| sili_pmp_phy_status |
|
10 |
3 |
66 |
| sili_pmp_identify |
|
27 |
7 |
159 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pckbcvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/z8530sc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zs_break |
|
11 |
2 |
71 |
| zs_iflush |
|
15 |
4 |
90 |
| zs_loadchannelregs |
|
45 |
10 |
460 |
| zsc_intr_hard |
|
35 |
11 |
250 |
| zsc_intr_soft |
|
16 |
3 |
87 |
| zsnull_rxint |
|
4 |
1 |
15 |
| zsnull_stint |
|
4 |
1 |
18 |
| zsnull_txint |
|
4 |
1 |
15 |
| zsnull_softint |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/nvme.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nvme_read8 |
|
10 |
2 |
83 |
| nvme_write8 |
|
8 |
2 |
78 |
| nvme_dumpregs |
|
32 |
1 |
415 |
| nvme_ready |
|
11 |
3 |
69 |
| nvme_enable |
|
26 |
2 |
262 |
| nvme_disable |
|
16 |
4 |
108 |
| nvme_attach |
|
96 |
13 |
696 |
| nvme_resume |
|
31 |
6 |
200 |
| nvme_scsi_probe |
|
35 |
3 |
275 |
| nvme_shutdown |
|
26 |
4 |
170 |
| nvme_activate |
|
19 |
4 |
94 |
| nvme_scsi_cmd |
|
39 |
16 |
138 |
| nvme_scsi_io |
|
39 |
8 |
286 |
| nvme_scsi_io_fill |
|
26 |
4 |
205 |
| nvme_scsi_io_done |
|
24 |
4 |
163 |
| nvme_scsi_sync |
|
13 |
2 |
89 |
| nvme_scsi_sync_fill |
|
8 |
1 |
63 |
| nvme_scsi_sync_done |
|
12 |
2 |
75 |
| nvme_scsi_inq |
|
14 |
2 |
67 |
| nvme_scsi_inquiry |
|
20 |
1 |
181 |
| nvme_scsi_capacity16 |
|
25 |
2 |
194 |
| nvme_scsi_capacity |
|
25 |
3 |
190 |
| nvme_scsi_free |
|
8 |
1 |
62 |
| nvme_q_submit |
|
20 |
2 |
201 |
| nvme_poll |
|
23 |
3 |
203 |
| nvme_poll_fill |
|
6 |
1 |
41 |
| nvme_poll_done |
|
7 |
1 |
47 |
| nvme_sqe_fill |
|
6 |
1 |
40 |
| nvme_empty_done |
|
4 |
1 |
19 |
| nvme_q_complete |
|
30 |
6 |
209 |
| nvme_identify |
|
38 |
6 |
310 |
| nvme_q_create |
|
34 |
3 |
282 |
| nvme_q_delete |
|
28 |
3 |
205 |
| nvme_fill_identify |
|
8 |
1 |
68 |
| nvme_ccbs_alloc |
|
34 |
4 |
239 |
| nvme_ccb_get |
|
11 |
2 |
67 |
| nvme_ccb_put |
|
8 |
1 |
54 |
| nvme_ccbs_free |
|
10 |
2 |
73 |
| nvme_q_alloc |
|
34 |
4 |
273 |
| nvme_q_reset |
|
13 |
1 |
127 |
| nvme_q_free |
|
8 |
1 |
65 |
| nvme_intr |
|
10 |
3 |
55 |
| nvme_intr_intx |
|
9 |
1 |
48 |
| nvme_dmamem_alloc |
|
31 |
6 |
246 |
| nvme_dmamem_sync |
|
5 |
1 |
38 |
| nvme_dmamem_free |
|
8 |
1 |
76 |
| nvme_hibernate_admin_cmd |
|
36 |
7 |
297 |
| nvme_hibernate_io |
|
121 |
17 |
1023 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/hme.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hme_config |
|
116 |
20 |
905 |
| hme_unconfig |
|
17 |
5 |
160 |
| hme_tick |
|
23 |
2 |
174 |
| hme_reset |
|
7 |
1 |
28 |
| hme_stop |
|
47 |
9 |
399 |
| hme_meminit |
|
33 |
3 |
278 |
| hme_init |
|
75 |
8 |
598 |
| hme_start |
|
74 |
16 |
565 |
| hme_tint |
|
35 |
7 |
218 |
| hme_rint |
|
41 |
5 |
266 |
| hme_eint |
|
23 |
6 |
126 |
| hme_intr |
|
18 |
5 |
126 |
| hme_watchdog |
|
7 |
1 |
41 |
| hme_mifinit |
|
25 |
5 |
149 |
| hme_mii_readreg |
|
42 |
7 |
283 |
| hme_mii_writereg |
|
39 |
7 |
273 |
| hme_mii_statchg |
|
18 |
4 |
122 |
| hme_mediachange |
|
25 |
6 |
182 |
| hme_mediastatus |
|
9 |
2 |
65 |
| hme_ioctl |
|
43 |
14 |
256 |
| hme_iff |
|
37 |
4 |
304 |
| hme_fill_rx_ring |
|
18 |
4 |
148 |
| hme_newbuf |
|
22 |
3 |
145 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dp8390reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i8042reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i8259reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dp8390var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82802reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am79900reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ncr53c9xvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mfi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mfi_get_ccb |
|
16 |
2 |
97 |
| mfi_put_ccb |
|
11 |
1 |
76 |
| mfi_scrub_ccb |
|
16 |
1 |
93 |
| mfi_init_ccb |
|
43 |
4 |
322 |
| mfi_read |
|
9 |
1 |
68 |
| mfi_write |
|
7 |
1 |
63 |
| mfi_allocmem |
|
35 |
6 |
284 |
| mfi_freemem |
|
9 |
1 |
90 |
| mfi_transition_firmware |
|
54 |
13 |
253 |
| mfi_initialize_firmware |
|
32 |
2 |
278 |
| mfi_empty_done |
|
3 |
1 |
14 |
| mfi_get_info |
|
129 |
8 |
889 |
| mfiminphys |
|
7 |
2 |
44 |
| mfi_attach |
|
120 |
21 |
868 |
| mfi_syspd |
|
50 |
8 |
386 |
| mfi_poll |
|
35 |
6 |
230 |
| mfi_exec |
|
13 |
5 |
96 |
| mfi_exec_done |
|
8 |
1 |
44 |
| mfi_intr |
|
40 |
5 |
278 |
| mfi_scsi_io |
|
35 |
5 |
263 |
| mfi_scsi_xs_done |
|
40 |
5 |
257 |
| mfi_scsi_ld |
|
35 |
6 |
282 |
| mfi_scsi_cmd |
|
72 |
16 |
447 |
| mfi_default_sgd_load |
|
23 |
4 |
251 |
| mfi_create_sgl |
|
42 |
5 |
269 |
| mfi_mgmt |
|
11 |
1 |
87 |
| mfi_do_mgmt |
|
53 |
13 |
350 |
| mfi_scsi_ioctl |
|
16 |
4 |
106 |
| mfi_ioctl_cache |
|
70 |
19 |
449 |
| mfi_ioctl |
|
42 |
8 |
266 |
| mfi_bio_getitall |
|
59 |
13 |
449 |
| mfi_ioctl_inq |
|
22 |
4 |
153 |
| mfi_ioctl_vol |
|
67 |
15 |
454 |
| mfi_ioctl_disk |
|
85 |
13 |
590 |
| mfi_ioctl_alarm |
|
36 |
8 |
162 |
| mfi_ioctl_blink |
|
44 |
11 |
289 |
| mfi_ioctl_setstate |
|
55 |
12 |
393 |
| mfi_ioctl_patrol |
|
117 |
30 |
623 |
| mfi_bio_hs |
|
74 |
9 |
574 |
| mfi_bbu |
|
57 |
16 |
482 |
| mfi_create_sensors |
|
61 |
8 |
586 |
| mfi_refresh_sensors |
|
37 |
10 |
230 |
| mfi_start |
|
7 |
1 |
47 |
| mfi_done |
|
14 |
3 |
101 |
| mfi_xscale_fw_state |
|
4 |
1 |
19 |
| mfi_xscale_intr_ena |
|
4 |
1 |
18 |
| mfi_xscale_intr |
|
9 |
2 |
50 |
| mfi_xscale_post |
|
5 |
1 |
34 |
| mfi_ppc_fw_state |
|
4 |
1 |
19 |
| mfi_ppc_intr_ena |
|
5 |
1 |
27 |
| mfi_ppc_intr |
|
9 |
2 |
50 |
| mfi_ppc_post |
|
5 |
1 |
36 |
| mfi_gen2_fw_state |
|
4 |
1 |
19 |
| mfi_gen2_intr_ena |
|
5 |
1 |
27 |
| mfi_gen2_intr |
|
9 |
2 |
50 |
| mfi_gen2_post |
|
5 |
1 |
36 |
| mfi_skinny_fw_state |
|
4 |
1 |
19 |
| mfi_skinny_intr_ena |
|
4 |
1 |
18 |
| mfi_skinny_intr |
|
9 |
2 |
50 |
| mfi_skinny_post |
|
6 |
1 |
45 |
| mfi_skinny_sgd_load |
|
21 |
5 |
169 |
| mfi_pd_scsi_probe |
|
18 |
5 |
140 |
| mfi_pd_scsi_cmd |
|
47 |
7 |
342 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am79900var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lancevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/intersil7170.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt8xx.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ne2000var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9280.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar9280_attach |
|
21 |
2 |
153 |
| ar9280_setup |
|
40 |
15 |
239 |
| ar9280_set_synth |
|
56 |
11 |
406 |
| ar9280_init_from_rom |
|
153 |
21 |
1229 |
| ar9280_olpc_get_pdadcs |
|
35 |
7 |
305 |
| ar9280_spur_mitigate |
|
64 |
10 |
356 |
| ar9280_reset_rx_gain |
|
12 |
3 |
84 |
| ar9280_reset_tx_gain |
|
12 |
3 |
84 |
| ar9280_olpc_init |
|
10 |
2 |
62 |
| ar9280_olpc_temp_compensation |
|
30 |
8 |
221 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am7930reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5008.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar5008_attach |
|
89 |
19 |
606 |
| ar5008_read_eep_word |
|
17 |
3 |
103 |
| ar5008_read_rom |
|
42 |
10 |
263 |
| ar5008_swap_rom |
|
12 |
1 |
116 |
| ar5008_gpio_read |
|
7 |
3 |
80 |
| ar5008_gpio_write |
|
23 |
6 |
144 |
| ar5008_gpio_config_input |
|
13 |
3 |
95 |
| ar5008_gpio_config_output |
|
23 |
5 |
200 |
| ar5008_rfsilent_init |
|
15 |
2 |
100 |
| ar5008_dma_alloc |
|
11 |
3 |
53 |
| ar5008_dma_free |
|
5 |
1 |
19 |
| ar5008_tx_alloc |
|
44 |
7 |
334 |
| ar5008_tx_free |
|
20 |
5 |
141 |
| ar5008_rx_alloc |
|
65 |
10 |
479 |
| ar5008_rx_free |
|
24 |
6 |
180 |
| ar5008_rx_enable |
|
27 |
3 |
216 |
| ar5008_rx_radiotap |
|
59 |
19 |
466 |
| ar5008_rx_process |
|
118 |
20 |
883 |
| ar5008_rx_intr |
|
4 |
2 |
19 |
| ar5008_tx_process |
|
60 |
13 |
461 |
| ar5008_tx_intr |
|
23 |
5 |
171 |
| ar5008_swba_intr |
|
85 |
15 |
670 |
| ar5008_intr |
|
69 |
26 |
441 |
| ar5008_tx |
|
286 |
69 |
2209 |
| ar5008_set_rf_mode |
|
15 |
6 |
87 |
| ar5008_synth_delay |
|
10 |
2 |
58 |
| ar5008_rf_bus_request |
|
12 |
3 |
69 |
| ar5008_rf_bus_release |
|
6 |
1 |
33 |
| ar5008_set_phy |
|
22 |
5 |
136 |
| ar5008_set_delta_slope |
|
20 |
1 |
184 |
| ar5008_enable_antenna_diversity |
|
6 |
1 |
23 |
| ar5008_init_baseband |
|
8 |
1 |
40 |
| ar5008_disable_phy |
|
5 |
1 |
23 |
| ar5008_init_chains |
|
15 |
6 |
115 |
| ar5008_set_rxchains |
|
8 |
3 |
52 |
| ar5008_read_noisefloor |
|
19 |
4 |
154 |
| ar5008_write_noisefloor |
|
14 |
2 |
121 |
| ar5008_get_noisefloor |
|
15 |
4 |
122 |
| ar5008_bb_load_noisefloor |
|
25 |
6 |
193 |
| ar5008_noisefloor_calib |
|
7 |
1 |
41 |
| ar5008_do_noisefloor_calib |
|
5 |
1 |
23 |
| ar5008_do_calib |
|
19 |
4 |
119 |
| ar5008_next_calib |
|
14 |
5 |
68 |
| ar5008_calib_iq |
|
49 |
12 |
379 |
| ar5008_calib_adc_gain |
|
37 |
7 |
303 |
| ar5008_calib_adc_dc_off |
|
42 |
6 |
330 |
| ar5008_write_txpower |
|
49 |
1 |
536 |
| ar5008_set_viterbi_mask |
|
82 |
7 |
1432 |
| ar5008_hw_init |
|
105 |
30 |
721 |
| ar5008_get_vpd |
|
18 |
5 |
118 |
| ar5008_get_pdadcs |
|
80 |
22 |
730 |
| ar5008_get_lg_tpow |
|
24 |
8 |
186 |
| ar5008_get_ht_tpow |
|
24 |
8 |
186 |
| ar5008_set_noise_immunity_level |
|
16 |
5 |
149 |
| ar5008_enable_ofdm_weak_signal |
|
23 |
1 |
190 |
| ar5008_disable_ofdm_weak_signal |
|
23 |
1 |
190 |
| ar5008_set_cck_weak_signal |
|
8 |
2 |
53 |
| ar5008_set_firstep_level |
|
8 |
1 |
51 |
| ar5008_set_spur_immunity_level |
|
8 |
1 |
55 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mpuvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic7xxxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/gemreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/sli.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sli_attach |
|
5 |
1 |
19 |
| sli_detach |
|
4 |
1 |
17 |
| sli_intr |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/adw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adw_alloc_controls |
|
33 |
5 |
249 |
| adw_alloc_carriers |
|
42 |
6 |
294 |
| adw_create_ccbs |
|
15 |
3 |
99 |
| adw_ccb_free |
|
9 |
1 |
57 |
| adw_reset_ccb |
|
4 |
1 |
14 |
| adw_init_ccb |
|
20 |
2 |
138 |
| adw_ccb_alloc |
|
13 |
2 |
73 |
| adw_ccb_phys_kv |
|
11 |
3 |
57 |
| adw_queue_ccb |
|
27 |
7 |
189 |
| adw_init |
|
25 |
4 |
147 |
| adw_attach |
|
77 |
14 |
430 |
| adw_minphys |
|
6 |
2 |
49 |
| adw_scsi_cmd |
|
37 |
8 |
203 |
| adw_build_req |
|
53 |
6 |
385 |
| adw_build_sglist |
|
29 |
4 |
189 |
| adw_intr |
|
8 |
2 |
35 |
| adw_poll |
|
19 |
6 |
112 |
| adw_timeout |
|
31 |
5 |
185 |
| adw_reset_bus |
|
16 |
2 |
114 |
| adw_print_info |
|
35 |
7 |
229 |
| adw_isr_callback |
|
120 |
42 |
531 |
| adw_async_callback |
|
24 |
6 |
104 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lsi64854var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dc21040reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/if_wireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc91cxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| smc91cxx_attach |
|
87 |
15 |
630 |
| smc91cxx_mediachange |
|
6 |
1 |
36 |
| smc91cxx_set_media |
|
30 |
7 |
164 |
| smc91cxx_mediastatus |
|
24 |
4 |
150 |
| smc91cxx_init |
|
47 |
5 |
355 |
| smc91cxx_start |
|
81 |
21 |
640 |
| smc91cxx_intr |
|
85 |
17 |
562 |
| smc91cxx_read |
|
57 |
9 |
370 |
| smc91cxx_ioctl |
|
46 |
14 |
281 |
| smc91cxx_reset |
|
9 |
1 |
35 |
| smc91cxx_watchdog |
|
8 |
1 |
47 |
| smc91cxx_stop |
|
12 |
1 |
82 |
| smc91cxx_enable |
|
13 |
4 |
74 |
| smc91cxx_disable |
|
8 |
3 |
47 |
| smc91cxx_activate |
|
15 |
4 |
72 |
| smc91cxx_detach |
|
14 |
2 |
89 |
| smc91cxx_mii_bitbang_read |
|
6 |
1 |
38 |
| smc91cxx_mii_bitbang_write |
|
7 |
1 |
42 |
| smc91cxx_mii_readreg |
|
11 |
1 |
67 |
| smc91cxx_mii_writereg |
|
9 |
1 |
63 |
| smc91cxx_statchg |
|
16 |
2 |
95 |
| smc91cxx_tick |
|
14 |
4 |
82 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc91cxxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/decmonitors.c |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/if_wi_ieee.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic79xx.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pcf8584var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ciss.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ciss_get_ccb |
|
14 |
2 |
81 |
| ciss_put_ccb |
|
11 |
1 |
72 |
| ciss_attach |
|
228 |
40 |
2075 |
| ciss_shutdown |
|
7 |
1 |
34 |
| cissminphys |
|
6 |
3 |
33 |
| ciss_cmd |
|
138 |
24 |
1025 |
| ciss_done |
|
30 |
6 |
195 |
| ciss_error |
|
56 |
8 |
311 |
| ciss_inq |
|
28 |
2 |
222 |
| ciss_ldmap |
|
37 |
3 |
291 |
| ciss_sync |
|
34 |
2 |
254 |
| ciss_scsi_cmd |
|
39 |
5 |
309 |
| ciss_intr |
|
36 |
8 |
248 |
| ciss_heartbeat |
|
24 |
4 |
151 |
| ciss_scsi_ioctl |
|
5 |
2 |
33 |
| ciss_ioctl |
|
148 |
31 |
1068 |
| ciss_sensors |
|
42 |
14 |
250 |
| ciss_ldid |
|
29 |
2 |
230 |
| ciss_ldstat |
|
29 |
2 |
230 |
| ciss_pdid |
|
29 |
2 |
233 |
| ciss_pdscan |
|
30 |
10 |
241 |
| ciss_blink |
|
38 |
6 |
304 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/iha.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iha_intr |
|
22 |
3 |
138 |
| iha_setup_sg_list |
|
27 |
5 |
216 |
| iha_scsi_cmd |
|
57 |
11 |
385 |
| iha_init_tulip |
|
75 |
7 |
605 |
| iha_minphys |
|
6 |
2 |
49 |
| iha_reset_dma |
|
9 |
3 |
69 |
| iha_scb_alloc |
|
13 |
2 |
77 |
| iha_scb_free |
|
28 |
2 |
180 |
| iha_append_pend_scb |
|
7 |
2 |
46 |
| iha_push_pend_scb |
|
10 |
2 |
60 |
| iha_find_pend_scb |
|
26 |
8 |
143 |
| iha_mark_busy_scb |
|
11 |
2 |
53 |
| iha_append_done_scb |
|
20 |
6 |
134 |
| iha_pop_done_scb |
|
13 |
2 |
69 |
| iha_abort_xs |
|
29 |
7 |
178 |
| iha_bad_seq |
|
8 |
2 |
51 |
| iha_push_sense_request |
|
55 |
8 |
426 |
| iha_main |
|
32 |
11 |
183 |
| iha_scsi |
|
67 |
21 |
522 |
| iha_data_over_run |
|
43 |
34 |
135 |
| iha_next_state |
|
53 |
18 |
256 |
| iha_state_1 |
|
31 |
7 |
237 |
| iha_state_2 |
|
11 |
2 |
94 |
| iha_state_3 |
|
40 |
14 |
265 |
| iha_state_4 |
|
44 |
15 |
279 |
| iha_state_5 |
|
67 |
17 |
505 |
| iha_state_6 |
|
30 |
12 |
180 |
| iha_state_8 |
|
31 |
7 |
186 |
| iha_xfer_data |
|
28 |
6 |
232 |
| iha_xpad_in |
|
22 |
6 |
143 |
| iha_xpad_out |
|
23 |
6 |
156 |
| iha_status_msg |
|
52 |
13 |
351 |
| iha_busfree |
|
14 |
3 |
94 |
| iha_reset_scsi_bus |
|
22 |
5 |
137 |
| iha_resel |
|
60 |
16 |
432 |
| iha_msgin |
|
54 |
16 |
351 |
| iha_msgin_ignore_wid_resid |
|
16 |
3 |
108 |
| iha_msgin_extended |
|
51 |
16 |
461 |
| iha_msgin_sdtr |
|
28 |
6 |
169 |
| iha_msgout |
|
6 |
1 |
43 |
| iha_msgout_abort |
|
17 |
4 |
95 |
| iha_msgout_reject |
|
8 |
2 |
65 |
| iha_msgout_extended |
|
12 |
1 |
97 |
| iha_msgout_wdtr |
|
9 |
1 |
64 |
| iha_msgout_sdtr |
|
13 |
1 |
90 |
| iha_wide_done |
|
12 |
2 |
93 |
| iha_sync_done |
|
18 |
5 |
148 |
| iha_reset_chip |
|
13 |
3 |
94 |
| iha_select |
|
35 |
5 |
217 |
| iha_wait |
|
42 |
9 |
337 |
| iha_done_scb |
|
72 |
23 |
355 |
| iha_timeout |
|
10 |
2 |
68 |
| iha_exec_scb |
|
27 |
5 |
187 |
| iha_set_ssig |
|
7 |
1 |
47 |
| iha_print_info |
|
21 |
4 |
152 |
| iha_alloc_scbs |
|
22 |
3 |
143 |
| iha_read_eeprom |
|
23 |
4 |
176 |
| iha_se2_rd |
|
20 |
2 |
134 |
| iha_se2_instr |
|
23 |
3 |
148 |
| iha_reset_tcs |
|
8 |
1 |
46 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/qlwvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/oosiopvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i8253reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/uhareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/silireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ns16450reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/oosiop.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| oosiop_cb_alloc |
|
11 |
2 |
67 |
| oosiop_cb_free |
|
8 |
1 |
54 |
| oosiop_attach |
|
85 |
13 |
642 |
| oosiop_alloc_cb |
|
62 |
9 |
408 |
| oosiop_relocate_io |
|
15 |
3 |
114 |
| oosiop_relocate_tc |
|
15 |
3 |
112 |
| oosiop_fixup_select |
|
8 |
1 |
57 |
| oosiop_fixup_jump |
|
4 |
1 |
31 |
| oosiop_fixup_move |
|
10 |
1 |
77 |
| oosiop_load_script |
|
20 |
7 |
141 |
| oosiop_setup_sgdma |
|
60 |
10 |
466 |
| oosiop_setup_dma |
|
24 |
1 |
210 |
| oosiop_flush_fifo |
|
10 |
2 |
57 |
| oosiop_clear_fifo |
|
10 |
2 |
57 |
| oosiop_phasemismatch |
|
56 |
12 |
423 |
| oosiop_setup_syncxfer |
|
8 |
2 |
60 |
| oosiop_set_syncparam |
|
41 |
9 |
309 |
| oosiop_minphys |
|
6 |
2 |
33 |
| oosiop_scsicmd |
|
71 |
10 |
460 |
| oosiop_poll |
|
29 |
6 |
150 |
| oosiop_setup |
|
24 |
2 |
192 |
| oosiop_done |
|
96 |
18 |
644 |
| oosiop_timeout |
|
14 |
1 |
87 |
| oosiop_reset |
|
38 |
3 |
304 |
| oosiop_reset_bus |
|
18 |
3 |
116 |
| oosiop_intr |
|
9 |
2 |
52 |
| oosiop_processintr |
|
100 |
26 |
641 |
| oosiop_scriptintr |
|
88 |
22 |
479 |
| oosiop_msgin |
|
71 |
12 |
469 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/revar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pgt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pgt_write_memory_barrier |
|
5 |
1 |
26 |
| pgt_read_4 |
|
4 |
1 |
28 |
| pgt_write_4 |
|
4 |
1 |
30 |
| pgt_write_4_flush |
|
5 |
1 |
46 |
| pgt_debug_events |
|
7 |
2 |
67 |
| pgt_queue_frags_pending |
|
5 |
1 |
40 |
| pgt_reinit_rx_desc_frag |
|
8 |
1 |
70 |
| pgt_load_tx_desc_frag |
|
20 |
3 |
158 |
| pgt_unload_tx_desc_frag |
|
5 |
1 |
31 |
| pgt_load_firmware |
|
69 |
7 |
388 |
| pgt_cleanup_queue |
|
20 |
3 |
133 |
| pgt_reset |
|
42 |
3 |
294 |
| pgt_stop |
|
70 |
13 |
417 |
| pgt_attach |
|
37 |
7 |
235 |
| pgt_detach |
|
14 |
4 |
88 |
| pgt_reboot |
|
17 |
1 |
94 |
| pgt_init_intr |
|
11 |
3 |
61 |
| pgt_update_intr |
|
87 |
19 |
590 |
| pgt_ieee80211_encap |
|
76 |
16 |
573 |
| pgt_input_frames |
|
116 |
18 |
774 |
| pgt_wakeup_intr |
|
26 |
7 |
155 |
| pgt_sleep_intr |
|
26 |
8 |
164 |
| pgt_empty_traps |
|
11 |
2 |
65 |
| pgt_per_device_kthread |
|
39 |
8 |
255 |
| pgt_async_reset |
|
7 |
2 |
39 |
| pgt_async_update |
|
7 |
2 |
35 |
| pgt_intr |
|
43 |
14 |
256 |
| pgt_txdone |
|
26 |
4 |
193 |
| pgt_rxdone |
|
19 |
4 |
168 |
| pgt_trap_received |
|
34 |
6 |
220 |
| pgt_mgmtrx_completion |
|
106 |
23 |
698 |
| pgt_datarx_completion |
|
64 |
11 |
433 |
| pgt_oid_get |
|
17 |
5 |
116 |
| pgt_oid_retrieve |
|
18 |
5 |
122 |
| pgt_oid_set |
|
17 |
5 |
117 |
| pgt_state_dump |
|
27 |
1 |
222 |
| pgt_mgmt_request |
|
66 |
16 |
458 |
| pgt_desc_transmit |
|
27 |
4 |
228 |
| pgt_maybe_trigger |
|
34 |
8 |
197 |
| pgt_ieee80211_node_alloc |
|
9 |
2 |
53 |
| pgt_ieee80211_newassoc |
|
5 |
1 |
22 |
| pgt_ieee80211_node_free |
|
6 |
1 |
37 |
| pgt_ieee80211_node_copy |
|
9 |
1 |
63 |
| pgt_ieee80211_send_mgmt |
|
5 |
1 |
28 |
| pgt_net_attach |
|
132 |
29 |
1029 |
| pgt_media_change |
|
11 |
2 |
54 |
| pgt_media_status |
|
51 |
12 |
280 |
| pgt_start |
|
111 |
22 |
726 |
| pgt_ioctl |
|
127 |
24 |
887 |
| pgt_obj_bss2scanres |
|
28 |
5 |
262 |
| node_mark_active_ap |
|
4 |
1 |
19 |
| node_mark_active_adhoc |
|
7 |
2 |
43 |
| pgt_watchdog |
|
35 |
11 |
191 |
| pgt_init |
|
14 |
2 |
102 |
| pgt_update_hw_from_sw |
|
208 |
35 |
1439 |
| pgt_hostap_handle_mlme |
|
30 |
7 |
179 |
| pgt_update_sw_from_hw |
|
93 |
24 |
645 |
| pgt_newstate |
|
33 |
7 |
194 |
| pgt_drain_tx_queue |
|
28 |
4 |
220 |
| pgt_dma_alloc |
|
91 |
17 |
593 |
| pgt_dma_alloc_queue |
|
70 |
13 |
418 |
| pgt_dma_free |
|
23 |
4 |
155 |
| pgt_dma_free_queue |
|
14 |
3 |
112 |
| pgt_activate |
|
20 |
5 |
123 |
| pgt_wakeup |
|
12 |
3 |
81 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/sa2400reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtl81x9.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rl_eeprom_putbyte |
|
16 |
3 |
97 |
| rl_eeprom_getword |
|
19 |
3 |
129 |
| rl_read_eeprom |
|
14 |
3 |
98 |
| rl_mii_sync |
|
11 |
2 |
54 |
| rl_mii_send |
|
15 |
3 |
84 |
| rl_mii_readreg |
|
55 |
7 |
323 |
| rl_mii_writereg |
|
23 |
1 |
152 |
| rl_iff |
|
38 |
6 |
260 |
| rl_reset |
|
12 |
4 |
74 |
| rl_list_tx_init |
|
13 |
2 |
85 |
| rl_rxeof |
|
84 |
13 |
557 |
| rl_txeof |
|
40 |
11 |
276 |
| rl_intr |
|
28 |
11 |
178 |
| rl_encap |
|
37 |
6 |
269 |
| rl_start |
|
28 |
8 |
184 |
| rl_init |
|
31 |
1 |
247 |
| rl_ifmedia_upd |
|
6 |
1 |
36 |
| rl_ifmedia_sts |
|
7 |
1 |
51 |
| rl_ioctl |
|
38 |
11 |
210 |
| rl_watchdog |
|
9 |
1 |
49 |
| rl_stop |
|
25 |
3 |
188 |
| rl_attach |
|
88 |
9 |
766 |
| rl_activate |
|
21 |
5 |
110 |
| rl_miibus_readreg |
|
39 |
11 |
180 |
| rl_miibus_writereg |
|
37 |
10 |
162 |
| rl_miibus_statchg |
|
3 |
1 |
9 |
| rl_tick |
|
9 |
1 |
47 |
| rl_detach |
|
11 |
2 |
82 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tc921x.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt463.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bt463_funcs |
|
4 |
1 |
10 |
| bt463_init |
|
31 |
5 |
307 |
| bt463_set_cmap |
|
29 |
6 |
213 |
| bt463_get_cmap |
|
20 |
5 |
147 |
| bt463_check_curcmap |
|
19 |
6 |
154 |
| bt463_set_curcmap |
|
14 |
1 |
125 |
| bt463_get_curcmap |
|
25 |
7 |
168 |
| bt463_store |
|
8 |
1 |
45 |
| bt463_readback |
|
7 |
1 |
39 |
| bt463_debug |
|
20 |
3 |
126 |
| bt463_copyback |
|
12 |
2 |
103 |
| bt463_wraddr |
|
7 |
1 |
51 |
| bt463_update |
|
38 |
8 |
287 |
| bt463_set_cursor |
|
7 |
1 |
40 |
| bt463_get_cursor |
|
7 |
1 |
40 |
| bt463_set_curpos |
|
7 |
1 |
40 |
| bt463_get_curpos |
|
7 |
1 |
40 |
| bt463_get_curmax |
|
7 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtwn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtwn_attach |
|
84 |
17 |
559 |
| rtwn_detach |
|
13 |
2 |
73 |
| rtwn_activate |
|
14 |
4 |
63 |
| rtwn_write_1 |
|
4 |
1 |
32 |
| rtwn_write_2 |
|
4 |
1 |
32 |
| rtwn_write_4 |
|
4 |
1 |
32 |
| rtwn_read_1 |
|
4 |
1 |
28 |
| rtwn_read_2 |
|
4 |
1 |
28 |
| rtwn_read_4 |
|
4 |
1 |
28 |
| rtwn_fw_cmd |
|
28 |
6 |
232 |
| rtwn_rf_write |
|
10 |
2 |
67 |
| rtwn_rf_read |
|
22 |
3 |
181 |
| rtwn_cam_write |
|
7 |
1 |
42 |
| rtwn_efuse_read_1 |
|
18 |
3 |
114 |
| rtwn_efuse_read |
|
44 |
12 |
310 |
| rtwn_efuse_switch_power |
|
20 |
4 |
116 |
| rtwn_read_chipid |
|
28 |
8 |
155 |
| rtwn_read_rom |
|
7 |
2 |
28 |
| rtwn_r92c_read_rom |
|
14 |
1 |
131 |
| rtwn_r88e_read_rom |
|
12 |
1 |
104 |
| rtwn_media_change |
|
13 |
3 |
67 |
| rtwn_ra_init |
|
62 |
14 |
427 |
| rtwn_r92c_ra_init |
|
29 |
3 |
204 |
| rtwn_r88e_ra_init |
|
12 |
3 |
86 |
| rtwn_tsf_sync_enable |
|
17 |
1 |
138 |
| rtwn_set_led |
|
33 |
8 |
196 |
| rtwn_set_nettype |
|
16 |
3 |
64 |
| rtwn_calib |
|
13 |
2 |
97 |
| rtwn_next_scan |
|
9 |
2 |
49 |
| rtwn_newstate |
|
102 |
13 |
728 |
| rtwn_update_short_preamble |
|
8 |
2 |
37 |
| rtwn_r92c_update_short_preamble |
|
10 |
2 |
49 |
| rtwn_r88e_update_short_preamble |
|
10 |
2 |
49 |
| rtwn_updateslot |
|
11 |
2 |
59 |
| rtwn_updateedca |
|
44 |
7 |
217 |
| rtwn_set_key |
|
49 |
8 |
315 |
| rtwn_delete_key |
|
17 |
5 |
124 |
| rtwn_update_avgrssi |
|
32 |
13 |
208 |
| rtwn_get_rssi |
|
25 |
4 |
193 |
| rtwn_r88e_get_rssi |
|
20 |
5 |
170 |
| rtwn_start |
|
39 |
14 |
259 |
| rtwn_watchdog |
|
15 |
3 |
84 |
| rtwn_ioctl |
|
51 |
15 |
307 |
| rtwn_fw_reset |
|
7 |
2 |
28 |
| rtwn_r92c_fw_reset |
|
17 |
4 |
102 |
| rtwn_r88e_fw_reset |
|
11 |
1 |
81 |
| rtwn_load_firmware |
|
93 |
17 |
634 |
| rtwn_rf_init |
|
58 |
10 |
461 |
| rtwn_cam_init |
|
5 |
1 |
20 |
| rtwn_pa_bias_init |
|
18 |
4 |
132 |
| rtwn_rxfilter_init |
|
12 |
1 |
83 |
| rtwn_edca_init |
|
23 |
4 |
171 |
| rtwn_rate_fallback_init |
|
16 |
4 |
131 |
| rtwn_usb_aggr_init |
|
19 |
3 |
128 |
| rtwn_write_txpower |
|
56 |
3 |
574 |
| rtwn_get_txpower |
|
8 |
2 |
63 |
| rtwn_r92c_get_txpower |
|
80 |
26 |
653 |
| rtwn_r88e_get_txpower |
|
50 |
15 |
363 |
| rtwn_set_txpower |
|
10 |
2 |
67 |
| rtwn_set_chan |
|
58 |
10 |
482 |
| rtwn_iq_calib_chain |
|
40 |
9 |
371 |
| rtwn_iq_calib_run |
|
120 |
21 |
1019 |
| rtwn_iq_calib_compare_results |
|
21 |
12 |
253 |
| rtwn_iq_calib_write_results |
|
60 |
10 |
499 |
| rtwn_iq_calib |
|
22 |
6 |
200 |
| rtwn_lc_calib |
|
28 |
5 |
210 |
| rtwn_temp_calib |
|
23 |
5 |
140 |
| rtwn_enable_intr |
|
27 |
5 |
145 |
| rtwn_disable_intr |
|
16 |
3 |
93 |
| rtwn_init |
|
130 |
24 |
934 |
| rtwn_init_task |
|
16 |
3 |
109 |
| rtwn_stop |
|
20 |
1 |
151 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/z8530sc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/slireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/siop.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siop_table_sync |
|
12 |
1 |
73 |
| siop_script_sync |
|
8 |
2 |
51 |
| siop_script_read |
|
11 |
2 |
69 |
| siop_script_write |
|
12 |
2 |
76 |
| siop_attach |
|
27 |
4 |
219 |
| siop_reset |
|
94 |
17 |
823 |
| siop_intr |
|
638 |
121 |
3772 |
| siop_scsicmd_end |
|
95 |
18 |
715 |
| siop_handle_qtag_reject |
|
30 |
4 |
257 |
| siop_handle_reset |
|
83 |
15 |
627 |
| siop_cmd_get |
|
16 |
4 |
92 |
| siop_cmd_put |
|
10 |
1 |
60 |
| siop_scsiprobe |
|
49 |
8 |
350 |
| siop_scsicmd |
|
82 |
20 |
631 |
| siop_start |
|
126 |
31 |
855 |
| siop_timeout |
|
16 |
1 |
106 |
| siop_dump_script |
|
17 |
3 |
136 |
| siop_morecbd |
|
125 |
12 |
1206 |
| siop_get_lunsw |
|
42 |
8 |
338 |
| siop_add_reselsw |
|
41 |
9 |
273 |
| siop_update_scntl3 |
|
13 |
1 |
102 |
| siop_add_dev |
|
68 |
12 |
530 |
| siop_scsifree |
|
26 |
5 |
211 |
| siop_printstats |
|
11 |
1 |
62 |
| siop_dmamem_alloc |
|
31 |
6 |
260 |
| siop_dmamem_free |
|
8 |
1 |
84 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/atwvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/malo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| malo_intr |
|
20 |
7 |
120 |
| malo_attach |
|
58 |
4 |
434 |
| malo_detach |
|
14 |
1 |
88 |
| malo_alloc_cmd |
|
36 |
5 |
305 |
| malo_free_cmd |
|
8 |
1 |
67 |
| malo_send_cmd |
|
7 |
1 |
47 |
| malo_send_cmd_dma |
|
23 |
4 |
145 |
| malo_alloc_rx_ring |
|
92 |
11 |
649 |
| malo_reset_rx_ring |
|
9 |
2 |
74 |
| malo_free_rx_ring |
|
28 |
6 |
218 |
| malo_alloc_tx_ring |
|
64 |
8 |
464 |
| malo_reset_tx_ring |
|
23 |
3 |
172 |
| malo_free_tx_ring |
|
29 |
6 |
224 |
| malo_init |
|
69 |
13 |
445 |
| malo_ioctl |
|
46 |
12 |
261 |
| malo_start |
|
43 |
18 |
289 |
| malo_stop |
|
16 |
3 |
128 |
| malo_watchdog |
|
3 |
1 |
9 |
| malo_newstate |
|
53 |
10 |
332 |
| malo_newassoc |
|
3 |
1 |
17 |
| malo_node_alloc |
|
8 |
2 |
52 |
| malo_media_change |
|
11 |
3 |
73 |
| malo_media_status |
|
35 |
9 |
155 |
| malo_chip2rate |
|
19 |
14 |
125 |
| malo_fix2rate |
|
18 |
13 |
116 |
| malo_next_scan |
|
12 |
2 |
75 |
| malo_tx_intr |
|
54 |
8 |
383 |
| malo_tx_mgt |
|
72 |
8 |
613 |
| malo_tx_data |
|
85 |
10 |
732 |
| malo_tx_setup_desc |
|
8 |
1 |
73 |
| malo_rx_intr |
|
100 |
10 |
784 |
| malo_load_bootimg |
|
38 |
5 |
266 |
| malo_load_firmware |
|
59 |
6 |
439 |
| malo_set_slot |
|
18 |
4 |
91 |
| malo_update_slot |
|
7 |
2 |
35 |
| malo_hexdump |
|
28 |
9 |
198 |
| malo_cmd_string |
|
26 |
3 |
173 |
| malo_cmd_string_result |
|
19 |
3 |
118 |
| malo_cmd_get_spec |
|
31 |
2 |
296 |
| malo_cmd_set_prescan |
|
11 |
1 |
83 |
| malo_cmd_set_postscan |
|
16 |
1 |
146 |
| malo_cmd_set_channel |
|
16 |
1 |
136 |
| malo_cmd_set_antenna |
|
19 |
2 |
155 |
| malo_cmd_set_radio |
|
18 |
1 |
151 |
| malo_cmd_set_aid |
|
16 |
1 |
149 |
| malo_cmd_set_txpower |
|
21 |
4 |
176 |
| malo_cmd_set_rts |
|
16 |
1 |
139 |
| malo_cmd_set_slot |
|
16 |
1 |
136 |
| malo_cmd_set_rate |
|
44 |
6 |
324 |
| malo_cmd_response |
|
16 |
4 |
99 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dc503reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6915.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sf_reg_read |
|
10 |
2 |
70 |
| sf_reg_write |
|
11 |
2 |
73 |
| sf_attach |
|
120 |
19 |
931 |
| sf_start |
|
89 |
15 |
625 |
| sf_watchdog |
|
8 |
1 |
47 |
| sf_ioctl |
|
44 |
13 |
260 |
| sf_intr |
|
46 |
13 |
237 |
| sf_txintr |
|
39 |
6 |
260 |
| sf_rxintr |
|
74 |
8 |
502 |
| sf_tick |
|
10 |
1 |
52 |
| sf_stats_update |
|
22 |
2 |
158 |
| sf_reset |
|
18 |
4 |
105 |
| sf_macreset |
|
6 |
1 |
38 |
| sf_init |
|
99 |
8 |
728 |
| sf_rxdrain |
|
13 |
3 |
76 |
| sf_stop |
|
24 |
4 |
157 |
| sf_read_eeprom |
|
6 |
1 |
50 |
| sf_add_rxbuf |
|
29 |
5 |
199 |
| sf_set_filter_perfect |
|
10 |
1 |
125 |
| sf_set_filter_hash |
|
9 |
1 |
80 |
| sf_set_filter |
|
42 |
8 |
277 |
| sf_mii_read |
|
17 |
5 |
111 |
| sf_mii_write |
|
13 |
3 |
99 |
| sf_mii_statchg |
|
15 |
2 |
83 |
| sf_mediastatus |
|
7 |
1 |
51 |
| sf_mediachange |
|
7 |
2 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tea5757.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82365reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ics2101reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/vgavar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _vga_attr_read |
|
10 |
1 |
75 |
| _vga_attr_write |
|
8 |
1 |
70 |
| _vga_ts_read |
|
5 |
1 |
31 |
| _vga_ts_write |
|
5 |
1 |
33 |
| _vga_gdc_read |
|
5 |
1 |
31 |
| _vga_gdc_write |
|
5 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/gemvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/atwreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic7xxx_openbsd.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_timer_reset |
|
4 |
1 |
36 |
| ahc_scb_timer_reset |
|
7 |
2 |
49 |
| ahc_flush_device_writes |
|
6 |
1 |
35 |
| ahc_set_transaction_status |
|
4 |
1 |
20 |
| ahc_set_scsi_status |
|
4 |
1 |
20 |
| ahc_get_transaction_status |
|
7 |
2 |
30 |
| ahc_get_scsi_status |
|
4 |
1 |
18 |
| ahc_set_transaction_tag |
|
3 |
1 |
15 |
| ahc_get_transfer_length |
|
4 |
1 |
18 |
| ahc_get_transfer_dir |
|
4 |
1 |
24 |
| ahc_set_residual |
|
4 |
1 |
20 |
| ahc_set_sense_residual |
|
4 |
1 |
20 |
| ahc_get_residual |
|
4 |
1 |
18 |
| ahc_perform_autosense |
|
4 |
1 |
14 |
| ahc_get_sense_bufsize |
|
4 |
1 |
23 |
| ahc_freeze_scb |
|
3 |
1 |
9 |
| ahc_platform_freeze_devq |
|
3 |
1 |
14 |
| ahc_platform_abort_scbs |
|
6 |
1 |
32 |
| ahc_platform_scb_free |
|
10 |
2 |
58 |
| ahc_pci_read_config |
|
4 |
1 |
29 |
| ahc_pci_write_config |
|
4 |
1 |
31 |
| ahc_get_pci_function |
|
4 |
1 |
14 |
| ahc_get_pci_slot |
|
4 |
1 |
14 |
| ahc_get_pci_bus |
|
4 |
1 |
14 |
| ahc_print_path |
|
4 |
1 |
23 |
| ahc_platform_dump_card_state |
|
5 |
1 |
30 |
| ahc_platform_flushwork |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pgtreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mfivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6250.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aic6250_attach |
|
22 |
2 |
183 |
| aic6250_reset |
|
18 |
1 |
218 |
| aic6250_scsi_reset |
|
8 |
1 |
53 |
| aic6250_init |
|
54 |
8 |
407 |
| aic6250_acb_free |
|
9 |
1 |
60 |
| aic6250_acb_alloc |
|
13 |
2 |
73 |
| aic6250_scsi_cmd |
|
38 |
6 |
269 |
| aic6250_minphys |
|
7 |
2 |
50 |
| aic6250_poll |
|
50 |
19 |
302 |
| aic6250_ack |
|
9 |
2 |
83 |
| aic6250_sched_msgout |
|
7 |
2 |
44 |
| aic6250_setsync |
|
10 |
3 |
78 |
| aic6250_select |
|
19 |
1 |
154 |
| aic6250_reselect |
|
50 |
7 |
326 |
| aic6250_sched |
|
29 |
2 |
205 |
| aic6250_sense |
|
27 |
4 |
223 |
| aic6250_done |
|
39 |
11 |
271 |
| aic6250_dequeue |
|
8 |
2 |
51 |
| aic6250_msgin |
|
195 |
48 |
1147 |
| aic6250_msgout |
|
107 |
23 |
658 |
| aic6250_dataout_pio |
|
22 |
5 |
151 |
| aic6250_datain_pio |
|
22 |
5 |
151 |
| aic6250_intr |
|
276 |
64 |
1767 |
| aic6250_seltimeout |
|
23 |
2 |
145 |
| aic6250_abort |
|
14 |
4 |
86 |
| aic6250_timeout |
|
19 |
2 |
104 |
| aic6250_show_scsi_cmd |
|
16 |
4 |
104 |
| aic6250_print_acb |
|
7 |
1 |
46 |
| aic6250_print_active_acb |
|
14 |
2 |
85 |
| aic6250_dump_driver |
|
15 |
2 |
124 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/xl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xl_activate |
|
25 |
6 |
129 |
| xl_wait |
|
10 |
4 |
60 |
| xl_mii_sync |
|
14 |
2 |
69 |
| xl_mii_send |
|
15 |
3 |
83 |
| xl_mii_readreg |
|
45 |
7 |
273 |
| xl_mii_writereg |
|
22 |
1 |
147 |
| xl_miibus_readreg |
|
12 |
3 |
89 |
| xl_miibus_writereg |
|
12 |
3 |
88 |
| xl_miibus_statchg |
|
11 |
2 |
73 |
| xl_eeprom_wait |
|
15 |
4 |
75 |
| xl_read_eeprom |
|
28 |
8 |
186 |
| xl_iff |
|
7 |
2 |
28 |
| xl_iff_90x |
|
21 |
4 |
127 |
| xl_iff_905b |
|
37 |
6 |
226 |
| xl_setcfg |
|
14 |
4 |
88 |
| xl_setmode |
|
80 |
13 |
469 |
| xl_reset |
|
31 |
9 |
199 |
| xl_mediacheck |
|
24 |
5 |
126 |
| xl_choose_xcvr |
|
82 |
35 |
382 |
| xl_list_tx_init |
|
18 |
3 |
135 |
| xl_list_tx_init_90xB |
|
30 |
4 |
228 |
| xl_list_rx_init |
|
25 |
3 |
193 |
| xl_fill_rx_ring |
|
13 |
3 |
82 |
| xl_newbuf |
|
35 |
4 |
295 |
| xl_rxeof |
|
66 |
15 |
429 |
| xl_txeof |
|
42 |
8 |
291 |
| xl_txeof_90xB |
|
30 |
7 |
203 |
| xl_txeoc |
|
53 |
13 |
329 |
| xl_intr |
|
40 |
12 |
229 |
| xl_stats_update |
|
29 |
6 |
190 |
| xl_encap |
|
75 |
15 |
530 |
| xl_start |
|
67 |
12 |
447 |
| xl_start_90xB |
|
43 |
10 |
288 |
| xl_init |
|
102 |
14 |
719 |
| xl_ifmedia_upd |
|
31 |
10 |
155 |
| xl_ifmedia_sts |
|
57 |
15 |
306 |
| xl_ioctl |
|
50 |
14 |
283 |
| xl_watchdog |
|
19 |
3 |
113 |
| xl_freetxrx |
|
31 |
7 |
287 |
| xl_stop |
|
27 |
3 |
197 |
| xl_wol_power |
|
7 |
3 |
43 |
| xl_attach |
|
209 |
43 |
1460 |
| xl_detach |
|
13 |
2 |
88 |
| xl_wol |
|
15 |
3 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/trm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| trm_srb_alloc |
|
13 |
3 |
88 |
| trm_RewaitSRB |
|
19 |
3 |
128 |
| trm_StartWaitingSRB |
|
22 |
6 |
154 |
| trm_scsi_cmd |
|
111 |
19 |
757 |
| trm_ResetAllDevParam |
|
15 |
6 |
144 |
| trm_ResetDevParam |
|
27 |
9 |
248 |
| trm_RecoverSRB |
|
10 |
2 |
68 |
| trm_reset |
|
25 |
2 |
173 |
| trm_timeout |
|
22 |
4 |
125 |
| trm_StartSRB |
|
68 |
18 |
617 |
| trm_Interrupt |
|
39 |
9 |
282 |
| trm_MsgOutPhase0 |
|
11 |
3 |
43 |
| trm_MsgOutPhase1 |
|
42 |
8 |
377 |
| trm_CommandPhase1 |
|
10 |
1 |
96 |
| trm_DataOutPhase0 |
|
64 |
12 |
342 |
| trm_DataOutPhase1 |
|
4 |
1 |
27 |
| trm_DataInPhase0 |
|
44 |
9 |
236 |
| trm_DataInPhase1 |
|
4 |
1 |
27 |
| trm_DataIO_transfer |
|
44 |
8 |
291 |
| trm_StatusPhase0 |
|
10 |
1 |
80 |
| trm_StatusPhase1 |
|
31 |
6 |
204 |
| trm_MsgInPhase0 |
|
148 |
39 |
989 |
| trm_MsgInPhase1 |
|
9 |
1 |
78 |
| trm_Nop |
|
3 |
1 |
18 |
| trm_SetXferParams |
|
19 |
5 |
130 |
| trm_Disconnect |
|
48 |
10 |
239 |
| trm_Reselect |
|
49 |
10 |
358 |
| trm_FinishSRB |
|
138 |
42 |
837 |
| trm_srb_reinit |
|
16 |
1 |
125 |
| trm_srb_free |
|
11 |
2 |
75 |
| trm_GoingSRB_Done |
|
13 |
4 |
80 |
| trm_ResetSCSIBus |
|
12 |
2 |
74 |
| trm_ScsiRstDetect |
|
22 |
4 |
131 |
| trm_RequestSense |
|
20 |
4 |
206 |
| trm_EnableMsgOut |
|
6 |
1 |
42 |
| trm_linkSRB |
|
31 |
6 |
218 |
| trm_minphys |
|
7 |
2 |
53 |
| trm_initACB |
|
48 |
8 |
381 |
| trm_write_all |
|
18 |
2 |
158 |
| trm_set_data |
|
34 |
5 |
240 |
| trm_read_all |
|
12 |
2 |
100 |
| trm_get_data |
|
20 |
3 |
135 |
| trm_wait_30us |
|
6 |
2 |
39 |
| trm_write_cmd |
|
29 |
5 |
190 |
| trm_check_eeprom |
|
43 |
8 |
326 |
| trm_initAdapter |
|
30 |
2 |
253 |
| trm_init |
|
42 |
6 |
292 |
| trm_print_info |
|
21 |
4 |
142 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lemacreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lemacvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bwfmvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/si4136reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc83c170.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| epic_attach |
|
159 |
22 |
1261 |
| epic_start |
|
103 |
20 |
703 |
| epic_watchdog |
|
7 |
1 |
42 |
| epic_ioctl |
|
34 |
9 |
194 |
| epic_intr |
|
146 |
27 |
937 |
| epic_tick |
|
9 |
1 |
47 |
| epic_fixup_clock_source |
|
7 |
2 |
40 |
| epic_reset |
|
9 |
1 |
59 |
| epic_init |
|
78 |
8 |
649 |
| epic_rxdrain |
|
13 |
3 |
75 |
| epic_stop |
|
30 |
4 |
204 |
| epic_read_eeprom |
|
48 |
8 |
414 |
| epic_add_rxbuf |
|
29 |
5 |
198 |
| epic_set_mchash |
|
33 |
5 |
280 |
| epic_mii_wait |
|
15 |
4 |
87 |
| epic_mii_read |
|
12 |
3 |
95 |
| epic_mii_write |
|
9 |
2 |
78 |
| epic_statchg |
|
20 |
4 |
150 |
| epic_mediastatus |
|
7 |
1 |
51 |
| epic_mediachange |
|
52 |
14 |
373 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/atxxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/elink3var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mtd8xxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ad1843reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/acx111.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acx111_set_param |
|
25 |
1 |
151 |
| acx111_init |
|
15 |
3 |
80 |
| acx111_init_memory |
|
31 |
3 |
218 |
| acx111_init_fw_txring |
|
17 |
2 |
111 |
| acx111_write_config |
|
27 |
4 |
181 |
| acx111_set_fw_txdesc_rate |
|
9 |
2 |
55 |
| acx111_set_bss_join_param |
|
6 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9287reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/re.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| re_set_bufaddr |
|
8 |
2 |
58 |
| re_eeprom_putbyte |
|
16 |
3 |
96 |
| re_eeprom_getword |
|
15 |
3 |
86 |
| re_read_eeprom |
|
15 |
2 |
118 |
| re_gmii_readreg |
|
25 |
6 |
151 |
| re_gmii_writereg |
|
17 |
4 |
120 |
| re_miibus_readreg |
|
52 |
12 |
242 |
| re_miibus_writereg |
|
45 |
10 |
195 |
| re_miibus_statchg |
|
25 |
7 |
139 |
| re_iff |
|
43 |
7 |
303 |
| re_reset |
|
14 |
5 |
91 |
| re_attach |
|
383 |
78 |
2480 |
| re_newbuf |
|
48 |
5 |
347 |
| re_tx_list_init |
|
17 |
2 |
128 |
| re_rx_list_init |
|
11 |
1 |
79 |
| re_rx_list_fill |
|
11 |
3 |
64 |
| re_rxeof |
|
111 |
32 |
767 |
| re_txeof |
|
44 |
8 |
299 |
| re_tick |
|
13 |
2 |
76 |
| re_intr |
|
50 |
13 |
293 |
| re_encap |
|
111 |
25 |
818 |
| re_txstart |
|
5 |
1 |
26 |
| re_start |
|
45 |
11 |
257 |
| re_init |
|
81 |
15 |
606 |
| re_ifmedia_upd |
|
6 |
1 |
31 |
| re_ifmedia_sts |
|
8 |
1 |
53 |
| re_ioctl |
|
42 |
12 |
245 |
| re_watchdog |
|
10 |
1 |
50 |
| re_stop |
|
68 |
15 |
495 |
| re_setup_hw_im |
|
8 |
1 |
41 |
| re_disable_hw_im |
|
5 |
2 |
26 |
| re_setup_sim_im |
|
12 |
2 |
72 |
| re_disable_sim_im |
|
8 |
2 |
42 |
| re_config_imtype |
|
21 |
4 |
95 |
| re_set_jumbo |
|
19 |
3 |
97 |
| re_setup_intr |
|
26 |
5 |
122 |
| re_wol |
|
37 |
5 |
256 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic79xx_inline.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/wd33c93reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82596reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt485.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bt485_funcs |
|
4 |
1 |
10 |
| bt485_init |
|
37 |
3 |
373 |
| bt485_set_cmap |
|
34 |
10 |
239 |
| bt485_get_cmap |
|
20 |
5 |
153 |
| bt485_set_cursor |
|
74 |
19 |
500 |
| bt485_get_cursor |
|
39 |
10 |
280 |
| bt485_set_curpos |
|
9 |
1 |
47 |
| bt485_get_curpos |
|
8 |
1 |
42 |
| bt485_get_curmax |
|
7 |
1 |
33 |
| bt485_wr_i |
|
8 |
1 |
47 |
| bt485_rd_i |
|
7 |
1 |
43 |
| bt485_update |
|
59 |
10 |
448 |
| bt485_update_curpos |
|
14 |
1 |
131 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/twereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/arcofi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arcofi_open |
|
9 |
2 |
50 |
| arcofi_close |
|
7 |
1 |
36 |
| arcofi_set_param |
|
41 |
8 |
205 |
| arcofi_set_params |
|
17 |
5 |
106 |
| arcofi_round_blocksize |
|
4 |
1 |
21 |
| arcofi_commit_settings |
|
58 |
15 |
515 |
| arcofi_start_input |
|
18 |
3 |
150 |
| arcofi_start_output |
|
18 |
3 |
150 |
| arcofi_halt_input |
|
13 |
2 |
84 |
| arcofi_halt_output |
|
13 |
2 |
84 |
| arcofi_gain_to_mi |
|
9 |
3 |
58 |
| arcofi_mi_to_gain |
|
9 |
3 |
56 |
| arcofi_portmask_to_cr3 |
|
21 |
9 |
84 |
| arcofi_cr3_to_portmask |
|
23 |
10 |
87 |
| arcofi_set_port |
|
61 |
20 |
314 |
| arcofi_get_port |
|
46 |
19 |
245 |
| arcofi_query_devinfo |
|
79 |
9 |
524 |
| arcofi_get_props |
|
4 |
1 |
11 |
| arcofi_hwintr |
|
68 |
19 |
403 |
| arcofi_swintr |
|
20 |
9 |
149 |
| arcofi_cmd |
|
46 |
5 |
285 |
| arcofi_attach |
|
37 |
5 |
339 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5211.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar5k_ar5211_fill |
|
98 |
2 |
861 |
| ar5k_ar5211_attach |
|
27 |
2 |
184 |
| ar5k_ar5211_nic_reset |
|
16 |
3 |
92 |
| ar5k_ar5211_nic_wakeup |
|
45 |
9 |
229 |
| ar5k_ar5211_radio_revision |
|
24 |
4 |
163 |
| ar5k_ar5211_get_rate_table |
|
15 |
5 |
66 |
| ar5k_ar5211_detach |
|
4 |
1 |
18 |
| ar5k_ar5211_phy_disable |
|
5 |
1 |
21 |
| ar5k_ar5211_reset |
|
159 |
24 |
1143 |
| ar5k_ar5211_set_def_antenna |
|
4 |
1 |
19 |
| ar5k_ar5211_get_def_antenna |
|
4 |
1 |
15 |
| ar5k_ar5211_set_opmode |
|
26 |
5 |
102 |
| ar5k_ar5211_calibrate |
|
26 |
5 |
183 |
| ar5k_ar5211_update_tx_triglevel |
|
20 |
3 |
105 |
| ar5k_ar5211_setup_tx_queue |
|
28 |
9 |
174 |
| ar5k_ar5211_setup_tx_queueprops |
|
14 |
5 |
106 |
| ar5k_ar5211_get_tx_queueprops |
|
7 |
1 |
52 |
| ar5k_ar5211_release_tx_queue |
|
7 |
1 |
50 |
| ar5k_ar5211_reset_tx_queue |
|
130 |
19 |
713 |
| ar5k_ar5211_get_tx_buf |
|
5 |
1 |
36 |
| ar5k_ar5211_put_tx_buf |
|
8 |
2 |
57 |
| ar5k_ar5211_num_tx_pending |
|
5 |
1 |
35 |
| ar5k_ar5211_tx_start |
|
8 |
2 |
51 |
| ar5k_ar5211_stop_tx_dma |
|
13 |
3 |
79 |
| ar5k_ar5211_setup_tx_desc |
|
31 |
4 |
190 |
| ar5k_ar5211_fill_tx_desc |
|
17 |
5 |
108 |
| ar5k_ar5211_setup_xtx_desc |
|
6 |
1 |
37 |
| ar5k_ar5211_proc_tx_desc |
|
42 |
6 |
263 |
| ar5k_ar5211_has_veol |
|
4 |
1 |
14 |
| ar5k_ar5211_get_rx_buf |
|
4 |
1 |
17 |
| ar5k_ar5211_put_rx_buf |
|
4 |
1 |
19 |
| ar5k_ar5211_start_rx |
|
4 |
1 |
16 |
| ar5k_ar5211_stop_rx_dma |
|
10 |
4 |
59 |
| ar5k_ar5211_start_rx_pcu |
|
4 |
1 |
16 |
| ar5k_ar5211_stop_pcu_recv |
|
4 |
1 |
16 |
| ar5k_ar5211_set_mcast_filter |
|
6 |
1 |
29 |
| ar5k_ar5211_set_mcast_filterindex |
|
13 |
3 |
70 |
| ar5k_ar5211_clear_mcast_filter_idx |
|
13 |
3 |
70 |
| ar5k_ar5211_get_rx_filter |
|
4 |
1 |
17 |
| ar5k_ar5211_set_rx_filter |
|
4 |
1 |
19 |
| ar5k_ar5211_setup_rx_desc |
|
12 |
3 |
75 |
| ar5k_ar5211_proc_rx_desc |
|
49 |
7 |
294 |
| ar5k_ar5211_set_rx_signal |
|
3 |
1 |
9 |
| ar5k_ar5211_dump_state |
|
81 |
2 |
399 |
| ar5k_ar5211_get_diag_state |
|
5 |
1 |
25 |
| ar5k_ar5211_get_lladdr |
|
4 |
1 |
24 |
| ar5k_ar5211_set_lladdr |
|
10 |
1 |
65 |
| ar5k_ar5211_set_regdomain |
|
13 |
2 |
62 |
| ar5k_ar5211_set_ledstate |
|
27 |
6 |
86 |
| ar5k_ar5211_set_associd |
|
22 |
3 |
132 |
| ar5k_ar5211_set_bssid_mask |
|
4 |
1 |
19 |
| ar5k_ar5211_set_gpio_output |
|
9 |
2 |
51 |
| ar5k_ar5211_set_gpio_input |
|
9 |
2 |
51 |
| ar5k_ar5211_get_gpio |
|
7 |
2 |
42 |
| ar5k_ar5211_set_gpio |
|
11 |
2 |
68 |
| ar5k_ar5211_set_gpio_intr |
|
15 |
3 |
88 |
| ar5k_ar5211_get_tsf32 |
|
4 |
1 |
17 |
| ar5k_ar5211_get_tsf64 |
|
5 |
1 |
32 |
| ar5k_ar5211_reset_tsf |
|
5 |
1 |
16 |
| ar5k_ar5211_get_regdomain |
|
4 |
1 |
17 |
| ar5k_ar5211_detect_card_present |
|
7 |
3 |
42 |
| ar5k_ar5211_update_mib_counters |
|
8 |
1 |
58 |
| ar5k_ar5211_get_rf_gain |
|
4 |
1 |
14 |
| ar5k_ar5211_set_slot_time |
|
7 |
3 |
39 |
| ar5k_ar5211_get_slot_time |
|
4 |
1 |
19 |
| ar5k_ar5211_set_ack_timeout |
|
9 |
2 |
48 |
| ar5k_ar5211_get_ack_timeout |
|
5 |
1 |
25 |
| ar5k_ar5211_set_cts_timeout |
|
9 |
2 |
48 |
| ar5k_ar5211_get_cts_timeout |
|
5 |
1 |
25 |
| ar5k_ar5211_is_cipher_supported |
|
6 |
2 |
28 |
| ar5k_ar5211_get_keycache_size |
|
4 |
1 |
14 |
| ar5k_ar5211_reset_key |
|
10 |
2 |
62 |
| ar5k_ar5211_is_key_valid |
|
8 |
2 |
41 |
| ar5k_ar5211_set_key |
|
36 |
5 |
346 |
| ar5k_ar5211_set_key_lladdr |
|
13 |
2 |
85 |
| ar5k_ar5211_softcrypto |
|
14 |
3 |
74 |
| ar5k_ar5211_set_power |
|
47 |
11 |
199 |
| ar5k_ar5211_get_power_mode |
|
4 |
1 |
16 |
| ar5k_ar5211_query_pspoll_support |
|
4 |
1 |
14 |
| ar5k_ar5211_init_pspoll |
|
4 |
1 |
14 |
| ar5k_ar5211_enable_pspoll |
|
5 |
1 |
21 |
| ar5k_ar5211_disable_pspoll |
|
4 |
1 |
14 |
| ar5k_ar5211_init_beacon |
|
25 |
3 |
126 |
| ar5k_ar5211_set_beacon_timers |
|
39 |
6 |
235 |
| ar5k_ar5211_reset_beacon |
|
7 |
1 |
32 |
| ar5k_ar5211_wait_for_beacon |
|
10 |
2 |
52 |
| ar5k_ar5211_is_intr_pending |
|
4 |
2 |
23 |
| ar5k_ar5211_get_isr |
|
18 |
7 |
119 |
| ar5k_ar5211_get_intr |
|
4 |
1 |
16 |
| ar5k_ar5211_set_intr |
|
30 |
4 |
116 |
| ar5k_ar5211_get_capabilities |
|
27 |
10 |
174 |
| ar5k_ar5211_radar_alert |
|
16 |
2 |
65 |
| ar5k_ar5211_eeprom_is_busy |
|
5 |
2 |
23 |
| ar5k_ar5211_eeprom_read |
|
19 |
4 |
109 |
| ar5k_ar5211_eeprom_write |
|
19 |
4 |
102 |
| ar5k_ar5211_rfregs |
|
53 |
10 |
615 |
| ar5k_ar5211_set_txpower_limit |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/acxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/w83l518d.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wb_idx_read |
|
5 |
1 |
41 |
| wb_idx_write |
|
5 |
1 |
45 |
| wb_read |
|
4 |
1 |
26 |
| wb_write |
|
4 |
1 |
30 |
| wb_led |
|
10 |
2 |
46 |
| wb_attach |
|
14 |
5 |
42 |
| wb_detach |
|
9 |
2 |
35 |
| wb_intr |
|
10 |
2 |
37 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ti.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ti_eeprom_putbyte |
|
20 |
3 |
139 |
| ti_eeprom_getbyte |
|
40 |
7 |
254 |
| ti_read_eeprom |
|
12 |
4 |
83 |
| ti_mem_read |
|
21 |
3 |
130 |
| ti_mem_write |
|
22 |
3 |
133 |
| ti_mem_set |
|
17 |
3 |
111 |
| ti_loadfw |
|
50 |
8 |
337 |
| ti_cmd |
|
9 |
1 |
67 |
| ti_cmd_ext |
|
16 |
2 |
126 |
| ti_handle_events |
|
67 |
15 |
333 |
| ti_newbuf_std |
|
41 |
7 |
296 |
| ti_newbuf_mini |
|
40 |
7 |
285 |
| ti_newbuf_jumbo |
|
40 |
7 |
282 |
| ti_init_rx_ring_std |
|
12 |
3 |
73 |
| ti_free_rx_ring_std |
|
15 |
3 |
111 |
| ti_init_rx_ring_jumbo |
|
12 |
3 |
74 |
| ti_free_rx_ring_jumbo |
|
12 |
3 |
84 |
| ti_init_rx_ring_mini |
|
11 |
3 |
70 |
| ti_free_rx_ring_mini |
|
15 |
3 |
111 |
| ti_free_tx_ring |
|
21 |
4 |
167 |
| ti_init_tx_ring |
|
24 |
4 |
156 |
| ti_add_mcast |
|
22 |
3 |
189 |
| ti_del_mcast |
|
22 |
3 |
189 |
| ti_iff |
|
46 |
7 |
300 |
| ti_64bitslot_war |
|
18 |
4 |
100 |
| ti_chipinit |
|
44 |
7 |
239 |
| ti_chipinit_pci |
|
32 |
10 |
172 |
| ti_chipinit_sbus |
|
11 |
1 |
49 |
| ti_gibinit |
|
93 |
13 |
753 |
| ti_attach |
|
92 |
10 |
720 |
| ti_rxeof |
|
86 |
15 |
625 |
| ti_txeof_tigon1 |
|
31 |
4 |
228 |
| ti_txeof_tigon2 |
|
28 |
4 |
210 |
| ti_intr |
|
22 |
6 |
134 |
| ti_stats_update |
|
13 |
1 |
83 |
| ti_encap_tigon1 |
|
51 |
9 |
388 |
| ti_encap_tigon2 |
|
48 |
9 |
359 |
| ti_start |
|
32 |
8 |
194 |
| ti_init |
|
13 |
2 |
61 |
| ti_init2 |
|
37 |
4 |
280 |
| ti_ifmedia_upd |
|
54 |
13 |
305 |
| ti_ifmedia_sts |
|
41 |
13 |
226 |
| ti_ioctl |
|
38 |
11 |
209 |
| ti_watchdog |
|
9 |
1 |
46 |
| ti_stop |
|
21 |
1 |
130 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mk48txx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mk48txx_attach |
|
45 |
5 |
262 |
| mk48txx_gettime |
|
38 |
9 |
344 |
| mk48txx_settime |
|
32 |
3 |
293 |
| mk48txx_getcal |
|
6 |
1 |
20 |
| mk48txx_setcal |
|
6 |
1 |
19 |
| mk48txx_get_nvram_size |
|
8 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc83c170reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dl10019reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2860var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aac_attach |
|
38 |
4 |
274 |
| aac_create_thread |
|
11 |
2 |
63 |
| aac_startup |
|
50 |
6 |
406 |
| aac_intr |
|
30 |
8 |
180 |
| aac_startio |
|
26 |
6 |
161 |
| aac_map_command |
|
20 |
4 |
129 |
| aac_command_thread |
|
66 |
12 |
400 |
| aac_complete |
|
29 |
5 |
162 |
| aac_bio_command |
|
93 |
9 |
614 |
| aac_bio_complete |
|
22 |
3 |
149 |
| aac_wait_command |
|
18 |
3 |
128 |
| aac_alloc_command |
|
10 |
1 |
57 |
| aac_scrub_command |
|
11 |
1 |
77 |
| aac_release_command |
|
9 |
1 |
56 |
| aac_alloc_commands |
|
70 |
10 |
513 |
| aac_free_commands |
|
19 |
4 |
156 |
| aac_map_command_sg |
|
44 |
8 |
371 |
| aac_unmap_command |
|
18 |
5 |
116 |
| aac_check_firmware |
|
42 |
11 |
279 |
| aac_init |
|
182 |
22 |
1202 |
| aac_sync_command |
|
32 |
7 |
192 |
| aac_alloc_sync_fib |
|
7 |
2 |
49 |
| aac_release_sync_fib |
|
4 |
1 |
17 |
| aac_sync_fib |
|
29 |
3 |
188 |
| aac_enqueue_fib |
|
26 |
4 |
198 |
| aac_dequeue_fib |
|
52 |
12 |
337 |
| aac_enqueue_response |
|
26 |
4 |
197 |
| aac_command_timeout |
|
20 |
3 |
123 |
| aac_timeout |
|
10 |
2 |
49 |
| aac_sa_get_fwstatus |
|
4 |
1 |
19 |
| aac_rx_get_fwstatus |
|
4 |
1 |
19 |
| aac_fa_get_fwstatus |
|
4 |
1 |
19 |
| aac_rkt_get_fwstatus |
|
4 |
1 |
19 |
| aac_sa_qnotify |
|
4 |
1 |
21 |
| aac_rx_qnotify |
|
4 |
1 |
21 |
| aac_fa_qnotify |
|
5 |
1 |
26 |
| aac_rkt_qnotify |
|
4 |
1 |
21 |
| aac_sa_get_istatus |
|
4 |
1 |
19 |
| aac_rx_get_istatus |
|
4 |
1 |
19 |
| aac_fa_get_istatus |
|
4 |
1 |
19 |
| aac_rkt_get_istatus |
|
4 |
1 |
19 |
| aac_sa_clear_istatus |
|
4 |
1 |
21 |
| aac_rx_clear_istatus |
|
4 |
1 |
21 |
| aac_fa_clear_istatus |
|
5 |
1 |
26 |
| aac_rkt_clear_istatus |
|
4 |
1 |
21 |
| aac_sa_set_mailbox |
|
9 |
1 |
77 |
| aac_rx_set_mailbox |
|
9 |
1 |
77 |
| aac_fa_set_mailbox |
|
14 |
1 |
102 |
| aac_rkt_set_mailbox |
|
9 |
1 |
77 |
| aac_sa_get_mailbox |
|
4 |
1 |
28 |
| aac_rx_get_mailbox |
|
4 |
1 |
28 |
| aac_fa_get_mailbox |
|
4 |
1 |
28 |
| aac_rkt_get_mailbox |
|
4 |
1 |
28 |
| aac_sa_set_interrupts |
|
9 |
3 |
60 |
| aac_rx_set_interrupts |
|
9 |
3 |
56 |
| aac_fa_set_interrupts |
|
12 |
3 |
74 |
| aac_rkt_set_interrupts |
|
9 |
3 |
56 |
| aac_eval_mapping |
|
20 |
3 |
106 |
| aac_copy_internal_data |
|
14 |
2 |
88 |
| aac_internal_cache_cmd |
|
59 |
8 |
404 |
| aac_scsi_cmd |
|
107 |
23 |
642 |
| aac_describe_controller |
|
27 |
2 |
202 |
| aac_describe_code |
|
8 |
3 |
66 |
| aac_print_fib |
|
65 |
7 |
366 |
| aac_print_aif |
|
225 |
55 |
1255 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtl80x9var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/com.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| comspeed |
|
17 |
6 |
101 |
| comprobe1 |
|
16 |
4 |
95 |
| com_detach |
|
20 |
4 |
136 |
| com_activate |
|
29 |
8 |
152 |
| comopen |
|
145 |
40 |
1046 |
| comclose |
|
31 |
8 |
224 |
| compwroff |
|
35 |
8 |
259 |
| com_resume |
|
67 |
17 |
479 |
| com_raisedtr |
|
6 |
1 |
43 |
| comread |
|
6 |
1 |
61 |
| comwrite |
|
6 |
1 |
61 |
| comtty |
|
6 |
1 |
36 |
| tiocm_xxx2mcr |
|
9 |
3 |
47 |
| comioctl |
|
104 |
32 |
734 |
| comparam |
|
103 |
29 |
775 |
| comstart |
|
42 |
12 |
333 |
| comstop |
|
10 |
3 |
61 |
| comdiag |
|
17 |
3 |
97 |
| comsoft |
|
50 |
12 |
346 |
| comintr |
|
75 |
25 |
551 |
| com_common_getc |
|
11 |
2 |
75 |
| com_common_putc |
|
15 |
5 |
121 |
| cominit |
|
16 |
1 |
139 |
| comcnprobe |
|
18 |
6 |
109 |
| comcninit |
|
8 |
3 |
51 |
| comcnattach |
|
18 |
2 |
102 |
| comcngetc |
|
4 |
1 |
17 |
| comcnputc |
|
4 |
1 |
19 |
| comcnpollc |
|
3 |
1 |
10 |
| com_enable_debugport |
|
8 |
1 |
53 |
| com_attach_subr |
|
170 |
55 |
1215 |
| com_fifo_probe |
|
43 |
13 |
316 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cissvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/twevar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| twe_ccb::TAILQ_ENTRY |
|
5 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6250var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtsx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtsx_attach |
|
60 |
12 |
426 |
| rtsx_init |
|
62 |
11 |
395 |
| rtsx_activate |
|
23 |
4 |
113 |
| rtsx_led_enable |
|
12 |
2 |
63 |
| rtsx_led_disable |
|
11 |
2 |
61 |
| rtsx_host_reset |
|
15 |
3 |
80 |
| rtsx_host_ocr |
|
4 |
1 |
10 |
| rtsx_host_maxblklen |
|
4 |
1 |
10 |
| rtsx_card_detect |
|
5 |
1 |
24 |
| rtsx_bus_power_off |
|
24 |
4 |
133 |
| rtsx_bus_power_on |
|
34 |
6 |
207 |
| rtsx_set_bus_width |
|
19 |
4 |
69 |
| rtsx_stop_sd_clock |
|
6 |
1 |
30 |
| rtsx_switch_sd_clock |
|
17 |
1 |
136 |
| rtsx_bus_power |
|
29 |
5 |
157 |
| rtsx_bus_clock |
|
47 |
7 |
203 |
| rtsx_bus_width |
|
5 |
1 |
25 |
| rtsx_read |
|
14 |
4 |
94 |
| rtsx_write |
|
18 |
4 |
108 |
| rtsx_read_phy |
|
20 |
4 |
122 |
| rtsx_write_phy |
|
17 |
4 |
104 |
| rtsx_read_cfg |
|
22 |
4 |
180 |
| rtsx_write_cfg |
|
28 |
7 |
179 |
| rtsx_hostcmd |
|
9 |
1 |
89 |
| rtsx_save_regs |
|
20 |
4 |
212 |
| rtsx_restore_regs |
|
20 |
4 |
215 |
| rtsx_response_type |
|
23 |
3 |
120 |
| rtsx_hostcmd_send |
|
10 |
1 |
68 |
| rtsx_xfer_exec |
|
8 |
1 |
64 |
| rtsx_xfer |
|
72 |
6 |
503 |
| rtsx_xfer_bounce |
|
50 |
9 |
383 |
| rtsx_xfer_adma |
|
33 |
5 |
277 |
| rtsx_exec_command |
|
110 |
19 |
807 |
| rtsx_soft_reset |
|
10 |
1 |
87 |
| rtsx_wait_intr |
|
25 |
6 |
137 |
| rtsx_card_insert |
|
7 |
1 |
44 |
| rtsx_card_eject |
|
7 |
1 |
44 |
| rtsx_intr |
|
23 |
7 |
136 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ahcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/siopvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ac97.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ac97_read |
|
14 |
7 |
114 |
| ac97_write |
|
5 |
1 |
47 |
| ac97_setup_defaults |
|
9 |
2 |
69 |
| ac97_restore_shadow |
|
9 |
2 |
75 |
| ac97_str_equal |
|
4 |
4 |
39 |
| ac97_check_capability |
|
28 |
11 |
131 |
| ac97_setup_source_info |
|
68 |
18 |
444 |
| ac97_attach |
|
129 |
26 |
944 |
| ac97_resume |
|
40 |
9 |
262 |
| ac97_lock |
|
5 |
1 |
26 |
| ac97_unlock |
|
5 |
1 |
26 |
| ac97_query_devinfo |
|
27 |
8 |
213 |
| ac97_mixer_set_port |
|
80 |
25 |
640 |
| ac97_set_rate |
|
79 |
21 |
414 |
| ac97_set_clock |
|
6 |
1 |
33 |
| ac97_get_extcaps |
|
6 |
1 |
28 |
| ac97_add_port |
|
38 |
7 |
234 |
| ac97_get_portnum_by_name |
|
14 |
5 |
106 |
| ac97_mixer_get_port |
|
57 |
13 |
453 |
| ac97_ad1885_init |
|
12 |
5 |
87 |
| ac97_ad1886_init |
|
4 |
1 |
21 |
| ac97_ad198x_init |
|
16 |
5 |
113 |
| ac97_alc650_init |
|
27 |
3 |
185 |
| ac97_cx20468_init |
|
7 |
1 |
42 |
| ac97_vt1616_init |
|
11 |
2 |
62 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lsi64854.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lsi64854_attach |
|
56 |
11 |
261 |
| lsi64854_reset |
|
56 |
13 |
303 |
| lsi64854_setup |
|
55 |
10 |
370 |
| lsi64854_scsi_intr |
|
80 |
20 |
584 |
| lsi64854_enet_intr |
|
29 |
6 |
190 |
| lsi64854_setup_pp |
|
50 |
9 |
328 |
| lsi64854_pp_intr |
|
44 |
6 |
288 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/monitors.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dl10019.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dl10019_mii_reset |
|
16 |
3 |
103 |
| dl10019_media_init |
|
18 |
2 |
158 |
| dl10019_media_fini |
|
4 |
1 |
21 |
| dl10019_mediachange |
|
5 |
1 |
22 |
| dl10019_mediastatus |
|
6 |
1 |
42 |
| dl10019_init_card |
|
5 |
1 |
22 |
| dl10019_stop_card |
|
4 |
1 |
17 |
| dl10019_mii_bitbang_read |
|
6 |
1 |
38 |
| dl10019_mii_bitbang_write |
|
8 |
1 |
66 |
| dl10019_mii_readreg |
|
8 |
2 |
62 |
| dl10019_mii_writereg |
|
8 |
2 |
64 |
| dl10019_mii_statchg |
|
14 |
3 |
78 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/gdtreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mtd8xxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/slivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mfireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/osiopreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/if_wi_hostap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| take_hword |
|
7 |
1 |
45 |
| take_tlv |
|
14 |
5 |
118 |
| put_hword |
|
5 |
1 |
32 |
| put_tlv |
|
7 |
1 |
59 |
| put_rates |
|
15 |
5 |
92 |
| wihap_init |
|
16 |
4 |
120 |
| wihap_sta_disassoc |
|
17 |
2 |
163 |
| wihap_sta_deauth |
|
17 |
2 |
166 |
| wihap_shutdown |
|
33 |
8 |
231 |
| sta_hash_func |
|
4 |
1 |
31 |
| addr_cmp |
|
6 |
3 |
79 |
| wihap_sta_movetail |
|
6 |
1 |
44 |
| wihap_timeout |
|
40 |
12 |
296 |
| wihap_sta_timeout |
|
14 |
2 |
101 |
| wihap_sta_delete |
|
14 |
2 |
116 |
| wihap_sta_alloc |
|
22 |
4 |
227 |
| wihap_sta_find |
|
10 |
2 |
61 |
| wihap_check_rates |
|
30 |
9 |
173 |
| wihap_auth_req |
|
135 |
30 |
850 |
| wihap_assoc_req |
|
103 |
26 |
761 |
| wihap_deauth_req |
|
18 |
4 |
106 |
| wihap_disassoc_req |
|
23 |
5 |
134 |
| wihap_debug_frame_type |
|
51 |
13 |
209 |
| wihap_mgmt_input |
|
44 |
14 |
222 |
| wihap_sta_is_assoc |
|
10 |
3 |
66 |
| wihap_check_tx |
|
20 |
4 |
136 |
| wihap_data_input |
|
50 |
13 |
353 |
| wihap_ioctl |
|
155 |
34 |
1071 |
| wihap_init |
|
4 |
1 |
11 |
| wihap_shutdown |
|
4 |
1 |
11 |
| wihap_mgmt_input |
|
4 |
1 |
21 |
| wihap_data_input |
|
4 |
1 |
24 |
| wihap_ioctl |
|
4 |
1 |
20 |
| wihap_check_tx |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/comreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/w83l518d_sdmmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wb_sdmmc_read_data |
|
4 |
1 |
33 |
| wb_sdmmc_write_data |
|
4 |
1 |
33 |
| wb_sdmmc_discover |
|
6 |
1 |
29 |
| wb_sdmmc_enable |
|
23 |
5 |
166 |
| wb_sdmmc_disable |
|
9 |
1 |
44 |
| wb_sdmmc_attach |
|
14 |
2 |
97 |
| wb_sdmmc_detach |
|
12 |
3 |
57 |
| wb_sdmmc_host_reset |
|
5 |
1 |
17 |
| wb_sdmmc_host_ocr |
|
5 |
1 |
19 |
| wb_sdmmc_host_maxblklen |
|
5 |
1 |
17 |
| wb_sdmmc_card_detect |
|
10 |
2 |
60 |
| wb_sdmmc_write_protect |
|
10 |
2 |
60 |
| wb_sdmmc_bus_power |
|
5 |
1 |
22 |
| wb_sdmmc_bus_clock |
|
17 |
5 |
92 |
| wb_sdmmc_bus_width |
|
9 |
3 |
48 |
| wb_sdmmc_rsp_read_long |
|
16 |
3 |
138 |
| wb_sdmmc_rsp_read_short |
|
16 |
3 |
167 |
| wb_sdmmc_transfer_data |
|
49 |
15 |
270 |
| wb_sdmmc_exec_command |
|
104 |
21 |
704 |
| wb_sdmmc_card_intr_mask |
|
4 |
1 |
19 |
| wb_sdmmc_card_intr_ack |
|
4 |
1 |
14 |
| wb_sdmmc_intr |
|
16 |
5 |
84 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/nvmereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9003.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar9003_attach |
|
52 |
5 |
321 |
| ar9003_read_eep_word |
|
17 |
3 |
103 |
| ar9003_read_eep_data |
|
30 |
8 |
194 |
| ar9003_read_otp_word |
|
15 |
3 |
96 |
| ar9003_read_otp_data |
|
13 |
3 |
98 |
| ar9003_find_rom |
|
29 |
14 |
273 |
| ar9003_restore_rom_block |
|
37 |
8 |
246 |
| ar9003_read_rom |
|
50 |
13 |
407 |
| ar9003_gpio_read |
|
6 |
1 |
46 |
| ar9003_gpio_write |
|
12 |
2 |
71 |
| ar9003_gpio_config_input |
|
9 |
1 |
62 |
| ar9003_gpio_config_output |
|
16 |
1 |
134 |
| ar9003_rfsilent_init |
|
15 |
2 |
100 |
| ar9003_dma_alloc |
|
14 |
4 |
79 |
| ar9003_dma_free |
|
6 |
1 |
28 |
| ar9003_tx_alloc |
|
60 |
11 |
486 |
| ar9003_tx_free |
|
28 |
7 |
217 |
| ar9003_rx_alloc |
|
48 |
6 |
335 |
| ar9003_rx_free |
|
15 |
4 |
107 |
| ar9003_reset_txsring |
|
10 |
1 |
84 |
| ar9003_rx_enable |
|
30 |
4 |
226 |
| ar9003_rx_radiotap |
|
56 |
18 |
447 |
| ar9003_rx_process |
|
105 |
18 |
834 |
| ar9003_rx_intr |
|
4 |
2 |
24 |
| ar9003_tx_process |
|
57 |
11 |
479 |
| ar9003_tx_intr |
|
10 |
3 |
67 |
| ar9003_swba_intr |
|
96 |
15 |
767 |
| ar9003_intr |
|
67 |
26 |
452 |
| ar9003_tx |
|
294 |
70 |
2245 |
| ar9003_set_rf_mode |
|
12 |
4 |
65 |
| ar9003_synth_delay |
|
10 |
2 |
58 |
| ar9003_rf_bus_request |
|
12 |
3 |
69 |
| ar9003_rf_bus_release |
|
6 |
1 |
33 |
| ar9003_set_phy |
|
20 |
4 |
126 |
| ar9003_set_delta_slope |
|
20 |
1 |
184 |
| ar9003_enable_antenna_diversity |
|
6 |
1 |
23 |
| ar9003_init_baseband |
|
8 |
1 |
40 |
| ar9003_disable_phy |
|
5 |
1 |
23 |
| ar9003_init_chains |
|
12 |
4 |
90 |
| ar9003_set_rxchains |
|
8 |
3 |
52 |
| ar9003_read_noisefloor |
|
13 |
2 |
114 |
| ar9003_write_noisefloor |
|
14 |
2 |
121 |
| ar9003_get_noisefloor |
|
31 |
9 |
229 |
| ar9003_bb_load_noisefloor |
|
25 |
6 |
196 |
| ar9300_noisefloor_calib |
|
6 |
1 |
36 |
| ar9003_do_noisefloor_calib |
|
4 |
1 |
18 |
| ar9003_init_calib |
|
31 |
5 |
176 |
| ar9003_do_calib |
|
18 |
3 |
108 |
| ar9003_next_calib |
|
8 |
3 |
40 |
| ar9003_calib_iq |
|
48 |
12 |
374 |
| ar9003_get_iq_corr |
|
85 |
16 |
1097 |
| ar9003_calib_tx_iq |
|
52 |
8 |
391 |
| ar9003_paprd_calib |
|
82 |
7 |
695 |
| ar9003_get_desired_txgain |
|
23 |
1 |
201 |
| ar9003_force_txgain |
|
27 |
1 |
191 |
| ar9003_set_training_gain |
|
9 |
3 |
75 |
| ar9003_paprd_tx_tone |
|
25 |
3 |
214 |
| get_scale |
|
7 |
3 |
37 |
| ar9003_compute_predistortion |
|
192 |
33 |
2034 |
| ar9003_enable_predistorter |
|
19 |
2 |
169 |
| ar9003_paprd_enable |
|
7 |
3 |
45 |
| ar9003_paprd_tx_tone_done |
|
25 |
8 |
194 |
| ar9003_write_txpower |
|
59 |
1 |
673 |
| ar9003_reset_rx_gain |
|
13 |
3 |
92 |
| ar9003_reset_tx_gain |
|
13 |
3 |
92 |
| ar9003_hw_init |
|
65 |
18 |
483 |
| ar9003_get_lg_tpow |
|
25 |
11 |
217 |
| ar9003_get_ht_tpow |
|
25 |
11 |
217 |
| ar9003_set_noise_immunity_level |
|
16 |
5 |
149 |
| ar9003_enable_ofdm_weak_signal |
|
23 |
1 |
190 |
| ar9003_disable_ofdm_weak_signal |
|
23 |
1 |
190 |
| ar9003_set_cck_weak_signal |
|
8 |
2 |
53 |
| ar9003_set_firstep_level |
|
8 |
1 |
51 |
| ar9003_set_spur_immunity_level |
|
8 |
1 |
55 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6250reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/acx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acx_attach |
|
111 |
16 |
739 |
| acx_detach |
|
11 |
1 |
60 |
| acx_init |
|
70 |
18 |
411 |
| acx_init_info_reg |
|
5 |
1 |
30 |
| acx_set_crypt_keys |
|
26 |
7 |
164 |
| acx_next_scan |
|
8 |
2 |
48 |
| acx_stop |
|
49 |
8 |
360 |
| acx_config |
|
25 |
6 |
134 |
| acx_read_config |
|
58 |
11 |
429 |
| acx_write_config |
|
51 |
9 |
347 |
| acx_rx_config |
|
27 |
3 |
132 |
| acx_ioctl |
|
47 |
12 |
271 |
| acx_start |
|
118 |
29 |
787 |
| acx_watchdog |
|
17 |
4 |
90 |
| acx_intr |
|
23 |
7 |
126 |
| acx_disable_intr |
|
5 |
1 |
29 |
| acx_enable_intr |
|
5 |
1 |
29 |
| acx_txeof |
|
54 |
8 |
364 |
| acx_txerr |
|
47 |
11 |
202 |
| acx_rxeof |
|
101 |
16 |
717 |
| acx_reset |
|
17 |
2 |
110 |
| acx_read_eeprom |
|
19 |
4 |
120 |
| acx_read_phyreg |
|
19 |
4 |
121 |
| acx_write_phyreg |
|
6 |
1 |
42 |
| acx_load_base_firmware |
|
32 |
5 |
207 |
| acx_load_radio_firmware |
|
44 |
9 |
329 |
| acx_load_firmware |
|
43 |
6 |
335 |
| acx_node_alloc |
|
8 |
2 |
52 |
| acx_newstate |
|
93 |
23 |
553 |
| acx_init_tmplt_ordered |
|
27 |
6 |
190 |
| acx_dma_alloc |
|
96 |
14 |
728 |
| acx_dma_free |
|
38 |
10 |
299 |
| acx_init_tx_ring |
|
24 |
3 |
187 |
| acx_init_rx_ring |
|
26 |
4 |
185 |
| acx_newbuf |
|
38 |
8 |
271 |
| acx_encap |
|
75 |
11 |
550 |
| acx_set_null_tmplt |
|
15 |
1 |
115 |
| acx_set_probe_req_tmplt |
|
26 |
2 |
210 |
| acx_set_probe_resp_tmplt |
|
28 |
3 |
244 |
| acx_beacon_locate |
|
14 |
4 |
104 |
| acx_set_beacon_tmplt |
|
33 |
5 |
241 |
| acx_init_cmd_reg |
|
6 |
1 |
37 |
| acx_join_bss |
|
26 |
3 |
219 |
| acx_set_channel |
|
16 |
3 |
107 |
| acx_get_conf |
|
15 |
2 |
104 |
| acx_set_conf |
|
14 |
2 |
100 |
| acx_set_tmplt |
|
13 |
2 |
89 |
| acx_init_radio |
|
8 |
1 |
59 |
| acx_exec_command |
|
48 |
11 |
294 |
| acx_get_rf |
|
10 |
5 |
42 |
| acx_get_maxrssi |
|
10 |
5 |
42 |
| acx_iter_func |
|
6 |
1 |
47 |
| acx_amrr_timeout |
|
10 |
2 |
62 |
| acx_newassoc |
|
10 |
3 |
92 |
| acx_set_tim |
|
10 |
1 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtl8225reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aacvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aac_enc16 |
|
6 |
1 |
27 |
| aac_enc32 |
|
6 |
1 |
27 |
| aac_dec16 |
|
5 |
1 |
21 |
| aac_dec32 |
|
5 |
1 |
21 |
| aac_print_printf |
|
7 |
1 |
46 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/wdcvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5210.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar5k_ar5210_fill |
|
98 |
2 |
861 |
| ar5k_ar5210_attach |
|
32 |
3 |
240 |
| ar5k_ar5210_nic_reset |
|
18 |
3 |
97 |
| ar5k_ar5210_nic_wakeup |
|
38 |
8 |
195 |
| ar5k_ar5210_get_rate_table |
|
12 |
4 |
47 |
| ar5k_ar5210_detach |
|
4 |
1 |
18 |
| ar5k_ar5210_phy_disable |
|
5 |
1 |
21 |
| ar5k_ar5210_reset |
|
52 |
14 |
343 |
| ar5k_ar5210_set_def_antenna |
|
4 |
1 |
14 |
| ar5k_ar5210_get_def_antenna |
|
4 |
1 |
14 |
| ar5k_ar5210_set_opmode |
|
36 |
5 |
137 |
| ar5k_ar5210_calibrate |
|
50 |
4 |
294 |
| ar5k_ar5210_do_calibrate |
|
12 |
2 |
58 |
| ar5k_ar5210_noise_floor |
|
28 |
6 |
137 |
| ar5k_ar5210_update_tx_triglevel |
|
19 |
3 |
92 |
| ar5k_ar5210_setup_tx_queue |
|
24 |
6 |
114 |
| ar5k_ar5210_setup_tx_queueprops |
|
12 |
2 |
105 |
| ar5k_ar5210_get_tx_queueprops |
|
7 |
1 |
52 |
| ar5k_ar5210_release_tx_queue |
|
6 |
1 |
41 |
| ar5k_ar5210_init_tx_queue |
|
11 |
2 |
69 |
| ar5k_ar5210_reset_tx_queue |
|
32 |
6 |
221 |
| ar5k_ar5210_get_tx_buf |
|
17 |
4 |
77 |
| ar5k_ar5210_put_tx_buf |
|
18 |
4 |
84 |
| ar5k_ar5210_num_tx_pending |
|
4 |
1 |
17 |
| ar5k_ar5210_tx_start |
|
26 |
4 |
120 |
| ar5k_ar5210_stop_tx_dma |
|
20 |
4 |
99 |
| ar5k_ar5210_setup_tx_desc |
|
42 |
9 |
243 |
| ar5k_ar5210_fill_tx_desc |
|
17 |
5 |
108 |
| ar5k_ar5210_setup_xtx_desc |
|
6 |
1 |
37 |
| ar5k_ar5210_proc_tx_desc |
|
42 |
6 |
263 |
| ar5k_ar5210_has_veol |
|
4 |
1 |
14 |
| ar5k_ar5210_get_rx_buf |
|
4 |
1 |
17 |
| ar5k_ar5210_put_rx_buf |
|
4 |
1 |
19 |
| ar5k_ar5210_start_rx |
|
4 |
1 |
16 |
| ar5k_ar5210_stop_rx_dma |
|
10 |
4 |
59 |
| ar5k_ar5210_start_rx_pcu |
|
4 |
1 |
16 |
| ar5k_ar5210_stop_pcu_recv |
|
4 |
1 |
16 |
| ar5k_ar5210_set_mcast_filter |
|
6 |
1 |
29 |
| ar5k_ar5210_set_mcast_filterindex |
|
13 |
3 |
70 |
| ar5k_ar5210_clear_mcast_filter_idx |
|
13 |
3 |
70 |
| ar5k_ar5210_get_rx_filter |
|
4 |
1 |
17 |
| ar5k_ar5210_set_rx_filter |
|
8 |
2 |
35 |
| ar5k_ar5210_setup_rx_desc |
|
12 |
3 |
75 |
| ar5k_ar5210_proc_rx_desc |
|
52 |
8 |
312 |
| ar5k_ar5210_set_rx_signal |
|
3 |
1 |
9 |
| ar5k_ar5210_dump_state |
|
81 |
2 |
402 |
| ar5k_ar5210_get_diag_state |
|
5 |
1 |
25 |
| ar5k_ar5210_get_lladdr |
|
4 |
1 |
24 |
| ar5k_ar5210_set_lladdr |
|
10 |
1 |
65 |
| ar5k_ar5210_set_regdomain |
|
13 |
2 |
62 |
| ar5k_ar5210_set_ledstate |
|
23 |
4 |
68 |
| ar5k_ar5210_set_associd |
|
18 |
3 |
115 |
| ar5k_ar5210_set_bssid_mask |
|
4 |
1 |
19 |
| ar5k_ar5210_set_gpio_output |
|
9 |
2 |
51 |
| ar5k_ar5210_set_gpio_input |
|
9 |
2 |
51 |
| ar5k_ar5210_get_gpio |
|
7 |
2 |
42 |
| ar5k_ar5210_set_gpio |
|
11 |
2 |
68 |
| ar5k_ar5210_set_gpio_intr |
|
15 |
3 |
88 |
| ar5k_ar5210_get_tsf32 |
|
4 |
1 |
17 |
| ar5k_ar5210_get_tsf64 |
|
5 |
1 |
32 |
| ar5k_ar5210_reset_tsf |
|
5 |
1 |
16 |
| ar5k_ar5210_get_regdomain |
|
4 |
1 |
17 |
| ar5k_ar5210_detect_card_present |
|
7 |
3 |
42 |
| ar5k_ar5210_update_mib_counters |
|
8 |
1 |
58 |
| ar5k_ar5210_get_rf_gain |
|
4 |
1 |
14 |
| ar5k_ar5210_set_slot_time |
|
7 |
3 |
42 |
| ar5k_ar5210_get_slot_time |
|
4 |
1 |
22 |
| ar5k_ar5210_set_ack_timeout |
|
9 |
2 |
48 |
| ar5k_ar5210_get_ack_timeout |
|
5 |
1 |
25 |
| ar5k_ar5210_set_cts_timeout |
|
9 |
2 |
48 |
| ar5k_ar5210_get_cts_timeout |
|
5 |
1 |
25 |
| ar5k_ar5210_is_cipher_supported |
|
6 |
2 |
28 |
| ar5k_ar5210_get_keycache_size |
|
4 |
1 |
14 |
| ar5k_ar5210_reset_key |
|
8 |
2 |
52 |
| ar5k_ar5210_is_key_valid |
|
8 |
2 |
41 |
| ar5k_ar5210_set_key |
|
36 |
5 |
346 |
| ar5k_ar5210_set_key_lladdr |
|
13 |
2 |
85 |
| ar5k_ar5210_softcrypto |
|
14 |
3 |
74 |
| ar5k_ar5210_set_power |
|
47 |
11 |
199 |
| ar5k_ar5210_get_power_mode |
|
4 |
1 |
16 |
| ar5k_ar5210_query_pspoll_support |
|
4 |
1 |
14 |
| ar5k_ar5210_init_pspoll |
|
4 |
1 |
14 |
| ar5k_ar5210_enable_pspoll |
|
8 |
1 |
30 |
| ar5k_ar5210_disable_pspoll |
|
7 |
1 |
23 |
| ar5k_ar5210_init_beacon |
|
24 |
2 |
124 |
| ar5k_ar5210_set_beacon_timers |
|
37 |
6 |
217 |
| ar5k_ar5210_reset_beacon |
|
7 |
1 |
32 |
| ar5k_ar5210_wait_for_beacon |
|
16 |
5 |
92 |
| ar5k_ar5210_is_intr_pending |
|
4 |
2 |
23 |
| ar5k_ar5210_get_isr |
|
20 |
7 |
129 |
| ar5k_ar5210_get_intr |
|
4 |
1 |
16 |
| ar5k_ar5210_set_intr |
|
23 |
4 |
95 |
| ar5k_ar5210_get_capabilities |
|
11 |
1 |
78 |
| ar5k_ar5210_radar_alert |
|
12 |
2 |
51 |
| ar5k_ar5210_eeprom_is_busy |
|
5 |
2 |
23 |
| ar5k_ar5210_eeprom_read |
|
18 |
4 |
113 |
| ar5k_ar5210_eeprom_write |
|
16 |
4 |
96 |
| ar5k_ar5210_set_txpower_limit |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tcic2var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcic_read_1 |
|
6 |
1 |
36 |
| tcic_read_2 |
|
6 |
1 |
36 |
| tcic_read_4 |
|
9 |
1 |
65 |
| tcic_write_1 |
|
7 |
1 |
42 |
| tcic_write_2 |
|
7 |
1 |
42 |
| tcic_write_4 |
|
8 |
1 |
68 |
| tcic_read_ind_2 |
|
11 |
1 |
72 |
| tcic_write_ind_2 |
|
11 |
1 |
74 |
| tcic_sel_sock |
|
8 |
1 |
45 |
| tcic_wait_ready |
|
11 |
4 |
52 |
| tcic_read_aux_1 |
|
11 |
1 |
70 |
| tcic_read_aux_2 |
|
11 |
1 |
66 |
| tcic_write_aux_1 |
|
10 |
1 |
69 |
| tcic_write_aux_2 |
|
10 |
1 |
65 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt485reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cd1400reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/xlreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/vga_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fontram |
|
10 |
1 |
72 |
| textram |
|
10 |
2 |
80 |
| vga_loadchars |
|
15 |
3 |
128 |
| vga_setfontset |
|
14 |
1 |
89 |
| vga_setscreentype |
|
11 |
2 |
100 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tcic2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcic_check_reserved_bits |
|
87 |
20 |
555 |
| tcic_chipid |
|
15 |
2 |
97 |
| tcic_chipid_known |
|
17 |
10 |
48 |
| tcic_chipid_to_string |
|
25 |
10 |
92 |
| tcic_validirqs |
|
17 |
10 |
48 |
| tcic_attach |
|
61 |
13 |
535 |
| tcic_attach_sockets |
|
8 |
3 |
51 |
| tcic_attach_socket |
|
20 |
2 |
126 |
| tcic_create_event_thread |
|
23 |
4 |
123 |
| tcic_event_thread |
|
34 |
5 |
196 |
| tcic_init_socket |
|
13 |
2 |
95 |
| tcic_submatch |
|
34 |
11 |
191 |
| tcic_print |
|
20 |
4 |
89 |
| tcic_intr |
|
11 |
4 |
85 |
| tcic_intr_socket |
|
63 |
14 |
444 |
| tcic_queue_event |
|
15 |
2 |
87 |
| tcic_attach_card |
|
9 |
2 |
44 |
| tcic_detach_card |
|
10 |
2 |
54 |
| tcic_deactivate_card |
|
18 |
2 |
127 |
| tcic_chip_mem_alloc |
|
44 |
7 |
322 |
| tcic_chip_mem_free |
|
7 |
1 |
38 |
| tcic_chip_do_mem_map |
|
51 |
7 |
470 |
| tcic_chip_mem_map |
|
44 |
5 |
323 |
| tcic_chip_mem_unmap |
|
14 |
2 |
96 |
| tcic_chip_io_alloc |
|
50 |
9 |
316 |
| tcic_chip_io_free |
|
12 |
2 |
64 |
| tcic_chip_do_io_map |
|
36 |
5 |
312 |
| tcic_chip_io_map |
|
36 |
7 |
270 |
| tcic_chip_io_unmap |
|
14 |
2 |
94 |
| tcic_chip_socket_enable |
|
54 |
11 |
529 |
| tcic_chip_socket_disable |
|
16 |
1 |
128 |
| tcic_ns2wscnt |
|
9 |
2 |
36 |
| tcic_log2 |
|
13 |
3 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtl80x9reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pcdisplayvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _pcdisplay_6845_read |
|
5 |
1 |
43 |
| _pcdisplay_6845_write |
|
5 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pcdisplay_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcdisplay_cursor_reset |
|
5 |
2 |
31 |
| pcdisplay_cursor_init |
|
17 |
4 |
113 |
| pcdisplay_cursor |
|
49 |
8 |
345 |
| pcdisplay_putchar |
|
17 |
2 |
124 |
| pcdisplay_getchar |
|
20 |
2 |
135 |
| pcdisplay_copycols |
|
21 |
2 |
144 |
| pcdisplay_erasecols |
|
21 |
3 |
144 |
| pcdisplay_copyrows |
|
22 |
2 |
150 |
| pcdisplay_eraserows |
|
21 |
3 |
150 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ncr5380sbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ncr5380_wait_req |
|
15 |
4 |
60 |
| ncr5380_wait_not_req |
|
15 |
4 |
64 |
| ncr_sched_msgout |
|
12 |
2 |
59 |
| ncr5380_pio_out |
|
42 |
7 |
210 |
| ncr5380_pio_in |
|
38 |
7 |
189 |
| ncr5380_init |
|
30 |
6 |
213 |
| ncr5380_reset_scsibus |
|
13 |
1 |
66 |
| ncr5380_intr |
|
29 |
5 |
147 |
| ncr5380_abort |
|
21 |
4 |
111 |
| ncr5380_cmd_timeout |
|
38 |
4 |
208 |
| ncr5380_io_get |
|
17 |
3 |
96 |
| ncr5380_io_put |
|
8 |
1 |
39 |
| ncr5380_scsi_cmd |
|
50 |
11 |
290 |
| ncr5380_done |
|
72 |
20 |
419 |
| ncr5380_sched |
|
141 |
31 |
819 |
| ncr5380_reselect |
|
126 |
22 |
736 |
| ncr5380_select |
|
89 |
12 |
515 |
| ncr5380_msg_in |
|
142 |
33 |
757 |
| ncr5380_msg_out |
|
131 |
23 |
706 |
| ncr5380_command |
|
33 |
5 |
208 |
| ncr5380_data_xfer |
|
66 |
12 |
414 |
| ncr5380_status |
|
15 |
2 |
70 |
| ncr5380_machine |
|
153 |
31 |
824 |
| ncr5380_show_scsi_cmd |
|
20 |
4 |
125 |
| ncr5380_show_sense |
|
10 |
2 |
65 |
| ncr5380_trace |
|
15 |
2 |
69 |
| ncr5380_clear_trace |
|
5 |
1 |
20 |
| ncr5380_show_trace |
|
14 |
4 |
66 |
| ncr5380_show_req |
|
19 |
3 |
115 |
| ncr5380_show_state |
|
38 |
8 |
250 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/qlwreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtl80x9.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtl80x9_mediachange |
|
6 |
1 |
21 |
| rtl80x9_mediastatus |
|
19 |
4 |
144 |
| rtl80x9_init_card |
|
32 |
6 |
244 |
| rtl80x9_media_init |
|
39 |
7 |
246 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/espreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cacvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/gdt_common.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gdt_attach |
|
320 |
45 |
2362 |
| gdt_eval_mapping |
|
18 |
3 |
100 |
| gdt_enqueue |
|
7 |
2 |
46 |
| gdt_dequeue |
|
8 |
2 |
45 |
| gdt_scsi_cmd |
|
146 |
37 |
788 |
| gdt_exec_ccb |
|
97 |
19 |
595 |
| gdt_copy_internal_data |
|
11 |
2 |
65 |
| gdt_internal_cache_cmd |
|
59 |
10 |
425 |
| gdt_clear_events |
|
4 |
1 |
20 |
| gdt_async_event |
|
8 |
2 |
41 |
| gdt_sync_event |
|
24 |
4 |
126 |
| gdt_intr |
|
76 |
20 |
429 |
| gdtminphys |
|
8 |
3 |
70 |
| gdt_wait |
|
22 |
6 |
122 |
| gdt_internal_cmd |
|
71 |
9 |
470 |
| gdt_ccb_alloc |
|
12 |
2 |
80 |
| gdt_ccb_free |
|
14 |
3 |
99 |
| gdt_enqueue_ccb |
|
7 |
1 |
58 |
| gdt_start_ccbs |
|
22 |
5 |
165 |
| gdt_chain |
|
6 |
2 |
42 |
| gdt_timeout |
|
13 |
1 |
74 |
| gdt_watchdog |
|
11 |
1 |
60 |
| gdt_ioctl |
|
32 |
6 |
212 |
| gdt_ioctl_inq |
|
7 |
1 |
54 |
| gdt_ioctl_vol |
|
4 |
1 |
19 |
| gdt_ioctl_disk |
|
4 |
1 |
19 |
| gdt_ioctl_alarm |
|
4 |
1 |
19 |
| gdt_ioctl_setstate |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc93cx6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| read_seeprom |
|
63 |
14 |
486 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ns16550reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cissreg.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ciss_ccb::SLIST_ENTRY |
|
11 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lptreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2560reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mc6845reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aac_tables.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ahcireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lancereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82596.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i82596_probe |
|
28 |
6 |
266 |
| i82596_attach |
|
42 |
6 |
378 |
| i82596_watchdog |
|
8 |
1 |
45 |
| i82596_cmd_wait |
|
22 |
8 |
149 |
| i82596_start_cmd |
|
44 |
13 |
279 |
| i82596_count_errors |
|
13 |
1 |
128 |
| i82596_rx_errors |
|
5 |
1 |
34 |
| i82596_intr |
|
48 |
16 |
336 |
| i82596_rint |
|
85 |
23 |
601 |
| i82596_tint |
|
57 |
16 |
381 |
| i82596_get_rbd_list |
|
32 |
5 |
191 |
| i82596_release_rbd_list |
|
21 |
4 |
154 |
| i82596_drop_frames |
|
10 |
2 |
55 |
| i82596_chk_rx_ring |
|
26 |
5 |
189 |
| i82596_get |
|
69 |
12 |
441 |
| i82596_readframe |
|
29 |
5 |
193 |
| i82596_xmit |
|
47 |
8 |
428 |
| i82596_start |
|
67 |
24 |
515 |
| i82596_proberam |
|
20 |
2 |
178 |
| i82596_reset |
|
24 |
10 |
167 |
| i82596_simple_command |
|
10 |
1 |
81 |
| ie_run_tdr |
|
30 |
11 |
225 |
| i82596_setup_bufs |
|
70 |
11 |
669 |
| ie_cfg_setup |
|
37 |
3 |
380 |
| ie_ia_setup |
|
23 |
3 |
153 |
| ie_mc_setup |
|
28 |
4 |
189 |
| i82596_init |
|
25 |
6 |
162 |
| i82596_start_transceiver |
|
24 |
5 |
191 |
| i82596_stop |
|
7 |
2 |
39 |
| i82596_ioctl |
|
47 |
13 |
273 |
| ie_mc_reset |
|
38 |
7 |
228 |
| i82596_mediachange |
|
8 |
2 |
44 |
| i82596_mediastatus |
|
8 |
2 |
45 |
| print_rbd |
|
11 |
1 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/wdc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_log |
|
51 |
15 |
325 |
| wdc_get_log |
|
56 |
14 |
306 |
| wdc_default_read_reg |
|
12 |
4 |
71 |
| wdc_default_write_reg |
|
12 |
4 |
72 |
| wdc_default_lba48_write_reg |
|
6 |
1 |
37 |
| wdc_default_read_raw_multi_2 |
|
13 |
3 |
77 |
| wdc_default_write_raw_multi_2 |
|
13 |
3 |
79 |
| wdc_default_write_raw_multi_4 |
|
13 |
3 |
79 |
| wdc_default_read_raw_multi_4 |
|
13 |
3 |
77 |
| wdprint |
|
9 |
2 |
51 |
| wdc_disable_intr |
|
4 |
1 |
18 |
| wdc_enable_intr |
|
4 |
1 |
18 |
| wdc_set_drive |
|
5 |
1 |
35 |
| wdc_floating_bus |
|
19 |
4 |
102 |
| wdc_preata_drive |
|
26 |
4 |
170 |
| wdc_ata_present |
|
47 |
11 |
307 |
| wdcprobe |
|
87 |
33 |
645 |
| wdc_alloc_queue |
|
17 |
3 |
99 |
| wdc_free_queue |
|
4 |
1 |
22 |
| wdcattach |
|
86 |
30 |
670 |
| wdcstart |
|
22 |
6 |
157 |
| wdcdetach |
|
11 |
1 |
68 |
| wdcintr |
|
36 |
8 |
239 |
| wdc_reset_channel |
|
12 |
3 |
89 |
| wdcreset |
|
22 |
12 |
189 |
| wdc_do_reset |
|
9 |
1 |
51 |
| __wdcwait_reset |
|
40 |
13 |
272 |
| wdc_wait_for_status |
|
50 |
13 |
331 |
| wdc_dmawait |
|
19 |
4 |
150 |
| wdctimeout |
|
32 |
6 |
219 |
| wdc_probe_caps |
|
160 |
51 |
962 |
| wdc_output_bytes |
|
18 |
3 |
124 |
| wdc_input_bytes |
|
18 |
3 |
124 |
| wdc_print_caps |
|
16 |
5 |
91 |
| wdc_print_current_modes |
|
23 |
7 |
156 |
| wdc_downgrade_mode |
|
34 |
11 |
246 |
| wdc_exec_command |
|
44 |
10 |
266 |
| __wdccommand_start |
|
46 |
9 |
319 |
| __wdccommand_intr |
|
33 |
9 |
237 |
| __wdccommand_done |
|
42 |
10 |
303 |
| wdccommand |
|
18 |
1 |
163 |
| wdccommandext |
|
19 |
1 |
208 |
| wdccommandshort |
|
9 |
1 |
72 |
| wdc_exec_xfer |
|
14 |
3 |
110 |
| wdc_xfer_get |
|
4 |
1 |
21 |
| wdc_scrub_xfer |
|
5 |
1 |
28 |
| wdc_xfer_put |
|
14 |
3 |
75 |
| wdc_get_xfer |
|
5 |
2 |
27 |
| wdc_free_xfer |
|
20 |
4 |
122 |
| wdc_kill_pending |
|
8 |
2 |
52 |
| __wdcerror |
|
12 |
2 |
88 |
| wdcbit_bucket |
|
4 |
1 |
21 |
| wdc_ioc_ata_cmd |
|
79 |
21 |
512 |
| wdc_ioctl |
|
36 |
8 |
191 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5xxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ath_hal_probe |
|
10 |
4 |
61 |
| ath_hal_attach |
|
100 |
21 |
664 |
| ath_hal_computetxtime |
|
27 |
7 |
158 |
| ar5k_check_channel |
|
13 |
7 |
99 |
| ath_hal_init_channels |
|
88 |
24 |
583 |
| ar5k_printver |
|
24 |
8 |
147 |
| ar5k_radar_alert |
|
14 |
3 |
92 |
| ar5k_regdomain_from_ieee |
|
8 |
2 |
39 |
| ar5k_regdomain_to_ieee |
|
5 |
1 |
20 |
| ar5k_get_regdomain |
|
13 |
3 |
74 |
| ar5k_bitswap |
|
16 |
3 |
145 |
| ar5k_htoclock |
|
4 |
1 |
14 |
| ar5k_clocktoh |
|
4 |
1 |
14 |
| ar5k_rt_copy |
|
8 |
1 |
67 |
| ar5k_register_timeout |
|
17 |
6 |
99 |
| ar5k_eeprom_bin2freq |
|
20 |
6 |
117 |
| ar5k_eeprom_read_ants |
|
44 |
1 |
580 |
| ar5k_eeprom_read_modes |
|
61 |
15 |
558 |
| ar5k_eeprom_init |
|
125 |
20 |
1228 |
| ar5k_eeprom_read_mac |
|
24 |
6 |
173 |
| ar5k_eeprom_regulation_domain |
|
19 |
4 |
110 |
| ar5k_channel |
|
23 |
8 |
167 |
| ar5k_ar5110_chan2athchan |
|
8 |
1 |
54 |
| ar5k_ar5110_channel |
|
9 |
1 |
47 |
| ar5k_ar5111_chan2athchan |
|
17 |
5 |
111 |
| ar5k_ar5111_channel |
|
29 |
5 |
261 |
| ar5k_ar5112_channel |
|
34 |
8 |
333 |
| ar5k_rfregs_op |
|
35 |
10 |
317 |
| ar5k_rfregs_gainf_corr |
|
28 |
6 |
187 |
| ar5k_rfregs_gain_readback |
|
34 |
11 |
306 |
| ar5k_rfregs_gain_adjust |
|
45 |
11 |
350 |
| ar5k_rfregs |
|
43 |
10 |
223 |
| ar5k_ar5111_rfregs |
|
72 |
23 |
652 |
| ar5k_ar5112_rfregs |
|
71 |
20 |
594 |
| ar5k_arxxxx_rfregs |
|
41 |
9 |
240 |
| ar5k_rfgain |
|
42 |
10 |
186 |
| ar5k_txpower_table |
|
23 |
6 |
176 |
| ar5k_write_ini |
|
21 |
7 |
124 |
| ar5k_write_mode |
|
10 |
2 |
67 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mtd8xx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mtd_attach |
|
84 |
12 |
653 |
| mtd_ifmedia_upd |
|
5 |
1 |
29 |
| mtd_ifmedia_sts |
|
7 |
1 |
51 |
| mtd_mii_command |
|
26 |
6 |
173 |
| mtd_miibus_readreg |
|
23 |
5 |
161 |
| mtd_miibus_writereg |
|
22 |
5 |
149 |
| mtd_miibus_statchg |
|
3 |
1 |
9 |
| mtd_setmulti |
|
33 |
5 |
232 |
| mtd_encap |
|
49 |
6 |
429 |
| mtd_list_tx_init |
|
19 |
2 |
148 |
| mtd_list_rx_init |
|
17 |
3 |
107 |
| mtd_newbuf |
|
46 |
5 |
360 |
| mtd_reset |
|
13 |
3 |
71 |
| mtd_ioctl |
|
35 |
9 |
188 |
| mtd_init |
|
41 |
5 |
265 |
| mtd_start |
|
27 |
8 |
167 |
| mtd_stop |
|
38 |
7 |
347 |
| mtd_watchdog |
|
9 |
2 |
55 |
| mtd_intr |
|
34 |
11 |
207 |
| mtd_rxeof |
|
51 |
5 |
357 |
| mtd_rx_resync |
|
21 |
4 |
138 |
| mtd_txeof |
|
60 |
13 |
422 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/atw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atw_enable |
|
12 |
4 |
69 |
| atw_disable |
|
8 |
3 |
43 |
| atw_read_srom |
|
71 |
12 |
446 |
| atw_print_regs |
|
72 |
1 |
505 |
| atw_printmac |
|
14 |
5 |
42 |
| atw_attach |
|
235 |
44 |
1656 |
| atw_node_alloc |
|
7 |
1 |
60 |
| atw_node_free |
|
7 |
1 |
66 |
| atw_test1_reset |
|
15 |
4 |
55 |
| atw_reset |
|
31 |
4 |
251 |
| atw_clear_sram |
|
5 |
1 |
40 |
| atw_wcsr_init |
|
10 |
1 |
75 |
| atw_cmdr_init |
|
10 |
1 |
46 |
| atw_tofs2_init |
|
21 |
1 |
137 |
| atw_nar_init |
|
4 |
1 |
20 |
| atw_txlmt_init |
|
5 |
1 |
30 |
| atw_test1_init |
|
8 |
1 |
49 |
| atw_rf_reset |
|
7 |
1 |
41 |
| atw_cfp_init |
|
8 |
1 |
43 |
| atw_tofs0_init |
|
6 |
1 |
25 |
| atw_ifs_init |
|
10 |
1 |
53 |
| atw_response_times_init |
|
5 |
1 |
30 |
| atw_bbp_io_init |
|
33 |
6 |
145 |
| atw_si4126_init |
|
19 |
3 |
108 |
| atw_init |
|
135 |
16 |
980 |
| atw_bbp_io_enable |
|
11 |
2 |
53 |
| atw_tune |
|
24 |
6 |
169 |
| atw_si4126_print |
|
15 |
5 |
102 |
| atw_si4126_tune |
|
52 |
11 |
362 |
| atw_rf3000_init |
|
32 |
8 |
192 |
| atw_rf3000_print |
|
15 |
5 |
102 |
| atw_rf3000_tune |
|
45 |
9 |
304 |
| atw_rf3000_write |
|
19 |
4 |
113 |
| atw_rf3000_read |
|
31 |
8 |
190 |
| atw_si4126_write |
|
31 |
4 |
227 |
| atw_si4126_read |
|
33 |
8 |
207 |
| atw_filter_setup |
|
42 |
6 |
310 |
| atw_write_bssid |
|
20 |
1 |
172 |
| atw_write_sram |
|
30 |
7 |
253 |
| atw_write_wep |
|
42 |
9 |
323 |
| atw_change_ibss |
|
6 |
1 |
26 |
| atw_recv_mgmt |
|
22 |
8 |
130 |
| atw_write_ssid |
|
10 |
1 |
98 |
| atw_write_sup_rates |
|
14 |
2 |
117 |
| atw_start_beacon |
|
51 |
6 |
336 |
| atw_last_even_tsft |
|
4 |
1 |
30 |
| atw_get_tsft |
|
12 |
3 |
76 |
| atw_predict_beacon |
|
31 |
3 |
233 |
| atw_next_scan |
|
11 |
2 |
62 |
| atw_newstate |
|
55 |
16 |
328 |
| atw_add_rxbuf |
|
29 |
5 |
199 |
| atw_txdrain |
|
14 |
3 |
94 |
| atw_stop |
|
23 |
3 |
150 |
| atw_rxdrain |
|
13 |
3 |
76 |
| atw_detach |
|
38 |
7 |
291 |
| atw_intr |
|
100 |
23 |
603 |
| atw_idle |
|
46 |
13 |
330 |
| atw_linkintr |
|
16 |
5 |
109 |
| atw_hw_decrypted |
|
8 |
3 |
60 |
| atw_rxintr |
|
102 |
15 |
744 |
| atw_txintr |
|
69 |
17 |
490 |
| atw_watchdog |
|
34 |
12 |
230 |
| atw_compute_duration1 |
|
42 |
9 |
209 |
| atw_compute_duration |
|
47 |
11 |
303 |
| atw_dump_pkt |
|
19 |
6 |
152 |
| atw_start |
|
257 |
52 |
1998 |
| atw_activate |
|
17 |
5 |
95 |
| atw_wakeup |
|
8 |
3 |
54 |
| atw_ioctl |
|
46 |
15 |
262 |
| atw_media_change |
|
12 |
3 |
59 |
| atw_media_status |
|
10 |
2 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/anreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt463reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/max2820reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dptreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am7990.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| am7990_config |
|
20 |
5 |
177 |
| am7990_meminit |
|
51 |
5 |
495 |
| am7990_rint |
|
63 |
18 |
415 |
| am7990_tint |
|
62 |
19 |
366 |
| am7990_intr |
|
52 |
16 |
336 |
| am7990_start |
|
44 |
14 |
326 |
| am7990_recv_print |
|
22 |
2 |
196 |
| am7990_xmit_print |
|
22 |
2 |
197 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/sti.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sti_attach_common |
|
25 |
5 |
165 |
| sti_attach_screen |
|
19 |
3 |
113 |
| sti_rom_setup |
|
128 |
12 |
1374 |
| sti_region_setup |
|
57 |
22 |
465 |
| sti_screen_setup |
|
157 |
34 |
1075 |
| sti_describe_screen |
|
10 |
1 |
98 |
| sti_describe |
|
10 |
2 |
81 |
| sti_end_attach |
|
7 |
3 |
47 |
| sti_end_attach_screen |
|
18 |
3 |
135 |
| sti_rom_size |
|
13 |
2 |
71 |
| sti_fetchfonts |
|
91 |
15 |
692 |
| sti_init |
|
28 |
6 |
220 |
| sti_inqcfg |
|
12 |
1 |
85 |
| sti_bmove |
|
37 |
7 |
251 |
| sti_setcment |
|
18 |
3 |
158 |
| sti_ioctl |
|
97 |
36 |
630 |
| sti_mmap |
|
14 |
6 |
98 |
| sti_alloc_screen |
|
13 |
2 |
89 |
| sti_free_screen |
|
5 |
1 |
29 |
| sti_show_screen |
|
6 |
2 |
48 |
| sti_cursor |
|
10 |
1 |
81 |
| sti_mapchar |
|
27 |
10 |
158 |
| sti_putchar |
|
44 |
2 |
385 |
| sti_copycols |
|
10 |
1 |
86 |
| sti_erasecols |
|
10 |
1 |
86 |
| sti_copyrows |
|
8 |
1 |
77 |
| sti_eraserows |
|
8 |
1 |
77 |
| sti_alloc_attr |
|
6 |
2 |
43 |
| sti_unpack_attr |
|
13 |
4 |
77 |
| ngle_default_putcmap |
|
9 |
3 |
80 |
| ngle_artist_setupfb |
|
15 |
1 |
110 |
| ngle_elk_setupfb |
|
13 |
1 |
92 |
| ngle_timber_setupfb |
|
10 |
1 |
69 |
| ngle_setup_bt458 |
|
9 |
1 |
64 |
| ngle_setup_attr_planes |
|
19 |
1 |
176 |
| ngle_putcmap |
|
31 |
3 |
247 |
| ngle_setup_hw |
|
9 |
3 |
51 |
| ngle_setup_fb |
|
8 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pt2254a.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pt2254a_encode_volume |
|
18 |
6 |
183 |
| pt2254a_compose_register |
|
14 |
3 |
64 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dptvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/vga.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vga_common_probe |
|
45 |
11 |
344 |
| vga_selectfont |
|
39 |
21 |
257 |
| vga_init_screen |
|
48 |
12 |
402 |
| vga_init |
|
35 |
12 |
297 |
| vga_common_attach |
|
5 |
1 |
32 |
| vga_extended_attach |
|
35 |
8 |
214 |
| vga_cnattach |
|
19 |
3 |
124 |
| vga_is_console |
|
9 |
6 |
48 |
| vga_ioctl |
|
35 |
16 |
163 |
| vga_mmap |
|
7 |
2 |
51 |
| vga_alloc_screen |
|
26 |
3 |
226 |
| vga_free_screen |
|
17 |
5 |
128 |
| vga_setfont |
|
12 |
5 |
91 |
| vga_show_screen |
|
21 |
3 |
142 |
| vga_doswitch |
|
57 |
13 |
429 |
| vga_load_font |
|
53 |
20 |
401 |
| vga_list_font |
|
20 |
5 |
149 |
| vga_scrollback |
|
35 |
6 |
288 |
| vga_alloc_attr |
|
29 |
12 |
185 |
| vga_unpack_attr |
|
18 |
9 |
149 |
| vga_copyrows |
|
48 |
9 |
392 |
| _vga_mapchar |
|
20 |
5 |
101 |
| vga_mapchar |
|
21 |
4 |
135 |
| vga_putchar |
|
12 |
3 |
93 |
| vga_burner |
|
24 |
3 |
169 |
| vga_getchar |
|
5 |
1 |
42 |
| vga_save_palette |
|
13 |
3 |
89 |
| vga_restore_palette |
|
14 |
3 |
94 |
| vga_restore_fonts |
|
11 |
4 |
77 |
| vga_pick_monitor_type |
|
30 |
7 |
233 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/adwlib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| AdwInitFromEEPROM |
|
166 |
39 |
927 |
| AdwInitDriver |
|
198 |
38 |
1301 |
| AdwRamSelfTest |
|
33 |
9 |
198 |
| AdwLoadMCode |
|
91 |
14 |
612 |
| AdwASC3550Cabling |
|
39 |
20 |
226 |
| AdwASC38C0800Cabling |
|
39 |
13 |
212 |
| AdwASC38C1600Cabling |
|
29 |
8 |
162 |
| AdwGetEEPROMConfig |
|
24 |
3 |
124 |
| AdwReadEEPWord |
|
7 |
1 |
43 |
| AdwWaitEEPCmd |
|
12 |
3 |
59 |
| AdwSetEEPROMConfig |
|
35 |
3 |
217 |
| AdwExeScsiQueue |
|
48 |
8 |
307 |
| AdwResetChip |
|
8 |
1 |
37 |
| AdwResetCCB |
|
15 |
3 |
84 |
| AdwResetSCSIBus |
|
40 |
6 |
308 |
| AdwISR |
|
70 |
16 |
432 |
| AdwSendIdleCmd |
|
29 |
5 |
182 |
| AdwInquiryHandling |
|
76 |
23 |
467 |
| AdwSleepMilliSecond |
|
4 |
1 |
14 |
| AdwDelayMicroSecond |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtwnvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lm78.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lm_attach |
|
20 |
6 |
161 |
| lm_match |
|
24 |
5 |
92 |
| def_match |
|
9 |
1 |
48 |
| wb_match |
|
100 |
23 |
555 |
| lm_setup_sensors |
|
13 |
2 |
117 |
| lm_refresh |
|
5 |
1 |
22 |
| lm_refresh_sensor_data |
|
6 |
2 |
41 |
| lm_refresh_volt |
|
9 |
1 |
76 |
| lm_refresh_temp |
|
15 |
4 |
99 |
| lm_refresh_fanrpm |
|
21 |
6 |
169 |
| wb_refresh_sensor_data |
|
13 |
3 |
108 |
| wb_w83637hf_refresh_vcore |
|
10 |
2 |
75 |
| wb_refresh_nvolt |
|
10 |
1 |
88 |
| wb_w83627ehf_refresh_nvolt |
|
10 |
1 |
86 |
| wb_refresh_temp |
|
16 |
4 |
125 |
| wb_refresh_fanrpm |
|
39 |
14 |
366 |
| wb_nct6776f_refresh_fanrpm |
|
14 |
2 |
110 |
| wb_w83792d_refresh_fanrpm |
|
41 |
11 |
236 |
| as_refresh_temp |
|
16 |
3 |
121 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/stireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2661.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rt2661_attach |
|
54 |
9 |
363 |
| rt2661_attachhook |
|
88 |
12 |
596 |
| rt2661_detach |
|
18 |
3 |
131 |
| rt2661_suspend |
|
9 |
2 |
50 |
| rt2661_wakeup |
|
7 |
2 |
40 |
| rt2661_alloc_tx_ring |
|
59 |
8 |
395 |
| rt2661_reset_tx_ring |
|
21 |
3 |
168 |
| rt2661_free_tx_ring |
|
28 |
6 |
226 |
| rt2661_alloc_rx_ring |
|
84 |
11 |
587 |
| rt2661_reset_rx_ring |
|
9 |
2 |
77 |
| rt2661_free_rx_ring |
|
27 |
6 |
220 |
| rt2661_amrr_node_alloc |
|
20 |
4 |
119 |
| rt2661_amrr_node_free |
|
11 |
2 |
70 |
| rt2661_amrr_node_free_all |
|
9 |
1 |
51 |
| rt2661_amrr_node_free_unused |
|
11 |
2 |
61 |
| rt2661_amrr_node_find |
|
16 |
4 |
94 |
| rt2661_node_alloc |
|
10 |
2 |
59 |
| rt2661_node_free |
|
8 |
2 |
58 |
| rt2661_media_change |
|
10 |
3 |
56 |
| rt2661_next_scan |
|
11 |
2 |
62 |
| rt2661_iter_func |
|
7 |
2 |
55 |
| rt2661_updatestats |
|
17 |
3 |
97 |
| rt2661_newassoc |
|
12 |
4 |
103 |
| rt2661_newstate |
|
50 |
12 |
294 |
| rt2661_eeprom_read |
|
36 |
4 |
282 |
| rt2661_tx_intr |
|
41 |
8 |
217 |
| rt2661_tx_dma_intr |
|
42 |
12 |
363 |
| rt2661_rx_intr |
|
100 |
12 |
789 |
| rt2661_mcu_beacon_expire |
|
16 |
4 |
106 |
| rt2661_mcu_wakeup |
|
8 |
1 |
57 |
| rt2661_mcu_cmd_intr |
|
5 |
1 |
25 |
| rt2661_intr |
|
41 |
16 |
297 |
| rt2661_rxrate |
|
25 |
14 |
131 |
| rt2661_ack_rate |
|
23 |
14 |
82 |
| rt2661_txtime |
|
15 |
4 |
100 |
| rt2661_plcp_signal |
|
18 |
13 |
90 |
| rt2661_setup_tx_desc |
|
43 |
8 |
341 |
| rt2661_tx_mgt |
|
64 |
7 |
501 |
| rt2661_tx_data |
|
169 |
36 |
1302 |
| rt2661_start |
|
51 |
20 |
327 |
| rt2661_watchdog |
|
15 |
3 |
79 |
| rt2661_ioctl |
|
42 |
12 |
235 |
| rt2661_bbp_write |
|
17 |
4 |
115 |
| rt2661_bbp_read |
|
24 |
6 |
153 |
| rt2661_rf_write |
|
19 |
4 |
134 |
| rt2661_tx_cmd |
|
9 |
2 |
59 |
| rt2661_select_antenna |
|
12 |
1 |
82 |
| rt2661_enable_mrr |
|
11 |
2 |
64 |
| rt2661_set_txpreamble |
|
9 |
2 |
48 |
| rt2661_set_basicrates |
|
11 |
3 |
70 |
| rt2661_select_band |
|
36 |
12 |
293 |
| rt2661_set_chan |
|
49 |
12 |
458 |
| rt2661_set_bssid |
|
8 |
1 |
86 |
| rt2661_set_macaddr |
|
8 |
1 |
86 |
| rt2661_update_promisc |
|
12 |
3 |
80 |
| rt2661_updateslot |
|
8 |
2 |
42 |
| rt2661_set_slottime |
|
12 |
2 |
76 |
| rt2661_get_rf |
|
10 |
5 |
42 |
| rt2661_read_eeprom |
|
63 |
11 |
629 |
| rt2661_bbp_init |
|
24 |
8 |
172 |
| rt2661_init |
|
95 |
15 |
699 |
| rt2661_stop |
|
32 |
5 |
252 |
| rt2661_load_microcode |
|
23 |
4 |
150 |
| rt2661_rx_tune |
|
41 |
15 |
280 |
| rt2661_radar_start |
|
22 |
2 |
194 |
| rt2661_radar_stop |
|
12 |
1 |
92 |
| rt2661_prepare_beacon |
|
36 |
6 |
253 |
| rt2661_enable_tsf_sync |
|
16 |
3 |
107 |
| rt2661_get_rssi |
|
25 |
8 |
135 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pcdisplay.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/w83l518dreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/s3_617.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/elink3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ep_reset_cmd |
|
7 |
1 |
47 |
| ep_finish_reset |
|
10 |
3 |
52 |
| ep_discard_rxtop |
|
11 |
3 |
65 |
| ep_w1_reg |
|
14 |
5 |
55 |
| epconfig |
|
99 |
18 |
631 |
| ep_detach |
|
11 |
2 |
80 |
| ep_isa_probemedia |
|
32 |
6 |
222 |
| ep_vortex_probemedia |
|
36 |
7 |
258 |
| epinit |
|
56 |
10 |
469 |
| epsetfilter |
|
9 |
3 |
74 |
| ep_media_change |
|
5 |
1 |
35 |
| ep_roadrunner_mii_enable |
|
16 |
1 |
97 |
| epsetmedia |
|
90 |
16 |
539 |
| ep_media_status |
|
42 |
7 |
234 |
| epstart |
|
99 |
25 |
700 |
| epstatus |
|
32 |
13 |
196 |
| eptxstat |
|
34 |
10 |
250 |
| epintr |
|
33 |
7 |
189 |
| epread |
|
62 |
19 |
343 |
| epget |
|
61 |
14 |
432 |
| epioctl |
|
38 |
11 |
210 |
| epreset |
|
7 |
1 |
28 |
| epwatchdog |
|
7 |
1 |
45 |
| epstop |
|
27 |
3 |
211 |
| epreadeeprom |
|
10 |
2 |
79 |
| epbusyeeprom |
|
25 |
7 |
128 |
| ep_read_eeprom |
|
15 |
4 |
89 |
| epmbuffill |
|
16 |
5 |
106 |
| epmbufempty |
|
14 |
3 |
84 |
| ep_mii_setbit |
|
7 |
1 |
47 |
| ep_mii_clrbit |
|
7 |
1 |
47 |
| ep_mii_readbit |
|
5 |
1 |
30 |
| ep_mii_sync |
|
9 |
2 |
48 |
| ep_mii_sendbits |
|
15 |
3 |
98 |
| ep_mii_readreg |
|
29 |
5 |
220 |
| ep_mii_writereg |
|
15 |
1 |
113 |
| ep_statchg |
|
15 |
2 |
89 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtwreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/stivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pckbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pckbc_wait_output |
|
10 |
3 |
54 |
| pckbc_send_cmd |
|
7 |
2 |
44 |
| pckbc_poll_data1 |
|
28 |
7 |
143 |
| pckbc_get8042cmd |
|
15 |
3 |
90 |
| pckbc_put8042cmd |
|
12 |
3 |
80 |
| pckbc_send_devcmd |
|
14 |
4 |
92 |
| pckbc_is_console |
|
8 |
5 |
39 |
| pckbc_submatch_locators |
|
9 |
3 |
63 |
| pckbc_submatch |
|
7 |
2 |
61 |
| pckbc_attach_slot |
|
23 |
8 |
167 |
| pckbc_attach |
|
85 |
30 |
521 |
| pckbcprint |
|
7 |
2 |
42 |
| pckbc_release_console |
|
8 |
3 |
30 |
| pckbc_init_slotdata |
|
10 |
2 |
69 |
| pckbc_flush |
|
6 |
1 |
41 |
| pckbc_poll_data |
|
13 |
5 |
93 |
| pckbc_xt_translation |
|
14 |
6 |
96 |
| pckbc_slot_enable |
|
15 |
5 |
100 |
| pckbc_set_poll |
|
13 |
3 |
74 |
| pckbc_poll_cmd1 |
|
60 |
17 |
315 |
| pckbc_poll_cmd |
|
16 |
6 |
134 |
| pckbc_cleanqueue |
|
13 |
5 |
94 |
| pckbc_cleanqueues |
|
7 |
3 |
47 |
| pckbc_cleanup |
|
13 |
2 |
76 |
| pckbc_stop |
|
7 |
1 |
39 |
| pckbc_reset |
|
12 |
2 |
100 |
| pckbc_start |
|
26 |
6 |
172 |
| pckbc_cmdresponse |
|
43 |
14 |
281 |
| pckbc_enqueue_cmd |
|
50 |
15 |
364 |
| pckbc_set_inputhandler |
|
13 |
4 |
100 |
| pckbc_poll |
|
9 |
1 |
51 |
| pckbcintr |
|
5 |
1 |
32 |
| pckbcintr_internal |
|
39 |
14 |
245 |
| pckbc_cnattach |
|
38 |
7 |
256 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/fxpvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/tea5757.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tea5757_encode_freq |
|
10 |
2 |
36 |
| tea5757_decode_freq |
|
11 |
2 |
38 |
| tea5757_search |
|
13 |
4 |
97 |
| tea5757_hardware_write |
|
11 |
3 |
110 |
| tea5757_set_freq |
|
12 |
3 |
74 |
| tea5757_encode_lock |
|
13 |
7 |
64 |
| tea5757_decode_lock |
|
19 |
5 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/amivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dp8573areg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5210var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/if_wivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2860.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rt2860_attach |
|
57 |
16 |
399 |
| rt2860_attachhook |
|
73 |
7 |
513 |
| rt2860_detach |
|
15 |
3 |
105 |
| rt2860_suspend |
|
7 |
2 |
42 |
| rt2860_wakeup |
|
7 |
2 |
40 |
| rt2860_alloc_tx_ring |
|
35 |
5 |
271 |
| rt2860_reset_tx_ring |
|
19 |
3 |
142 |
| rt2860_free_tx_ring |
|
24 |
5 |
202 |
| rt2860_alloc_tx_pool |
|
56 |
7 |
387 |
| rt2860_free_tx_pool |
|
19 |
4 |
148 |
| rt2860_alloc_rx_ring |
|
63 |
9 |
483 |
| rt2860_reset_rx_ring |
|
9 |
2 |
71 |
| rt2860_free_rx_ring |
|
25 |
6 |
210 |
| rt2860_node_alloc |
|
5 |
1 |
25 |
| rt2860_media_change |
|
24 |
6 |
152 |
| rt2860_iter_func |
|
6 |
1 |
52 |
| rt2860_updatestats |
|
19 |
5 |
134 |
| rt2860_newassoc |
|
37 |
10 |
326 |
| rt2860_node_leave |
|
6 |
1 |
51 |
| rt2860_ampdu_rx_start |
|
11 |
1 |
86 |
| rt2860_ampdu_rx_stop |
|
10 |
1 |
85 |
| rt2860_newstate |
|
56 |
15 |
325 |
| rt3090_efuse_read_2 |
|
24 |
6 |
161 |
| rt2860_eeprom_read_2 |
|
36 |
4 |
286 |
| rt2860_srom_read |
|
4 |
1 |
22 |
| rt2860_intr_coherent |
|
9 |
1 |
55 |
| rt2860_drain_stats_fifo |
|
24 |
6 |
161 |
| rt2860_tx_intr |
|
30 |
4 |
237 |
| rt2860_maxrssi_chain |
|
12 |
5 |
81 |
| rt2860_rx_intr |
|
138 |
28 |
1092 |
| rt2860_tbtt_intr |
|
17 |
5 |
100 |
| rt2860_gp_intr |
|
9 |
3 |
62 |
| rt2860_intr |
|
36 |
15 |
200 |
| rt2860_tx |
|
150 |
31 |
1221 |
| rt2860_start |
|
45 |
16 |
286 |
| rt2860_watchdog |
|
16 |
3 |
86 |
| rt2860_ioctl |
|
42 |
12 |
241 |
| rt2860_mcu_bbp_write |
|
19 |
4 |
114 |
| rt2860_mcu_bbp_read |
|
29 |
6 |
172 |
| rt2860_rf_write |
|
17 |
4 |
111 |
| rt3090_rf_read |
|
29 |
7 |
161 |
| rt3090_rf_write |
|
16 |
4 |
100 |
| rt2860_mcu_cmd |
|
40 |
12 |
282 |
| rt2860_enable_mrr |
|
17 |
1 |
113 |
| rt2860_set_txpreamble |
|
9 |
2 |
48 |
| rt2860_set_basicrates |
|
10 |
3 |
64 |
| rt2860_select_chan_group |
|
83 |
24 |
572 |
| rt2860_set_chan |
|
43 |
8 |
364 |
| rt3090_set_chan |
|
45 |
7 |
393 |
| rt5390_set_chan |
|
78 |
22 |
650 |
| rt3090_rf_init |
|
86 |
19 |
662 |
| rt5390_rf_init |
|
49 |
10 |
397 |
| rt3090_rf_wakeup |
|
43 |
5 |
339 |
| rt5390_rf_wakeup |
|
28 |
5 |
227 |
| rt3090_filter_calib |
|
43 |
8 |
282 |
| rt3090_rf_setup |
|
23 |
8 |
172 |
| rt2860_set_leds |
|
5 |
1 |
31 |
| rt2860_set_gp_timer |
|
14 |
2 |
98 |
| rt2860_set_bssid |
|
7 |
1 |
70 |
| rt2860_set_macaddr |
|
7 |
1 |
75 |
| rt2860_updateslot |
|
10 |
2 |
57 |
| rt2860_updateprot |
|
17 |
5 |
106 |
| rt2860_updateedca |
|
33 |
2 |
303 |
| rt2860_set_key |
|
87 |
17 |
677 |
| rt2860_delete_key |
|
17 |
2 |
121 |
| rt2860_rssi2dbm |
|
18 |
4 |
131 |
| b4inc |
|
14 |
4 |
76 |
| rt2860_get_rf |
|
20 |
15 |
102 |
| rt2860_read_eeprom |
|
247 |
51 |
2482 |
| rt2860_bbp_init |
|
33 |
12 |
224 |
| rt5390_bbp_init |
|
27 |
5 |
203 |
| rt2860_txrx_enable |
|
35 |
6 |
198 |
| rt2860_init |
|
199 |
49 |
1653 |
| rt2860_stop |
|
32 |
6 |
235 |
| rt2860_load_microcode |
|
23 |
4 |
140 |
| rt2860_calib |
|
30 |
10 |
234 |
| rt3090_set_rx_antenna |
|
29 |
4 |
166 |
| rt2860_switch_chan |
|
25 |
9 |
146 |
| rt2860_setup_beacon |
|
26 |
4 |
202 |
| rt2860_enable_tsf_sync |
|
20 |
4 |
121 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/uhavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2560var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/fxpreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/nec765reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic6915.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bwi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwi_intr |
|
91 |
29 |
575 |
| bwi_attach |
|
137 |
22 |
885 |
| bwi_detach |
|
16 |
2 |
105 |
| bwi_tmplt_write_4 |
|
8 |
2 |
57 |
| bwi_hostflags_write |
|
8 |
1 |
54 |
| bwi_hostflags_read |
|
10 |
1 |
56 |
| bwi_memobj_read_2 |
|
12 |
2 |
76 |
| bwi_memobj_read_4 |
|
19 |
2 |
131 |
| bwi_memobj_write_2 |
|
13 |
2 |
78 |
| bwi_memobj_write_4 |
|
17 |
2 |
125 |
| bwi_mac_lateattach |
|
30 |
8 |
176 |
| bwi_mac_init |
|
93 |
18 |
591 |
| bwi_mac_reset |
|
36 |
4 |
222 |
| bwi_mac_set_tpctl_11bg |
|
25 |
5 |
182 |
| bwi_mac_test |
|
32 |
5 |
220 |
| bwi_mac_setup_tpctl |
|
75 |
27 |
431 |
| bwi_mac_dummy_xmit |
|
53 |
13 |
393 |
| bwi_mac_init_tpctl_11bg |
|
49 |
13 |
347 |
| bwi_mac_detach |
|
4 |
1 |
14 |
| bwi_get_firmware |
|
24 |
5 |
206 |
| bwi_fwimage_is_valid |
|
35 |
6 |
207 |
| bwi_mac_fw_alloc |
|
104 |
26 |
761 |
| bwi_mac_fw_free |
|
7 |
2 |
38 |
| bwi_mac_fw_load |
|
57 |
7 |
381 |
| bwi_mac_gpio_init |
|
26 |
4 |
156 |
| bwi_mac_gpio_fini |
|
12 |
2 |
78 |
| bwi_mac_fw_load_iv |
|
60 |
8 |
437 |
| bwi_mac_fw_init |
|
17 |
4 |
103 |
| bwi_mac_opmode_init |
|
48 |
11 |
234 |
| bwi_mac_hostflags_init |
|
23 |
8 |
144 |
| bwi_mac_bss_param_init |
|
22 |
2 |
145 |
| bwi_mac_set_retry_lim |
|
11 |
1 |
67 |
| bwi_mac_set_ackrates |
|
28 |
4 |
173 |
| bwi_mac_start |
|
9 |
1 |
58 |
| bwi_mac_stop |
|
20 |
5 |
117 |
| bwi_mac_config_ps |
|
24 |
5 |
131 |
| bwi_mac_reset_hwkeys |
|
4 |
1 |
18 |
| bwi_mac_shutdown |
|
16 |
3 |
107 |
| bwi_mac_get_property |
|
36 |
6 |
213 |
| bwi_mac_updateslot |
|
16 |
3 |
90 |
| bwi_mac_attach |
|
39 |
10 |
259 |
| bwi_mac_balance_atten |
|
29 |
11 |
157 |
| bwi_mac_adjust_tpctl |
|
43 |
9 |
256 |
| bwi_mac_calibrate_txpower |
|
77 |
15 |
499 |
| bwi_mac_lock |
|
14 |
3 |
87 |
| bwi_mac_unlock |
|
13 |
3 |
78 |
| bwi_mac_set_promisc |
|
10 |
3 |
54 |
| bwi_phy_write |
|
6 |
1 |
42 |
| bwi_phy_read |
|
6 |
1 |
40 |
| bwi_phy_attach |
|
61 |
9 |
345 |
| bwi_phy_set_bbp_atten |
|
16 |
3 |
93 |
| bwi_phy_calibrate |
|
14 |
4 |
87 |
| bwi_tbl_write_2 |
|
7 |
2 |
62 |
| bwi_tbl_write_4 |
|
9 |
3 |
84 |
| bwi_nrssi_write |
|
5 |
1 |
36 |
| bwi_nrssi_read |
|
5 |
1 |
34 |
| bwi_phy_init_11a |
|
3 |
1 |
9 |
| bwi_phy_init_11g |
|
92 |
34 |
685 |
| bwi_phy_init_11b_rev2 |
|
7 |
1 |
33 |
| bwi_phy_init_11b_rev4 |
|
53 |
9 |
404 |
| bwi_phy_init_11b_rev5 |
|
73 |
15 |
568 |
| bwi_phy_init_11b_rev6 |
|
117 |
19 |
873 |
| bwi_phy_config_11g |
|
94 |
24 |
721 |
| bwi_phy_config_agc |
|
65 |
8 |
580 |
| bwi_set_gains |
|
45 |
10 |
289 |
| bwi_phy_clear_state |
|
4 |
1 |
15 |
| bwi_nrssi_11g |
|
8 |
2 |
44 |
| bwi_get_rf_lo |
|
7 |
1 |
52 |
| bwi_rf_lo_isused |
|
8 |
2 |
59 |
| bwi_rf_write |
|
6 |
1 |
42 |
| bwi_rf_read |
|
14 |
4 |
85 |
| bwi_rf_attach |
|
94 |
15 |
520 |
| bwi_rf_set_chan |
|
21 |
5 |
136 |
| bwi_rf_get_gains |
|
106 |
15 |
879 |
| bwi_rf_init |
|
11 |
3 |
57 |
| bwi_rf_off_11a |
|
8 |
1 |
54 |
| bwi_rf_off_11bg |
|
4 |
1 |
18 |
| bwi_rf_off_11g_rev5 |
|
5 |
1 |
27 |
| bwi_rf_workaround |
|
18 |
5 |
120 |
| bwi_rf_lo_find |
|
29 |
7 |
164 |
| bwi_rf_lo_adjust |
|
6 |
1 |
37 |
| bwi_rf_lo_write |
|
7 |
1 |
50 |
| bwi_rf_gain_max_reached |
|
8 |
1 |
65 |
| bwi_bitswap4 |
|
9 |
1 |
59 |
| bwi_phy812_value |
|
64 |
19 |
342 |
| bwi_rf_init_bcm2050 |
|
201 |
47 |
1610 |
| bwi_rf_calibval |
|
17 |
2 |
128 |
| _bwi_adjust_devide |
|
7 |
2 |
39 |
| bwi_rf_calc_txpower |
|
26 |
6 |
193 |
| bwi_rf_map_txpower |
|
107 |
22 |
721 |
| bwi_rf_lo_update_11g |
|
99 |
10 |
881 |
| bwi_rf_lo_devi_measure |
|
29 |
4 |
199 |
| bwi_rf_get_tp_ctrl2 |
|
20 |
3 |
105 |
| _bwi_rf_lo_update_11g |
|
71 |
13 |
542 |
| bwi_rf_lo_measure_11g |
|
69 |
15 |
439 |
| bwi_rf_calc_nrssi_slope_11b |
|
69 |
12 |
643 |
| bwi_rf_set_nrssi_ofs_11g |
|
120 |
22 |
948 |
| bwi_rf_calc_nrssi_slope_11g |
|
126 |
25 |
1038 |
| bwi_rf_init_sw_nrssi_table |
|
15 |
4 |
103 |
| bwi_rf_init_hw_nrssi_table |
|
14 |
4 |
78 |
| bwi_rf_set_nrssi_thr_11b |
|
31 |
7 |
238 |
| _nrssi_threshold |
|
15 |
4 |
93 |
| bwi_rf_set_nrssi_thr_11g |
|
25 |
5 |
154 |
| bwi_rf_clear_tssi |
|
18 |
4 |
110 |
| bwi_rf_clear_state |
|
17 |
2 |
130 |
| bwi_rf_on_11a |
|
3 |
1 |
9 |
| bwi_rf_on_11bg |
|
11 |
2 |
73 |
| bwi_rf_set_ant_mode |
|
57 |
14 |
363 |
| bwi_rf_get_latest_tssi |
|
15 |
4 |
115 |
| bwi_rf_tssi2dbm |
|
14 |
6 |
95 |
| bwi_rf_calc_rssi_bcm2050 |
|
77 |
20 |
441 |
| bwi_rf_calc_rssi_bcm2053 |
|
12 |
2 |
69 |
| bwi_rf_calc_rssi_bcm2060 |
|
8 |
2 |
39 |
| bwi_rf_lo_measure_11b |
|
16 |
2 |
90 |
| bwi_rf_lo_update_11b |
|
85 |
11 |
653 |
| bwi_read_sprom |
|
4 |
1 |
24 |
| bwi_setup_desc32 |
|
23 |
5 |
165 |
| bwi_power_on |
|
28 |
4 |
197 |
| bwi_power_off |
|
17 |
2 |
122 |
| bwi_regwin_switch |
|
21 |
6 |
117 |
| bwi_regwin_select |
|
12 |
3 |
81 |
| bwi_regwin_info |
|
10 |
1 |
71 |
| bwi_led_attach |
|
50 |
14 |
375 |
| bwi_led_onoff |
|
10 |
3 |
50 |
| bwi_led_newstate |
|
52 |
16 |
258 |
| bwi_led_event |
|
30 |
8 |
141 |
| bwi_led_blink_start |
|
15 |
2 |
98 |
| bwi_led_blink_next |
|
9 |
1 |
61 |
| bwi_led_blink_end |
|
5 |
1 |
21 |
| bwi_bbp_attach |
|
96 |
22 |
651 |
| bwi_bus_init |
|
58 |
13 |
381 |
| bwi_get_card_flags |
|
12 |
5 |
77 |
| bwi_get_eaddr |
|
8 |
2 |
59 |
| bwi_get_clock_freq |
|
48 |
9 |
325 |
| bwi_set_clock_mode |
|
42 |
12 |
232 |
| bwi_set_clock_delay |
|
30 |
8 |
198 |
| bwi_init |
|
6 |
1 |
30 |
| bwi_init_statechg |
|
62 |
14 |
397 |
| bwi_ioctl |
|
46 |
12 |
263 |
| bwi_start |
|
79 |
22 |
501 |
| bwi_watchdog |
|
16 |
4 |
85 |
| bwi_newstate_begin |
|
8 |
2 |
48 |
| bwi_stop |
|
40 |
8 |
272 |
| bwi_newstate |
|
46 |
11 |
312 |
| bwi_media_change |
|
10 |
3 |
60 |
| bwi_iter_func |
|
6 |
1 |
47 |
| bwi_amrr_timeout |
|
10 |
2 |
62 |
| bwi_newassoc |
|
11 |
3 |
107 |
| bwi_node_alloc |
|
8 |
2 |
52 |
| bwi_dma_alloc |
|
82 |
14 |
468 |
| bwi_dma_free |
|
37 |
8 |
242 |
| bwi_dma_ring_alloc |
|
32 |
4 |
236 |
| bwi_dma_txstats_alloc |
|
72 |
9 |
532 |
| bwi_dma_txstats_free |
|
12 |
2 |
91 |
| bwi_dma_mbuf_create30 |
|
108 |
25 |
773 |
| bwi_dma_mbuf_create |
|
51 |
9 |
340 |
| bwi_dma_mbuf_destroy |
|
32 |
8 |
236 |
| bwi_enable_intrs |
|
4 |
1 |
21 |
| bwi_disable_intrs |
|
4 |
1 |
21 |
| bwi_init_tx_ring32 |
|
24 |
1 |
184 |
| bwi_init_rxdesc_ring32 |
|
17 |
1 |
123 |
| bwi_init_rx_ring32 |
|
20 |
3 |
146 |
| bwi_init_txstats32 |
|
21 |
2 |
161 |
| bwi_setup_rx_desc32 |
|
8 |
1 |
54 |
| bwi_setup_tx_desc32 |
|
7 |
1 |
49 |
| bwi_newbuf30 |
|
35 |
7 |
267 |
| bwi_newbuf |
|
48 |
10 |
313 |
| bwi_set_addr_filter |
|
13 |
2 |
95 |
| bwi_set_chan |
|
8 |
1 |
53 |
| bwi_next_scan |
|
11 |
2 |
62 |
| bwi_rxeof |
|
95 |
11 |
680 |
| bwi_rxeof32 |
|
13 |
1 |
84 |
| bwi_reset_rx_ring32 |
|
16 |
4 |
101 |
| bwi_free_txstats32 |
|
4 |
1 |
20 |
| bwi_free_rx_ring32 |
|
15 |
3 |
103 |
| bwi_free_tx_ring32 |
|
49 |
12 |
333 |
| bwi_plcp2rate |
|
5 |
1 |
31 |
| bwi_ofdm_plcp_header |
|
8 |
1 |
46 |
| bwi_ds_plcp_header |
|
17 |
3 |
102 |
| bwi_plcp_header |
|
11 |
3 |
64 |
| bwi_rate2modtype |
|
10 |
4 |
38 |
| bwi_ack_rate |
|
49 |
19 |
206 |
| bwi_txtime |
|
27 |
6 |
132 |
| bwi_encap |
|
147 |
27 |
1088 |
| bwi_start_tx32 |
|
6 |
1 |
42 |
| bwi_txeof_status32 |
|
15 |
2 |
106 |
| _bwi_txeof |
|
31 |
5 |
222 |
| bwi_txeof_status |
|
13 |
2 |
92 |
| bwi_txeof |
|
19 |
5 |
117 |
| bwi_bbp_power_on |
|
5 |
1 |
30 |
| bwi_bbp_power_off |
|
5 |
1 |
23 |
| bwi_get_pwron_delay |
|
20 |
3 |
145 |
| bwi_bus_attach |
|
13 |
3 |
88 |
| bwi_regwin_name |
|
15 |
5 |
64 |
| bwi_regwin_disable_bits |
|
12 |
3 |
74 |
| bwi_regwin_is_enabled |
|
17 |
2 |
102 |
| bwi_regwin_disable |
|
46 |
8 |
285 |
| bwi_regwin_enable |
|
31 |
3 |
197 |
| bwi_set_bssid |
|
23 |
3 |
209 |
| bwi_updateslot |
|
12 |
2 |
99 |
| bwi_calibrate |
|
18 |
3 |
111 |
| bwi_calc_rssi |
|
7 |
1 |
52 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82365.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcic_ident_ok |
|
12 |
6 |
60 |
| pcic_vendor |
|
48 |
9 |
241 |
| pcic_attach |
|
100 |
18 |
950 |
| pcic_attach_sockets |
|
8 |
3 |
51 |
| pcic_attach_socket |
|
21 |
2 |
134 |
| pcic_create_event_thread |
|
29 |
6 |
137 |
| pcic_event_thread |
|
24 |
3 |
149 |
| pcic_event_process |
|
56 |
13 |
364 |
| pcic_init_socket |
|
30 |
7 |
190 |
| pcic_submatch |
|
53 |
21 |
296 |
| pcic_print |
|
26 |
6 |
109 |
| pcic_intr |
|
11 |
4 |
85 |
| pcic_poll_intr |
|
12 |
3 |
80 |
| pcic_intr_socket |
|
53 |
11 |
302 |
| pcic_queue_event |
|
15 |
2 |
87 |
| pcic_attach_card |
|
8 |
2 |
37 |
| pcic_detach_card |
|
11 |
2 |
51 |
| pcic_deactivate_card |
|
9 |
2 |
58 |
| pcic_power |
|
18 |
5 |
113 |
| pcic_chip_mem_alloc |
|
39 |
5 |
273 |
| pcic_chip_mem_free |
|
8 |
1 |
52 |
| pcic_chip_do_mem_map |
|
45 |
5 |
439 |
| pcic_chip_mem_map |
|
43 |
5 |
313 |
| pcic_chip_mem_unmap |
|
13 |
2 |
91 |
| pcic_chip_io_alloc |
|
55 |
10 |
387 |
| pcic_chip_io_free |
|
12 |
2 |
64 |
| pcic_chip_do_io_map |
|
23 |
1 |
264 |
| pcic_chip_io_map |
|
34 |
6 |
264 |
| pcic_chip_io_unmap |
|
13 |
2 |
91 |
| pcic_wait_ready |
|
14 |
7 |
80 |
| pcic_chip_socket_enable |
|
45 |
10 |
334 |
| pcic_chip_socket_disable |
|
8 |
1 |
44 |
| st_pcic_read |
|
9 |
2 |
56 |
| st_pcic_write |
|
12 |
3 |
69 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/if_wi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wi_attach |
|
194 |
40 |
1484 |
| wi_intr_enable |
|
5 |
2 |
32 |
| wi_intr_ack |
|
5 |
2 |
32 |
| wi_intr |
|
48 |
12 |
309 |
| wi_get_fid_io |
|
4 |
1 |
20 |
| wi_rxeof |
|
244 |
40 |
1373 |
| wi_txeof |
|
10 |
2 |
53 |
| wi_inquire |
|
18 |
3 |
103 |
| wi_update_stats |
|
36 |
8 |
289 |
| wi_cmd_io |
|
36 |
10 |
243 |
| wi_reset |
|
23 |
6 |
139 |
| wi_cor_reset |
|
16 |
2 |
104 |
| wi_read_record_io |
|
73 |
27 |
476 |
| wi_write_record_io |
|
94 |
28 |
615 |
| wi_seek |
|
27 |
6 |
146 |
| wi_read_data_io |
|
9 |
2 |
67 |
| wi_write_data_io |
|
17 |
7 |
130 |
| wi_alloc_nicmem_io |
|
22 |
7 |
161 |
| wi_setmulti |
|
32 |
6 |
228 |
| wi_setdef |
|
96 |
25 |
626 |
| wi_ioctl |
|
461 |
149 |
3082 |
| wi_scan_timeout |
|
21 |
7 |
150 |
| wi_init_io |
|
78 |
20 |
641 |
| wi_do_hostencrypt |
|
38 |
5 |
318 |
| wi_do_hostdecrypt |
|
37 |
8 |
322 |
| wi_start |
|
121 |
23 |
974 |
| wi_mgmt_xmit |
|
28 |
3 |
230 |
| wi_stop |
|
16 |
2 |
106 |
| wi_watchdog |
|
10 |
1 |
48 |
| wi_detach |
|
10 |
3 |
52 |
| wi_get_id |
|
72 |
15 |
653 |
| wi_sync_media |
|
54 |
12 |
228 |
| wi_media_change |
|
56 |
19 |
294 |
| wi_media_status |
|
47 |
13 |
262 |
| wi_set_nwkey |
|
54 |
18 |
446 |
| wi_get_nwkey |
|
25 |
7 |
185 |
| wi_set_pm |
|
8 |
2 |
52 |
| wi_get_pm |
|
6 |
1 |
35 |
| wi_set_txpower |
|
45 |
10 |
265 |
| wi_get_txpower |
|
26 |
5 |
142 |
| wi_set_ssid |
|
8 |
2 |
49 |
| wi_get_debug |
|
52 |
10 |
364 |
| wi_set_debug |
|
76 |
17 |
451 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cd1190reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/siopreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9285reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/advlib.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aacreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lm700x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lm700x_encode_freq |
|
6 |
1 |
24 |
| lm700x_hardware_write |
|
26 |
3 |
239 |
| lm700x_encode_ref |
|
11 |
4 |
43 |
| lm700x_decode_ref |
|
17 |
4 |
48 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/twe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| twe_get_ccb |
|
11 |
2 |
71 |
| twe_put_ccb |
|
9 |
1 |
60 |
| twe_dispose |
|
14 |
4 |
110 |
| twe_attach |
|
234 |
33 |
1604 |
| twe_thread_create |
|
19 |
2 |
136 |
| twe_thread |
|
40 |
7 |
295 |
| twe_cmd |
|
93 |
18 |
662 |
| twe_start |
|
36 |
5 |
237 |
| twe_complete |
|
26 |
6 |
196 |
| twe_done |
|
54 |
12 |
324 |
| tweminphys |
|
6 |
2 |
33 |
| twe_copy_internal_data |
|
14 |
2 |
71 |
| twe_scsi_cmd |
|
138 |
33 |
948 |
| twe_intr |
|
43 |
8 |
265 |
| twe_aen |
|
35 |
3 |
236 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cac_init |
|
100 |
16 |
790 |
| cac_flush |
|
9 |
1 |
59 |
| cac_intr |
|
16 |
4 |
102 |
| cac_cmd |
|
70 |
12 |
545 |
| cac_ccb_poll |
|
17 |
5 |
110 |
| cac_ccb_start |
|
22 |
5 |
151 |
| cac_ccb_done |
|
37 |
10 |
247 |
| cac_ccb_alloc |
|
14 |
3 |
89 |
| cac_ccb_free |
|
9 |
1 |
60 |
| cac_get_dinfo |
|
14 |
3 |
89 |
| cacminphys |
|
6 |
2 |
33 |
| cac_copy_internal_data |
|
13 |
2 |
62 |
| cac_scsi_cmd |
|
134 |
33 |
816 |
| cac_l0_fifo_full |
|
4 |
1 |
21 |
| cac_l0_submit |
|
8 |
2 |
57 |
| cac_l0_completed |
|
18 |
5 |
126 |
| cac_l0_intr_pending |
|
4 |
1 |
19 |
| cac_l0_intr_enable |
|
5 |
2 |
25 |
| cac_ioctl |
|
34 |
8 |
184 |
| cac_ioctl_vol |
|
30 |
7 |
250 |
| cac_create_sensors |
|
42 |
8 |
314 |
| cac_sensor_refresh |
|
40 |
10 |
237 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/bt485var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dcreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ncr53c9x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ncr53c9x_lunsearch |
|
10 |
2 |
50 |
| ncr53c9x_attach |
|
45 |
8 |
321 |
| ncr53c9x_reset |
|
58 |
13 |
391 |
| ncr53c9x_scsi_reset |
|
7 |
1 |
41 |
| ncr53c9x_init |
|
77 |
18 |
524 |
| ncr53c9x_readregs |
|
16 |
4 |
130 |
| ncr53c9x_stp2cpb |
|
10 |
2 |
50 |
| ncr53c9x_setsync |
|
26 |
8 |
158 |
| ncr53c9x_select |
|
101 |
16 |
706 |
| ncr53c9x_get_ecb |
|
10 |
2 |
59 |
| ncr53c9x_free_ecb |
|
4 |
1 |
20 |
| ncr53c9x_scsi_probe |
|
19 |
3 |
131 |
| ncr53c9x_scsi_free |
|
15 |
2 |
99 |
| ncr53c9x_scsi_cmd |
|
53 |
7 |
369 |
| ncr53c9x_poll |
|
31 |
7 |
156 |
| ncr53c9x_sched |
|
100 |
28 |
602 |
| ncr53c9x_sense |
|
35 |
4 |
265 |
| ncr53c9x_done |
|
49 |
12 |
338 |
| ncr53c9x_dequeue |
|
30 |
11 |
245 |
| ncr53c9x_flushfifo |
|
8 |
3 |
42 |
| ncr53c9x_rdfifo |
|
45 |
11 |
270 |
| ncr53c9x_wrfifo |
|
15 |
6 |
108 |
| ncr53c9x_reselect |
|
54 |
11 |
329 |
| __verify_msg_format |
|
11 |
8 |
74 |
| ncr53c9x_msgin |
|
252 |
49 |
1471 |
| ncr53c9x_msgout |
|
120 |
21 |
770 |
| ncr53c9x_intr |
|
521 |
109 |
2886 |
| ncr53c9x_abort |
|
20 |
5 |
113 |
| ncr53c9x_timeout |
|
38 |
7 |
259 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9003reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ramdac.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82810reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lsi64854reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/hmevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/z8530tty.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zs_device_lookup |
|
4 |
1 |
25 |
| zstty_match |
|
10 |
3 |
65 |
| zstty_attach |
|
88 |
19 |
660 |
| zstty |
|
5 |
1 |
30 |
| zs_shutdown |
|
26 |
7 |
203 |
| zsopen |
|
133 |
49 |
886 |
| zsclose |
|
18 |
3 |
135 |
| zsread |
|
6 |
1 |
60 |
| zswrite |
|
6 |
1 |
60 |
| zsioctl |
|
57 |
17 |
329 |
| zsstart |
|
33 |
7 |
211 |
| zsstop |
|
14 |
3 |
93 |
| zsparam |
|
103 |
24 |
640 |
| zs_maskintr |
|
18 |
4 |
119 |
| zs_modem |
|
19 |
6 |
126 |
| tiocm_to_zs |
|
31 |
9 |
196 |
| zs_to_tiocm |
|
18 |
6 |
129 |
| zshwiflow |
|
27 |
6 |
169 |
| zs_hwiflow |
|
15 |
4 |
133 |
| zstty_rxint |
|
43 |
9 |
279 |
| zstty_txint |
|
27 |
6 |
146 |
| zstty_stint |
|
27 |
7 |
183 |
| zstty_diag |
|
17 |
3 |
97 |
| zstty_rxsoft |
|
72 |
19 |
482 |
| zstty_txsoft |
|
13 |
2 |
98 |
| zstty_stsoft |
|
22 |
4 |
154 |
| zstty_softint |
|
20 |
4 |
104 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc93cx6var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rt2560.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rt2560_attach |
|
97 |
8 |
682 |
| rt2560_detach |
|
15 |
1 |
106 |
| rt2560_suspend |
|
7 |
2 |
42 |
| rt2560_wakeup |
|
7 |
2 |
40 |
| rt2560_alloc_tx_ring |
|
60 |
8 |
401 |
| rt2560_reset_tx_ring |
|
22 |
3 |
174 |
| rt2560_free_tx_ring |
|
28 |
6 |
226 |
| rt2560_alloc_rx_ring |
|
85 |
11 |
593 |
| rt2560_reset_rx_ring |
|
12 |
2 |
96 |
| rt2560_free_rx_ring |
|
27 |
6 |
220 |
| rt2560_node_alloc |
|
5 |
1 |
25 |
| rt2560_media_change |
|
10 |
3 |
56 |
| rt2560_next_scan |
|
11 |
2 |
62 |
| rt2560_iter_func |
|
6 |
1 |
47 |
| rt2560_amrr_timeout |
|
13 |
2 |
76 |
| rt2560_newassoc |
|
10 |
3 |
90 |
| rt2560_newstate |
|
61 |
16 |
368 |
| rt2560_eeprom_read |
|
36 |
4 |
282 |
| rt2560_encryption_intr |
|
28 |
4 |
210 |
| rt2560_tx_intr |
|
66 |
14 |
504 |
| rt2560_prio_intr |
|
56 |
13 |
430 |
| rt2560_decryption_intr |
|
104 |
12 |
777 |
| rt2560_rx_intr |
|
31 |
5 |
254 |
| rt2560_beacon_expire |
|
24 |
8 |
172 |
| rt2560_wakeup_expire |
|
4 |
1 |
18 |
| rt2560_intr |
|
31 |
11 |
181 |
| rt2560_rxrate |
|
25 |
14 |
129 |
| rt2560_ack_rate |
|
23 |
14 |
82 |
| rt2560_txtime |
|
15 |
4 |
100 |
| rt2560_plcp_signal |
|
18 |
13 |
90 |
| rt2560_setup_tx_desc |
|
36 |
8 |
263 |
| rt2560_tx_bcn |
|
41 |
5 |
299 |
| rt2560_tx_mgt |
|
63 |
6 |
488 |
| rt2560_tx_data |
|
171 |
33 |
1240 |
| rt2560_start |
|
52 |
20 |
334 |
| rt2560_watchdog |
|
15 |
3 |
79 |
| rt2560_ioctl |
|
42 |
12 |
235 |
| rt2560_bbp_write |
|
17 |
4 |
113 |
| rt2560_bbp_read |
|
24 |
6 |
151 |
| rt2560_rf_write |
|
19 |
4 |
134 |
| rt2560_set_chan |
|
72 |
19 |
577 |
| rt2560_disable_rf_tune |
|
11 |
2 |
71 |
| rt2560_enable_tsf_sync |
|
22 |
3 |
147 |
| rt2560_update_plcp |
|
16 |
3 |
117 |
| rt2560_updateslot |
|
8 |
2 |
42 |
| rt2560_set_slottime |
|
21 |
3 |
158 |
| rt2560_set_basicrates |
|
9 |
2 |
50 |
| rt2560_update_led |
|
6 |
1 |
46 |
| rt2560_set_bssid |
|
9 |
1 |
92 |
| rt2560_set_macaddr |
|
9 |
1 |
92 |
| rt2560_get_macaddr |
|
12 |
1 |
106 |
| rt2560_update_promisc |
|
12 |
3 |
80 |
| rt2560_set_txantenna |
|
19 |
6 |
125 |
| rt2560_set_rxantenna |
|
14 |
5 |
79 |
| rt2560_get_rf |
|
13 |
8 |
60 |
| rt2560_read_eeprom |
|
22 |
3 |
207 |
| rt2560_bbp_init |
|
23 |
8 |
162 |
| rt2560_init |
|
66 |
10 |
503 |
| rt2560_stop |
|
28 |
4 |
219 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/uha.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uhaprint |
|
8 |
2 |
33 |
| uha_attach |
|
17 |
1 |
135 |
| uha_reset_mscp |
|
6 |
1 |
24 |
| uha_mscp_free |
|
10 |
1 |
64 |
| uha_mscp_alloc |
|
14 |
2 |
75 |
| uha_mscp_phys_kv |
|
13 |
3 |
63 |
| uha_done |
|
43 |
8 |
233 |
| uhaminphys |
|
6 |
2 |
51 |
| uha_scsi_cmd |
|
99 |
12 |
629 |
| uha_timeout |
|
22 |
2 |
122 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9280reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/adwlib.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/if_wi_hostap.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/acx100.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acx100_set_param |
|
26 |
1 |
158 |
| acx100_init |
|
25 |
5 |
134 |
| acx100_init_wep |
|
23 |
4 |
188 |
| acx100_init_tmplt |
|
19 |
4 |
133 |
| acx100_init_fw_ring |
|
37 |
4 |
272 |
| acx100_init_memory |
|
54 |
7 |
419 |
| acx100_init_fw_txring |
|
27 |
3 |
176 |
| acx100_init_fw_rxring |
|
21 |
3 |
119 |
| acx100_read_config |
|
21 |
3 |
159 |
| acx100_write_config |
|
20 |
3 |
134 |
| acx100_set_txpower |
|
20 |
4 |
92 |
| acx100_set_fw_txdesc_rate |
|
5 |
1 |
31 |
| acx100_set_bss_join_param |
|
7 |
1 |
41 |
| acx100_set_wepkey |
|
20 |
3 |
134 |
| acx100_proc_wep_rxbuf |
|
13 |
2 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ncr53c9xreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/gdtvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gdt_ccb_set_cmd |
|
7 |
1 |
38 |
| gdt_enc16 |
|
4 |
1 |
23 |
| gdt_enc32 |
|
4 |
1 |
23 |
| gdt_dec8 |
|
4 |
1 |
16 |
| gdt_dec16 |
|
4 |
1 |
19 |
| gdt_dec32 |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/cacreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/adw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic79xx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahd_assert_atn |
|
4 |
1 |
18 |
| ahd_currently_packetized |
|
15 |
2 |
91 |
| ahd_set_active_fifo |
|
14 |
3 |
65 |
| ahd_restart |
|
21 |
1 |
174 |
| ahd_clear_fifo |
|
14 |
4 |
115 |
| ahd_flush_qoutfifo |
|
126 |
22 |
846 |
| ahd_scb_active_in_fifo |
|
8 |
4 |
70 |
| ahd_run_data_fifo |
|
115 |
20 |
941 |
| ahd_run_qoutfifo |
|
32 |
7 |
201 |
| ahd_handle_hwerrint |
|
17 |
3 |
103 |
| ahd_handle_seqint |
|
454 |
78 |
2412 |
| ahd_handle_scsiint |
|
174 |
39 |
1171 |
| ahd_handle_transmission_error |
|
98 |
27 |
640 |
| ahd_handle_lqiphase_error |
|
24 |
5 |
165 |
| ahd_handle_pkt_busfree |
|
79 |
12 |
517 |
| ahd_handle_nonpkt_busfree |
|
177 |
48 |
1067 |
| ahd_handle_proto_violation |
|
64 |
8 |
375 |
| ahd_force_renegotiation |
|
16 |
3 |
83 |
| ahd_clear_critical_section |
|
95 |
13 |
607 |
| ahd_clear_intstat |
|
24 |
2 |
192 |
| ahd_print_scb |
|
22 |
2 |
155 |
| ahd_dump_sglist |
|
36 |
7 |
244 |
| ahd_alloc_tstate |
|
26 |
6 |
217 |
| ahd_free_tstate |
|
11 |
4 |
70 |
| ahd_devlimited_syncrate |
|
30 |
6 |
182 |
| ahd_find_syncrate |
|
23 |
12 |
155 |
| ahd_validate_offset |
|
23 |
6 |
131 |
| ahd_validate_width |
|
20 |
5 |
102 |
| ahd_update_neg_request |
|
25 |
11 |
188 |
| ahd_set_syncrate |
|
111 |
35 |
650 |
| ahd_set_width |
|
40 |
12 |
267 |
| ahd_set_tags |
|
7 |
2 |
48 |
| ahd_update_neg_table |
|
58 |
11 |
382 |
| ahd_update_pending_scbs |
|
54 |
8 |
337 |
| ahd_fetch_devinfo |
|
28 |
5 |
166 |
| ahd_print_devinfo |
|
5 |
1 |
34 |
| ahd_lookup_phase_entry |
|
11 |
3 |
55 |
| ahd_compile_devinfo |
|
13 |
2 |
85 |
| ahd_scb_devinfo |
|
12 |
2 |
86 |
| ahd_setup_initiator_msgout |
|
75 |
17 |
565 |
| ahd_build_transfer_msg |
|
54 |
17 |
358 |
| ahd_construct_sdtr |
|
17 |
3 |
128 |
| ahd_construct_wdtr |
|
14 |
2 |
101 |
| ahd_construct_ppr |
|
24 |
4 |
185 |
| ahd_clear_msg_state |
|
18 |
2 |
116 |
| ahd_handle_message_phase |
|
202 |
50 |
1159 |
| ahd_sent_msg |
|
36 |
16 |
217 |
| ahd_parse_msg |
|
295 |
56 |
1468 |
| ahd_handle_msg_reject |
|
115 |
13 |
732 |
| ahd_handle_ign_wide_residue |
|
70 |
11 |
426 |
| ahd_reinitialize_dataptrs |
|
55 |
6 |
399 |
| ahd_handle_devreset |
|
43 |
11 |
258 |
| ahd_setup_target_msgin |
|
12 |
3 |
72 |
| ahd_sglist_size |
|
8 |
2 |
49 |
| ahd_sglist_allocsize |
|
29 |
8 |
154 |
| ahd_alloc |
|
35 |
5 |
233 |
| ahd_softc_init |
|
6 |
1 |
26 |
| ahd_softc_insert |
|
37 |
9 |
202 |
| ahd_find_softc |
|
9 |
2 |
41 |
| ahd_set_unit |
|
4 |
1 |
18 |
| ahd_set_name |
|
6 |
2 |
38 |
| ahd_free |
|
42 |
13 |
242 |
| ahd_shutdown |
|
8 |
1 |
45 |
| ahd_reset |
|
45 |
8 |
316 |
| ahd_probe_scbs |
|
19 |
5 |
134 |
| ahd_initialize_hscbs |
|
9 |
2 |
56 |
| ahd_init_scbdata |
|
32 |
5 |
188 |
| ahd_find_scb_by_tag |
|
13 |
3 |
78 |
| ahd_fini_scbdata |
|
39 |
9 |
206 |
| ahd_setup_iocell_workaround |
|
13 |
3 |
101 |
| ahd_iocell_first_selection |
|
23 |
7 |
173 |
| ahd_scb_alloc |
|
13 |
2 |
79 |
| ahd_scb_free |
|
12 |
1 |
91 |
| ahd_alloc_scbs |
|
147 |
22 |
1016 |
| ahd_controller_info |
|
7 |
2 |
69 |
| ahd_init |
|
118 |
30 |
766 |
| ahd_chip_init |
|
197 |
31 |
1725 |
| ahd_default_config |
|
50 |
5 |
309 |
| ahd_parse_cfgdata |
|
94 |
19 |
631 |
| ahd_parse_vpddata |
|
10 |
3 |
58 |
| ahd_intr_enable |
|
14 |
2 |
71 |
| ahd_update_coalescing_values |
|
15 |
4 |
91 |
| ahd_enable_coalescing |
|
9 |
2 |
49 |
| ahd_pause_and_flushwork |
|
35 |
9 |
234 |
| ahd_suspend |
|
10 |
2 |
47 |
| ahd_resume |
|
7 |
1 |
33 |
| ahd_index_busy_tcl |
|
8 |
1 |
76 |
| ahd_find_busy_tcl |
|
10 |
1 |
54 |
| ahd_busy_tcl |
|
8 |
1 |
49 |
| ahd_match_scb |
|
28 |
15 |
236 |
| ahd_freeze_devq |
|
13 |
1 |
74 |
| ahd_qinfifo_requeue_tail |
|
18 |
2 |
113 |
| ahd_qinfifo_requeue |
|
17 |
2 |
121 |
| ahd_qinfifo_count |
|
15 |
2 |
78 |
| ahd_reset_cmds_pending |
|
16 |
1 |
88 |
| ahd_done_with_status |
|
12 |
3 |
68 |
| ahd_search_qinfifo |
|
166 |
33 |
997 |
| ahd_search_scb_list |
|
63 |
14 |
362 |
| ahd_stitch_tid_list |
|
26 |
6 |
161 |
| ahd_rem_wscb |
|
16 |
4 |
106 |
| ahd_add_scb_to_free_list |
|
3 |
1 |
12 |
| ahd_abort_scbs |
|
71 |
15 |
439 |
| ahd_reset_current_bus |
|
19 |
2 |
136 |
| ahd_reset_channel |
|
90 |
19 |
581 |
| ahd_reset_poll |
|
35 |
3 |
223 |
| ahd_stat_timer |
|
36 |
8 |
234 |
| ahd_handle_scb_status |
|
9 |
2 |
54 |
| ahd_handle_scsi_status |
|
154 |
31 |
852 |
| ahd_calc_residual |
|
50 |
12 |
330 |
| ahd_queue_lstate_event |
|
35 |
7 |
233 |
| ahd_send_lstate_events |
|
28 |
4 |
186 |
| ahd_dumpseq |
|
16 |
2 |
109 |
| ahd_loadseq |
|
96 |
21 |
619 |
| ahd_check_patch |
|
22 |
5 |
133 |
| ahd_resolve_seqaddr |
|
22 |
3 |
108 |
| ahd_download_instr |
|
53 |
20 |
276 |
| ahd_probe_stack_size |
|
22 |
5 |
129 |
| ahd_dump_all_cards_state |
|
7 |
1 |
27 |
| ahd_print_register |
|
38 |
13 |
245 |
| ahd_dump_card_state |
|
232 |
25 |
1984 |
| ahd_dump_scbs |
|
23 |
2 |
136 |
| ahd_timeout |
|
30 |
7 |
187 |
| ahd_read_seeprom |
|
29 |
4 |
174 |
| ahd_write_seeprom |
|
30 |
5 |
186 |
| ahd_wait_seeprom |
|
10 |
4 |
59 |
| ahd_verify_vpd_cksum |
|
24 |
7 |
163 |
| ahd_verify_cksum |
|
18 |
4 |
101 |
| ahd_acquire_seeprom |
|
11 |
4 |
58 |
| ahd_release_seeprom |
|
3 |
1 |
9 |
| ahd_write_flexport |
|
20 |
3 |
149 |
| ahd_read_flexport |
|
15 |
3 |
104 |
| ahd_wait_flexport |
|
11 |
4 |
68 |
| ahd_find_tmode_devs |
|
28 |
10 |
195 |
| ahd_handle_en_lun |
|
233 |
46 |
1429 |
| ahd_update_scsiid |
|
26 |
7 |
154 |
| ahd_run_tqinfifo |
|
23 |
4 |
151 |
| ahd_handle_target_cmd |
|
77 |
18 |
465 |
| ahd_createdmamem |
|
42 |
5 |
324 |
| ahd_freedmamem |
|
8 |
1 |
64 |
| ahd_name |
|
4 |
1 |
16 |
| ahd_known_modes |
|
7 |
1 |
39 |
| ahd_build_mode_state |
|
4 |
1 |
32 |
| ahd_extract_mode_state |
|
6 |
1 |
44 |
| ahd_set_modes |
|
14 |
7 |
107 |
| ahd_update_modes |
|
11 |
3 |
66 |
| ahd_assert_modes |
|
9 |
4 |
67 |
| ahd_save_modes |
|
7 |
3 |
44 |
| ahd_restore_modes |
|
7 |
1 |
40 |
| ahd_is_paused |
|
4 |
1 |
25 |
| ahd_pause |
|
6 |
2 |
30 |
| ahd_unpause |
|
12 |
5 |
90 |
| ahd_sg_setup |
|
20 |
5 |
163 |
| ahd_setup_scb_common |
|
16 |
5 |
118 |
| ahd_setup_data_scb |
|
23 |
3 |
183 |
| ahd_setup_noxfer_scb |
|
6 |
1 |
41 |
| ahd_sg_size |
|
6 |
2 |
39 |
| ahd_sg_bus_to_virt |
|
6 |
1 |
48 |
| ahd_sg_virt_to_bus |
|
7 |
1 |
53 |
| ahd_sync_scb |
|
6 |
1 |
56 |
| ahd_sync_sglist |
|
9 |
2 |
62 |
| ahd_sync_sense |
|
7 |
1 |
40 |
| ahd_targetcmd_offset |
|
5 |
1 |
37 |
| ahd_complete_scb |
|
9 |
2 |
53 |
| ahd_update_residual |
|
7 |
2 |
45 |
| ahd_fetch_transinfo |
|
8 |
2 |
57 |
| ahd_inw |
|
4 |
1 |
36 |
| ahd_outw |
|
5 |
1 |
44 |
| ahd_inl |
|
7 |
1 |
66 |
| ahd_outl |
|
7 |
1 |
88 |
| ahd_inq |
|
11 |
1 |
142 |
| ahd_outq |
|
11 |
1 |
152 |
| ahd_get_scbptr |
|
6 |
1 |
50 |
| ahd_set_scbptr |
|
7 |
1 |
58 |
| ahd_get_hnscb_qoff |
|
4 |
1 |
19 |
| ahd_set_hnscb_qoff |
|
4 |
1 |
21 |
| ahd_get_hescb_qoff |
|
4 |
1 |
19 |
| ahd_set_hescb_qoff |
|
4 |
1 |
21 |
| ahd_get_snscb_qoff |
|
8 |
1 |
44 |
| ahd_set_snscb_qoff |
|
5 |
1 |
30 |
| ahd_get_sescb_qoff |
|
5 |
1 |
28 |
| ahd_set_sescb_qoff |
|
5 |
1 |
30 |
| ahd_get_sdscb_qoff |
|
5 |
1 |
42 |
| ahd_set_sdscb_qoff |
|
6 |
1 |
50 |
| ahd_inb_scbram |
|
8 |
2 |
48 |
| ahd_inw_scbram |
|
5 |
1 |
36 |
| ahd_inl_scbram |
|
5 |
1 |
36 |
| ahd_inq_scbram |
|
5 |
1 |
39 |
| ahd_lookup_scb |
|
11 |
3 |
61 |
| ahd_swap_with_next_hscb |
|
17 |
1 |
120 |
| ahd_queue_scb |
|
27 |
5 |
201 |
| ahd_get_sense_buf |
|
4 |
1 |
21 |
| ahd_get_sense_bufaddr |
|
4 |
1 |
21 |
| ahd_sync_qoutfifo |
|
6 |
1 |
39 |
| ahd_sync_tqinfifo |
|
10 |
3 |
58 |
| ahd_check_cmdcmpltqueues |
|
22 |
6 |
153 |
| ahd_intr |
|
42 |
17 |
281 |
| ahd_unbusy_tcl |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/rtw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtw_continuous_tx_enable |
|
17 |
2 |
98 |
| rtw_access_string |
|
13 |
4 |
37 |
| rtw_set_access1 |
|
41 |
16 |
171 |
| rtw_set_access |
|
9 |
1 |
49 |
| rtw_config0123_enable |
|
14 |
2 |
81 |
| rtw_anaparm_enable |
|
12 |
2 |
59 |
| rtw_txdac_enable |
|
12 |
2 |
65 |
| rtw_chip_reset1 |
|
18 |
3 |
112 |
| rtw_chip_reset |
|
9 |
1 |
63 |
| rtw_recall_eeprom |
|
21 |
3 |
143 |
| rtw_reset |
|
12 |
3 |
92 |
| rtw_txdesc_dmamaps_create |
|
12 |
3 |
73 |
| rtw_rxdesc_dmamaps_create |
|
12 |
3 |
73 |
| rtw_rxdesc_dmamaps_destroy |
|
9 |
3 |
56 |
| rtw_txdesc_dmamaps_destroy |
|
9 |
3 |
56 |
| rtw_srom_parse |
|
60 |
11 |
395 |
| rtw_srom_read |
|
63 |
9 |
436 |
| rtw_set_rfprog |
|
30 |
4 |
136 |
| rtw_identify_country |
|
19 |
5 |
74 |
| rtw_identify_sta |
|
22 |
2 |
189 |
| rtw_chan2txpower |
|
9 |
2 |
64 |
| rtw_txdesc_blk_init_all |
|
11 |
2 |
66 |
| rtw_txsoft_blk_init |
|
14 |
2 |
87 |
| rtw_txsoft_blk_init_all |
|
6 |
2 |
34 |
| rtw_rxdescs_sync |
|
17 |
2 |
152 |
| rtw_txdescs_sync |
|
14 |
2 |
116 |
| rtw_rxbufs_release |
|
15 |
3 |
94 |
| rtw_rxsoft_alloc |
|
24 |
5 |
147 |
| rtw_rxsoft_init_all |
|
22 |
5 |
127 |
| rtw_rxdesc_init |
|
25 |
3 |
213 |
| rtw_rxdesc_init_all |
|
10 |
2 |
61 |
| rtw_io_enable |
|
15 |
4 |
90 |
| rtw_intr_rx |
|
159 |
25 |
1107 |
| rtw_txsoft_release |
|
17 |
1 |
105 |
| rtw_txsofts_release |
|
11 |
2 |
77 |
| rtw_collect_txpkt |
|
25 |
2 |
170 |
| rtw_reset_oactive |
|
18 |
5 |
128 |
| rtw_collect_txring |
|
33 |
8 |
241 |
| rtw_intr_tx |
|
13 |
3 |
89 |
| rtw_intr_beacon |
|
44 |
9 |
334 |
| rtw_intr_atim |
|
4 |
1 |
11 |
| rtw_dump_rings |
|
25 |
6 |
191 |
| rtw_hwring_setup |
|
26 |
2 |
237 |
| rtw_swring_setup |
|
27 |
4 |
194 |
| rtw_txdesc_blk_init |
|
7 |
2 |
67 |
| rtw_txring_next |
|
5 |
1 |
39 |
| rtw_txring_fixup |
|
17 |
3 |
108 |
| rtw_rxring_fixup |
|
15 |
2 |
103 |
| rtw_txdescs_reset |
|
8 |
2 |
50 |
| rtw_intr_ioerror |
|
38 |
10 |
256 |
| rtw_suspend_ticks |
|
6 |
1 |
30 |
| rtw_resume_ticks |
|
12 |
1 |
87 |
| rtw_intr_timeout |
|
7 |
2 |
37 |
| rtw_intr |
|
57 |
16 |
387 |
| rtw_stop |
|
29 |
5 |
223 |
| rtw_pwrstate_string |
|
13 |
4 |
37 |
| rtw_maxim_pwrstate |
|
32 |
8 |
144 |
| rtw_rfmd_pwrstate |
|
32 |
8 |
144 |
| rtw_philips_pwrstate |
|
36 |
9 |
159 |
| rtw_rtl_pwrstate |
|
4 |
1 |
19 |
| rtw_pwrstate0 |
|
9 |
1 |
61 |
| rtw_pwrstate |
|
25 |
6 |
137 |
| rtw_tune |
|
32 |
6 |
231 |
| rtw_disable |
|
14 |
4 |
90 |
| rtw_enable |
|
12 |
4 |
72 |
| rtw_transmit_config |
|
18 |
2 |
113 |
| rtw_enable_interrupts |
|
12 |
2 |
95 |
| rtw_set_nettype |
|
25 |
6 |
111 |
| rtw_pktfilt_load |
|
61 |
11 |
411 |
| rtw_init |
|
52 |
6 |
412 |
| rtw_led_init |
|
15 |
1 |
89 |
| rtw_led_newstate |
|
28 |
6 |
152 |
| rtw_led_set |
|
44 |
9 |
240 |
| rtw_led_fastblink |
|
18 |
4 |
134 |
| rtw_led_slowblink |
|
11 |
1 |
74 |
| rtw_led_attach |
|
5 |
1 |
37 |
| rtw_ioctl |
|
42 |
13 |
253 |
| rtw_txring_choose |
|
19 |
5 |
122 |
| rtw_80211_dequeue |
|
18 |
3 |
120 |
| rtw_dequeue |
|
79 |
14 |
565 |
| rtw_seg_too_short |
|
11 |
3 |
55 |
| rtw_dmamap_load_txbuf |
|
52 |
12 |
318 |
| rtw_compute_duration1 |
|
42 |
9 |
209 |
| rtw_compute_duration |
|
47 |
11 |
303 |
| rtw_print_txdesc |
|
11 |
1 |
99 |
| rtw_start |
|
174 |
32 |
1277 |
| rtw_idle |
|
11 |
3 |
76 |
| rtw_watchdog |
|
34 |
7 |
201 |
| rtw_next_scan |
|
11 |
2 |
62 |
| rtw_join_bss |
|
22 |
2 |
204 |
| rtw_newstate |
|
51 |
16 |
289 |
| rtw_tsf_extend |
|
9 |
2 |
57 |
| rtw_ibss_merge |
|
14 |
2 |
99 |
| rtw_recv_mgmt |
|
18 |
5 |
108 |
| rtw_node_alloc |
|
8 |
1 |
64 |
| rtw_node_free |
|
8 |
1 |
70 |
| rtw_media_change |
|
12 |
3 |
59 |
| rtw_media_status |
|
10 |
2 |
60 |
| rtw_activate |
|
22 |
7 |
127 |
| rtw_txsoft_blk_setup |
|
11 |
2 |
69 |
| rtw_txsoft_blk_cleanup_all |
|
10 |
2 |
59 |
| rtw_txsoft_blk_setup_all |
|
18 |
3 |
129 |
| rtw_txdesc_blk_setup |
|
11 |
1 |
79 |
| rtw_txdesc_blk_setup_all |
|
15 |
1 |
149 |
| rtw_rf_attach |
|
109 |
9 |
566 |
| rtw_check_phydelay |
|
13 |
2 |
98 |
| rtw_attach |
|
195 |
26 |
1479 |
| rtw_detach |
|
9 |
1 |
52 |
| rtw_bbp_preinit |
|
10 |
3 |
51 |
| rtw_bbp_init |
|
25 |
3 |
183 |
| rtw_sa2400_txpower |
|
4 |
1 |
22 |
| rtw_verify_syna |
|
49 |
15 |
154 |
| rtw_sa2400_tune |
|
19 |
4 |
158 |
| rtw_sa2400_pwrstate |
|
19 |
5 |
75 |
| rtw_sa2400_vcocal_start |
|
12 |
3 |
54 |
| rtw_sa2400_vco_calibration |
|
8 |
2 |
43 |
| rtw_sa2400_filter_calibration |
|
8 |
2 |
40 |
| rtw_sa2400_dc_calibration |
|
19 |
3 |
96 |
| rtw_sa2400_calibrate |
|
15 |
6 |
102 |
| rtw_sa2400_init |
|
28 |
9 |
218 |
| rtw_max2820_tune |
|
7 |
3 |
43 |
| rtw_max2820_init |
|
27 |
9 |
176 |
| rtw_max2820_txpower |
|
4 |
1 |
15 |
| rtw_max2820_pwrstate |
|
15 |
4 |
55 |
| rtw_grf5101_init |
|
29 |
3 |
234 |
| rtw_grf5101_tune |
|
9 |
1 |
70 |
| rtw_grf5101_txpower |
|
8 |
1 |
53 |
| rtw_grf5101_pwrstate |
|
27 |
4 |
155 |
| rtw_rtl8225_pwrstate |
|
4 |
1 |
18 |
| rtw_rtl8225_init |
|
5 |
1 |
24 |
| rtw_rtl8225_txpower |
|
4 |
1 |
17 |
| rtw_rtl8225_tune |
|
4 |
1 |
17 |
| rtw_rtl8255_pwrstate |
|
4 |
1 |
18 |
| rtw_rtl8255_init |
|
5 |
1 |
24 |
| rtw_rtl8255_txpower |
|
4 |
1 |
17 |
| rtw_rtl8255_tune |
|
4 |
1 |
17 |
| rtw_phy_init |
|
30 |
7 |
261 |
| rtw_bbp_write |
|
33 |
3 |
234 |
| rtw_rf_hostbangbits |
|
41 |
6 |
248 |
| rtw_rf_rtl8225_hostbangbits |
|
46 |
5 |
270 |
| rtw_rf_macbangbits |
|
19 |
3 |
121 |
| rtw_grf5101_host_crypt |
|
4 |
1 |
13 |
| rtw_grf5101_mac_crypt |
|
19 |
1 |
149 |
| rtw_rf_hostwrite |
|
55 |
8 |
337 |
| rtw_maxim_swizzle |
|
10 |
1 |
70 |
| rtw_rf_macwrite |
|
39 |
9 |
187 |
| rtw_read8 |
|
5 |
1 |
39 |
| rtw_read16 |
|
5 |
1 |
39 |
| rtw_read32 |
|
5 |
1 |
39 |
| rtw_write8 |
|
5 |
1 |
41 |
| rtw_write16 |
|
5 |
1 |
41 |
| rtw_write32 |
|
5 |
1 |
41 |
| rtw_barrier |
|
6 |
1 |
65 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/arcofivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ax88190var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dc_delay |
|
6 |
2 |
38 |
| dc_eeprom_width |
|
49 |
7 |
312 |
| dc_eeprom_idle |
|
23 |
2 |
148 |
| dc_eeprom_putbyte |
|
28 |
5 |
164 |
| dc_eeprom_getword_pnic |
|
14 |
3 |
87 |
| dc_eeprom_getword_xircom |
|
11 |
1 |
95 |
| dc_eeprom_getword |
|
26 |
3 |
157 |
| dc_read_eeprom |
|
19 |
5 |
136 |
| dc_mii_writebit |
|
10 |
2 |
55 |
| dc_mii_readbit |
|
10 |
2 |
66 |
| dc_mii_sync |
|
7 |
2 |
41 |
| dc_mii_send |
|
6 |
2 |
49 |
| dc_mii_readreg |
|
36 |
8 |
220 |
| dc_mii_writereg |
|
19 |
1 |
136 |
| dc_miibus_readreg |
|
91 |
27 |
471 |
| dc_miibus_writereg |
|
61 |
18 |
322 |
| dc_miibus_statchg |
|
17 |
4 |
109 |
| dc_crc_le |
|
16 |
5 |
157 |
| dc_setfilt_21143 |
|
55 |
5 |
491 |
| dc_setfilt_admtek |
|
37 |
7 |
311 |
| dc_setfilt_asix |
|
41 |
6 |
319 |
| dc_setfilt_xircom |
|
51 |
5 |
453 |
| dc_setfilt |
|
12 |
10 |
82 |
| dc_setcfg |
|
134 |
40 |
907 |
| dc_reset |
|
29 |
11 |
204 |
| dc_apply_fixup |
|
23 |
6 |
181 |
| dc_decode_leaf_sia |
|
35 |
7 |
183 |
| dc_decode_leaf_sym |
|
16 |
4 |
113 |
| dc_decode_leaf_mii |
|
19 |
2 |
122 |
| dc_read_srom |
|
8 |
2 |
70 |
| dc_parse_21143_srom |
|
43 |
9 |
258 |
| dc_attach |
|
174 |
44 |
1341 |
| dc_list_tx_init |
|
24 |
3 |
177 |
| dc_list_rx_init |
|
23 |
4 |
148 |
| dc_newbuf |
|
47 |
6 |
376 |
| dc_pnic_rx_bug_war |
|
35 |
7 |
252 |
| dc_rx_resync |
|
20 |
4 |
136 |
| dc_rxeof |
|
73 |
13 |
469 |
| dc_txeof |
|
77 |
22 |
531 |
| dc_tick |
|
48 |
19 |
314 |
| dc_tx_underrun |
|
31 |
8 |
172 |
| dc_intr |
|
56 |
21 |
344 |
| dc_encap |
|
38 |
7 |
349 |
| dc_fits |
|
11 |
5 |
74 |
| dc_start |
|
65 |
17 |
408 |
| dc_init |
|
114 |
23 |
764 |
| dc_ifmedia_upd |
|
16 |
3 |
86 |
| dc_ifmedia_sts |
|
19 |
3 |
108 |
| dc_ioctl |
|
42 |
13 |
232 |
| dc_watchdog |
|
10 |
2 |
58 |
| dc_stop |
|
71 |
20 |
580 |
| dc_activate |
|
21 |
5 |
112 |
| dc_detach |
|
25 |
7 |
239 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ahci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahci_attach |
|
111 |
27 |
711 |
| ahci_detach |
|
14 |
5 |
87 |
| ahci_activate |
|
28 |
7 |
185 |
| ahci_init |
|
48 |
9 |
237 |
| ahci_enable_interrupts |
|
11 |
4 |
74 |
| ahci_port_alloc |
|
123 |
18 |
941 |
| ahci_port_detect |
|
68 |
12 |
339 |
| ahci_port_free |
|
28 |
9 |
227 |
| ahci_port_init |
|
99 |
16 |
633 |
| ahci_default_port_start |
|
18 |
6 |
123 |
| ahci_port_stop |
|
20 |
7 |
139 |
| ahci_port_clo |
|
16 |
5 |
117 |
| ahci_port_softreset |
|
78 |
12 |
506 |
| ahci_pmp_port_softreset |
|
81 |
9 |
514 |
| ahci_pmp_port_probe |
|
24 |
3 |
138 |
| ahci_flush_tfd |
|
7 |
2 |
36 |
| ahci_active_mask |
|
8 |
2 |
43 |
| ahci_pmp_probe_timeout |
|
39 |
7 |
248 |
| ahci_port_signature |
|
12 |
3 |
66 |
| ahci_pmp_port_portreset |
|
69 |
15 |
442 |
| ahci_port_comreset |
|
16 |
2 |
95 |
| ahci_port_portreset_start |
|
12 |
1 |
74 |
| ahci_port_portreset_poll |
|
7 |
2 |
34 |
| ahci_port_portreset_wait |
|
9 |
3 |
43 |
| ahci_port_portreset_finish |
|
41 |
7 |
200 |
| ahci_port_portreset |
|
6 |
1 |
32 |
| ahci_port_detect_pmp |
|
145 |
21 |
855 |
| ahci_load_prdt_seg |
|
7 |
1 |
44 |
| ahci_load_prdt |
|
32 |
7 |
282 |
| ahci_unload_prdt |
|
18 |
4 |
125 |
| ahci_poll |
|
28 |
6 |
164 |
| ahci_start |
|
37 |
9 |
333 |
| ahci_issue_pending_ncq_commands |
|
24 |
8 |
182 |
| ahci_issue_pending_commands |
|
39 |
15 |
271 |
| ahci_intr |
|
25 |
7 |
146 |
| ahci_port_intr |
|
242 |
49 |
1539 |
| ahci_get_ccb |
|
13 |
2 |
84 |
| ahci_put_ccb |
|
15 |
5 |
105 |
| ahci_get_err_ccb |
|
21 |
3 |
142 |
| ahci_put_err_ccb |
|
16 |
5 |
106 |
| ahci_get_pmp_ccb |
|
18 |
2 |
122 |
| ahci_put_pmp_ccb |
|
14 |
2 |
104 |
| ahci_port_read_ncq_error |
|
70 |
8 |
491 |
| ahci_dmamem_alloc |
|
31 |
6 |
248 |
| ahci_dmamem_free |
|
8 |
1 |
78 |
| ahci_read |
|
6 |
1 |
45 |
| ahci_write |
|
6 |
1 |
47 |
| ahci_wait_ne |
|
11 |
3 |
66 |
| ahci_pread |
|
6 |
1 |
49 |
| ahci_pwrite |
|
6 |
1 |
51 |
| ahci_pwait_eq |
|
11 |
3 |
71 |
| ahci_ata_probe |
|
16 |
4 |
95 |
| ahci_ata_free |
|
3 |
1 |
14 |
| ahci_ata_get_xfer |
|
15 |
2 |
93 |
| ahci_ata_put_xfer |
|
6 |
1 |
37 |
| ahci_ata_cmd |
|
36 |
6 |
210 |
| ahci_pmp_cmd_done |
|
8 |
3 |
52 |
| ahci_ata_cmd_done |
|
17 |
8 |
122 |
| ahci_ata_cmd_timeout |
|
72 |
19 |
540 |
| ahci_empty_done |
|
5 |
2 |
27 |
| ahci_pmp_read |
|
33 |
3 |
242 |
| ahci_pmp_write |
|
29 |
2 |
225 |
| ahci_pmp_phy_status |
|
10 |
3 |
66 |
| ahci_pmp_identify |
|
31 |
7 |
178 |
| ahci_hibernate_io_start |
|
5 |
1 |
36 |
| ahci_hibernate_io_poll |
|
32 |
7 |
186 |
| ahci_hibernate_load_prdt |
|
30 |
4 |
190 |
| ahci_hibernate_io |
|
153 |
20 |
1172 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/wd33c93var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/athvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dwiicreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar9287.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ar9287_attach |
|
21 |
2 |
153 |
| ar9287_setup |
|
8 |
2 |
47 |
| ar9287_swap_rom |
|
15 |
3 |
112 |
| ar9287_get_spur_chans |
|
6 |
1 |
36 |
| ar9287_init_from_rom |
|
84 |
3 |
789 |
| ar9287_get_pdadcs |
|
35 |
4 |
298 |
| ar9287_olpc_get_pdgain |
|
19 |
2 |
176 |
| ar9287_set_power_calib |
|
77 |
11 |
582 |
| ar9287_set_txpower |
|
73 |
11 |
567 |
| ar9287_olpc_init |
|
11 |
1 |
60 |
| ar9287_olpc_temp_compensation |
|
27 |
5 |
194 |
| ar9287_1_3_enable_async_fifo |
|
11 |
1 |
50 |
| ar9287_1_3_setup_async_fifo |
|
16 |
1 |
109 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/seeq8003reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/smc91cxxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/comvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/iha.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ac97.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5211var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/wdcreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5416reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/amireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ds1687reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/i82595reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ne2000.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ne2000_attach |
|
134 |
31 |
901 |
| ne2000_detect |
|
78 |
10 |
596 |
| ne2000_write_mbuf |
|
97 |
20 |
608 |
| ne2000_ring_copy |
|
22 |
2 |
155 |
| ne2000_read_hdr |
|
8 |
2 |
77 |
| ne2000_test_mem |
|
4 |
1 |
14 |
| ne2000_readmem |
|
25 |
3 |
177 |
| ne2000_writemem |
|
31 |
4 |
232 |
| ne2000_detach |
|
4 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/aic7xxx_inline.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_pause_bug_fix |
|
5 |
2 |
31 |
| ahc_is_paused |
|
4 |
1 |
25 |
| ahc_pause |
|
7 |
2 |
35 |
| ahc_unpause |
|
5 |
2 |
41 |
| ahc_freeze_untagged_queues |
|
5 |
2 |
26 |
| ahc_release_untagged_queues |
|
8 |
3 |
41 |
| ahc_sg_bus_to_virt |
|
7 |
1 |
45 |
| ahc_sg_virt_to_bus |
|
6 |
1 |
48 |
| ahc_hscb_busaddr |
|
5 |
1 |
31 |
| ahc_sync_scb |
|
7 |
1 |
62 |
| ahc_targetcmd_offset |
|
4 |
1 |
33 |
| ahc_name |
|
4 |
1 |
16 |
| ahc_update_residual |
|
7 |
2 |
45 |
| ahc_fetch_transinfo |
|
8 |
2 |
57 |
| ahc_inw |
|
4 |
1 |
36 |
| ahc_outw |
|
5 |
1 |
44 |
| ahc_inl |
|
7 |
1 |
66 |
| ahc_outl |
|
7 |
1 |
88 |
| ahc_lookup_scb |
|
9 |
2 |
50 |
| ahc_swap_with_next_hscb |
|
18 |
2 |
140 |
| ahc_queue_scb |
|
26 |
7 |
208 |
| ahc_get_sense_buf |
|
6 |
1 |
40 |
| ahc_get_sense_bufaddr |
|
7 |
1 |
46 |
| ahc_sync_qoutfifo |
|
5 |
1 |
31 |
| ahc_sync_tqinfifo |
|
10 |
3 |
56 |
| ahc_check_cmdcmpltqueues |
|
21 |
6 |
132 |
| ahc_intr |
|
44 |
18 |
285 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/lemac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lemac_rxd_intr |
|
20 |
5 |
121 |
| lemac_tne_intr |
|
20 |
6 |
130 |
| lemac_txd_intr |
|
10 |
2 |
71 |
| lemac_read_eeprom |
|
25 |
4 |
177 |
| lemac_init_adapmem |
|
15 |
3 |
96 |
| lemac_input |
|
38 |
9 |
300 |
| lemac_rne_intr |
|
35 |
5 |
232 |
| lemac_read_macaddr |
|
60 |
19 |
494 |
| lemac_multicast_op |
|
15 |
3 |
105 |
| lemac_multicast_filter |
|
20 |
5 |
127 |
| lemac_reset |
|
36 |
6 |
252 |
| lemac_init |
|
53 |
6 |
403 |
| lemac_ifstart |
|
104 |
23 |
723 |
| lemac_ifioctl |
|
29 |
7 |
160 |
| lemac_ifmedia_change |
|
26 |
7 |
117 |
| lemac_ifmedia_status |
|
22 |
5 |
122 |
| lemac_port_check |
|
9 |
3 |
68 |
| lemac_info_get |
|
21 |
4 |
153 |
| lemac_intr |
|
22 |
7 |
134 |
| lemac_ifattach |
|
48 |
8 |
334 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ar5xxx.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/am79900.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| am79900_config |
|
20 |
4 |
189 |
| am79900_meminit |
|
49 |
5 |
461 |
| am79900_rint |
|
61 |
18 |
409 |
| am79900_tint |
|
59 |
19 |
347 |
| am79900_intr |
|
54 |
16 |
336 |
| am79900_start |
|
45 |
14 |
332 |
| am79900_recv_print |
|
21 |
2 |
190 |
| am79900_xmit_print |
|
21 |
2 |
189 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/adv.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/w83l518d_sdmmc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/ibm561var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/dpt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dpt_intr |
|
73 |
20 |
483 |
| dpt_init |
|
100 |
18 |
923 |
| dpt_shutdown |
|
6 |
1 |
35 |
| dpt_cmd |
|
33 |
7 |
227 |
| dpt_wait |
|
12 |
3 |
69 |
| dpt_poll |
|
21 |
7 |
135 |
| dpt_readcfg |
|
74 |
21 |
617 |
| dpt_minphys |
|
6 |
2 |
33 |
| dpt_ccb_free |
|
9 |
1 |
60 |
| dpt_init_ccb |
|
18 |
2 |
104 |
| dpt_create_ccbs |
|
19 |
3 |
125 |
| dpt_ccb_alloc |
|
13 |
2 |
75 |
| dpt_done_ccb |
|
57 |
12 |
309 |
| dpt_scsi_cmd |
|
115 |
17 |
865 |
| dpt_timeout |
|
33 |
3 |
193 |
| dpt_dump_sp |
|
16 |
2 |
112 |
| dpt_hba_inquire |
|
53 |
6 |
445 |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/pt2254a.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ic/mc6845.h |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/puc_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| puc_cardbus_match |
|
17 |
5 |
140 |
| puc_cardbus_attach |
|
51 |
6 |
444 |
| puc_cardbus_intr_string |
|
7 |
1 |
44 |
| puc_cardbus_intr_establish |
|
11 |
1 |
106 |
| puc_cardbus_detach |
|
22 |
7 |
194 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/cardbus_exrom.h |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/uhci_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uhci_cardbus_match |
|
9 |
4 |
68 |
| uhci_cardbus_attach |
|
71 |
8 |
573 |
| uhci_cardbus_detach |
|
19 |
4 |
133 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/rbus.h |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_atw_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atw_cardbus_match |
|
5 |
1 |
37 |
| atw_cardbus_attach |
|
50 |
7 |
374 |
| atw_cardbus_detach |
|
18 |
6 |
135 |
| atw_cardbus_enable |
|
18 |
2 |
120 |
| atw_cardbus_disable |
|
10 |
1 |
63 |
| atw_cardbus_power |
|
5 |
2 |
23 |
| atw_cardbus_setup |
|
26 |
4 |
205 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/ehci_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ehci_cardbus_match |
|
9 |
4 |
68 |
| ehci_cardbus_attach |
|
53 |
5 |
439 |
| ehci_cardbus_detach |
|
19 |
4 |
133 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_dc_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dc_cardbus_match |
|
5 |
1 |
37 |
| dc_cardbus_attach |
|
101 |
28 |
658 |
| dc_cardbus_detach |
|
12 |
2 |
95 |
| dc_cardbus_setup |
|
29 |
4 |
242 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/rbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rbus_space_alloc |
|
7 |
1 |
60 |
| rbus_space_alloc_subregion |
|
66 |
17 |
433 |
| rbus_space_free |
|
18 |
4 |
100 |
| rbus_new_body |
|
20 |
5 |
131 |
| rbus_new_root_delegate |
|
13 |
3 |
88 |
| rbus_new_root_share |
|
9 |
3 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_rl_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rl_cardbus_match |
|
5 |
1 |
37 |
| rl_cardbus_attach |
|
50 |
5 |
350 |
| rl_cardbus_detach |
|
18 |
6 |
135 |
| rl_cardbus_setup |
|
50 |
4 |
353 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_malo_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| malo_cardbus_match |
|
5 |
1 |
40 |
| malo_cardbus_attach |
|
41 |
5 |
285 |
| malo_cardbus_detach |
|
21 |
3 |
146 |
| malo_cardbus_setup |
|
19 |
1 |
126 |
| malo_cardbus_enable |
|
18 |
2 |
119 |
| malo_cardbus_disable |
|
10 |
1 |
64 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_bwi_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwi_cardbus_match |
|
5 |
1 |
40 |
| bwi_cardbus_attach |
|
38 |
3 |
274 |
| bwi_cardbus_detach |
|
19 |
3 |
127 |
| bwi_cardbus_setup |
|
17 |
1 |
111 |
| bwi_cardbus_enable |
|
18 |
2 |
119 |
| bwi_cardbus_disable |
|
10 |
1 |
64 |
| bwi_cardbus_conf_write |
|
6 |
1 |
46 |
| bwi_cardbus_conf_read |
|
6 |
1 |
44 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/ohci_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ohci_cardbus_match |
|
9 |
4 |
68 |
| ohci_cardbus_attach |
|
59 |
7 |
475 |
| ohci_cardbus_detach |
|
19 |
4 |
133 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_xl_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xl_cardbus_lookup |
|
10 |
4 |
70 |
| xl_cardbus_match |
|
7 |
2 |
43 |
| xl_cardbus_attach |
|
68 |
8 |
491 |
| xl_cardbus_detach |
|
15 |
2 |
113 |
| xl_cardbus_intr_ack |
|
6 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/cardslot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cardslotmatch |
|
8 |
3 |
50 |
| cardslotattach |
|
45 |
10 |
350 |
| cardslot_cb_print |
|
7 |
2 |
40 |
| cardslot_16_submatch |
|
9 |
4 |
86 |
| cardslot_16_print |
|
6 |
2 |
29 |
| cardslot_event_throw |
|
18 |
6 |
110 |
| cardslot_event |
|
6 |
2 |
31 |
| cardslot_process_event |
|
134 |
28 |
672 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_rtw_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtw_cardbus_match |
|
5 |
1 |
37 |
| rtw_cardbus_intr_ack |
|
4 |
1 |
18 |
| rtw_cardbus_funcregen |
|
12 |
2 |
69 |
| rtw_cardbus_attach |
|
57 |
3 |
425 |
| rtw_cardbus_detach |
|
20 |
6 |
152 |
| rtw_cardbus_enable |
|
21 |
2 |
154 |
| rtw_cardbus_disable |
|
13 |
1 |
95 |
| rtw_cardbus_power |
|
7 |
2 |
38 |
| rtw_cardbus_setup |
|
40 |
6 |
282 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_pgt_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pgt_cardbus_match |
|
6 |
1 |
45 |
| pgt_cardbus_attach |
|
33 |
3 |
246 |
| pgt_cardbus_detach |
|
19 |
3 |
127 |
| pgt_cardbus_enable |
|
18 |
2 |
119 |
| pgt_cardbus_disable |
|
10 |
1 |
64 |
| pgt_cardbus_power |
|
9 |
5 |
60 |
| pgt_cardbus_setup |
|
17 |
1 |
111 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/cardbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/com_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_cardbus_find_csdev |
|
9 |
4 |
63 |
| com_cardbus_match |
|
13 |
7 |
108 |
| com_cardbus_gofigure |
|
54 |
12 |
388 |
| com_cardbus_attach |
|
40 |
6 |
291 |
| com_cardbus_setup |
|
21 |
2 |
172 |
| com_cardbus_enable |
|
18 |
2 |
123 |
| com_cardbus_disable |
|
10 |
1 |
69 |
| com_cardbus_detach |
|
13 |
2 |
116 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_ath_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ath_cardbus_match |
|
10 |
2 |
62 |
| ath_cardbus_attach |
|
28 |
2 |
198 |
| ath_cardbus_detach |
|
19 |
5 |
135 |
| ath_cardbus_enable |
|
18 |
2 |
114 |
| ath_cardbus_disable |
|
10 |
1 |
63 |
| ath_cardbus_power |
|
5 |
2 |
23 |
| ath_cardbus_setup |
|
24 |
3 |
183 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_athn_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| athn_cardbus_match |
|
5 |
1 |
32 |
| athn_cardbus_attach |
|
32 |
2 |
218 |
| athn_cardbus_detach |
|
14 |
2 |
103 |
| athn_cardbus_enable |
|
18 |
2 |
119 |
| athn_cardbus_disable |
|
10 |
1 |
64 |
| athn_cardbus_power |
|
7 |
2 |
37 |
| athn_cardbus_setup |
|
24 |
2 |
187 |
| athn_cardbus_read |
|
5 |
1 |
40 |
| athn_cardbus_write |
|
5 |
1 |
42 |
| athn_cardbus_write_barrier |
|
6 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/cardslotvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/cardbus_exrom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cardbus_read_exrom |
|
45 |
6 |
274 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/cardbus_map.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cardbus_mapreg_map |
|
48 |
10 |
315 |
| cardbus_mapreg_unmap |
|
22 |
3 |
170 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cardbusmatch |
|
11 |
2 |
75 |
| cardbusattach |
|
23 |
1 |
171 |
| cardbus_read_tuples |
|
117 |
18 |
698 |
| parse_tuple |
|
79 |
22 |
512 |
| cardbus_attach_card |
|
137 |
18 |
992 |
| cardbussubmatch |
|
14 |
5 |
96 |
| cardbusprint |
|
17 |
3 |
113 |
| cardbus_detach_card |
|
23 |
4 |
165 |
| cardbus_intr_establish |
|
7 |
1 |
65 |
| cardbus_intr_disestablish |
|
6 |
1 |
33 |
| enable_function |
|
12 |
3 |
77 |
| disable_function |
|
7 |
2 |
46 |
| cardbus_function_enable |
|
15 |
1 |
106 |
| cardbus_function_disable |
|
6 |
1 |
31 |
| cardbus_matchbyid |
|
11 |
4 |
81 |
| decode_tuples |
|
11 |
3 |
75 |
| decode_tuple |
|
24 |
7 |
125 |
| tuple_name |
|
29 |
4 |
199 |
| print_tuple |
|
14 |
5 |
99 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_ral_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ral_cardbus_match |
|
5 |
1 |
37 |
| ral_cardbus_attach |
|
45 |
7 |
277 |
| ral_cardbus_detach |
|
19 |
3 |
130 |
| ral_cardbus_activate |
|
14 |
3 |
70 |
| ral_cardbus_enable |
|
18 |
2 |
119 |
| ral_cardbus_disable |
|
10 |
1 |
64 |
| ral_cardbus_setup |
|
17 |
1 |
111 |
| ral_cardbus_wakeup |
|
8 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_fxp_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fxp_cardbus_match |
|
5 |
1 |
37 |
| fxp_cardbus_attach |
|
48 |
5 |
365 |
| fxp_cardbus_setup |
|
26 |
3 |
208 |
| fxp_cardbus_detach |
|
15 |
2 |
107 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_re_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| re_cardbus_probe |
|
5 |
1 |
37 |
| re_cardbus_attach |
|
45 |
4 |
341 |
| re_cardbus_setup |
|
42 |
4 |
355 |
| re_cardbus_detach |
|
18 |
3 |
159 |
| Source file: /home/sergeyb/sources/src/sys/dev/cardbus/if_acx_cardbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acx_cardbus_match |
|
6 |
1 |
45 |
| acx_cardbus_attach |
|
52 |
6 |
363 |
| acx_cardbus_detach |
|
30 |
6 |
203 |
| acx_cardbus_enable |
|
22 |
3 |
133 |
| acx_cardbus_disable |
|
10 |
1 |
64 |
| acx_cardbus_power |
|
7 |
2 |
37 |
| acx_cardbus_setup |
|
26 |
4 |
176 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/inphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inphymatch |
|
10 |
2 |
51 |
| inphyattach |
|
21 |
2 |
151 |
| inphy_service |
|
38 |
11 |
218 |
| inphy_status |
|
39 |
10 |
226 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/rgephyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/iophy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iophymatch |
|
10 |
2 |
51 |
| iophyattach |
|
21 |
2 |
151 |
| iophy_service |
|
38 |
11 |
218 |
| iophy_status |
|
41 |
10 |
224 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/txphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/atphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atphy_match |
|
7 |
2 |
45 |
| atphy_attach |
|
23 |
2 |
196 |
| atphy_service |
|
76 |
21 |
448 |
| atphy_status |
|
48 |
11 |
263 |
| atphy_reset |
|
19 |
3 |
109 |
| atphy_mii_phy_auto |
|
16 |
4 |
105 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/tlphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tlphymatch |
|
7 |
2 |
45 |
| tlphyattach |
|
32 |
5 |
301 |
| tlphy_service |
|
52 |
16 |
358 |
| tlphy_status |
|
31 |
6 |
195 |
| tlphy_mii_phy_auto |
|
15 |
3 |
73 |
| tlphy_acomp |
|
15 |
3 |
96 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/rgephy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rgephymatch |
|
7 |
2 |
45 |
| rgephyattach |
|
25 |
4 |
210 |
| rgephy_service |
|
98 |
29 |
589 |
| rgephy_status |
|
59 |
20 |
388 |
| rgephy_mii_phy_auto |
|
16 |
2 |
98 |
| rgephy_loop |
|
16 |
5 |
85 |
| rgephy_load_dspcode |
|
47 |
3 |
410 |
| rgephy_reset |
|
6 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/nsgphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/qsphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mii_bitbang.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/bmtphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bmtphymatch |
|
7 |
2 |
45 |
| bmtphyattach |
|
21 |
2 |
164 |
| bmtphy_service |
|
35 |
11 |
212 |
| bmtphy_status |
|
35 |
8 |
208 |
| bmtphy_reset |
|
15 |
2 |
107 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/iophyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/xmphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xmphy_probe |
|
7 |
2 |
45 |
| xmphy_attach |
|
23 |
1 |
203 |
| xmphy_service |
|
60 |
16 |
367 |
| xmphy_status |
|
37 |
8 |
211 |
| xmphy_mii_phy_auto |
|
10 |
1 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mtdphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/jmphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/icsphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/tqphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tqphymatch |
|
7 |
2 |
45 |
| tqphyattach |
|
20 |
2 |
153 |
| tqphy_service |
|
35 |
11 |
212 |
| tqphy_status |
|
36 |
8 |
203 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mii.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/etphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| etphy_match |
|
7 |
2 |
45 |
| etphy_attach |
|
23 |
2 |
185 |
| etphy_service |
|
43 |
12 |
273 |
| etphy_reset |
|
31 |
3 |
233 |
| etphy_status |
|
36 |
8 |
181 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/xmphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/txphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| txphymatch |
|
7 |
2 |
45 |
| txphyattach |
|
19 |
2 |
147 |
| txphy_service |
|
27 |
9 |
151 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/miivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/nsphyter.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nsphytermatch |
|
7 |
2 |
45 |
| nsphyterattach |
|
19 |
2 |
147 |
| nsphyter_service |
|
35 |
11 |
212 |
| nsphyter_status |
|
35 |
8 |
203 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/lxtphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lxtphymatch |
|
10 |
2 |
51 |
| lxtphyattach |
|
28 |
6 |
210 |
| lxtphy_service |
|
38 |
11 |
218 |
| lxtphy_status |
|
36 |
8 |
205 |
| lxtphy_reset |
|
7 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/nsphyterreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/ipgphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/acphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acphymatch |
|
7 |
2 |
45 |
| acphyattach |
|
26 |
3 |
199 |
| acphy_service |
|
33 |
10 |
193 |
| acphy_status |
|
35 |
8 |
203 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/qsphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qsphymatch |
|
7 |
2 |
45 |
| qsphyattach |
|
19 |
2 |
147 |
| qsphy_service |
|
35 |
11 |
212 |
| qsphy_status |
|
49 |
11 |
255 |
| qsphy_reset |
|
5 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/eephyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/amphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amphymatch |
|
7 |
2 |
45 |
| amphyattach |
|
20 |
2 |
153 |
| amphy_service |
|
33 |
10 |
193 |
| amphy_status |
|
53 |
16 |
338 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/urlphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/ukphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ukphymatch |
|
4 |
1 |
22 |
| ukphyattach |
|
28 |
4 |
228 |
| ukphy_service |
|
35 |
11 |
212 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/amphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/ciphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ciphymatch |
|
7 |
2 |
45 |
| ciphyattach |
|
24 |
4 |
188 |
| ciphy_service |
|
73 |
21 |
415 |
| ciphy_status |
|
43 |
11 |
239 |
| ciphy_reset |
|
5 |
1 |
19 |
| ciphy_fixup |
|
42 |
15 |
235 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/dcphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dcphy_match |
|
8 |
3 |
58 |
| dcphy_attach |
|
40 |
5 |
250 |
| dcphy_service |
|
84 |
20 |
514 |
| dcphy_status |
|
62 |
23 |
392 |
| dcphy_mii_phy_auto |
|
30 |
7 |
199 |
| dcphy_reset |
|
9 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/sqphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mii_bitbang.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mii_bitbang_sync |
|
11 |
2 |
56 |
| mii_bitbang_sendbits |
|
17 |
3 |
89 |
| mii_bitbang_readreg |
|
25 |
5 |
179 |
| mii_bitbang_writereg |
|
12 |
1 |
99 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/gentbi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gentbimatch |
|
16 |
5 |
134 |
| gentbiattach |
|
22 |
4 |
165 |
| gentbi_service |
|
33 |
10 |
193 |
| gentbi_status |
|
32 |
8 |
202 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mii.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mii_attach |
|
52 |
14 |
366 |
| mii_detach |
|
22 |
11 |
143 |
| mii_print |
|
10 |
2 |
72 |
| mii_submatch |
|
9 |
3 |
77 |
| mii_mediachg |
|
14 |
3 |
81 |
| mii_tick |
|
7 |
2 |
51 |
| mii_pollstat |
|
9 |
2 |
63 |
| mii_down |
|
7 |
2 |
51 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/nsphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nsphymatch |
|
7 |
2 |
45 |
| nsphyattach |
|
20 |
2 |
153 |
| nsphy_service |
|
41 |
11 |
248 |
| nsphy_status |
|
50 |
13 |
304 |
| nsphy_reset |
|
8 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mii_physubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mii_phy_setmedia |
|
32 |
10 |
218 |
| mii_phy_auto |
|
55 |
18 |
353 |
| mii_phy_auto_timeout |
|
12 |
2 |
76 |
| mii_phy_tick |
|
23 |
7 |
157 |
| mii_phy_reset |
|
18 |
6 |
119 |
| mii_phy_down |
|
7 |
2 |
33 |
| mii_phy_status |
|
4 |
1 |
14 |
| mii_phy_update |
|
19 |
5 |
118 |
| mii_phy_statusmsg |
|
27 |
6 |
138 |
| mii_phy_add_media |
|
59 |
13 |
402 |
| mii_phy_delete_media |
|
5 |
1 |
30 |
| mii_phy_detach |
|
8 |
2 |
49 |
| mii_phy_match |
|
9 |
4 |
68 |
| mii_phy_flowstatus |
|
35 |
11 |
207 |
| mii_anar |
|
25 |
6 |
106 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/ciphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/brswphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| brswphymatch |
|
7 |
2 |
45 |
| brswphyattach |
|
27 |
4 |
226 |
| brswphy_service |
|
35 |
11 |
212 |
| brswphy_status |
|
31 |
6 |
173 |
| brswphy_op |
|
22 |
5 |
149 |
| brswphy_read16 |
|
9 |
2 |
55 |
| brswphy_read32 |
|
10 |
2 |
68 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/bmtphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/tlphyvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/jmphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| jmphy_match |
|
7 |
2 |
45 |
| jmphy_attach |
|
25 |
4 |
201 |
| jmphy_service |
|
43 |
14 |
269 |
| jmphy_status |
|
47 |
11 |
264 |
| jmphy_reset |
|
12 |
3 |
76 |
| jmphy_anar |
|
21 |
5 |
78 |
| jmphy_auto |
|
37 |
11 |
221 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/miidevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/brgphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| brgphy_probe |
|
7 |
2 |
45 |
| brgphy_attach |
|
74 |
14 |
610 |
| brgphy_service |
|
110 |
35 |
614 |
| brgphy_copper_status |
|
63 |
19 |
346 |
| brgphy_fiber_status |
|
30 |
7 |
193 |
| brgphy_5708s_status |
|
49 |
13 |
262 |
| brgphy_5709s_status |
|
47 |
11 |
250 |
| brgphy_mii_phy_auto |
|
25 |
6 |
164 |
| brgphy_loop |
|
12 |
3 |
64 |
| brgphy_reset |
|
36 |
12 |
163 |
| brgphy_reset_bge |
|
47 |
18 |
273 |
| brgphy_reset_bnx |
|
81 |
16 |
455 |
| brgphy_bcm5401_dspcode |
|
24 |
2 |
144 |
| brgphy_bcm5411_dspcode |
|
15 |
2 |
91 |
| brgphy_bcm5421_dspcode |
|
13 |
1 |
99 |
| brgphy_bcm54k2_dspcode |
|
14 |
2 |
85 |
| brgphy_adc_bug |
|
18 |
2 |
109 |
| brgphy_5704_a0_bug |
|
14 |
2 |
85 |
| brgphy_ber_bug |
|
20 |
2 |
121 |
| brgphy_crc_bug |
|
16 |
2 |
97 |
| brgphy_disable_early_dac |
|
8 |
1 |
48 |
| brgphy_jumbo_settings |
|
16 |
3 |
89 |
| brgphy_eth_wirespeed |
|
8 |
1 |
55 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/tqphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/lxtphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/nsphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/rlphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rlphymatch |
|
15 |
6 |
117 |
| rlphyattach |
|
24 |
3 |
167 |
| rlphy_service |
|
39 |
12 |
228 |
| rlphy_status |
|
57 |
16 |
358 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/eephy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eephy_match |
|
7 |
2 |
45 |
| eephy_attach |
|
41 |
7 |
312 |
| eephy_reset |
|
53 |
15 |
293 |
| eephy_service |
|
39 |
12 |
245 |
| eephy_status |
|
36 |
10 |
214 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mlphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mlphy_probe |
|
10 |
4 |
80 |
| mlphy_attach |
|
21 |
2 |
165 |
| mlphy_service |
|
99 |
25 |
578 |
| mlphy_reset |
|
8 |
1 |
39 |
| mlphy_status |
|
26 |
6 |
161 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/brgphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/urlphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| urlphy_match |
|
10 |
4 |
80 |
| urlphy_attach |
|
24 |
3 |
173 |
| urlphy_service |
|
46 |
15 |
301 |
| urlphy_status |
|
31 |
7 |
216 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/tlphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/inphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/ukphy_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ukphy_status |
|
56 |
20 |
398 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/ipgphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipgphy_probe |
|
7 |
2 |
45 |
| ipgphy_attach |
|
21 |
2 |
175 |
| ipgphy_service |
|
77 |
20 |
444 |
| ipgphy_status |
|
71 |
18 |
364 |
| ipgphy_mii_phy_auto |
|
19 |
4 |
127 |
| ipgphy_load_dspcode |
|
11 |
1 |
77 |
| ipgphy_reset |
|
16 |
5 |
105 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/exphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exphymatch |
|
11 |
6 |
103 |
| exphyattach |
|
23 |
3 |
150 |
| exphy_service |
|
27 |
9 |
151 |
| exphy_reset |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/nsgphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nsgphymatch |
|
7 |
2 |
45 |
| nsgphyattach |
|
29 |
6 |
230 |
| nsgphy_service |
|
35 |
11 |
212 |
| nsgphy_status |
|
49 |
11 |
273 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/luphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| luphymatch |
|
7 |
2 |
45 |
| luphyattach |
|
20 |
2 |
153 |
| luphy_service |
|
29 |
10 |
168 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/rdcphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rdcphy_match |
|
7 |
2 |
45 |
| rdcphy_attach |
|
22 |
3 |
196 |
| rdcphy_service |
|
50 |
14 |
326 |
| rdcphy_status |
|
43 |
9 |
225 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/sqphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sqphymatch |
|
7 |
2 |
45 |
| sqphyattach |
|
19 |
2 |
147 |
| sqphy_service |
|
35 |
11 |
212 |
| sqphy_status |
|
36 |
8 |
203 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/mtdphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mtdphymatch |
|
7 |
2 |
45 |
| mtdphyattach |
|
19 |
2 |
147 |
| mtdphy_service |
|
35 |
11 |
212 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/icsphy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| icsphymatch |
|
7 |
2 |
45 |
| icsphyattach |
|
19 |
2 |
147 |
| icsphy_service |
|
38 |
11 |
218 |
| icsphy_status |
|
36 |
8 |
196 |
| icsphy_reset |
|
7 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/mii/acphyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/x86emu/x86emu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| x86emu_intr_dispatch |
|
14 |
2 |
123 |
| x86emu_intr_handle |
|
9 |
2 |
47 |
| x86emu_intr_raise |
|
5 |
1 |
28 |
| x86emu_exec |
|
21 |
12 |
132 |
| x86emu_exec_call |
|
8 |
1 |
50 |
| x86emu_exec_intr |
|
12 |
1 |
102 |
| x86emu_halt_sys |
|
5 |
2 |
26 |
| fetch_decode_modrm |
|
8 |
1 |
58 |
| fetch_byte_imm |
|
7 |
1 |
41 |
| fetch_word_imm |
|
7 |
1 |
42 |
| fetch_long_imm |
|
7 |
1 |
42 |
| get_data_segment |
|
27 |
15 |
129 |
| fetch_data_byte |
|
4 |
1 |
25 |
| fetch_data_word |
|
4 |
1 |
25 |
| fetch_data_long |
|
4 |
1 |
25 |
| fetch_byte |
|
4 |
1 |
38 |
| fetch_word |
|
4 |
1 |
38 |
| fetch_long |
|
4 |
1 |
38 |
| store_data_byte |
|
4 |
1 |
29 |
| store_data_word |
|
4 |
1 |
29 |
| store_data_long |
|
4 |
1 |
29 |
| store_byte |
|
4 |
1 |
42 |
| store_word |
|
4 |
1 |
42 |
| store_long |
|
4 |
1 |
42 |
| decode_rm_byte_register |
|
23 |
9 |
113 |
| decode_rl_byte_register |
|
4 |
1 |
19 |
| decode_rh_byte_register |
|
4 |
1 |
19 |
| decode_rm_word_register |
|
23 |
9 |
113 |
| decode_rl_word_register |
|
4 |
1 |
19 |
| decode_rh_word_register |
|
4 |
1 |
19 |
| decode_rm_long_register |
|
23 |
9 |
113 |
| decode_rl_long_register |
|
4 |
1 |
19 |
| decode_rh_long_register |
|
4 |
1 |
19 |
| decode_rh_seg_register |
|
19 |
7 |
90 |
| decode_sib_address |
|
64 |
18 |
312 |
| decode_rl_address |
|
87 |
24 |
450 |
| decode_and_fetch_byte |
|
9 |
2 |
48 |
| decode_and_fetch_word_disp |
|
11 |
3 |
73 |
| decode_and_fetch_long_disp |
|
11 |
3 |
73 |
| decode_and_fetch_word |
|
4 |
1 |
17 |
| decode_and_fetch_long |
|
4 |
1 |
17 |
| decode_and_fetch_byte_imm8 |
|
11 |
2 |
68 |
| decode_and_fetch_word_imm8 |
|
11 |
2 |
68 |
| decode_and_fetch_long_imm8 |
|
11 |
2 |
68 |
| write_back_byte |
|
7 |
2 |
40 |
| write_back_word |
|
7 |
2 |
40 |
| write_back_long |
|
7 |
2 |
40 |
| common_inc_word_long |
|
7 |
2 |
59 |
| common_dec_word_long |
|
7 |
2 |
59 |
| common_binop_byte_rm_r |
|
18 |
2 |
124 |
| common_binop_ns_byte_rm_r |
|
15 |
2 |
94 |
| common_binop_word_rm_r |
|
17 |
2 |
123 |
| common_binop_byte_r_rm |
|
15 |
2 |
98 |
| common_binop_long_rm_r |
|
17 |
2 |
123 |
| common_binop_word_long_rm_r |
|
9 |
2 |
64 |
| common_binop_ns_word_rm_r |
|
15 |
2 |
94 |
| common_binop_ns_long_rm_r |
|
15 |
2 |
94 |
| common_binop_ns_word_long_rm_r |
|
9 |
2 |
64 |
| common_binop_long_r_rm |
|
15 |
2 |
98 |
| common_binop_word_r_rm |
|
15 |
2 |
98 |
| common_binop_word_long_r_rm |
|
9 |
2 |
64 |
| common_binop_byte_imm |
|
7 |
1 |
56 |
| common_binop_word_long_imm |
|
14 |
2 |
118 |
| common_push_word_long |
|
7 |
2 |
47 |
| common_pop_word_long |
|
7 |
2 |
47 |
| common_imul_long_IMM |
|
28 |
4 |
146 |
| common_imul_word_IMM |
|
28 |
4 |
146 |
| common_imul_imm |
|
7 |
2 |
37 |
| common_jmp_near |
|
9 |
2 |
58 |
| common_load_far_pointer |
|
12 |
2 |
74 |
| x86emuOp_cmp_byte_R_RM |
|
8 |
1 |
44 |
| x86emuOp32_cmp_word_R_RM |
|
8 |
1 |
44 |
| x86emuOp16_cmp_word_R_RM |
|
8 |
1 |
44 |
| x86emuOp_cmp_word_R_RM |
|
7 |
2 |
30 |
| x86emuOp_cmp_byte_AL_IMM |
|
6 |
1 |
32 |
| x86emuOp32_cmp_word_AX_IMM |
|
6 |
1 |
32 |
| x86emuOp16_cmp_word_AX_IMM |
|
6 |
1 |
32 |
| x86emuOp_cmp_word_AX_IMM |
|
7 |
2 |
30 |
| x86emuOp_push_all |
|
24 |
2 |
210 |
| x86emuOp_pop_all |
|
22 |
2 |
194 |
| x86emuOp_push_word_IMM |
|
12 |
2 |
58 |
| x86emuOp_push_byte_IMM |
|
10 |
2 |
54 |
| x86emuOp_ins_word |
|
8 |
2 |
38 |
| x86emuOp_outs_word |
|
8 |
2 |
38 |
| x86emuOp_jump_near_L |
|
7 |
1 |
41 |
| x86emuOp_jump_near_NL |
|
7 |
1 |
41 |
| x86emuOp_jump_near_LE |
|
7 |
2 |
46 |
| x86emuOp_jump_near_NLE |
|
7 |
2 |
47 |
| x86emuOp_opc80_byte_RM_IMM |
|
10 |
2 |
67 |
| x86emuOp32_opc81_word_RM_IMM |
|
10 |
2 |
67 |
| x86emuOp16_opc81_word_RM_IMM |
|
10 |
2 |
67 |
| x86emuOp_opc81_word_RM_IMM |
|
7 |
2 |
30 |
| x86emuOp_opc82_byte_RM_IMM |
|
10 |
2 |
67 |
| x86emuOp32_opc83_word_RM_IMM |
|
10 |
2 |
70 |
| x86emuOp16_opc83_word_RM_IMM |
|
10 |
2 |
70 |
| x86emuOp_opc83_word_RM_IMM |
|
7 |
2 |
30 |
| x86emuOp_xchg_byte_RM_R |
|
11 |
1 |
57 |
| x86emuOp32_xchg_word_RM_R |
|
11 |
1 |
57 |
| x86emuOp16_xchg_word_RM_R |
|
11 |
1 |
57 |
| x86emuOp_xchg_word_RM_R |
|
7 |
2 |
30 |
| x86emuOp_mov_byte_RM_R |
|
14 |
2 |
74 |
| x86emuOp32_mov_word_RM_R |
|
14 |
2 |
72 |
| x86emuOp16_mov_word_RM_R |
|
14 |
2 |
72 |
| x86emuOp_mov_word_RM_R |
|
7 |
2 |
30 |
| x86emuOp_mov_byte_R_RM |
|
7 |
1 |
33 |
| x86emuOp_mov_word_R_RM |
|
14 |
2 |
72 |
| x86emuOp_mov_word_RM_SR |
|
14 |
2 |
72 |
| x86emuOp_lea_word_R_M |
|
17 |
3 |
90 |
| x86emuOp_mov_word_SR_RM |
|
7 |
1 |
33 |
| x86emuOp32_pop_RM |
|
14 |
2 |
74 |
| x86emuOp16_pop_RM |
|
14 |
2 |
74 |
| x86emuOp_pop_RM |
|
7 |
2 |
30 |
| x86emuOp_xchg_word_AX_CX |
|
13 |
2 |
86 |
| x86emuOp_xchg_word_AX_DX |
|
13 |
2 |
86 |
| x86emuOp_xchg_word_AX_BX |
|
13 |
2 |
86 |
| x86emuOp_xchg_word_AX_SP |
|
13 |
2 |
86 |
| x86emuOp_xchg_word_AX_BP |
|
13 |
2 |
86 |
| x86emuOp_xchg_word_AX_SI |
|
13 |
2 |
86 |
| x86emuOp_xchg_word_AX_DI |
|
13 |
2 |
86 |
| x86emuOp_cbw |
|
16 |
4 |
86 |
| x86emuOp_cwd |
|
16 |
4 |
86 |
| x86emuOp_call_far_IMM |
|
10 |
1 |
66 |
| x86emuOp_pushf_word |
|
10 |
2 |
58 |
| x86emuOp_popf_word |
|
8 |
2 |
46 |
| x86emuOp_sahf |
|
5 |
1 |
29 |
| x86emuOp_lahf |
|
5 |
1 |
36 |
| x86emuOp_mov_AL_M_IMM |
|
6 |
1 |
32 |
| x86emuOp_mov_AX_M_IMM |
|
10 |
2 |
60 |
| x86emuOp_mov_M_AL_IMM |
|
6 |
1 |
32 |
| x86emuOp_mov_M_AX_IMM |
|
10 |
2 |
60 |
| x86emuOp_movs_byte |
|
22 |
4 |
138 |
| x86emuOp_movs_word |
|
30 |
6 |
202 |
| x86emuOp_cmps_byte |
|
40 |
8 |
309 |
| x86emuOp_cmps_word |
|
69 |
13 |
527 |
| x86emuOp_test_AX_IMM |
|
8 |
2 |
56 |
| x86emuOp_stos_byte |
|
20 |
4 |
142 |
| x86emuOp_stos_word |
|
27 |
6 |
170 |
| x86emuOp_lods_byte |
|
19 |
4 |
130 |
| x86emuOp_lods_word |
|
25 |
6 |
158 |
| x86emuOp_scas_byte |
|
34 |
8 |
256 |
| x86emuOp_scas_word |
|
55 |
12 |
420 |
| x86emuOp_mov_word_AX_IMM |
|
7 |
2 |
42 |
| x86emuOp_mov_word_CX_IMM |
|
7 |
2 |
42 |
| x86emuOp_mov_word_DX_IMM |
|
7 |
2 |
42 |
| x86emuOp_mov_word_BX_IMM |
|
7 |
2 |
42 |
| x86emuOp_mov_word_SP_IMM |
|
7 |
2 |
42 |
| x86emuOp_mov_word_BP_IMM |
|
7 |
2 |
42 |
| x86emuOp_mov_word_SI_IMM |
|
7 |
2 |
42 |
| x86emuOp_mov_word_DI_IMM |
|
7 |
2 |
42 |
| x86emuOp_opcC0_byte_RM_MEM |
|
8 |
1 |
55 |
| x86emuOp_opcC1_word_RM_MEM |
|
18 |
2 |
110 |
| x86emuOp_ret_near_IMM |
|
7 |
1 |
38 |
| x86emuOp_mov_byte_RM_IMM |
|
18 |
3 |
92 |
| x86emuOp32_mov_word_RM_IMM |
|
17 |
3 |
91 |
| x86emuOp16_mov_word_RM_IMM |
|
17 |
3 |
91 |
| x86emuOp_mov_word_RM_IMM |
|
7 |
2 |
30 |
| x86emuOp_enter |
|
20 |
3 |
140 |
| x86emuOp_leave |
|
5 |
1 |
32 |
| x86emuOp_ret_far_IMM |
|
8 |
1 |
49 |
| x86emuOp_ret_far |
|
5 |
1 |
31 |
| x86emuOp_int3 |
|
4 |
1 |
16 |
| x86emuOp_int_IMM |
|
6 |
1 |
26 |
| x86emuOp_into |
|
5 |
2 |
23 |
| x86emuOp_iret |
|
6 |
1 |
42 |
| x86emuOp_opcD0_byte_RM_1 |
|
8 |
1 |
50 |
| x86emuOp_opcD1_word_RM_1 |
|
16 |
2 |
106 |
| x86emuOp_opcD2_byte_RM_CL |
|
9 |
1 |
54 |
| x86emuOp_opcD3_word_RM_CL |
|
18 |
2 |
114 |
| x86emuOp_aam |
|
9 |
2 |
49 |
| x86emuOp_aad |
|
9 |
2 |
49 |
| x86emuOp_xlat |
|
6 |
1 |
47 |
| x86emuOp_esc_coprocess_d8 |
|
3 |
1 |
9 |
| x86emuOp_esc_coprocess_d9 |
|
6 |
2 |
27 |
| x86emuOp_esc_coprocess_da |
|
6 |
2 |
27 |
| x86emuOp_esc_coprocess_db |
|
6 |
2 |
27 |
| x86emuOp_esc_coprocess_dc |
|
6 |
2 |
27 |
| x86emuOp_esc_coprocess_dd |
|
6 |
2 |
27 |
| x86emuOp_esc_coprocess_de |
|
6 |
2 |
27 |
| x86emuOp_esc_coprocess_df |
|
6 |
2 |
27 |
| x86emuOp_loopne |
|
9 |
3 |
65 |
| x86emuOp_loope |
|
9 |
3 |
64 |
| x86emuOp_loop |
|
9 |
2 |
59 |
| x86emuOp_jcxz |
|
9 |
2 |
58 |
| x86emuOp_in_byte_AL_IMM |
|
6 |
1 |
40 |
| x86emuOp_in_word_AX_IMM |
|
10 |
2 |
73 |
| x86emuOp_out_byte_IMM_AL |
|
6 |
1 |
40 |
| x86emuOp_out_word_IMM_AX |
|
10 |
2 |
73 |
| x86emuOp_call_near_IMM |
|
16 |
2 |
110 |
| x86emuOp_jump_near_IMM |
|
7 |
1 |
44 |
| x86emuOp_jump_far_IMM |
|
8 |
1 |
44 |
| x86emuOp_jump_byte_IMM |
|
8 |
1 |
48 |
| x86emuOp_in_byte_AL_DX |
|
4 |
1 |
31 |
| x86emuOp_in_word_AX_DX |
|
8 |
2 |
68 |
| x86emuOp_out_byte_DX_AL |
|
4 |
1 |
31 |
| x86emuOp_out_word_DX_AX |
|
8 |
2 |
68 |
| x86emuOp_lock |
|
3 |
1 |
9 |
| x86emuOp_cmc |
|
7 |
2 |
27 |
| x86emuOp_opcF6_byte_RM |
|
35 |
9 |
163 |
| x86emuOp32_opcF7_word_RM |
|
43 |
10 |
207 |
| x86emuOp16_opcF7_word_RM |
|
43 |
10 |
207 |
| x86emuOp_opcF7_word_RM |
|
7 |
2 |
30 |
| x86emuOp_opcFE_byte_RM |
|
32 |
6 |
163 |
| x86emuOp32_opcFF_word_RM |
|
35 |
8 |
175 |
| x86emuOp16_opcFF_word_RM |
|
36 |
8 |
176 |
| x86emuOp_opcFF_word_RM |
|
45 |
14 |
280 |
| x86emu_exec_one_byte |
|
768 |
260 |
3224 |
| common_jmp_long |
|
8 |
2 |
51 |
| common_set_byte |
|
14 |
3 |
75 |
| common_bitstring32 |
|
24 |
5 |
127 |
| common_bitstring16 |
|
24 |
5 |
127 |
| common_bitstring |
|
7 |
2 |
37 |
| common_bitsearch32 |
|
12 |
3 |
79 |
| common_bitsearch16 |
|
12 |
3 |
79 |
| common_bitsearch |
|
7 |
2 |
37 |
| common_shift32 |
|
18 |
3 |
110 |
| common_shift16 |
|
18 |
3 |
110 |
| common_shift |
|
7 |
2 |
44 |
| x86emuOp2_rdtsc |
|
5 |
1 |
34 |
| x86emuOp2_push_FS |
|
4 |
1 |
20 |
| x86emuOp2_pop_FS |
|
4 |
1 |
20 |
| hw_cpuid |
|
8 |
1 |
64 |
| x86emuOp2_cpuid |
|
23 |
6 |
160 |
| x86emuOp2_bt_R |
|
4 |
1 |
16 |
| x86emuOp2_shld_IMM |
|
4 |
1 |
18 |
| x86emuOp2_shld_CL |
|
4 |
1 |
18 |
| x86emuOp2_push_GS |
|
4 |
1 |
20 |
| x86emuOp2_pop_GS |
|
4 |
1 |
20 |
| x86emuOp2_bts_R |
|
4 |
1 |
16 |
| x86emuOp2_shrd_IMM |
|
4 |
1 |
18 |
| x86emuOp2_shrd_CL |
|
4 |
1 |
18 |
| x86emuOp2_32_imul_R_RM |
|
17 |
2 |
89 |
| x86emuOp2_16_imul_R_RM |
|
17 |
2 |
89 |
| x86emuOp2_imul_R_RM |
|
7 |
2 |
30 |
| x86emuOp2_lss_R_IMM |
|
4 |
1 |
21 |
| x86emuOp2_btr_R |
|
4 |
1 |
16 |
| x86emuOp2_lfs_R_IMM |
|
4 |
1 |
21 |
| x86emuOp2_lgs_R_IMM |
|
4 |
1 |
21 |
| x86emuOp2_32_movzx_byte_R_RM |
|
7 |
1 |
33 |
| x86emuOp2_16_movzx_byte_R_RM |
|
7 |
1 |
33 |
| x86emuOp2_movzx_byte_R_RM |
|
7 |
2 |
30 |
| x86emuOp2_movzx_word_R_RM |
|
7 |
1 |
33 |
| x86emuOp2_32_btX_I |
|
24 |
5 |
122 |
| x86emuOp2_16_btX_I |
|
24 |
5 |
122 |
| x86emuOp2_btX_I |
|
7 |
2 |
30 |
| x86emuOp2_btc_R |
|
4 |
1 |
16 |
| x86emuOp2_bsf |
|
4 |
1 |
17 |
| x86emuOp2_bsr |
|
4 |
1 |
17 |
| x86emuOp2_32_movsx_byte_R_RM |
|
7 |
1 |
39 |
| x86emuOp2_16_movsx_byte_R_RM |
|
7 |
1 |
39 |
| x86emuOp2_movsx_byte_R_RM |
|
7 |
2 |
30 |
| x86emuOp2_movsx_word_R_RM |
|
7 |
1 |
39 |
| x86emu_exec_two_byte |
|
192 |
66 |
897 |
| aaa_word |
|
18 |
3 |
103 |
| aas_word |
|
18 |
3 |
103 |
| aad_word |
|
15 |
1 |
114 |
| aam_word |
|
14 |
1 |
99 |
| adc_byte |
|
17 |
2 |
134 |
| adc_word |
|
17 |
2 |
134 |
| adc_long |
|
23 |
2 |
194 |
| add_byte |
|
14 |
1 |
118 |
| add_word |
|
14 |
1 |
118 |
| add_long |
|
18 |
1 |
158 |
| and_byte |
|
12 |
1 |
70 |
| and_word |
|
12 |
1 |
72 |
| and_long |
|
12 |
1 |
72 |
| cmp_byte |
|
15 |
1 |
118 |
| cmp_byte_no_return |
|
4 |
1 |
24 |
| cmp_word |
|
14 |
1 |
113 |
| cmp_word_no_return |
|
4 |
1 |
24 |
| cmp_long |
|
14 |
1 |
113 |
| cmp_long_no_return |
|
4 |
1 |
24 |
| daa_byte |
|
16 |
5 |
105 |
| das_byte |
|
15 |
5 |
93 |
| dec_byte |
|
13 |
1 |
104 |
| dec_word |
|
13 |
1 |
104 |
| dec_long |
|
13 |
1 |
101 |
| inc_byte |
|
13 |
1 |
106 |
| inc_word |
|
13 |
1 |
106 |
| inc_long |
|
13 |
1 |
103 |
| or_byte |
|
12 |
1 |
70 |
| or_word |
|
12 |
1 |
72 |
| or_long |
|
12 |
1 |
72 |
| neg_byte |
|
14 |
1 |
98 |
| neg_word |
|
14 |
1 |
100 |
| neg_long |
|
14 |
1 |
100 |
| rcl_byte |
|
18 |
4 |
157 |
| rcl_word |
|
18 |
4 |
157 |
| rcl_long |
|
18 |
4 |
153 |
| rcr_byte |
|
25 |
5 |
187 |
| rcr_word |
|
25 |
5 |
187 |
| rcr_long |
|
26 |
6 |
190 |
| rol_byte |
|
17 |
4 |
137 |
| rol_word |
|
17 |
4 |
137 |
| rol_long |
|
17 |
4 |
133 |
| ror_byte |
|
15 |
4 |
132 |
| ror_word |
|
15 |
4 |
132 |
| ror_long |
|
15 |
4 |
128 |
| shl_byte |
|
33 |
4 |
211 |
| shl_word |
|
33 |
4 |
211 |
| shl_long |
|
31 |
4 |
205 |
| shr_byte |
|
30 |
4 |
198 |
| shr_word |
|
30 |
4 |
182 |
| shr_long |
|
30 |
4 |
179 |
| sar_byte |
|
34 |
6 |
219 |
| sar_word |
|
34 |
6 |
219 |
| sar_long |
|
34 |
6 |
215 |
| shld_word |
|
31 |
4 |
224 |
| shld_long |
|
31 |
4 |
221 |
| shrd_word |
|
30 |
4 |
198 |
| shrd_long |
|
30 |
4 |
195 |
| sbb_byte |
|
17 |
2 |
132 |
| sbb_word |
|
17 |
2 |
132 |
| sbb_long |
|
17 |
2 |
129 |
| sub_byte |
|
14 |
1 |
116 |
| sub_word |
|
14 |
1 |
116 |
| sub_long |
|
14 |
1 |
113 |
| test_byte |
|
10 |
1 |
64 |
| test_word |
|
10 |
1 |
64 |
| test_long |
|
10 |
1 |
64 |
| xor_byte |
|
12 |
1 |
70 |
| xor_word |
|
12 |
1 |
72 |
| xor_long |
|
12 |
1 |
72 |
| imul_byte |
|
13 |
5 |
113 |
| imul_word |
|
14 |
5 |
127 |
| imul_long |
|
15 |
5 |
132 |
| mul_byte |
|
12 |
2 |
71 |
| mul_word |
|
13 |
2 |
85 |
| mul_long |
|
13 |
2 |
88 |
| idiv_byte |
|
17 |
4 |
109 |
| idiv_word |
|
21 |
4 |
153 |
| idiv_long |
|
22 |
4 |
154 |
| div_byte |
|
17 |
3 |
101 |
| div_word |
|
21 |
3 |
148 |
| div_long |
|
22 |
3 |
149 |
| ins |
|
55 |
14 |
410 |
| outs |
|
58 |
14 |
410 |
| push_word |
|
5 |
1 |
39 |
| push_long |
|
5 |
1 |
39 |
| pop_word |
|
7 |
1 |
42 |
| pop_long |
|
7 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/x86emu/x86emu.h |
| Source file: /home/sergeyb/sources/src/sys/dev/x86emu/x86emu_util.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rdb |
|
6 |
2 |
35 |
| rdw |
|
14 |
4 |
120 |
| rdl |
|
16 |
4 |
152 |
| wrb |
|
6 |
2 |
39 |
| wrw |
|
12 |
4 |
125 |
| wrl |
|
14 |
4 |
157 |
| x86emu_init_default |
|
12 |
2 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/x86emu/x86emu_regs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/puc/com_puc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_puc_match |
|
9 |
2 |
48 |
| com_puc_attach |
|
27 |
4 |
189 |
| com_puc_detach |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/dev/puc/lpt_puc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lpt_puc_probe |
|
9 |
2 |
48 |
| lpt_puc_attach |
|
22 |
3 |
140 |
| lpt_puc_detach |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adt7460.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adt_match |
|
9 |
3 |
79 |
| adt_attach |
|
98 |
13 |
952 |
| adt_refresh |
|
82 |
31 |
568 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/sdtemp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdtemp_match |
|
32 |
27 |
322 |
| sdtemp_attach |
|
18 |
2 |
148 |
| sdtemp_refresh |
|
21 |
4 |
148 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/i2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iicbus_print |
|
7 |
2 |
42 |
| iic_print |
|
8 |
2 |
51 |
| iic_search |
|
16 |
3 |
137 |
| iic_match |
|
6 |
1 |
49 |
| iic_attach |
|
12 |
2 |
87 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/asb100.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asbtm_match |
|
7 |
2 |
47 |
| asbtm_banksel |
|
19 |
5 |
143 |
| asbtm_attach |
|
85 |
10 |
814 |
| fanval |
|
10 |
2 |
51 |
| asbtm_refresh |
|
97 |
20 |
933 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/ds1631.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| maxds_match |
|
9 |
4 |
69 |
| maxds_attach |
|
49 |
7 |
383 |
| maxds_refresh |
|
16 |
2 |
124 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/iatp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iatp_match |
|
7 |
2 |
43 |
| iatp_attach |
|
26 |
6 |
210 |
| iatp_detach |
|
10 |
2 |
56 |
| iatp_activate |
|
16 |
4 |
74 |
| iatp_configure |
|
20 |
2 |
140 |
| iatp_enable |
|
19 |
4 |
121 |
| iatp_disable |
|
8 |
2 |
49 |
| iatp_ioctl |
|
47 |
9 |
318 |
| iatp_init |
|
141 |
31 |
980 |
| iatp_read_reg |
|
10 |
1 |
93 |
| iatp_write_reg |
|
15 |
1 |
136 |
| iatp_intr |
|
19 |
4 |
102 |
| iatp_proc_msg |
|
22 |
6 |
142 |
| iatp_t5_read_msgs |
|
20 |
4 |
149 |
| iatp_t6_proc_msg |
|
9 |
2 |
56 |
| iatp_t7_set_power_mode |
|
18 |
3 |
104 |
| iatp_t19_proc_msg |
|
12 |
2 |
92 |
| iatp_t44_read_count |
|
20 |
3 |
118 |
| iatp_t100_proc_msg |
|
36 |
11 |
278 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/pca9554.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcagpio_match |
|
11 |
6 |
91 |
| pcagpio_attach |
|
78 |
15 |
711 |
| pcagpio_init |
|
26 |
4 |
211 |
| pcagpio_refresh |
|
27 |
8 |
259 |
| pcagpio_gpio_pin_read |
|
13 |
3 |
106 |
| pcagpio_gpio_pin_write |
|
18 |
4 |
155 |
| pcagpio_gpio_pin_ctl |
|
18 |
5 |
105 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/ihidev.h |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/lis331dl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lisa_match |
|
7 |
2 |
43 |
| lisa_attach |
|
23 |
3 |
197 |
| lisa_refresh |
|
10 |
2 |
80 |
| lisa_readreg |
|
7 |
1 |
45 |
| lisa_writereg |
|
5 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/w83l784r.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wbenv_match |
|
9 |
4 |
69 |
| wbenv_attach |
|
60 |
8 |
434 |
| wbenv_setup_sensors |
|
13 |
2 |
117 |
| wbenv_refresh |
|
9 |
2 |
65 |
| w83l784r_refresh_volt |
|
9 |
1 |
78 |
| w83l785r_refresh_volt |
|
9 |
1 |
78 |
| wbenv_refresh_temp |
|
9 |
2 |
64 |
| w83l784r_refresh_temp |
|
10 |
1 |
85 |
| w83l784r_refresh_fanrpm |
|
18 |
4 |
132 |
| w83l785r_refresh_fanrpm |
|
18 |
4 |
132 |
| wbenv_readreg |
|
7 |
1 |
48 |
| wbenv_writereg |
|
5 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/w83795g.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nvt_match |
|
7 |
2 |
47 |
| nvt_attach |
|
44 |
7 |
387 |
| nvt_refresh |
|
15 |
3 |
100 |
| nvt_refresh_volts |
|
21 |
6 |
188 |
| nvt_refresh_temps |
|
31 |
8 |
240 |
| nvt_refresh_fans |
|
24 |
4 |
177 |
| nvt_readreg |
|
7 |
1 |
45 |
| nvt_writereg |
|
5 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/lm75.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lmtemp_match |
|
11 |
6 |
91 |
| lmtemp_attach |
|
50 |
8 |
390 |
| lmtemp_temp_read |
|
16 |
3 |
122 |
| lmtemp_refresh_sensor_data |
|
15 |
3 |
84 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/pca9532.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcaled_match |
|
21 |
4 |
148 |
| pcaled_attach |
|
35 |
5 |
269 |
| pcaled_gpio_pin_read |
|
16 |
3 |
104 |
| pcaled_gpio_pin_write |
|
23 |
6 |
172 |
| pcaled_gpio_pin_ctl |
|
3 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/asc7611.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| andl_match |
|
7 |
2 |
43 |
| andl_attach |
|
31 |
6 |
299 |
| andl_refresh |
|
10 |
1 |
69 |
| andl_refresh_temps |
|
20 |
5 |
154 |
| andl_refresh_volts |
|
8 |
2 |
63 |
| andl_refresh_tachs |
|
17 |
4 |
132 |
| andl_readreg |
|
7 |
1 |
45 |
| andl_writereg |
|
5 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/imt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imt_match |
|
12 |
3 |
84 |
| imt_find_winptp_reports |
|
35 |
17 |
271 |
| imt_attach |
|
22 |
2 |
184 |
| imt_hidev_get_report |
|
6 |
1 |
57 |
| imt_hidev_set_report |
|
6 |
1 |
57 |
| imt_detach |
|
6 |
1 |
42 |
| imt_intr |
|
8 |
2 |
60 |
| imt_enable |
|
11 |
2 |
64 |
| imt_disable |
|
7 |
1 |
38 |
| imt_ioctl |
|
10 |
2 |
84 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/bmc150.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bgw_match |
|
14 |
9 |
120 |
| bgw_attach |
|
56 |
8 |
410 |
| bgw_refresh |
|
35 |
3 |
320 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adm1030.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| admtmp_match |
|
7 |
2 |
47 |
| admtmp_attach |
|
33 |
4 |
296 |
| admtmp_refresh |
|
26 |
5 |
228 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/i2c_scan.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iicprobeinit |
|
6 |
1 |
32 |
| iicprobenc |
|
12 |
4 |
73 |
| iicprobew |
|
12 |
4 |
74 |
| iicprobe |
|
7 |
2 |
40 |
| lm75probe |
|
94 |
53 |
800 |
| adm1032cloneprobe |
|
28 |
16 |
184 |
| iic_ignore_addr |
|
9 |
3 |
46 |
| iic_dump |
|
33 |
10 |
235 |
| iic_probe_sensor |
|
493 |
492 |
4624 |
| iic_probe_eeprom |
|
10 |
3 |
52 |
| iic_scan |
|
50 |
17 |
369 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/pcf8563.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcxrtc_match |
|
8 |
3 |
53 |
| pcxrtc_attach |
|
24 |
3 |
171 |
| pcxrtc_gettime |
|
11 |
2 |
79 |
| pcxrtc_settime |
|
9 |
2 |
60 |
| pcxrtc_setcal |
|
4 |
1 |
17 |
| pcxrtc_getcal |
|
4 |
1 |
18 |
| pcxrtc_reg_read |
|
15 |
2 |
97 |
| pcxrtc_reg_write |
|
13 |
2 |
93 |
| pcxrtc_clock_read |
|
23 |
3 |
204 |
| pcxrtc_clock_write |
|
22 |
2 |
190 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adm1026.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| admcts_match |
|
7 |
2 |
47 |
| admcts_attach |
|
97 |
8 |
1020 |
| fanval |
|
8 |
2 |
43 |
| admcts_refresh |
|
80 |
19 |
982 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/i2c_exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iic_exec |
|
45 |
17 |
329 |
| iic_smbus_write_byte |
|
6 |
1 |
45 |
| iic_smbus_read_byte |
|
6 |
1 |
48 |
| iic_smbus_receive_byte |
|
6 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/ihidev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ihidev_match |
|
7 |
2 |
47 |
| ihidev_attach |
|
86 |
19 |
666 |
| ihidev_detach |
|
15 |
4 |
102 |
| ihidev_sleep |
|
11 |
3 |
57 |
| ihidev_hid_command |
|
177 |
18 |
1356 |
| ihidev_reset |
|
17 |
3 |
110 |
| ihidev_hid_desc_parse |
|
41 |
8 |
247 |
| ihidev_intr |
|
70 |
23 |
486 |
| ihidev_maxrepid |
|
13 |
3 |
80 |
| ihidev_print |
|
9 |
4 |
59 |
| ihidev_submatch |
|
9 |
3 |
71 |
| ihidev_open |
|
19 |
7 |
144 |
| ihidev_close |
|
15 |
5 |
106 |
| ihidev_ioctl |
|
5 |
1 |
27 |
| ihidev_get_report_desc |
|
5 |
1 |
31 |
| ihidev_report_type_conv |
|
13 |
4 |
37 |
| ihidev_get_report |
|
17 |
3 |
116 |
| ihidev_set_report |
|
17 |
3 |
116 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/i2cvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adm1025.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| admtm_match |
|
9 |
4 |
69 |
| admtm_attach |
|
77 |
7 |
738 |
| admtm_refresh |
|
63 |
15 |
667 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/thmc50.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| thmc_match |
|
9 |
4 |
69 |
| thmc_attach |
|
34 |
4 |
302 |
| thmc_refresh |
|
31 |
5 |
279 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/gl518sm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| glenv_match |
|
7 |
2 |
47 |
| glenv_attach |
|
60 |
9 |
496 |
| glenv_refresh |
|
44 |
6 |
368 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/spdmem_i2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spdmem_iic_match |
|
13 |
3 |
97 |
| spdmem_iic_attach |
|
10 |
1 |
74 |
| spdmem_iic_read |
|
10 |
1 |
77 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adt7462.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adtfsm_match |
|
7 |
2 |
47 |
| adtfsm_attach |
|
31 |
6 |
283 |
| adtfsm_refresh |
|
47 |
9 |
377 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/ikbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ikbd_match |
|
11 |
2 |
80 |
| ikbd_attach |
|
20 |
2 |
199 |
| ikbd_detach |
|
6 |
1 |
42 |
| ikbd_intr |
|
7 |
2 |
59 |
| ikbd_enable |
|
14 |
3 |
78 |
| ikbd_set_leds |
|
3 |
1 |
11 |
| ikbd_ioctl |
|
17 |
3 |
108 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/rs5c372.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ricohrtc_match |
|
49 |
11 |
346 |
| ricohrtc_attach |
|
21 |
2 |
145 |
| ricohrtc_gettime |
|
11 |
2 |
79 |
| ricohrtc_settime |
|
9 |
2 |
60 |
| ricohrtc_setcal |
|
4 |
1 |
17 |
| ricohrtc_getcal |
|
4 |
1 |
18 |
| ricohrtc_reg_write |
|
15 |
2 |
104 |
| ricohrtc_clock_read |
|
22 |
2 |
193 |
| ricohrtc_clock_write |
|
23 |
2 |
195 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/w83793g.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wbng_match |
|
7 |
2 |
43 |
| wbng_attach |
|
28 |
6 |
266 |
| wbng_refresh |
|
15 |
3 |
100 |
| wbng_refresh_volts |
|
26 |
1 |
341 |
| wbng_refresh_temps |
|
33 |
9 |
253 |
| wbng_refresh_fans |
|
17 |
5 |
139 |
| wbng_readreg |
|
7 |
1 |
45 |
| wbng_writereg |
|
5 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adm1024.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| admlc_match |
|
7 |
2 |
47 |
| admlc_attach |
|
72 |
7 |
683 |
| fanval |
|
8 |
2 |
43 |
| admlc_refresh |
|
56 |
13 |
611 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/i2c_io.h |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/asc7621.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adl_match |
|
7 |
2 |
47 |
| adl_attach |
|
41 |
9 |
347 |
| adl_refresh |
|
44 |
9 |
380 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/ds1307.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| maxrtc_match |
|
7 |
2 |
47 |
| maxrtc_attach |
|
22 |
4 |
151 |
| maxrtc_read |
|
11 |
2 |
89 |
| maxrtc_write |
|
10 |
2 |
82 |
| maxrtc_enable_osc |
|
25 |
4 |
157 |
| maxrtc_set_24h_mode |
|
23 |
4 |
147 |
| maxrtc_gettime |
|
23 |
2 |
214 |
| maxrtc_settime |
|
20 |
2 |
174 |
| maxrtc_getcal |
|
4 |
1 |
18 |
| maxrtc_setcal |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/tsl2560.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tsl_match |
|
7 |
2 |
47 |
| tsl_attach |
|
53 |
7 |
370 |
| tsl_refresh |
|
26 |
3 |
205 |
| tsl_lux |
|
29 |
10 |
203 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adm1031.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| admtt_match |
|
7 |
2 |
47 |
| admtt_attach |
|
37 |
4 |
344 |
| admtt_refresh |
|
41 |
8 |
368 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/ad741x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adc_match |
|
8 |
3 |
58 |
| adc_attach |
|
65 |
16 |
530 |
| adc_refresh |
|
48 |
10 |
410 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/i2c_bitbang.h |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/lm87.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lmenv_match |
|
11 |
6 |
91 |
| lmenv_attach |
|
112 |
16 |
991 |
| lmenv_refresh |
|
75 |
19 |
463 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/i2c_bitbang.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i2c_wait_for_scl |
|
13 |
4 |
69 |
| i2c_bitbang_send_start |
|
13 |
2 |
72 |
| i2c_bitbang_send_stop |
|
8 |
1 |
41 |
| i2c_bitbang_initiate_xfer |
|
10 |
3 |
84 |
| i2c_bitbang_read_byte |
|
37 |
7 |
227 |
| i2c_bitbang_write_byte |
|
32 |
7 |
196 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/pcf8523.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcfrtc_match |
|
8 |
3 |
53 |
| pcfrtc_attach |
|
33 |
4 |
227 |
| pcfrtc_gettime |
|
11 |
2 |
79 |
| pcfrtc_settime |
|
9 |
2 |
60 |
| pcfrtc_setcal |
|
4 |
1 |
17 |
| pcfrtc_getcal |
|
4 |
1 |
18 |
| pcfrtc_reg_read |
|
17 |
3 |
120 |
| pcfrtc_reg_write |
|
13 |
2 |
93 |
| pcfrtc_clock_read |
|
25 |
4 |
225 |
| pcfrtc_clock_write |
|
22 |
2 |
188 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/ims.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ims_match |
|
17 |
4 |
129 |
| ims_attach |
|
19 |
2 |
190 |
| ims_detach |
|
6 |
1 |
42 |
| ims_intr |
|
7 |
2 |
59 |
| ims_enable |
|
9 |
2 |
53 |
| ims_disable |
|
7 |
1 |
38 |
| ims_ioctl |
|
19 |
5 |
122 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/adm1021.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| admtemp_match |
|
15 |
10 |
135 |
| admtemp_attach |
|
69 |
15 |
543 |
| admtemp_refresh |
|
33 |
6 |
231 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/lm93.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lmn_match |
|
7 |
2 |
47 |
| lmn_attach |
|
28 |
5 |
239 |
| lmn_refresh |
|
40 |
9 |
326 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/fcu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fcu_match |
|
7 |
2 |
47 |
| fcu_attach |
|
25 |
5 |
226 |
| fcu_refresh |
|
57 |
13 |
507 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/maxim6690.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| maxtmp_match |
|
18 |
13 |
168 |
| maxtmp_attach |
|
41 |
8 |
366 |
| maxtmp_readport |
|
19 |
5 |
157 |
| maxtmp_refresh |
|
8 |
1 |
55 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/fintek.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fintek_match |
|
7 |
2 |
47 |
| fintek_read_reg |
|
6 |
1 |
45 |
| fintek_write_reg |
|
6 |
1 |
45 |
| fintek_attach |
|
42 |
5 |
356 |
| fintek_refresh |
|
47 |
16 |
302 |
| fintek_fullspeed |
|
11 |
1 |
80 |
| Source file: /home/sergeyb/sources/src/sys/dev/i2c/lm78_i2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lm_i2c_match |
|
18 |
10 |
146 |
| lm_i2c_attach |
|
19 |
1 |
168 |
| lm_i2c_readreg |
|
11 |
1 |
81 |
| lm_i2c_writereg |
|
11 |
1 |
85 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_allocate_bus_bandwidth |
|
4 |
1 |
17 |
| dwc2_free_bus_bandwidth |
|
4 |
1 |
17 |
| dwc2_allocm |
|
10 |
2 |
76 |
| dwc2_freem |
|
10 |
2 |
65 |
| dwc2_setaddr |
|
10 |
3 |
58 |
| dwc2_allocx |
|
15 |
3 |
102 |
| dwc2_freex |
|
13 |
3 |
98 |
| dwc2_get_lock |
|
5 |
1 |
32 |
| dwc2_rhc |
|
16 |
2 |
83 |
| dwc2_softintr |
|
21 |
3 |
153 |
| dwc2_timeout |
|
13 |
2 |
73 |
| dwc2_timeout_task |
|
9 |
1 |
43 |
| dwc2_open |
|
54 |
11 |
273 |
| dwc2_poll |
|
8 |
1 |
49 |
| dwc2_close_pipe |
|
3 |
1 |
9 |
| dwc2_abort_xfer |
|
51 |
8 |
323 |
| dwc2_noop |
|
3 |
1 |
9 |
| dwc2_device_clear_toggle |
|
4 |
1 |
20 |
| dwc2_root_ctrl_transfer |
|
8 |
2 |
40 |
| dwc2_root_ctrl_start |
|
122 |
34 |
697 |
| dwc2_root_ctrl_abort |
|
4 |
1 |
16 |
| dwc2_root_ctrl_close |
|
4 |
1 |
16 |
| dwc2_root_ctrl_done |
|
4 |
1 |
16 |
| dwc2_root_intr_transfer |
|
9 |
2 |
45 |
| dwc2_root_intr_start |
|
10 |
2 |
51 |
| dwc2_root_intr_abort |
|
9 |
1 |
54 |
| dwc2_root_intr_close |
|
6 |
1 |
30 |
| dwc2_root_intr_done |
|
4 |
1 |
14 |
| dwc2_device_ctrl_transfer |
|
9 |
2 |
45 |
| dwc2_device_ctrl_start |
|
8 |
1 |
33 |
| dwc2_device_ctrl_abort |
|
5 |
1 |
23 |
| dwc2_device_ctrl_close |
|
5 |
1 |
21 |
| dwc2_device_ctrl_done |
|
4 |
1 |
16 |
| dwc2_device_bulk_transfer |
|
9 |
2 |
47 |
| dwc2_device_bulk_start |
|
8 |
1 |
35 |
| dwc2_device_bulk_abort |
|
5 |
1 |
23 |
| dwc2_device_bulk_close |
|
5 |
1 |
21 |
| dwc2_device_bulk_done |
|
4 |
1 |
16 |
| dwc2_device_intr_transfer |
|
9 |
2 |
47 |
| dwc2_device_intr_start |
|
7 |
1 |
28 |
| dwc2_device_intr_abort |
|
6 |
1 |
34 |
| dwc2_device_intr_close |
|
5 |
1 |
21 |
| dwc2_device_intr_done |
|
8 |
2 |
35 |
| dwc2_device_isoc_transfer |
|
9 |
2 |
47 |
| dwc2_device_isoc_start |
|
11 |
2 |
61 |
| dwc2_device_isoc_abort |
|
5 |
1 |
23 |
| dwc2_device_isoc_close |
|
5 |
1 |
19 |
| dwc2_device_isoc_done |
|
4 |
1 |
14 |
| dwc2_device_start |
|
148 |
36 |
1030 |
| dwc2_worker |
|
24 |
7 |
179 |
| dwc2_intr |
|
19 |
3 |
98 |
| dwc2_interrupt |
|
9 |
2 |
43 |
| dwc2_detach |
|
7 |
2 |
39 |
| dwc2_init |
|
33 |
3 |
266 |
| dwc2_dma_config |
|
5 |
1 |
32 |
| dw_timeout |
|
6 |
1 |
43 |
| dwc2_host_hub_info |
|
11 |
2 |
79 |
| dwc2_host_get_speed |
|
7 |
1 |
46 |
| dwc2_host_complete |
|
86 |
20 |
504 |
| _dwc2_hcd_start |
|
11 |
1 |
58 |
| dwc2_host_is_b_hnp_enabled |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udelay |
|
4 |
1 |
13 |
| INIT_DELAYED_WORK |
|
6 |
1 |
47 |
| queue_delayed_work |
|
5 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_hcdddma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_frame_list_idx |
|
4 |
1 |
16 |
| dwc2_desclist_idx_inc |
|
6 |
2 |
34 |
| dwc2_desclist_idx_dec |
|
6 |
2 |
34 |
| dwc2_max_desc_num |
|
6 |
3 |
28 |
| dwc2_frame_incr_val |
|
5 |
2 |
32 |
| dwc2_desc_list_alloc |
|
20 |
3 |
148 |
| dwc2_desc_list_free |
|
9 |
2 |
68 |
| dwc2_frame_list_alloc |
|
17 |
4 |
115 |
| dwc2_frame_list_free |
|
14 |
2 |
83 |
| dwc2_per_sched_enable |
|
17 |
2 |
107 |
| dwc2_per_sched_disable |
|
15 |
2 |
90 |
| dwc2_update_frame_list |
|
46 |
11 |
277 |
| dwc2_release_channel_ddma |
|
26 |
6 |
157 |
| dwc2_hcd_qh_init_ddma |
|
29 |
7 |
134 |
| dwc2_hcd_qh_free_ddma |
|
13 |
7 |
81 |
| dwc2_frame_to_desc_idx |
|
7 |
2 |
47 |
| dwc2_calc_starting_frame |
|
22 |
3 |
123 |
| dwc2_recalc_initial_desc_idx |
|
19 |
2 |
124 |
| dwc2_fill_host_isoc_dma_desc |
|
21 |
4 |
165 |
| dwc2_init_isoc_dma_desc |
|
46 |
13 |
331 |
| dwc2_fill_host_dma_desc |
|
31 |
8 |
205 |
| dwc2_init_non_isoc_dma_desc |
|
57 |
9 |
391 |
| dwc2_hcd_start_xfer_ddma |
|
29 |
7 |
154 |
| dwc2_cmpl_host_isoc_dma_desc |
|
36 |
7 |
253 |
| dwc2_complete_isoc_xfer_ddma |
|
52 |
12 |
287 |
| dwc2_update_non_isoc_urb_state_ddma |
|
67 |
15 |
362 |
| dwc2_process_non_isoc_desc |
|
56 |
11 |
309 |
| dwc2_complete_non_isoc_xfer_ddma |
|
39 |
9 |
209 |
| dwc2_hcd_complete_xfer_ddma |
|
40 |
11 |
233 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_hcd.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_hsotg_to_hcd |
|
4 |
1 |
19 |
| disable_hc_int |
|
6 |
1 |
44 |
| dwc2_is_host_mode |
|
4 |
1 |
23 |
| dwc2_is_device_mode |
|
4 |
1 |
23 |
| dwc2_read_hprt0 |
|
6 |
1 |
34 |
| dwc2_hcd_get_ep_num |
|
4 |
1 |
14 |
| dwc2_hcd_get_pipe_type |
|
4 |
1 |
14 |
| dwc2_hcd_get_mps |
|
4 |
1 |
14 |
| dwc2_hcd_get_dev_addr |
|
4 |
1 |
14 |
| dwc2_hcd_is_pipe_isoc |
|
4 |
1 |
16 |
| dwc2_hcd_is_pipe_int |
|
4 |
1 |
16 |
| dwc2_hcd_is_pipe_bulk |
|
4 |
1 |
16 |
| dwc2_hcd_is_pipe_control |
|
4 |
1 |
16 |
| dwc2_hcd_is_pipe_in |
|
4 |
1 |
16 |
| dwc2_hcd_is_pipe_out |
|
4 |
1 |
16 |
| dbg_hc |
|
1 |
1 |
12 |
| dbg_qh |
|
1 |
1 |
12 |
| dbg_perio |
|
1 |
1 |
9 |
| dbg_hc |
|
5 |
2 |
22 |
| dbg_qh |
|
5 |
2 |
22 |
| dbg_perio |
|
1 |
1 |
9 |
| dwc2_frame_num_le |
|
4 |
1 |
28 |
| dwc2_frame_num_gt |
|
5 |
2 |
34 |
| dwc2_frame_num_inc |
|
4 |
1 |
19 |
| dwc2_full_frame_num |
|
4 |
1 |
17 |
| dwc2_micro_frame_num |
|
4 |
1 |
12 |
| dwc2_read_core_intr |
|
4 |
1 |
24 |
| dwc2_hcd_urb_get_status |
|
4 |
1 |
14 |
| dwc2_hcd_urb_get_actual_length |
|
5 |
1 |
14 |
| dwc2_hcd_urb_get_error_count |
|
4 |
1 |
14 |
| dwc2_hcd_urb_set_iso_desc_params |
|
7 |
1 |
40 |
| dwc2_hcd_urb_get_iso_desc_status |
|
5 |
1 |
22 |
| dwc2_hcd_urb_get_iso_desc_actual_length |
|
5 |
1 |
22 |
| dwc2_hcd_is_bandwidth_allocated |
|
9 |
3 |
47 |
| dwc2_hcd_get_ep_bandwidth |
|
10 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_hcdintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_track_missed_sofs |
|
25 |
6 |
154 |
| dwc2_hc_handle_tt_clear |
|
15 |
6 |
87 |
| dwc2_sof_intr |
|
21 |
5 |
143 |
| dwc2_rx_fifo_level_intr |
|
41 |
9 |
238 |
| dwc2_np_tx_fifo_empty_intr |
|
5 |
1 |
25 |
| dwc2_perio_tx_fifo_empty_intr |
|
6 |
2 |
31 |
| dwc2_hprt0_enable |
|
71 |
11 |
383 |
| dwc2_port_intr |
|
40 |
8 |
225 |
| dwc2_get_actual_xfer_length |
|
26 |
5 |
156 |
| dwc2_update_urb_state |
|
44 |
13 |
358 |
| dwc2_hcd_save_data_toggle |
|
18 |
4 |
102 |
| dwc2_update_isoc_urb_state |
|
77 |
18 |
441 |
| dwc2_deactivate_qh |
|
28 |
8 |
164 |
| dwc2_release_channel |
|
65 |
17 |
317 |
| dwc2_halt_channel |
|
32 |
7 |
220 |
| dwc2_complete_non_periodic_xfer |
|
17 |
3 |
103 |
| dwc2_complete_periodic_xfer |
|
12 |
3 |
83 |
| dwc2_xfercomp_isoc_split_in |
|
43 |
6 |
273 |
| dwc2_hc_xfercomp_intr |
|
109 |
25 |
577 |
| dwc2_hc_stall_intr |
|
28 |
6 |
159 |
| dwc2_update_urb_state_abn |
|
34 |
6 |
276 |
| dwc2_hc_nak_intr |
|
48 |
14 |
278 |
| dwc2_hc_ack_intr |
|
47 |
13 |
238 |
| dwc2_hc_nyet_intr |
|
48 |
13 |
291 |
| dwc2_hc_babble_intr |
|
23 |
3 |
134 |
| dwc2_hc_ahberr_intr |
|
74 |
12 |
457 |
| dwc2_hc_xacterr_intr |
|
42 |
11 |
242 |
| dwc2_hc_frmovrun_intr |
|
24 |
6 |
131 |
| dwc2_hc_datatglerr_intr |
|
14 |
2 |
66 |
| dwc2_halt_status_ok |
|
41 |
5 |
226 |
| dwc2_hc_chhltd_intr_dma |
|
99 |
33 |
661 |
| dwc2_hc_chhltd_intr |
|
15 |
4 |
95 |
| dwc2_check_qtd_still_ok |
|
6 |
2 |
35 |
| dwc2_hc_n_intr |
|
106 |
30 |
681 |
| dwc2_hc_intr |
|
14 |
4 |
91 |
| dwc2_handle_hcd_intr |
|
47 |
13 |
226 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_hcd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_dump_channel_info |
|
45 |
3 |
397 |
| dwc2_kill_urbs_in_qh_list |
|
12 |
1 |
76 |
| dwc2_qh_list_free |
|
22 |
2 |
142 |
| dwc2_kill_all_urbs |
|
9 |
1 |
69 |
| dwc2_hcd_start |
|
11 |
2 |
59 |
| dwc2_hcd_cleanup_channels |
|
34 |
8 |
220 |
| dwc2_hcd_disconnect |
|
23 |
4 |
148 |
| dwc2_hcd_rem_wakeup |
|
8 |
2 |
45 |
| dwc2_hcd_stop |
|
7 |
1 |
41 |
| dwc2_hcd_urb_enqueue |
|
48 |
12 |
305 |
| dwc2_hcd_urb_dequeue |
|
36 |
10 |
208 |
| dwc2_hcd_reinit |
|
27 |
3 |
164 |
| dwc2_hc_init_split |
|
12 |
1 |
84 |
| dwc2_hc_init_xfer_data |
|
14 |
4 |
104 |
| dwc2_hc_init_xfer |
|
82 |
18 |
484 |
| dwc2_hc_setup_align_buf |
|
32 |
7 |
205 |
| dwc2_assign_and_init_hc |
|
76 |
13 |
533 |
| dwc2_hcd_select_transactions |
|
61 |
18 |
357 |
| dwc2_queue_transaction |
|
44 |
15 |
263 |
| dwc2_process_periodic_channels |
|
85 |
18 |
479 |
| dwc2_process_non_periodic_channels |
|
75 |
15 |
423 |
| dwc2_hcd_queue_transactions |
|
19 |
8 |
104 |
| dwc2_conn_id_status_change |
|
46 |
10 |
259 |
| dwc2_wakeup_detected |
|
14 |
1 |
92 |
| dwc2_port_suspend |
|
32 |
4 |
203 |
| dwc2_hcd_hub_control |
|
234 |
50 |
1220 |
| dwc2_hcd_get_frame_number |
|
7 |
2 |
47 |
| dwc2_hcd_is_b_host |
|
4 |
1 |
16 |
| dwc2_hcd_urb_alloc |
|
11 |
2 |
63 |
| dwc2_hcd_urb_free |
|
7 |
1 |
43 |
| dwc2_hcd_urb_set_pipeinfo |
|
14 |
4 |
98 |
| dwc2_hcd_dump_state |
|
114 |
9 |
847 |
| dwc2_hcd_dump_frrem |
|
62 |
12 |
460 |
| dwc2_host_start |
|
4 |
1 |
14 |
| dwc2_host_disconnect |
|
3 |
1 |
9 |
| dwc2_hcd_start_func |
|
6 |
1 |
33 |
| dwc2_hcd_reset_func |
|
11 |
1 |
64 |
| dwc2_hcd_free |
|
47 |
7 |
329 |
| dwc2_hcd_release |
|
5 |
1 |
19 |
| dwc2_set_all_params |
|
8 |
2 |
60 |
| dwc2_hcd_init |
|
96 |
15 |
684 |
| dwc2_hcd_dma_config |
|
6 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_hw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_coreintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_op_state_str |
|
17 |
6 |
52 |
| dwc2_handle_usb_port_intr |
|
9 |
2 |
49 |
| dwc2_handle_mode_mismatch_intr |
|
6 |
2 |
36 |
| dwc2_handle_otg_intr |
|
96 |
17 |
560 |
| dwc2_handle_conn_id_status_change_intr |
|
13 |
2 |
99 |
| dwc2_handle_session_req_intr |
|
5 |
1 |
27 |
| dwc2_handle_wakeup_detected_intr |
|
25 |
4 |
168 |
| dwc2_handle_disconnect_intr |
|
8 |
2 |
47 |
| dwc2_handle_usb_suspend_intr |
|
23 |
4 |
137 |
| dwc2_read_common_intr |
|
17 |
3 |
86 |
| dwc2_handle_common_intr |
|
38 |
12 |
187 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_core.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_enable_common_interrupts |
|
12 |
2 |
69 |
| dwc2_init_fs_ls_pclk_sel |
|
17 |
5 |
103 |
| dwc2_core_reset |
|
31 |
5 |
162 |
| dwc2_fs_phy_init |
|
33 |
5 |
190 |
| dwc2_hs_phy_init |
|
34 |
7 |
175 |
| dwc2_phy_init |
|
30 |
8 |
170 |
| dwc2_gahbcfg_init |
|
42 |
9 |
235 |
| dwc2_gusbcfg_init |
|
29 |
11 |
119 |
| dwc2_core_init |
|
44 |
8 |
256 |
| dwc2_enable_host_interrupts |
|
11 |
1 |
72 |
| dwc2_disable_host_interrupts |
|
7 |
1 |
42 |
| dwc2_config_fifos |
|
44 |
4 |
291 |
| dwc2_core_host_init |
|
86 |
16 |
547 |
| dwc2_hc_enable_slave_ints |
|
69 |
18 |
310 |
| dwc2_hc_enable_dma_ints |
|
29 |
12 |
177 |
| dwc2_hc_enable_ints |
|
24 |
6 |
163 |
| dwc2_hc_init |
|
72 |
10 |
459 |
| dwc2_hc_halt |
|
88 |
24 |
568 |
| dwc2_hc_cleanup |
|
9 |
1 |
59 |
| dwc2_hc_set_even_odd_frame |
|
9 |
4 |
51 |
| dwc2_set_pid_isoc |
|
20 |
6 |
96 |
| dwc2_hc_write_packet |
|
31 |
6 |
223 |
| dwc2_hc_start_transfer |
|
143 |
38 |
916 |
| dwc2_hc_start_transfer_ddma |
|
49 |
8 |
334 |
| dwc2_hc_continue_transfer |
|
35 |
9 |
208 |
| dwc2_hc_do_ping |
|
15 |
2 |
103 |
| dwc2_calc_frame_interval |
|
33 |
24 |
258 |
| dwc2_read_packet |
|
10 |
2 |
91 |
| dwc2_dump_host_registers |
|
58 |
5 |
489 |
| dwc2_dump_global_registers |
|
80 |
2 |
671 |
| dwc2_flush_tx_fifo |
|
21 |
3 |
114 |
| dwc2_flush_rx_fifo |
|
18 |
3 |
94 |
| dwc2_set_param_otg_cap |
|
48 |
15 |
177 |
| dwc2_set_param_dma_enable |
|
17 |
6 |
98 |
| dwc2_set_param_dma_desc_enable |
|
19 |
8 |
115 |
| dwc2_set_param_host_support_fs_ls_low_power |
|
16 |
3 |
74 |
| dwc2_set_param_enable_dynamic_fifo |
|
17 |
6 |
95 |
| dwc2_set_param_host_rx_fifo_size |
|
15 |
5 |
86 |
| dwc2_set_param_host_nperio_tx_fifo_size |
|
16 |
5 |
86 |
| dwc2_set_param_host_perio_tx_fifo_size |
|
16 |
5 |
86 |
| dwc2_set_param_max_transfer_size |
|
15 |
5 |
86 |
| dwc2_set_param_max_packet_count |
|
15 |
5 |
86 |
| dwc2_set_param_host_channels |
|
15 |
5 |
86 |
| dwc2_set_param_phy_type |
|
42 |
16 |
211 |
| dwc2_get_param_phy_type |
|
4 |
1 |
16 |
| dwc2_set_param_speed |
|
24 |
8 |
133 |
| dwc2_set_param_host_ls_low_power_phy_clk |
|
29 |
8 |
133 |
| dwc2_set_param_phy_ulpi_ddr |
|
12 |
3 |
74 |
| dwc2_set_param_phy_ulpi_ext_vbus |
|
14 |
3 |
74 |
| dwc2_set_param_phy_utmi_width |
|
26 |
8 |
131 |
| dwc2_set_param_ulpi_fs_ls |
|
12 |
3 |
74 |
| dwc2_set_param_ts_dline |
|
12 |
3 |
74 |
| dwc2_set_param_i2c_enable |
|
22 |
7 |
130 |
| dwc2_set_param_en_multiple_tx_fifo |
|
24 |
7 |
128 |
| dwc2_set_param_reload_ctl |
|
23 |
7 |
133 |
| dwc2_set_param_ahbcfg |
|
8 |
2 |
39 |
| dwc2_set_param_otg_ver |
|
14 |
3 |
76 |
| dwc2_set_param_uframe_sched |
|
14 |
3 |
76 |
| dwc2_set_parameters |
|
40 |
1 |
251 |
| dwc2_get_hwparams |
|
130 |
3 |
959 |
| dwc2_get_otg_version |
|
4 |
2 |
22 |
| dwc2_is_controller_alive |
|
7 |
2 |
27 |
| dwc2_enable_global_interrupts |
|
6 |
1 |
32 |
| dwc2_disable_global_interrupts |
|
6 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_hcdqueue.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_qh_init |
|
96 |
24 |
582 |
| dwc2_hcd_qh_create |
|
20 |
5 |
119 |
| dwc2_hcd_qh_free |
|
10 |
3 |
76 |
| dwc2_periodic_channel_available |
|
18 |
3 |
82 |
| dwc2_check_periodic_bandwidth |
|
19 |
4 |
94 |
| dwc2_hcd_init_usecs |
|
6 |
2 |
37 |
| dwc2_find_single_uframe |
|
13 |
3 |
78 |
| dwc2_find_multi_uframe |
|
43 |
11 |
255 |
| dwc2_find_uframe |
|
10 |
2 |
51 |
| dwc2_check_max_xfer_size |
|
16 |
2 |
80 |
| dwc2_schedule_periodic |
|
49 |
11 |
256 |
| dwc2_deschedule_periodic |
|
15 |
3 |
89 |
| dwc2_hcd_qh_add |
|
25 |
6 |
136 |
| dwc2_hcd_qh_unlink |
|
30 |
7 |
176 |
| dwc2_sched_periodic_split |
|
24 |
6 |
135 |
| dwc2_hcd_qh_deactivate |
|
36 |
11 |
234 |
| dwc2_hcd_qtd_init |
|
14 |
2 |
76 |
| dwc2_hcd_qtd_add |
|
30 |
5 |
185 |
| dwc2_hcd_qtd_unlink_and_free |
|
8 |
1 |
50 |
| dwc2_calc_bus_time |
|
54 |
8 |
282 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2_core.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/dwc2/dwc2var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwc2_root_intr |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ubcmtp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ubcmtp_match |
|
19 |
8 |
139 |
| ubcmtp_attach |
|
61 |
14 |
384 |
| ubcmtp_detach |
|
8 |
2 |
53 |
| ubcmtp_activate |
|
11 |
3 |
66 |
| ubcmtp_configure |
|
14 |
2 |
118 |
| ubcmtp_enable |
|
17 |
5 |
99 |
| ubcmtp_disable |
|
26 |
7 |
166 |
| ubcmtp_ioctl |
|
37 |
7 |
238 |
| ubcmtp_raw_mode |
|
49 |
9 |
331 |
| ubcmtp_setup_pipes |
|
75 |
14 |
496 |
| ubcmtp_tp_intr |
|
47 |
17 |
436 |
| ubcmtp_bt_intr |
|
28 |
10 |
211 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uoaklux.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uoaklux_match |
|
9 |
3 |
64 |
| uoaklux_attach |
|
56 |
5 |
437 |
| uoaklux_detach |
|
18 |
4 |
134 |
| uoaklux_intr |
|
12 |
2 |
122 |
| uoaklux_refresh |
|
13 |
3 |
94 |
| uoaklux_get_sensor_setting |
|
15 |
2 |
123 |
| uoaklux_dev_setting |
|
5 |
1 |
34 |
| uoaklux_dev_print |
|
20 |
5 |
95 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_ral.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ural_match |
|
8 |
4 |
63 |
| ural_attach |
|
90 |
12 |
664 |
| ural_detach |
|
33 |
7 |
209 |
| ural_alloc_tx_list |
|
27 |
4 |
153 |
| ural_free_tx_list |
|
12 |
3 |
69 |
| ural_alloc_rx_list |
|
39 |
6 |
228 |
| ural_free_rx_list |
|
15 |
4 |
86 |
| ural_media_change |
|
10 |
3 |
56 |
| ural_next_scan |
|
12 |
3 |
73 |
| ural_task |
|
64 |
17 |
377 |
| ural_newstate |
|
11 |
1 |
82 |
| ural_txeof |
|
27 |
5 |
170 |
| ural_rxeof |
|
84 |
11 |
607 |
| ural_rxrate |
|
25 |
14 |
129 |
| ural_ack_rate |
|
23 |
14 |
82 |
| ural_txtime |
|
15 |
4 |
100 |
| ural_plcp_signal |
|
18 |
13 |
90 |
| ural_setup_tx_desc |
|
35 |
7 |
242 |
| ural_tx_bcn |
|
37 |
4 |
259 |
| ural_tx_data |
|
133 |
27 |
1027 |
| ural_start |
|
44 |
18 |
284 |
| ural_watchdog |
|
14 |
3 |
74 |
| ural_ioctl |
|
46 |
13 |
261 |
| ural_eeprom_read |
|
15 |
2 |
102 |
| ural_read |
|
18 |
2 |
111 |
| ural_read_multi |
|
15 |
2 |
102 |
| ural_write |
|
15 |
2 |
98 |
| ural_write_multi |
|
15 |
2 |
102 |
| ural_bbp_write |
|
15 |
4 |
91 |
| ural_bbp_read |
|
16 |
4 |
99 |
| ural_rf_write |
|
18 |
4 |
143 |
| ural_set_chan |
|
65 |
19 |
577 |
| ural_disable_rf_tune |
|
11 |
2 |
71 |
| ural_enable_tsf_sync |
|
25 |
3 |
153 |
| ural_update_slot |
|
17 |
3 |
100 |
| ural_set_txpreamble |
|
9 |
2 |
48 |
| ural_set_basicrates |
|
9 |
2 |
50 |
| ural_set_bssid |
|
11 |
1 |
105 |
| ural_set_macaddr |
|
12 |
1 |
105 |
| ural_update_promisc |
|
12 |
3 |
80 |
| ural_get_rf |
|
13 |
8 |
60 |
| ural_read_eeprom |
|
18 |
1 |
176 |
| ural_bbp_init |
|
21 |
8 |
160 |
| ural_set_txantenna |
|
20 |
6 |
140 |
| ural_set_rxantenna |
|
14 |
5 |
79 |
| ural_init |
|
103 |
19 |
709 |
| ural_stop |
|
29 |
4 |
189 |
| ural_newassoc |
|
4 |
1 |
23 |
| ural_amrr_start |
|
12 |
4 |
107 |
| ural_amrr_timeout |
|
21 |
2 |
140 |
| ural_amrr_update |
|
22 |
3 |
173 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umcs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umcs_reg_sp |
|
11 |
6 |
50 |
| umcs_reg_ctrl |
|
11 |
6 |
50 |
| umcs_match |
|
8 |
4 |
65 |
| umcs_attach |
|
100 |
23 |
710 |
| umcs_get_reg |
|
12 |
2 |
82 |
| umcs_set_reg |
|
12 |
2 |
81 |
| umcs_get_uart_reg |
|
15 |
2 |
111 |
| umcs_set_uart_reg |
|
15 |
2 |
112 |
| umcs_set_baudrate |
|
29 |
8 |
239 |
| umcs_calc_baudrate |
|
15 |
5 |
108 |
| umcs_detach |
|
15 |
3 |
103 |
| umcs_get_status |
|
13 |
4 |
85 |
| umcs_set |
|
19 |
5 |
87 |
| umcs_param |
|
53 |
12 |
275 |
| umcs_dtr |
|
11 |
3 |
66 |
| umcs_rts |
|
11 |
3 |
66 |
| umcs_break |
|
11 |
3 |
66 |
| umcs_open |
|
64 |
24 |
507 |
| umcs_close |
|
14 |
4 |
99 |
| umcs_intr |
|
40 |
13 |
246 |
| umcs_status_task |
|
11 |
3 |
77 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_run.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_match |
|
8 |
4 |
63 |
| run_attach |
|
112 |
21 |
824 |
| run_detach |
|
24 |
5 |
169 |
| run_alloc_rx_ring |
|
25 |
6 |
161 |
| run_free_rx_ring |
|
15 |
4 |
103 |
| run_alloc_tx_ring |
|
32 |
7 |
228 |
| run_free_tx_ring |
|
15 |
4 |
109 |
| run_load_microcode |
|
57 |
12 |
370 |
| run_reset |
|
10 |
1 |
64 |
| run_read |
|
11 |
2 |
64 |
| run_read_region_1 |
|
10 |
1 |
74 |
| run_write_2 |
|
10 |
1 |
70 |
| run_write |
|
7 |
2 |
56 |
| run_write_region_1 |
|
16 |
4 |
140 |
| run_set_region_4 |
|
7 |
3 |
55 |
| run_efuse_read |
|
30 |
9 |
224 |
| run_efuse_read_2 |
|
30 |
9 |
215 |
| run_eeprom_read_2 |
|
18 |
2 |
107 |
| run_srom_read |
|
4 |
1 |
28 |
| run_rt2870_rf_write |
|
16 |
5 |
113 |
| run_rt3070_rf_read |
|
26 |
10 |
175 |
| run_rt3070_rf_write |
|
15 |
5 |
102 |
| run_bbp_read |
|
26 |
10 |
177 |
| run_bbp_write |
|
15 |
5 |
100 |
| run_mcu_cmd |
|
17 |
6 |
121 |
| b4inc |
|
14 |
4 |
76 |
| run_get_rf |
|
19 |
14 |
94 |
| run_rt3593_get_txpower |
|
47 |
12 |
488 |
| run_get_txpower |
|
53 |
22 |
585 |
| run_read_eeprom |
|
201 |
53 |
1788 |
| run_node_alloc |
|
4 |
1 |
25 |
| run_media_change |
|
24 |
6 |
152 |
| run_next_scan |
|
10 |
3 |
60 |
| run_task |
|
19 |
3 |
120 |
| run_do_async |
|
18 |
3 |
146 |
| run_newstate |
|
9 |
1 |
57 |
| run_newstate_cb |
|
63 |
14 |
384 |
| run_updateedca |
|
4 |
1 |
22 |
| run_updateedca_cb |
|
35 |
2 |
321 |
| run_set_key |
|
13 |
3 |
96 |
| run_set_key_cb |
|
72 |
13 |
543 |
| run_delete_key |
|
12 |
4 |
89 |
| run_delete_key_cb |
|
17 |
2 |
121 |
| run_calibrate_to |
|
4 |
1 |
19 |
| run_calibrate_cb |
|
26 |
3 |
222 |
| run_newassoc |
|
32 |
8 |
276 |
| run_maxrssi_chain |
|
12 |
5 |
81 |
| run_rx_frame |
|
123 |
30 |
862 |
| run_rxeof |
|
48 |
11 |
329 |
| run_txeof |
|
23 |
3 |
155 |
| run_tx |
|
104 |
22 |
827 |
| run_start |
|
39 |
14 |
244 |
| run_watchdog |
|
14 |
3 |
74 |
| run_ioctl |
|
46 |
13 |
267 |
| run_iq_calib |
|
72 |
17 |
461 |
| run_select_chan_group |
|
130 |
31 |
996 |
| run_rt2870_set_chan |
|
43 |
8 |
364 |
| run_rt3070_set_chan |
|
44 |
6 |
409 |
| run_rt3572_set_chan |
|
104 |
28 |
840 |
| run_rt3593_set_chan |
|
122 |
30 |
1028 |
| run_rt5390_set_chan |
|
89 |
23 |
610 |
| run_rt5592_set_chan |
|
95 |
15 |
806 |
| run_set_agc |
|
13 |
2 |
100 |
| run_set_rx_antenna |
|
24 |
4 |
159 |
| run_set_chan |
|
33 |
12 |
205 |
| run_enable_tsf_sync |
|
11 |
1 |
68 |
| run_enable_mrr |
|
17 |
1 |
113 |
| run_set_txpreamble |
|
10 |
2 |
50 |
| run_set_basicrates |
|
10 |
3 |
64 |
| run_set_leds |
|
5 |
1 |
32 |
| run_set_bssid |
|
7 |
1 |
70 |
| run_set_macaddr |
|
7 |
1 |
75 |
| run_updateslot |
|
4 |
1 |
22 |
| run_updateslot_cb |
|
9 |
2 |
55 |
| run_rssi2dbm |
|
18 |
4 |
131 |
| run_rt5390_bbp_init |
|
44 |
10 |
359 |
| run_bbp_init |
|
40 |
16 |
296 |
| run_rt3070_rf_init |
|
103 |
28 |
898 |
| run_rt3593_rf_init |
|
29 |
2 |
233 |
| run_rt5390_rf_init |
|
54 |
11 |
410 |
| run_rt3070_filter_calib |
|
43 |
8 |
287 |
| run_rt3070_rf_setup |
|
58 |
19 |
450 |
| run_rt3593_rf_setup |
|
51 |
5 |
450 |
| run_rt5390_rf_setup |
|
34 |
8 |
253 |
| run_txrx_enable |
|
34 |
7 |
218 |
| run_adjust_freq_offset |
|
10 |
2 |
75 |
| run_init |
|
186 |
53 |
1512 |
| run_stop |
|
50 |
10 |
364 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_axenreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umct.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umct_match |
|
8 |
3 |
59 |
| umct_attach |
|
93 |
16 |
611 |
| umct_detach |
|
17 |
3 |
115 |
| umct_set_line_state |
|
15 |
3 |
111 |
| umct_set |
|
17 |
4 |
70 |
| umct_dtr |
|
8 |
2 |
42 |
| umct_rts |
|
8 |
2 |
42 |
| umct_break |
|
6 |
2 |
38 |
| umct_set_lcr |
|
12 |
1 |
79 |
| umct_set_baudrate |
|
45 |
13 |
344 |
| umct_init |
|
5 |
1 |
29 |
| umct_param |
|
36 |
8 |
191 |
| umct_open |
|
25 |
5 |
166 |
| umct_close |
|
17 |
4 |
104 |
| umct_intr |
|
25 |
7 |
174 |
| umct_get_status |
|
9 |
3 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ehcireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uchcom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uchcom_match |
|
8 |
3 |
57 |
| uchcom_attach |
|
41 |
4 |
269 |
| uchcom_detach |
|
12 |
2 |
75 |
| uchcom_find_ifaces |
|
12 |
2 |
59 |
| uchcom_find_endpoints |
|
53 |
16 |
355 |
| uchcom_generic_control_out |
|
11 |
1 |
73 |
| uchcom_generic_control_in |
|
13 |
1 |
93 |
| uchcom_write_reg |
|
10 |
1 |
80 |
| uchcom_read_reg |
|
18 |
4 |
133 |
| uchcom_get_version |
|
12 |
3 |
68 |
| uchcom_read_status |
|
5 |
1 |
27 |
| uchcom_set_dtrrts_10 |
|
5 |
1 |
26 |
| uchcom_set_dtrrts_20 |
|
4 |
1 |
24 |
| uchcom_update_version |
|
11 |
2 |
52 |
| uchcom_convert_status |
|
7 |
1 |
64 |
| uchcom_update_status |
|
13 |
2 |
60 |
| uchcom_set_dtrrts |
|
17 |
5 |
94 |
| uchcom_set_break |
|
21 |
4 |
94 |
| uchcom_calc_divider_settings |
|
31 |
8 |
198 |
| uchcom_set_dte_rate |
|
18 |
4 |
98 |
| uchcom_set_line_control |
|
14 |
7 |
62 |
| uchcom_clear_chip |
|
12 |
2 |
66 |
| uchcom_reset_chip |
|
15 |
2 |
69 |
| uchcom_setup_comm |
|
30 |
9 |
151 |
| uchcom_setup_intr_pipe |
|
21 |
4 |
106 |
| uchcom_close_intr_pipe |
|
13 |
3 |
77 |
| uchcom_get_status |
|
8 |
2 |
51 |
| uchcom_set |
|
19 |
5 |
105 |
| uchcom_param |
|
14 |
4 |
77 |
| uchcom_open |
|
14 |
4 |
64 |
| uchcom_close |
|
5 |
1 |
23 |
| uchcom_intr |
|
24 |
5 |
189 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/xhci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xhci_dump_trb |
|
6 |
1 |
46 |
| usbd_dma_contig_alloc |
|
36 |
6 |
289 |
| usbd_dma_contig_free |
|
12 |
2 |
102 |
| xhci_init |
|
88 |
14 |
810 |
| xhci_config |
|
36 |
2 |
460 |
| xhci_detach |
|
30 |
3 |
261 |
| xhci_activate |
|
25 |
3 |
140 |
| xhci_reset |
|
27 |
7 |
172 |
| xhci_intr |
|
11 |
4 |
64 |
| xhci_intr1 |
|
22 |
4 |
143 |
| xhci_poll |
|
6 |
2 |
35 |
| xhci_softintr |
|
9 |
2 |
44 |
| xhci_event_dequeue |
|
32 |
7 |
210 |
| xhci_event_xfer |
|
89 |
21 |
541 |
| xhci_event_command |
|
55 |
15 |
363 |
| xhci_event_port_change |
|
19 |
3 |
144 |
| xhci_xfer_done |
|
24 |
7 |
196 |
| xhci_ed2dci |
|
11 |
3 |
70 |
| xhci_pipe_open |
|
60 |
17 |
356 |
| xhci_get_txinfo |
|
23 |
6 |
134 |
| xhci_get_pollrate |
|
9 |
3 |
51 |
| xhci_context_setup |
|
93 |
23 |
762 |
| xhci_pipe_init |
|
31 |
6 |
240 |
| xhci_pipe_close |
|
28 |
7 |
280 |
| xhci_setaddr |
|
25 |
5 |
212 |
| xhci_allocx |
|
4 |
1 |
21 |
| xhci_freex |
|
4 |
1 |
21 |
| xhci_scratchpad_alloc |
|
29 |
4 |
258 |
| xhci_scratchpad_free |
|
8 |
1 |
80 |
| xhci_ring_alloc |
|
14 |
2 |
93 |
| xhci_ring_free |
|
4 |
1 |
27 |
| xhci_ring_reset |
|
17 |
2 |
149 |
| xhci_ring_consume |
|
15 |
3 |
126 |
| xhci_ring_produce |
|
21 |
2 |
196 |
| xhci_xfer_get_trb |
|
13 |
2 |
119 |
| xhci_command_submit |
|
42 |
8 |
347 |
| xhci_command_abort |
|
21 |
5 |
128 |
| xhci_cmd_configure_ep |
|
11 |
1 |
77 |
| xhci_cmd_stop_ep |
|
11 |
1 |
81 |
| xhci_cmd_reset_ep_async |
|
11 |
1 |
78 |
| xhci_cmd_set_tr_deq_async |
|
12 |
1 |
84 |
| xhci_cmd_slot_control |
|
18 |
4 |
114 |
| xhci_cmd_set_address |
|
12 |
2 |
86 |
| xhci_cmd_evaluate_ctx |
|
11 |
1 |
77 |
| xhci_cmd_noop |
|
9 |
1 |
61 |
| xhci_softdev_alloc |
|
31 |
4 |
321 |
| xhci_softdev_free |
|
11 |
1 |
110 |
| xhci_abort_xfer |
|
37 |
7 |
311 |
| xhci_timeout |
|
12 |
2 |
74 |
| xhci_timeout_task |
|
8 |
1 |
36 |
| xhci_root_ctrl_transfer |
|
8 |
2 |
44 |
| xhci_root_ctrl_start |
|
334 |
101 |
1946 |
| xhci_noop |
|
3 |
1 |
9 |
| xhci_root_intr_transfer |
|
8 |
2 |
44 |
| xhci_root_intr_start |
|
8 |
2 |
49 |
| xhci_root_intr_abort |
|
10 |
1 |
56 |
| xhci_root_intr_done |
|
3 |
1 |
9 |
| xhci_xfer_tdsize |
|
10 |
3 |
71 |
| xhci_device_ctrl_transfer |
|
8 |
2 |
44 |
| xhci_device_ctrl_start |
|
63 |
12 |
554 |
| xhci_device_ctrl_abort |
|
4 |
1 |
16 |
| xhci_device_generic_transfer |
|
8 |
2 |
44 |
| xhci_device_generic_start |
|
72 |
15 |
622 |
| xhci_device_generic_done |
|
7 |
2 |
30 |
| xhci_device_generic_abort |
|
5 |
2 |
34 |
| xhci_device_isoc_transfer |
|
8 |
3 |
40 |
| xhci_device_isoc_start |
|
76 |
14 |
684 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_axen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| axen_lock_mii |
|
5 |
1 |
22 |
| axen_unlock_mii |
|
6 |
2 |
34 |
| axen_cmd |
|
23 |
4 |
155 |
| axen_miibus_readreg |
|
27 |
5 |
149 |
| axen_miibus_writereg |
|
20 |
4 |
121 |
| axen_miibus_statchg |
|
54 |
14 |
285 |
| axen_ifmedia_upd |
|
17 |
3 |
86 |
| axen_ifmedia_sts |
|
8 |
1 |
54 |
| axen_iff |
|
41 |
6 |
281 |
| axen_reset |
|
8 |
2 |
32 |
| axen_ax88179_init |
|
120 |
11 |
946 |
| axen_match |
|
8 |
4 |
63 |
| axen_attach |
|
98 |
16 |
745 |
| axen_detach |
|
39 |
13 |
308 |
| axen_newbuf |
|
15 |
3 |
79 |
| axen_rx_list_init |
|
26 |
5 |
157 |
| axen_tx_list_init |
|
26 |
5 |
157 |
| axen_rxeof |
|
111 |
24 |
723 |
| axen_txeof |
|
33 |
7 |
188 |
| axen_tick |
|
11 |
3 |
63 |
| axen_tick_task |
|
20 |
5 |
101 |
| axen_encap |
|
45 |
6 |
286 |
| axen_start |
|
23 |
7 |
140 |
| axen_init |
|
65 |
6 |
412 |
| axen_ioctl |
|
40 |
13 |
212 |
| axen_watchdog |
|
17 |
2 |
111 |
| axen_stop |
|
60 |
13 |
466 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umidi_quirks.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ugold.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ugold_match |
|
15 |
4 |
113 |
| ugold_attach |
|
60 |
7 |
456 |
| ugold_detach |
|
14 |
4 |
106 |
| ugold_ds75_temp |
|
4 |
1 |
38 |
| ugold_ds75_type |
|
11 |
5 |
89 |
| ugold_ds75_intr |
|
40 |
8 |
275 |
| ugold_si700x_temp |
|
18 |
4 |
98 |
| ugold_si700x_rhum |
|
24 |
7 |
159 |
| ugold_si700x_type |
|
21 |
7 |
166 |
| ugold_si700x_intr |
|
35 |
7 |
283 |
| ugold_refresh |
|
17 |
5 |
106 |
| ugold_issue_cmd |
|
7 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umodem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umodem_get_caps |
|
60 |
17 |
336 |
| umodem_match |
|
31 |
14 |
204 |
| umodem_attach |
|
98 |
19 |
655 |
| umodem_open |
|
18 |
4 |
109 |
| umodem_close |
|
14 |
3 |
82 |
| umodem_intr |
|
49 |
11 |
301 |
| umodem_get_status |
|
9 |
3 |
59 |
| umodem_param |
|
39 |
9 |
213 |
| umodem_dtr |
|
8 |
2 |
42 |
| umodem_rts |
|
8 |
2 |
42 |
| umodem_set_line_state |
|
13 |
3 |
93 |
| umodem_break |
|
13 |
3 |
97 |
| umodem_set |
|
17 |
4 |
70 |
| umodem_set_line_coding |
|
26 |
3 |
166 |
| umodem_set_comm_feature |
|
21 |
2 |
131 |
| umodem_detach |
|
14 |
3 |
94 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_kue.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kue_setword |
|
11 |
1 |
89 |
| kue_ctl |
|
16 |
2 |
114 |
| kue_load_fw |
|
62 |
7 |
474 |
| kue_setmulti |
|
32 |
5 |
214 |
| kue_reset |
|
9 |
3 |
73 |
| kue_match |
|
9 |
3 |
68 |
| kue_attachhook |
|
78 |
15 |
527 |
| kue_attach |
|
18 |
2 |
121 |
| kue_detach |
|
27 |
9 |
173 |
| kue_newbuf |
|
27 |
4 |
179 |
| kue_rx_list_init |
|
24 |
6 |
166 |
| kue_tx_list_init |
|
23 |
5 |
154 |
| kue_rxeof |
|
60 |
11 |
427 |
| kue_txeof |
|
32 |
7 |
201 |
| kue_send |
|
26 |
2 |
222 |
| kue_start |
|
23 |
7 |
157 |
| kue_init |
|
39 |
8 |
250 |
| kue_open_pipes |
|
32 |
4 |
229 |
| kue_ioctl |
|
51 |
17 |
309 |
| kue_watchdog |
|
19 |
3 |
140 |
| kue_stop |
|
58 |
13 |
468 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhub.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uhub_match |
|
10 |
3 |
66 |
| uhub_attach |
|
165 |
47 |
1143 |
| uhub_explore |
|
73 |
22 |
456 |
| uhub_detach |
|
27 |
7 |
207 |
| uhub_intr |
|
17 |
5 |
128 |
| uhub_port_connect |
|
55 |
13 |
399 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_bwfm_usb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwfm_usb_match |
|
8 |
4 |
63 |
| bwfm_usb_attach |
|
45 |
12 |
319 |
| bwfm_usb_attachhook |
|
99 |
23 |
616 |
| bwfm_usb_rxeof |
|
37 |
8 |
272 |
| bwfm_usb_alloc_rx_list |
|
26 |
5 |
144 |
| bwfm_usb_free_rx_list |
|
9 |
3 |
63 |
| bwfm_usb_alloc_tx_list |
|
28 |
5 |
164 |
| bwfm_usb_free_tx_list |
|
9 |
3 |
63 |
| bwfm_usb_txeof |
|
27 |
5 |
180 |
| bwfm_usb_detach |
|
16 |
3 |
95 |
| bwfm_usb_dl_cmd |
|
16 |
2 |
106 |
| bwfm_usb_load_microcode |
|
74 |
15 |
497 |
| bwfm_usb_txdata |
|
30 |
4 |
255 |
| bwfm_usb_txctl |
|
22 |
2 |
144 |
| bwfm_usb_rxctl |
|
29 |
3 |
183 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_smsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| smsc_enaddr_OF |
|
20 |
7 |
163 |
| smsc_read_reg |
|
16 |
2 |
107 |
| smsc_write_reg |
|
16 |
2 |
105 |
| smsc_wait_for_bits |
|
13 |
4 |
85 |
| smsc_miibus_readreg |
|
19 |
3 |
136 |
| smsc_miibus_writereg |
|
19 |
4 |
138 |
| smsc_miibus_statchg |
|
60 |
14 |
351 |
| smsc_ifmedia_upd |
|
13 |
2 |
72 |
| smsc_ifmedia_sts |
|
8 |
1 |
54 |
| smsc_hash |
|
4 |
1 |
25 |
| smsc_iff |
|
35 |
8 |
251 |
| smsc_sethwcsum |
|
29 |
6 |
144 |
| smsc_setmacaddress |
|
15 |
2 |
150 |
| smsc_reset |
|
7 |
2 |
30 |
| smsc_init |
|
51 |
6 |
329 |
| smsc_start |
|
21 |
7 |
135 |
| smsc_tick |
|
9 |
3 |
46 |
| smsc_stop |
|
59 |
13 |
466 |
| smsc_chip_init |
|
69 |
11 |
459 |
| smsc_ioctl |
|
38 |
11 |
210 |
| smsc_match |
|
8 |
4 |
63 |
| smsc_attach |
|
81 |
13 |
737 |
| smsc_detach |
|
38 |
13 |
295 |
| smsc_tick_task |
|
19 |
5 |
103 |
| smsc_lock_mii |
|
5 |
1 |
22 |
| smsc_unlock_mii |
|
6 |
2 |
34 |
| smsc_rxeof |
|
79 |
14 |
483 |
| smsc_txeof |
|
33 |
7 |
190 |
| smsc_tx_list_init |
|
25 |
5 |
148 |
| smsc_rx_list_init |
|
25 |
5 |
148 |
| smsc_encap |
|
29 |
2 |
223 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umct.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umass_quirks.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umass_lookup |
|
5 |
1 |
28 |
| umass_init_insystem |
|
12 |
2 |
54 |
| umass_init_shuttle |
|
11 |
1 |
78 |
| umass_fixup_sony |
|
18 |
5 |
81 |
| umass_fixup_yedata |
|
9 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_rumvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_urtwreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_wi_usb.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usb_mem.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uvisor.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvisor_match |
|
10 |
3 |
74 |
| uvisor_attach |
|
117 |
21 |
737 |
| uvisor_detach |
|
14 |
3 |
101 |
| uvisor_init |
|
51 |
9 |
344 |
| uvisor_close |
|
16 |
2 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ums.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ums_match |
|
20 |
5 |
154 |
| ums_attach |
|
42 |
8 |
354 |
| ums_detach |
|
6 |
1 |
42 |
| ums_intr |
|
7 |
2 |
59 |
| ums_enable |
|
11 |
3 |
67 |
| ums_disable |
|
7 |
1 |
38 |
| ums_ioctl |
|
19 |
4 |
122 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uslcom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uslcom_match |
|
8 |
3 |
57 |
| uslcom_attach |
|
52 |
10 |
366 |
| uslcom_detach |
|
10 |
2 |
61 |
| uslcom_open |
|
17 |
3 |
105 |
| uslcom_close |
|
13 |
2 |
83 |
| uslcom_set |
|
27 |
6 |
139 |
| uslcom_param |
|
70 |
14 |
459 |
| uslcom_get_status |
|
8 |
3 |
52 |
| uslcom_break |
|
12 |
2 |
84 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_udav.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udav_match |
|
8 |
4 |
63 |
| udav_attach |
|
92 |
15 |
700 |
| udav_detach |
|
35 |
10 |
259 |
| udav_mem_read |
|
27 |
5 |
180 |
| udav_mem_write |
|
27 |
5 |
180 |
| udav_mem_write1 |
|
26 |
5 |
173 |
| udav_csr_read |
|
27 |
5 |
180 |
| udav_csr_write |
|
27 |
5 |
180 |
| udav_csr_read1 |
|
9 |
3 |
64 |
| udav_csr_write1 |
|
26 |
5 |
173 |
| udav_init |
|
41 |
7 |
285 |
| udav_reset |
|
20 |
6 |
128 |
| udav_iff |
|
31 |
6 |
239 |
| udav_openpipes |
|
50 |
8 |
309 |
| udav_newbuf |
|
28 |
4 |
184 |
| udav_rx_list_init |
|
26 |
6 |
173 |
| udav_tx_list_init |
|
25 |
5 |
161 |
| udav_start |
|
26 |
8 |
168 |
| udav_send |
|
36 |
4 |
278 |
| udav_txeof |
|
35 |
8 |
218 |
| udav_rxeof |
|
70 |
15 |
468 |
| udav_ioctl |
|
41 |
12 |
241 |
| udav_watchdog |
|
17 |
2 |
127 |
| udav_stop_task |
|
4 |
1 |
19 |
| udav_stop |
|
57 |
14 |
443 |
| udav_ifmedia_change |
|
18 |
5 |
127 |
| udav_ifmedia_status |
|
22 |
5 |
148 |
| udav_tick |
|
9 |
2 |
52 |
| udav_tick_task |
|
36 |
11 |
220 |
| udav_lock_mii |
|
7 |
1 |
39 |
| udav_unlock_mii |
|
8 |
2 |
51 |
| udav_miibus_readreg |
|
32 |
5 |
231 |
| udav_miibus_writereg |
|
30 |
5 |
204 |
| udav_miibus_statchg |
|
8 |
3 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_cuereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_otusreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uftdi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uftdi_match |
|
13 |
7 |
95 |
| uftdi_attach |
|
76 |
15 |
521 |
| uftdi_detach |
|
10 |
2 |
65 |
| uftdi_open |
|
30 |
4 |
209 |
| uftdi_read |
|
23 |
5 |
173 |
| uftdi_write |
|
10 |
2 |
91 |
| uftdi_set |
|
30 |
6 |
188 |
| uftdi_param |
|
102 |
29 |
708 |
| uftdi_get_status |
|
10 |
3 |
67 |
| uftdi_break |
|
19 |
2 |
117 |
| uftdi_8u232am_getrate |
|
41 |
13 |
274 |
| uftdi_2232h_getrate |
|
23 |
5 |
172 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_cdcereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/utvfu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| utvfu_set_regs |
|
20 |
3 |
142 |
| utvfu_max_frame_size |
|
9 |
3 |
56 |
| utvfu_configure_for_norm |
|
18 |
4 |
106 |
| utvfu_select_input |
|
31 |
4 |
188 |
| utvfu_select_norm |
|
46 |
4 |
342 |
| utvfu_setup_capture |
|
78 |
4 |
590 |
| utvfu_chunk_to_vbuf |
|
13 |
2 |
102 |
| utvfu_image_chunk |
|
49 |
10 |
332 |
| utvfu_start_capture |
|
19 |
5 |
117 |
| utvfu_querycap |
|
12 |
1 |
113 |
| utvfu_enum_input |
|
17 |
3 |
101 |
| utvfu_enum_fmt_vid_cap |
|
9 |
3 |
59 |
| utvfu_enum_fsizes |
|
10 |
2 |
74 |
| utvfu_g_fmt |
|
12 |
1 |
133 |
| utvfu_s_fmt |
|
6 |
2 |
35 |
| utvfu_g_std |
|
6 |
1 |
36 |
| utvfu_s_std |
|
8 |
3 |
51 |
| utvfu_g_input |
|
6 |
1 |
31 |
| utvfu_s_input |
|
4 |
1 |
19 |
| utvfu_audio_decode |
|
33 |
6 |
229 |
| utvfu_audio_start_chip |
|
25 |
1 |
181 |
| utvfu_audio_stop_chip |
|
10 |
1 |
63 |
| utvfu_match |
|
44 |
15 |
260 |
| utvfu_attach |
|
24 |
4 |
214 |
| utvfu_detach |
|
14 |
3 |
97 |
| utvfu_parse_desc |
|
39 |
11 |
242 |
| utvfu_open |
|
17 |
3 |
124 |
| utvfu_close |
|
7 |
1 |
39 |
| utvfu_as_open |
|
35 |
4 |
205 |
| utvfu_vs_open |
|
34 |
4 |
183 |
| utvfu_as_close |
|
11 |
2 |
85 |
| utvfu_vs_close |
|
10 |
2 |
68 |
| utvfu_read |
|
6 |
1 |
46 |
| utvfu_as_start_bulk |
|
15 |
4 |
100 |
| utvfu_as_bulk_thread |
|
37 |
3 |
224 |
| utvfu_vs_start_isoc |
|
6 |
2 |
40 |
| utvfu_vs_start_isoc_ixfer |
|
24 |
5 |
138 |
| utvfu_vs_cb |
|
30 |
6 |
216 |
| utvfu_find_queued |
|
11 |
4 |
72 |
| utvfu_mmap_queue |
|
21 |
4 |
199 |
| utvfu_mappage |
|
11 |
3 |
67 |
| utvfu_get_bufsize |
|
6 |
1 |
38 |
| utvfu_start_read |
|
12 |
3 |
60 |
| utvfu_audio_clear_client |
|
11 |
1 |
77 |
| utvfu_as_free |
|
6 |
1 |
33 |
| utvfu_vs_free |
|
7 |
1 |
38 |
| utvfu_as_init |
|
7 |
2 |
46 |
| utvfu_vs_init |
|
9 |
4 |
63 |
| utvfu_vs_alloc_frame |
|
16 |
2 |
108 |
| utvfu_vs_free_frame |
|
16 |
4 |
120 |
| utvfu_vs_alloc_isoc |
|
25 |
4 |
182 |
| utvfu_as_alloc_bulk |
|
20 |
3 |
108 |
| utvfu_vs_free_isoc |
|
11 |
3 |
85 |
| utvfu_as_free_bulk |
|
8 |
2 |
58 |
| utvfu_reqbufs |
|
48 |
8 |
424 |
| utvfu_querybuf |
|
13 |
4 |
103 |
| utvfu_qbuf |
|
14 |
4 |
115 |
| utvfu_dqbuf |
|
24 |
6 |
175 |
| utvfu_streamon |
|
10 |
2 |
49 |
| utvfu_streamoff |
|
5 |
1 |
21 |
| utvfu_queryctrl |
|
5 |
1 |
24 |
| utvfu_g_parm |
|
23 |
4 |
156 |
| utvfu_s_parm |
|
6 |
2 |
31 |
| utvfu_audio_open |
|
11 |
4 |
67 |
| utvfu_audio_close |
|
7 |
1 |
39 |
| utvfu_audio_set_params |
|
17 |
2 |
112 |
| utvfu_audio_halt_out |
|
4 |
1 |
13 |
| utvfu_audio_halt_in |
|
10 |
2 |
58 |
| utvfu_audio_mixer_set_port |
|
12 |
5 |
102 |
| utvfu_audio_mixer_get_port |
|
12 |
5 |
102 |
| utvfu_audio_query_devinfo |
|
19 |
3 |
208 |
| utvfu_audio_get_props |
|
4 |
1 |
13 |
| utvfu_audio_trigger_output |
|
5 |
1 |
43 |
| utvfu_audio_trigger_input |
|
19 |
2 |
167 |
| utvfu_audio_start |
|
14 |
5 |
92 |
| utvfu_audio_stop |
|
7 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_cdce.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cdce_match |
|
18 |
7 |
113 |
| cdce_attach |
|
175 |
47 |
1172 |
| cdce_detach |
|
18 |
4 |
104 |
| cdce_start |
|
20 |
7 |
136 |
| cdce_encap |
|
25 |
3 |
189 |
| cdce_stop |
|
54 |
13 |
407 |
| cdce_ioctl |
|
33 |
9 |
173 |
| cdce_watchdog |
|
8 |
2 |
45 |
| cdce_init |
|
58 |
9 |
370 |
| cdce_newbuf |
|
27 |
4 |
169 |
| cdce_rx_list_init |
|
24 |
6 |
149 |
| cdce_tx_list_init |
|
23 |
5 |
137 |
| cdce_rxeof |
|
55 |
13 |
365 |
| cdce_txeof |
|
36 |
9 |
217 |
| cdce_intr |
|
38 |
9 |
231 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_auereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_umb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umb_val2descr |
|
11 |
3 |
63 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uoak.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_cue.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cue_csr_read_1 |
|
22 |
3 |
146 |
| cue_csr_read_2 |
|
22 |
3 |
150 |
| cue_csr_write_1 |
|
23 |
3 |
168 |
| cue_csr_write_2 |
|
24 |
3 |
157 |
| cue_mem |
|
22 |
3 |
152 |
| cue_getmac |
|
18 |
2 |
115 |
| cue_setmulti |
|
36 |
7 |
284 |
| cue_reset |
|
17 |
3 |
118 |
| cue_match |
|
8 |
4 |
65 |
| cue_attach |
|
65 |
11 |
482 |
| cue_detach |
|
25 |
8 |
185 |
| cue_newbuf |
|
27 |
4 |
169 |
| cue_rx_list_init |
|
25 |
6 |
158 |
| cue_tx_list_init |
|
24 |
5 |
146 |
| cue_rxeof |
|
57 |
10 |
395 |
| cue_txeof |
|
32 |
7 |
201 |
| cue_tick |
|
10 |
3 |
63 |
| cue_tick_task |
|
14 |
3 |
102 |
| cue_send |
|
25 |
2 |
221 |
| cue_start |
|
23 |
7 |
157 |
| cue_init |
|
49 |
10 |
317 |
| cue_open_pipes |
|
29 |
4 |
195 |
| cue_ioctl |
|
44 |
15 |
265 |
| cue_watchdog |
|
19 |
3 |
140 |
| cue_stop |
|
61 |
13 |
490 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_uath.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uath_match |
|
8 |
4 |
61 |
| uath_attachhook |
|
21 |
3 |
134 |
| uath_attach |
|
118 |
16 |
799 |
| uath_detach |
|
28 |
5 |
169 |
| uath_open_pipes |
|
35 |
5 |
205 |
| uath_close_pipes |
|
19 |
5 |
101 |
| uath_alloc_tx_data_list |
|
25 |
4 |
141 |
| uath_free_tx_data_list |
|
9 |
3 |
63 |
| uath_alloc_rx_data_list |
|
39 |
6 |
236 |
| uath_free_rx_data_list |
|
15 |
4 |
86 |
| uath_alloc_tx_cmd_list |
|
25 |
4 |
141 |
| uath_free_tx_cmd_list |
|
9 |
3 |
63 |
| uath_alloc_rx_cmd_list |
|
25 |
4 |
141 |
| uath_free_rx_cmd_list |
|
9 |
3 |
63 |
| uath_media_change |
|
10 |
3 |
56 |
| uath_stat |
|
11 |
2 |
54 |
| uath_next_scan |
|
8 |
2 |
48 |
| uath_task |
|
97 |
11 |
693 |
| uath_newstate |
|
11 |
1 |
80 |
| uath_dump_cmd |
|
12 |
4 |
81 |
| uath_cmd |
|
50 |
11 |
387 |
| uath_cmd_write |
|
6 |
1 |
43 |
| uath_cmd_read |
|
6 |
1 |
47 |
| uath_write_reg |
|
15 |
2 |
99 |
| uath_write_multi |
|
16 |
3 |
116 |
| uath_read_reg |
|
15 |
2 |
95 |
| uath_read_eeprom |
|
16 |
3 |
113 |
| uath_cmd_rxeof |
|
45 |
9 |
286 |
| uath_data_rxeof |
|
96 |
13 |
711 |
| uath_tx_null |
|
19 |
2 |
188 |
| uath_data_txeof |
|
27 |
5 |
161 |
| uath_tx_data |
|
80 |
12 |
682 |
| uath_start |
|
44 |
18 |
282 |
| uath_watchdog |
|
14 |
3 |
74 |
| uath_ioctl |
|
28 |
8 |
150 |
| uath_query_eeprom |
|
20 |
3 |
111 |
| uath_reset |
|
27 |
7 |
189 |
| uath_reset_tx_queues |
|
13 |
3 |
81 |
| uath_wme_init |
|
31 |
3 |
262 |
| uath_set_chan |
|
13 |
1 |
107 |
| uath_set_key |
|
18 |
3 |
171 |
| uath_set_keys |
|
12 |
3 |
98 |
| uath_set_rates |
|
11 |
1 |
101 |
| uath_set_rxfilter |
|
9 |
1 |
64 |
| uath_set_led |
|
10 |
4 |
82 |
| uath_switch_channel |
|
26 |
5 |
161 |
| uath_init |
|
80 |
9 |
701 |
| uath_stop |
|
24 |
2 |
189 |
| uath_loadfirmware |
|
89 |
11 |
570 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_wi_usb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wi_usb_match |
|
8 |
4 |
63 |
| wi_usb_attach |
|
57 |
12 |
381 |
| wi_usb_detach |
|
67 |
15 |
463 |
| wi_send_packet |
|
53 |
7 |
347 |
| wi_cmd_usb |
|
57 |
8 |
398 |
| wi_read_record_usb |
|
92 |
24 |
605 |
| wi_write_record_usb |
|
121 |
28 |
823 |
| wi_alloc_nicmem_usb |
|
20 |
3 |
126 |
| wi_write_data_usb |
|
16 |
4 |
134 |
| wi_read_data_usb |
|
26 |
11 |
227 |
| wi_usb_stop |
|
4 |
1 |
26 |
| wi_usb_do_transmit_sync |
|
27 |
5 |
160 |
| wi_usb_txeof |
|
30 |
7 |
166 |
| wi_usb_txeof_frm |
|
39 |
9 |
229 |
| wi_usb_rx_list_init |
|
24 |
6 |
151 |
| wi_usb_tx_list_init |
|
25 |
6 |
157 |
| wi_usb_open_pipes |
|
49 |
6 |
328 |
| wi_get_fid_usb |
|
11 |
3 |
35 |
| wi_dump_data |
|
11 |
3 |
71 |
| wi_usb_rxeof |
|
96 |
24 |
551 |
| wi_usb_intr |
|
19 |
7 |
113 |
| wi_usb_cmdresp |
|
24 |
2 |
178 |
| wi_usb_rridresp |
|
40 |
5 |
275 |
| wi_usb_wridresp |
|
12 |
1 |
92 |
| wi_usb_infofrm |
|
9 |
1 |
68 |
| wi_usb_txfrm |
|
22 |
3 |
146 |
| wi_usb_rxfrm |
|
11 |
1 |
73 |
| wi_usb_start_thread |
|
5 |
1 |
30 |
| wi_start_usb |
|
19 |
3 |
104 |
| wi_init_usb |
|
7 |
1 |
46 |
| wi_inquire_usb |
|
13 |
2 |
78 |
| wi_watchdog_usb |
|
15 |
2 |
87 |
| wi_ioctl_usb |
|
10 |
1 |
59 |
| wi_usb_thread |
|
52 |
8 |
344 |
| wi_usb_tx_lock_try |
|
13 |
2 |
67 |
| wi_usb_tx_lock |
|
18 |
3 |
111 |
| wi_usb_tx_unlock |
|
14 |
2 |
85 |
| wi_usb_ctl_lock |
|
25 |
4 |
138 |
| wi_usb_ctl_unlock |
|
15 |
3 |
96 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_upl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| upl_match |
|
8 |
4 |
65 |
| upl_attach |
|
64 |
13 |
450 |
| upl_detach |
|
19 |
7 |
136 |
| upl_newbuf |
|
27 |
4 |
179 |
| upl_rx_list_init |
|
26 |
6 |
175 |
| upl_tx_list_init |
|
25 |
5 |
163 |
| upl_rxeof |
|
49 |
10 |
347 |
| upl_txeof |
|
32 |
7 |
201 |
| upl_send |
|
24 |
2 |
173 |
| upl_start |
|
23 |
7 |
157 |
| upl_init |
|
29 |
6 |
168 |
| upl_openpipes |
|
38 |
6 |
261 |
| upl_intr |
|
31 |
9 |
193 |
| upl_ioctl |
|
41 |
12 |
224 |
| upl_watchdog |
|
13 |
3 |
89 |
| upl_stop |
|
58 |
13 |
468 |
| upl_output |
|
5 |
1 |
34 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_rumreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ukbdvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhcireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ukbdmap.c |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_runvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_rsureg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbdi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umass_scsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umass_scsi_attach |
|
41 |
6 |
281 |
| umass_scsi_detach |
|
12 |
3 |
77 |
| umass_scsi_probe |
|
18 |
3 |
126 |
| umass_scsi_cmd |
|
67 |
10 |
432 |
| umass_scsi_minphys |
|
6 |
2 |
33 |
| umass_scsi_cb |
|
85 |
16 |
523 |
| umass_scsi_sense_cb |
|
39 |
9 |
199 |
| umass_io_get |
|
13 |
2 |
59 |
| umass_io_put |
|
8 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uticom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uticom_match |
|
8 |
3 |
59 |
| uticom_attach |
|
9 |
1 |
67 |
| uticom_attach_hook |
|
184 |
29 |
1165 |
| uticom_detach |
|
17 |
3 |
112 |
| uticom_reset |
|
18 |
2 |
113 |
| uticom_set |
|
17 |
4 |
70 |
| uticom_dtr |
|
19 |
4 |
128 |
| uticom_rts |
|
19 |
4 |
128 |
| uticom_break |
|
16 |
3 |
110 |
| uticom_set_crtscts |
|
18 |
2 |
113 |
| uticom_param |
|
83 |
25 |
447 |
| uticom_open |
|
22 |
5 |
164 |
| uticom_close |
|
29 |
5 |
190 |
| uticom_intr |
|
43 |
15 |
291 |
| uticom_get_status |
|
10 |
4 |
61 |
| uticom_download_fw |
|
68 |
8 |
441 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ohci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| OREAD1 |
|
5 |
1 |
31 |
| OREAD2 |
|
5 |
1 |
31 |
| OREAD4 |
|
5 |
1 |
31 |
| ohci_activate |
|
62 |
7 |
463 |
| ohci_detach |
|
11 |
2 |
70 |
| ohci_alloc_sed |
|
30 |
4 |
187 |
| ohci_free_sed |
|
8 |
1 |
42 |
| ohci_alloc_std |
|
32 |
4 |
200 |
| ohci_free_std |
|
9 |
1 |
49 |
| ohci_alloc_std_chain |
|
77 |
14 |
515 |
| ohci_free_std_chain |
|
9 |
2 |
50 |
| ohci_alloc_sitd |
|
33 |
5 |
214 |
| ohci_free_sitd |
|
15 |
3 |
84 |
| ohci_checkrev |
|
16 |
4 |
107 |
| ohci_handover |
|
24 |
6 |
165 |
| ohci_init |
|
158 |
31 |
1245 |
| ohci_allocx |
|
4 |
1 |
21 |
| ohci_freex |
|
4 |
1 |
21 |
| ohci_dumpregs |
|
37 |
1 |
257 |
| ohci_intr |
|
15 |
7 |
90 |
| ohci_intr1 |
|
79 |
18 |
487 |
| ohci_rhsc_able |
|
11 |
2 |
62 |
| ohci_rhsc_enable |
|
13 |
2 |
72 |
| ohci_add_done |
|
30 |
6 |
223 |
| ohci_softintr |
|
152 |
36 |
985 |
| ohci_device_ctrl_done |
|
7 |
3 |
38 |
| ohci_device_intr_done |
|
35 |
4 |
274 |
| ohci_device_bulk_done |
|
5 |
1 |
24 |
| ohci_rhsc |
|
23 |
4 |
173 |
| ohci_root_intr_done |
|
3 |
1 |
9 |
| ohci_root_ctrl_done |
|
3 |
1 |
9 |
| ohci_poll |
|
13 |
4 |
78 |
| ohci_device_request |
|
94 |
12 |
683 |
| ohci_add_ed |
|
9 |
1 |
71 |
| ohci_rem_ed |
|
11 |
4 |
78 |
| ohci_hash_add_td |
|
6 |
1 |
44 |
| ohci_hash_find_td |
|
11 |
3 |
71 |
| ohci_hash_add_itd |
|
8 |
1 |
62 |
| ohci_hash_rem_itd |
|
7 |
1 |
44 |
| ohci_hash_find_itd |
|
11 |
3 |
71 |
| ohci_timeout |
|
12 |
2 |
74 |
| ohci_timeout_task |
|
9 |
1 |
47 |
| ohci_dump_tds |
|
5 |
2 |
25 |
| ohci_dump_td |
|
16 |
1 |
128 |
| ohci_dump_itd |
|
18 |
2 |
151 |
| ohci_dump_itds |
|
5 |
2 |
25 |
| ohci_dump_ed |
|
18 |
1 |
159 |
| ohci_open |
|
101 |
20 |
594 |
| ohci_setaddr |
|
15 |
5 |
92 |
| ohci_close_pipe |
|
33 |
8 |
274 |
| ohci_abort_xfer |
|
66 |
11 |
467 |
| ohci_root_ctrl_transfer |
|
8 |
2 |
44 |
| ohci_root_ctrl_start |
|
291 |
80 |
1640 |
| ohci_root_ctrl_abort |
|
3 |
1 |
9 |
| ohci_root_ctrl_close |
|
4 |
1 |
16 |
| ohci_root_intr_transfer |
|
8 |
2 |
44 |
| ohci_root_intr_start |
|
8 |
2 |
49 |
| ohci_root_intr_abort |
|
10 |
1 |
56 |
| ohci_root_intr_close |
|
3 |
1 |
9 |
| ohci_device_ctrl_transfer |
|
8 |
2 |
44 |
| ohci_device_ctrl_start |
|
15 |
5 |
85 |
| ohci_device_ctrl_abort |
|
5 |
1 |
25 |
| ohci_device_ctrl_close |
|
8 |
1 |
66 |
| ohci_device_clear_toggle |
|
5 |
1 |
34 |
| ohci_device_bulk_transfer |
|
8 |
2 |
44 |
| ohci_device_bulk_start |
|
66 |
12 |
497 |
| ohci_device_bulk_abort |
|
5 |
1 |
25 |
| ohci_device_bulk_close |
|
8 |
1 |
66 |
| ohci_device_intr_transfer |
|
8 |
2 |
44 |
| ohci_device_intr_start |
|
54 |
11 |
412 |
| ohci_device_intr_abort |
|
5 |
2 |
34 |
| ohci_device_intr_close |
|
28 |
7 |
258 |
| ohci_device_setintr |
|
43 |
7 |
338 |
| ohci_device_isoc_transfer |
|
12 |
4 |
71 |
| ohci_device_isoc_enter |
|
95 |
12 |
682 |
| ohci_device_isoc_start |
|
10 |
4 |
69 |
| ohci_device_isoc_abort |
|
36 |
7 |
235 |
| ohci_device_isoc_done |
|
4 |
1 |
20 |
| ohci_setup_isoc |
|
13 |
1 |
92 |
| ohci_device_isoc_close |
|
9 |
2 |
76 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uoakv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uoakv_match |
|
9 |
3 |
64 |
| uoakv_attach |
|
57 |
6 |
455 |
| uoakv_detach |
|
19 |
5 |
152 |
| uoakv_intr |
|
16 |
3 |
158 |
| uoakv_refresh |
|
15 |
4 |
113 |
| uoakv_get_channel_setting |
|
16 |
2 |
133 |
| uoakv_get_sensor_setting |
|
14 |
2 |
107 |
| uoakv_dev_setting |
|
8 |
2 |
62 |
| uoakv_dev_print |
|
13 |
3 |
111 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_aue.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aue_csr_read_1 |
|
20 |
3 |
127 |
| aue_csr_read_2 |
|
20 |
3 |
128 |
| aue_csr_write_1 |
|
21 |
3 |
133 |
| aue_csr_write_2 |
|
21 |
3 |
136 |
| aue_eeprom_getword |
|
15 |
4 |
90 |
| aue_read_mac |
|
12 |
2 |
98 |
| aue_lock_mii |
|
5 |
1 |
22 |
| aue_unlock_mii |
|
6 |
2 |
34 |
| aue_miibus_readreg |
|
30 |
10 |
198 |
| aue_miibus_writereg |
|
25 |
8 |
165 |
| aue_miibus_statchg |
|
25 |
5 |
208 |
| aue_crc |
|
10 |
4 |
100 |
| aue_iff |
|
27 |
6 |
217 |
| aue_reset_pegasus_II |
|
9 |
4 |
58 |
| aue_reset |
|
28 |
9 |
185 |
| aue_match |
|
8 |
4 |
63 |
| aue_attach |
|
80 |
13 |
652 |
| aue_detach |
|
30 |
9 |
228 |
| aue_newbuf |
|
28 |
4 |
186 |
| aue_rx_list_init |
|
24 |
6 |
166 |
| aue_tx_list_init |
|
23 |
5 |
154 |
| aue_intr |
|
30 |
10 |
197 |
| aue_rxeof |
|
61 |
11 |
406 |
| aue_txeof |
|
32 |
7 |
201 |
| aue_tick |
|
10 |
3 |
63 |
| aue_tick_task |
|
26 |
7 |
167 |
| aue_send |
|
27 |
2 |
240 |
| aue_start |
|
26 |
8 |
170 |
| aue_init |
|
41 |
7 |
266 |
| aue_openpipes |
|
40 |
5 |
283 |
| aue_ifmedia_upd |
|
17 |
4 |
118 |
| aue_ifmedia_sts |
|
9 |
1 |
71 |
| aue_ioctl |
|
40 |
12 |
224 |
| aue_watchdog |
|
17 |
2 |
129 |
| aue_stop |
|
63 |
13 |
505 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umass.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umass_match |
|
35 |
15 |
168 |
| umass_attach |
|
258 |
62 |
1403 |
| umass_detach |
|
28 |
8 |
198 |
| umass_disco |
|
18 |
5 |
124 |
| umass_polled_transfer |
|
40 |
10 |
243 |
| umass_setup_transfer |
|
27 |
5 |
210 |
| umass_setup_ctrl_transfer |
|
27 |
5 |
191 |
| umass_adjust_transfer |
|
32 |
9 |
163 |
| umass_clear_endpoint_stall |
|
15 |
2 |
132 |
| umass_reset |
|
6 |
1 |
37 |
| umass_bbb_reset |
|
19 |
2 |
141 |
| umass_bbb_transfer |
|
61 |
8 |
480 |
| umass_bbb_state |
|
208 |
47 |
1341 |
| umass_cbi_adsc |
|
14 |
1 |
112 |
| umass_cbi_reset |
|
23 |
3 |
163 |
| umass_cbi_transfer |
|
38 |
6 |
305 |
| umass_cbi_state |
|
208 |
43 |
1252 |
| umass_bbb_get_max_lun |
|
26 |
2 |
163 |
| umass_bbb_dump_cbw |
|
17 |
4 |
157 |
| umass_bbb_dump_csw |
|
14 |
5 |
113 |
| umass_dump_buffer |
|
24 |
6 |
197 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbhid.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_upgtvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_atureg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umass_scsi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ucom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ucom_lock |
|
4 |
1 |
17 |
| ucom_unlock |
|
4 |
1 |
17 |
| ucom_match |
|
4 |
1 |
22 |
| ucom_attach |
|
27 |
2 |
201 |
| ucom_detach |
|
61 |
12 |
418 |
| ucom_shutdown |
|
9 |
2 |
59 |
| ucomopen |
|
20 |
6 |
141 |
| ucom_do_open |
|
170 |
33 |
1090 |
| ucomclose |
|
13 |
4 |
106 |
| ucom_do_close |
|
19 |
3 |
144 |
| ucomread |
|
14 |
4 |
108 |
| ucomwrite |
|
14 |
4 |
108 |
| ucomtty |
|
7 |
2 |
40 |
| ucomioctl |
|
12 |
4 |
99 |
| ucom_do_ioctl |
|
59 |
16 |
335 |
| tiocm_to_ucom |
|
25 |
10 |
169 |
| ucom_to_tiocm |
|
23 |
9 |
149 |
| ucom_break |
|
7 |
2 |
50 |
| ucom_dtr |
|
10 |
3 |
70 |
| ucom_rts |
|
7 |
2 |
50 |
| ucom_status_change |
|
18 |
3 |
141 |
| ucomparam |
|
35 |
14 |
258 |
| ucom_hwiflow |
|
17 |
4 |
114 |
| ucomstart |
|
55 |
14 |
370 |
| ucomstop |
|
13 |
4 |
81 |
| ucomwritecb |
|
34 |
6 |
236 |
| ucomstartread |
|
22 |
5 |
125 |
| ucomreadcb |
|
45 |
10 |
315 |
| ucom_cleanup |
|
31 |
7 |
179 |
| ucomprint |
|
9 |
3 |
53 |
| ucomsubmatch |
|
10 |
4 |
77 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/udsbr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udsbr_match |
|
11 |
5 |
76 |
| udsbr_attach |
|
8 |
1 |
69 |
| udsbr_detach |
|
8 |
2 |
53 |
| udsbr_activate |
|
12 |
3 |
62 |
| udsbr_req |
|
19 |
2 |
123 |
| udsbr_start |
|
5 |
1 |
37 |
| udsbr_stop |
|
5 |
1 |
37 |
| udsbr_setfreq |
|
8 |
1 |
79 |
| udsbr_status |
|
4 |
1 |
23 |
| udsbr_get_info |
|
12 |
3 |
84 |
| udsbr_set_info |
|
13 |
3 |
85 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_zydreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/utwitch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| utwitch_match |
|
8 |
3 |
63 |
| utwitch_attach |
|
43 |
3 |
374 |
| utwitch_detach |
|
18 |
4 |
138 |
| utwitch_intr |
|
39 |
7 |
287 |
| utwitch_refresh |
|
11 |
2 |
62 |
| utwitch_set_mode |
|
14 |
2 |
113 |
| utwitch_read_value_request |
|
13 |
2 |
108 |
| utwitch_write_value_request |
|
17 |
2 |
138 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usb_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usbd_errstr |
|
10 |
2 |
50 |
| usbd_get_string_desc |
|
29 |
5 |
187 |
| usbd_get_string |
|
40 |
13 |
268 |
| usbd_trim_spaces |
|
13 |
5 |
67 |
| usbd_get_device_string |
|
14 |
3 |
81 |
| usbd_devinfo_vp |
|
56 |
21 |
356 |
| usbd_printBCD |
|
10 |
4 |
69 |
| usbd_devinfo |
|
27 |
2 |
237 |
| usb_delay_ms |
|
9 |
3 |
58 |
| usbd_delay_ms |
|
6 |
2 |
30 |
| usbd_port_disown_to_1_1 |
|
25 |
7 |
159 |
| usbd_reset_port |
|
26 |
8 |
177 |
| usbd_find_idesc |
|
28 |
8 |
177 |
| usbd_find_edesc |
|
29 |
10 |
186 |
| usbd_fill_iface_data |
|
31 |
5 |
227 |
| usbd_parse_idesc |
|
43 |
13 |
274 |
| usbd_free_iface_data |
|
6 |
2 |
42 |
| usbd_set_config |
|
10 |
1 |
67 |
| usbd_set_config_no |
|
16 |
5 |
110 |
| usbd_set_config_index |
|
134 |
28 |
855 |
| usbd_setup_pipe |
|
27 |
3 |
194 |
| usbd_set_address |
|
13 |
2 |
83 |
| usbd_getnewaddr |
|
8 |
3 |
47 |
| usbd_probe_and_attach |
|
123 |
21 |
849 |
| usbd_new_device |
|
170 |
36 |
1092 |
| usbd_reload_device_desc |
|
10 |
2 |
56 |
| usbd_print |
|
25 |
7 |
176 |
| usbd_fill_deviceinfo |
|
61 |
15 |
501 |
| usbd_get_cdesc |
|
33 |
8 |
222 |
| usb_free_device |
|
27 |
9 |
215 |
| usbd_detach |
|
12 |
4 |
84 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhid_rdesc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ugen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ugen_match |
|
8 |
2 |
43 |
| ugen_attach |
|
28 |
5 |
165 |
| ugen_set_config |
|
59 |
12 |
392 |
| ugenopen |
|
132 |
32 |
907 |
| ugenclose |
|
15 |
4 |
120 |
| ugen_do_close |
|
42 |
13 |
281 |
| ugen_do_read |
|
133 |
39 |
867 |
| ugenread |
|
12 |
2 |
83 |
| ugen_do_write |
|
81 |
21 |
485 |
| ugenwrite |
|
12 |
2 |
83 |
| ugen_detach |
|
32 |
11 |
258 |
| ugenintr |
|
27 |
5 |
184 |
| ugen_isoc_rintr |
|
42 |
9 |
352 |
| ugen_set_interface |
|
40 |
9 |
304 |
| ugen_get_alt_index |
|
9 |
2 |
52 |
| ugen_do_ioctl |
|
253 |
67 |
1551 |
| ugenioctl |
|
12 |
2 |
93 |
| ugenpoll |
|
48 |
13 |
271 |
| filt_ugenrdetach |
|
8 |
1 |
52 |
| filt_ugenread_intr |
|
6 |
1 |
44 |
| filt_ugenread_isoc |
|
12 |
3 |
92 |
| ugenkqfilter |
|
51 |
11 |
258 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uslhcom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uslhcom_match |
|
9 |
3 |
61 |
| uslhcom_attach |
|
52 |
6 |
467 |
| uslhcom_detach |
|
12 |
3 |
81 |
| uslhcom_uart_endis |
|
9 |
1 |
50 |
| uslhcom_clear_fifo |
|
9 |
1 |
50 |
| uslhcom_get_version |
|
7 |
1 |
45 |
| uslhcom_get_uart_status |
|
7 |
1 |
45 |
| uslhcom_set_break |
|
15 |
2 |
73 |
| uslhcom_set_config |
|
7 |
1 |
45 |
| uslhcom_set_baud_rate |
|
7 |
1 |
60 |
| uslhcom_create_config |
|
39 |
11 |
197 |
| uslhcom_setup |
|
15 |
6 |
84 |
| uslhcom_get_status |
|
8 |
2 |
51 |
| uslhcom_set |
|
14 |
5 |
61 |
| uslhcom_param |
|
15 |
4 |
79 |
| uslhcom_open |
|
18 |
3 |
106 |
| uslhcom_close |
|
14 |
3 |
81 |
| uslhcom_read |
|
6 |
1 |
40 |
| uslhcom_write |
|
6 |
1 |
50 |
| uslhcom_intr |
|
14 |
2 |
98 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/mbim.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uberry.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uberry_match |
|
8 |
4 |
63 |
| uberry_attach |
|
26 |
5 |
169 |
| uberry_detach |
|
4 |
1 |
15 |
| uberry_pearlmode |
|
11 |
1 |
73 |
| uberry_charge |
|
17 |
1 |
128 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_umb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umb_match |
|
21 |
9 |
124 |
| umb_attach |
|
214 |
48 |
1458 |
| umb_detach |
|
33 |
7 |
218 |
| umb_ncm_setup |
|
32 |
10 |
279 |
| umb_alloc_xfers |
|
14 |
7 |
106 |
| umb_free_xfers |
|
14 |
3 |
71 |
| umb_alloc_bulkpipes |
|
16 |
4 |
100 |
| umb_close_bulkpipes |
|
15 |
3 |
81 |
| umb_ioctl |
|
65 |
19 |
456 |
| umb_output |
|
9 |
2 |
62 |
| umb_input |
|
34 |
6 |
188 |
| umb_align |
|
11 |
3 |
70 |
| umb_padding |
|
8 |
2 |
56 |
| umb_start |
|
43 |
13 |
311 |
| umb_watchdog |
|
10 |
2 |
53 |
| umb_statechg_timeout |
|
9 |
3 |
68 |
| umb_newstate |
|
15 |
8 |
128 |
| umb_state_task |
|
40 |
10 |
265 |
| umb_up |
|
64 |
14 |
329 |
| umb_down |
|
38 |
15 |
186 |
| umb_get_response_task |
|
14 |
3 |
78 |
| umb_decode_response |
|
65 |
14 |
337 |
| umb_handle_indicate_status_msg |
|
27 |
4 |
213 |
| umb_handle_opendone_msg |
|
20 |
4 |
139 |
| umb_handle_closedone_msg |
|
12 |
2 |
68 |
| umb_getinfobuf |
|
10 |
2 |
73 |
| umb_addstr |
|
15 |
4 |
122 |
| umb_decode_register_state |
|
29 |
6 |
251 |
| umb_decode_devices_caps |
|
17 |
2 |
175 |
| umb_decode_subscriber_status |
|
27 |
6 |
267 |
| umb_decode_radio_state |
|
22 |
7 |
172 |
| umb_decode_pin |
|
38 |
11 |
221 |
| umb_decode_packet_service |
|
54 |
14 |
338 |
| umb_decode_signal_state |
|
21 |
7 |
162 |
| umb_decode_connect_info |
|
38 |
11 |
271 |
| umb_decode_ip_configuration |
|
95 |
21 |
721 |
| umb_rx |
|
7 |
1 |
45 |
| umb_rxeof |
|
24 |
8 |
154 |
| umb_encap |
|
58 |
4 |
488 |
| umb_txeof |
|
22 |
6 |
139 |
| umb_decap |
|
129 |
23 |
759 |
| umb_send_encap_command |
|
22 |
4 |
150 |
| umb_get_encap_response |
|
17 |
2 |
117 |
| umb_ctrl_msg |
|
47 |
9 |
301 |
| umb_open |
|
8 |
1 |
54 |
| umb_close |
|
6 |
1 |
41 |
| umb_setpin |
|
33 |
17 |
268 |
| umb_setdataclass |
|
14 |
3 |
102 |
| umb_radio |
|
8 |
3 |
75 |
| umb_allocate_cid |
|
5 |
1 |
27 |
| umb_send_fcc_auth |
|
13 |
2 |
85 |
| umb_packet_service |
|
10 |
3 |
75 |
| umb_connect |
|
12 |
4 |
77 |
| umb_disconnect |
|
7 |
2 |
46 |
| umb_send_connect |
|
24 |
2 |
216 |
| umb_qry_ipconfig |
|
8 |
1 |
52 |
| umb_cmd |
|
4 |
1 |
37 |
| umb_cmd1 |
|
24 |
3 |
182 |
| umb_command_done |
|
57 |
12 |
369 |
| umb_decode_cid |
|
40 |
11 |
219 |
| umb_decode_qmi |
|
96 |
21 |
461 |
| umb_intr |
|
44 |
10 |
261 |
| umb_ntop |
|
20 |
4 |
116 |
| umb_uuid2str |
|
14 |
1 |
135 |
| umb_dump |
|
18 |
5 |
89 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umcs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/udl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udl_match |
|
9 |
4 |
68 |
| udl_attach |
|
68 |
14 |
477 |
| udl_attach_hook |
|
26 |
4 |
153 |
| udl_detach |
|
15 |
3 |
90 |
| udl_activate |
|
12 |
2 |
59 |
| udl_ioctl |
|
62 |
14 |
370 |
| udl_mmap |
|
17 |
3 |
109 |
| udl_alloc_screen |
|
55 |
4 |
506 |
| udl_free_screen |
|
9 |
2 |
61 |
| udl_show_screen |
|
8 |
1 |
61 |
| udl_load_font |
|
6 |
1 |
44 |
| udl_list_font |
|
6 |
1 |
38 |
| udl_burner |
|
12 |
3 |
83 |
| udl_copycols |
|
35 |
4 |
294 |
| udl_copyrows |
|
33 |
4 |
271 |
| udl_erasecols |
|
31 |
3 |
263 |
| udl_eraserows |
|
30 |
3 |
248 |
| udl_putchar |
|
30 |
4 |
252 |
| udl_do_cursor |
|
45 |
8 |
345 |
| udl_draw_char |
|
36 |
6 |
264 |
| udl_damage |
|
22 |
3 |
123 |
| udl_draw_image |
|
34 |
6 |
221 |
| udl_ctrl_msg |
|
17 |
2 |
122 |
| udl_poll |
|
13 |
2 |
86 |
| udl_read_1 |
|
13 |
2 |
89 |
| udl_write_1 |
|
11 |
2 |
73 |
| udl_read_edid |
|
28 |
4 |
204 |
| udl_lookup_mode |
|
25 |
11 |
161 |
| udl_select_chip |
|
51 |
15 |
384 |
| udl_set_enc_key |
|
11 |
2 |
73 |
| udl_set_decomp_table |
|
13 |
2 |
79 |
| udl_load_huffman |
|
16 |
3 |
93 |
| udl_free_huffman |
|
9 |
2 |
56 |
| udl_fbmem_alloc |
|
13 |
3 |
89 |
| udl_fbmem_free |
|
8 |
2 |
44 |
| udl_cmd_alloc_xfer |
|
21 |
4 |
129 |
| udl_cmd_free_xfer |
|
11 |
3 |
63 |
| udl_cmd_alloc_buf |
|
13 |
2 |
78 |
| udl_cmd_free_buf |
|
9 |
2 |
52 |
| udl_cmd_insert_int_1 |
|
6 |
1 |
39 |
| udl_cmd_insert_int_2 |
|
8 |
1 |
54 |
| udl_cmd_insert_int_3 |
|
9 |
2 |
67 |
| udl_cmd_insert_int_4 |
|
8 |
1 |
54 |
| udl_cmd_insert_buf |
|
6 |
1 |
47 |
| udl_cmd_insert_buf_comp |
|
64 |
13 |
420 |
| udl_cmd_insert_head_comp |
|
19 |
3 |
120 |
| udl_cmd_insert_check |
|
19 |
4 |
99 |
| udl_cmd_set_xfer_type |
|
5 |
1 |
28 |
| udl_cmd_save_offset |
|
6 |
1 |
35 |
| udl_cmd_restore_offset |
|
6 |
1 |
35 |
| udl_cmd_write_reg_1 |
|
7 |
1 |
43 |
| udl_cmd_write_reg_3 |
|
6 |
1 |
69 |
| udl_cmd_send |
|
24 |
2 |
178 |
| udl_cmd_send_async |
|
38 |
7 |
266 |
| udl_cmd_send_async_cb |
|
20 |
5 |
136 |
| udl_init_chip |
|
49 |
11 |
348 |
| udl_init_fb_offsets |
|
10 |
1 |
75 |
| udl_init_resolution |
|
23 |
5 |
161 |
| udl_clear_screen |
|
13 |
3 |
80 |
| udl_select_mode |
|
56 |
9 |
454 |
| udl_fb_buf_write |
|
18 |
3 |
123 |
| udl_fb_block_write |
|
12 |
3 |
78 |
| udl_fb_line_write |
|
19 |
4 |
99 |
| udl_fb_off_write |
|
23 |
4 |
154 |
| udl_fb_block_copy |
|
12 |
3 |
84 |
| udl_fb_line_copy |
|
21 |
4 |
120 |
| udl_fb_off_copy |
|
17 |
3 |
106 |
| udl_fb_buf_write_comp |
|
36 |
7 |
233 |
| udl_fb_block_write_comp |
|
12 |
3 |
78 |
| udl_fb_line_write_comp |
|
19 |
4 |
99 |
| udl_fb_off_write_comp |
|
41 |
8 |
264 |
| udl_fb_block_copy_comp |
|
12 |
3 |
84 |
| udl_fb_line_copy_comp |
|
21 |
4 |
120 |
| udl_fb_off_copy_comp |
|
27 |
5 |
160 |
| udl_hexdump |
|
14 |
6 |
98 |
| udl_init_test |
|
21 |
3 |
133 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_rsu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rsu_match |
|
8 |
4 |
67 |
| rsu_attach |
|
72 |
10 |
564 |
| rsu_detach |
|
20 |
3 |
127 |
| rsu_open_pipes |
|
26 |
6 |
173 |
| rsu_close_pipes |
|
10 |
3 |
62 |
| rsu_alloc_rx_list |
|
26 |
5 |
146 |
| rsu_free_rx_list |
|
9 |
3 |
63 |
| rsu_alloc_tx_list |
|
28 |
5 |
166 |
| rsu_free_tx_list |
|
9 |
3 |
63 |
| rsu_task |
|
17 |
2 |
109 |
| rsu_do_async |
|
16 |
2 |
135 |
| rsu_wait_async |
|
4 |
1 |
21 |
| rsu_write_region_1 |
|
11 |
1 |
76 |
| rsu_write_1 |
|
4 |
1 |
27 |
| rsu_write_2 |
|
5 |
1 |
38 |
| rsu_write_4 |
|
5 |
1 |
38 |
| rsu_read_region_1 |
|
11 |
1 |
76 |
| rsu_read_1 |
|
7 |
2 |
41 |
| rsu_read_2 |
|
7 |
2 |
48 |
| rsu_read_4 |
|
7 |
2 |
48 |
| rsu_fw_iocmd |
|
12 |
3 |
70 |
| rsu_efuse_read_1 |
|
18 |
3 |
114 |
| rsu_read_rom |
|
41 |
9 |
286 |
| rsu_fw_cmd |
|
31 |
1 |
283 |
| rsu_media_change |
|
13 |
3 |
67 |
| rsu_calib_to |
|
9 |
2 |
51 |
| rsu_calib_cb |
|
17 |
6 |
132 |
| rsu_newstate |
|
9 |
1 |
61 |
| rsu_newstate_cb |
|
55 |
11 |
320 |
| rsu_set_key |
|
12 |
2 |
86 |
| rsu_set_key_cb |
|
27 |
5 |
168 |
| rsu_delete_key |
|
11 |
3 |
75 |
| rsu_delete_key_cb |
|
9 |
1 |
73 |
| rsu_site_survey |
|
15 |
4 |
135 |
| rsu_join_bss |
|
63 |
12 |
609 |
| rsu_disconnect |
|
6 |
1 |
39 |
| rsu_event_survey |
|
52 |
7 |
412 |
| rsu_event_join_bss |
|
25 |
4 |
182 |
| rsu_rx_event |
|
44 |
15 |
274 |
| rsu_rx_multi_event |
|
23 |
6 |
170 |
| rsu_get_rssi |
|
18 |
2 |
136 |
| rsu_rx_frame |
|
95 |
26 |
714 |
| rsu_rx_multi_frame |
|
26 |
5 |
190 |
| rsu_rxeof |
|
36 |
7 |
251 |
| rsu_txeof |
|
23 |
4 |
146 |
| rsu_tx |
|
91 |
16 |
684 |
| rsu_send_mgmt |
|
5 |
1 |
28 |
| rsu_start |
|
33 |
13 |
215 |
| rsu_watchdog |
|
14 |
3 |
74 |
| rsu_ioctl |
|
35 |
9 |
192 |
| rsu_power_on_acut |
|
49 |
1 |
398 |
| rsu_power_on_bcut |
|
76 |
5 |
604 |
| rsu_power_off |
|
17 |
1 |
149 |
| rsu_fw_loadsection |
|
30 |
4 |
219 |
| rsu_load_firmware |
|
150 |
29 |
947 |
| rsu_init |
|
99 |
15 |
707 |
| rsu_stop |
|
21 |
2 |
139 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ubsa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ubsa_match |
|
8 |
3 |
59 |
| ubsa_attach |
|
94 |
15 |
624 |
| ubsa_detach |
|
17 |
3 |
113 |
| ubsa_request |
|
15 |
3 |
105 |
| ubsa_dtr |
|
8 |
3 |
50 |
| ubsa_rts |
|
8 |
3 |
50 |
| ubsa_break |
|
5 |
2 |
34 |
| ubsa_set |
|
18 |
4 |
72 |
| ubsa_baudrate |
|
34 |
14 |
144 |
| ubsa_parity |
|
10 |
3 |
56 |
| ubsa_databits |
|
17 |
5 |
97 |
| ubsa_stopbits |
|
7 |
2 |
45 |
| ubsa_flow |
|
11 |
3 |
70 |
| ubsa_param |
|
11 |
1 |
86 |
| ubsa_open |
|
27 |
5 |
141 |
| ubsa_close |
|
18 |
4 |
104 |
| ubsa_intr |
|
36 |
8 |
260 |
| ubsa_get_status |
|
9 |
3 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| UREAD1 |
|
5 |
1 |
31 |
| UREAD2 |
|
5 |
1 |
31 |
| UREAD4 |
|
5 |
1 |
31 |
| uhci_find_prev_qh |
|
11 |
4 |
74 |
| uhci_globalreset |
|
6 |
1 |
33 |
| uhci_init |
|
107 |
15 |
875 |
| uhci_activate |
|
54 |
11 |
376 |
| uhci_detach |
|
10 |
3 |
61 |
| uhci_allocx |
|
8 |
3 |
47 |
| uhci_freex |
|
9 |
3 |
51 |
| uhci_dumpregs |
|
14 |
1 |
84 |
| uhci_dump_td |
|
26 |
1 |
236 |
| uhci_dump_qh |
|
6 |
1 |
46 |
| uhci_dump |
|
4 |
1 |
11 |
| uhci_dump_all |
|
6 |
1 |
32 |
| uhci_dump_qhs |
|
12 |
5 |
88 |
| uhci_dump_tds |
|
10 |
4 |
65 |
| uhci_dump_xfer |
|
34 |
6 |
168 |
| uhci_dump_xfers |
|
7 |
2 |
47 |
| exdump |
|
1 |
1 |
11 |
| uhci_poll_hub |
|
29 |
6 |
191 |
| uhci_root_ctrl_done |
|
3 |
1 |
9 |
| uhci_add_loop |
|
9 |
4 |
54 |
| uhci_rem_loop |
|
8 |
4 |
48 |
| uhci_add_hs_ctrl |
|
13 |
2 |
93 |
| uhci_remove_hs_ctrl |
|
17 |
4 |
124 |
| uhci_add_ls_ctrl |
|
12 |
1 |
88 |
| uhci_remove_ls_ctrl |
|
16 |
3 |
119 |
| uhci_add_bulk |
|
13 |
1 |
93 |
| uhci_remove_bulk |
|
17 |
3 |
124 |
| uhci_intr |
|
9 |
3 |
49 |
| uhci_intr1 |
|
55 |
16 |
316 |
| uhci_softintr |
|
19 |
4 |
131 |
| uhci_check_intr |
|
44 |
14 |
296 |
| uhci_idone |
|
92 |
19 |
560 |
| uhci_timeout |
|
12 |
2 |
74 |
| uhci_timeout_task |
|
9 |
1 |
47 |
| uhci_poll |
|
6 |
2 |
37 |
| uhci_reset |
|
11 |
4 |
72 |
| uhci_run |
|
28 |
5 |
179 |
| uhci_alloc_std |
|
29 |
4 |
185 |
| uhci_free_std |
|
13 |
3 |
79 |
| uhci_alloc_sqh |
|
29 |
4 |
181 |
| uhci_free_sqh |
|
5 |
1 |
28 |
| uhci_free_std_chain |
|
9 |
2 |
52 |
| uhci_alloc_std_chain |
|
67 |
14 |
512 |
| uhci_device_clear_toggle |
|
5 |
1 |
27 |
| uhci_device_bulk_transfer |
|
8 |
2 |
44 |
| uhci_device_bulk_start |
|
50 |
13 |
351 |
| uhci_device_bulk_abort |
|
5 |
1 |
23 |
| uhci_abort_xfer |
|
40 |
7 |
311 |
| uhci_device_bulk_close |
|
7 |
1 |
60 |
| uhci_device_ctrl_transfer |
|
8 |
2 |
44 |
| uhci_device_ctrl_start |
|
13 |
5 |
78 |
| uhci_device_intr_transfer |
|
8 |
2 |
44 |
| uhci_device_intr_start |
|
49 |
12 |
375 |
| uhci_device_ctrl_abort |
|
5 |
1 |
23 |
| uhci_device_ctrl_close |
|
3 |
1 |
9 |
| uhci_device_intr_abort |
|
5 |
2 |
34 |
| uhci_device_intr_close |
|
16 |
3 |
149 |
| uhci_device_request |
|
102 |
19 |
837 |
| uhci_device_isoc_transfer |
|
12 |
4 |
71 |
| uhci_device_isoc_enter |
|
52 |
11 |
384 |
| uhci_device_isoc_start |
|
30 |
9 |
208 |
| uhci_device_isoc_abort |
|
31 |
7 |
210 |
| uhci_device_isoc_close |
|
30 |
6 |
232 |
| uhci_setup_isoc |
|
44 |
6 |
349 |
| uhci_device_isoc_done |
|
14 |
5 |
86 |
| uhci_device_intr_done |
|
43 |
9 |
344 |
| uhci_device_ctrl_done |
|
18 |
6 |
161 |
| uhci_device_bulk_done |
|
14 |
2 |
120 |
| uhci_add_intr |
|
13 |
1 |
107 |
| uhci_remove_intr |
|
17 |
3 |
138 |
| uhci_device_setintr |
|
49 |
11 |
391 |
| uhci_open |
|
70 |
14 |
473 |
| uhci_portreset |
|
49 |
8 |
351 |
| uhci_root_ctrl_transfer |
|
8 |
2 |
44 |
| uhci_root_ctrl_start |
|
311 |
93 |
1663 |
| uhci_root_ctrl_abort |
|
3 |
1 |
9 |
| uhci_root_ctrl_close |
|
4 |
1 |
16 |
| uhci_root_intr_abort |
|
11 |
1 |
64 |
| uhci_root_intr_transfer |
|
8 |
2 |
44 |
| uhci_root_intr_start |
|
9 |
2 |
59 |
| uhci_root_intr_close |
|
3 |
1 |
9 |
| uhci_root_intr_done |
|
6 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_rum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rum_match |
|
8 |
4 |
63 |
| rum_attachhook |
|
18 |
3 |
111 |
| rum_attach |
|
118 |
20 |
886 |
| rum_detach |
|
33 |
7 |
209 |
| rum_alloc_tx_list |
|
28 |
4 |
162 |
| rum_free_tx_list |
|
12 |
3 |
69 |
| rum_alloc_rx_list |
|
39 |
6 |
228 |
| rum_free_rx_list |
|
15 |
4 |
86 |
| rum_media_change |
|
10 |
3 |
56 |
| rum_next_scan |
|
12 |
3 |
73 |
| rum_task |
|
52 |
15 |
308 |
| rum_newstate |
|
11 |
1 |
82 |
| rum_txeof |
|
27 |
5 |
170 |
| rum_rxeof |
|
84 |
11 |
607 |
| rum_rxrate |
|
25 |
14 |
129 |
| rum_ack_rate |
|
23 |
14 |
82 |
| rum_txtime |
|
15 |
4 |
100 |
| rum_plcp_signal |
|
18 |
13 |
90 |
| rum_setup_tx_desc |
|
36 |
7 |
256 |
| rum_tx_data |
|
132 |
28 |
1040 |
| rum_start |
|
44 |
18 |
284 |
| rum_watchdog |
|
14 |
3 |
74 |
| rum_ioctl |
|
46 |
13 |
261 |
| rum_eeprom_read |
|
15 |
2 |
102 |
| rum_read |
|
6 |
1 |
34 |
| rum_read_multi |
|
15 |
2 |
102 |
| rum_write |
|
5 |
1 |
36 |
| rum_write_multi |
|
18 |
3 |
132 |
| rum_bbp_write |
|
15 |
4 |
97 |
| rum_bbp_read |
|
23 |
6 |
148 |
| rum_rf_write |
|
18 |
4 |
129 |
| rum_select_antenna |
|
12 |
1 |
82 |
| rum_enable_mrr |
|
11 |
2 |
64 |
| rum_set_txpreamble |
|
9 |
2 |
48 |
| rum_set_basicrates |
|
11 |
3 |
70 |
| rum_select_band |
|
36 |
12 |
293 |
| rum_set_chan |
|
47 |
12 |
447 |
| rum_enable_tsf_sync |
|
16 |
3 |
107 |
| rum_update_slot |
|
12 |
2 |
76 |
| rum_set_bssid |
|
8 |
1 |
86 |
| rum_set_macaddr |
|
8 |
1 |
86 |
| rum_update_promisc |
|
12 |
3 |
80 |
| rum_get_rf |
|
10 |
5 |
42 |
| rum_read_eeprom |
|
49 |
11 |
501 |
| rum_bbp_init |
|
23 |
9 |
181 |
| rum_init |
|
98 |
18 |
672 |
| rum_stop |
|
31 |
4 |
201 |
| rum_load_microcode |
|
19 |
3 |
139 |
| rum_prepare_beacon |
|
21 |
3 |
146 |
| rum_newassoc |
|
4 |
1 |
23 |
| rum_amrr_start |
|
12 |
4 |
107 |
| rum_amrr_timeout |
|
16 |
2 |
112 |
| rum_amrr_update |
|
22 |
3 |
194 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_athn_usb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| athn_usb_match |
|
8 |
4 |
65 |
| athn_usb_attach |
|
21 |
5 |
172 |
| athn_usb_detach |
|
14 |
2 |
82 |
| athn_usb_attachhook |
|
46 |
8 |
295 |
| athn_usb_open_pipes |
|
57 |
9 |
315 |
| athn_usb_close_pipes |
|
23 |
6 |
130 |
| athn_usb_alloc_rx_list |
|
26 |
5 |
146 |
| athn_usb_free_rx_list |
|
9 |
3 |
63 |
| athn_usb_alloc_tx_list |
|
28 |
5 |
166 |
| athn_usb_free_tx_list |
|
9 |
3 |
63 |
| athn_usb_alloc_tx_cmd |
|
18 |
3 |
106 |
| athn_usb_free_tx_cmd |
|
6 |
2 |
36 |
| athn_usb_task |
|
17 |
2 |
109 |
| athn_usb_do_async |
|
20 |
3 |
158 |
| athn_usb_wait_async |
|
4 |
1 |
21 |
| athn_usb_load_firmware |
|
60 |
9 |
391 |
| athn_usb_htc_msg |
|
19 |
1 |
170 |
| athn_usb_htc_setup |
|
63 |
15 |
463 |
| athn_usb_htc_connect_svc |
|
33 |
5 |
233 |
| athn_usb_wmi_xcmd |
|
52 |
8 |
372 |
| athn_usb_read_rom |
|
20 |
5 |
162 |
| athn_usb_read |
|
13 |
2 |
81 |
| athn_usb_write |
|
8 |
2 |
73 |
| athn_usb_write_barrier |
|
9 |
2 |
67 |
| athn_usb_media_change |
|
16 |
4 |
95 |
| athn_usb_next_scan |
|
15 |
3 |
90 |
| athn_usb_newstate |
|
10 |
1 |
61 |
| athn_usb_newstate_cb |
|
67 |
10 |
433 |
| athn_usb_newassoc |
|
9 |
3 |
59 |
| athn_usb_newassoc_cb |
|
11 |
3 |
82 |
| athn_usb_node_leave |
|
8 |
1 |
54 |
| athn_usb_node_leave_cb |
|
7 |
1 |
48 |
| athn_usb_ampdu_tx_start |
|
11 |
1 |
76 |
| athn_usb_ampdu_tx_start_cb |
|
11 |
1 |
79 |
| athn_usb_ampdu_tx_stop |
|
10 |
1 |
71 |
| athn_usb_ampdu_tx_stop_cb |
|
11 |
1 |
79 |
| athn_usb_create_node |
|
52 |
13 |
414 |
| athn_usb_rx_enable |
|
5 |
1 |
23 |
| athn_usb_switch_chan |
|
43 |
13 |
286 |
| athn_usb_updateedca |
|
5 |
1 |
29 |
| athn_usb_updateedca_cb |
|
7 |
1 |
37 |
| athn_usb_updateslot |
|
6 |
1 |
31 |
| athn_usb_updateslot_cb |
|
7 |
1 |
37 |
| athn_usb_set_key |
|
13 |
3 |
102 |
| athn_usb_set_key_cb |
|
11 |
2 |
76 |
| athn_usb_delete_key |
|
12 |
4 |
91 |
| athn_usb_delete_key_cb |
|
11 |
2 |
76 |
| athn_usb_bcneof |
|
9 |
2 |
54 |
| athn_usb_swba |
|
46 |
6 |
407 |
| athn_usb_rx_wmi_ctrl |
|
34 |
8 |
203 |
| athn_usb_intr |
|
73 |
20 |
438 |
| athn_usb_rx_radiotap |
|
48 |
17 |
378 |
| athn_usb_rx_frame |
|
57 |
12 |
437 |
| athn_usb_rxeof |
|
93 |
18 |
621 |
| athn_usb_txeof |
|
25 |
4 |
158 |
| athn_usb_tx |
|
95 |
13 |
800 |
| athn_usb_start |
|
40 |
14 |
258 |
| athn_usb_watchdog |
|
14 |
3 |
74 |
| athn_usb_ioctl |
|
49 |
13 |
285 |
| athn_usb_init |
|
124 |
25 |
865 |
| athn_usb_stop |
|
44 |
1 |
314 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uwacom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uwacom_match |
|
14 |
3 |
107 |
| uwacom_attach |
|
39 |
1 |
358 |
| uwacom_detach |
|
6 |
1 |
42 |
| uwacom_intr |
|
27 |
9 |
236 |
| uwacom_enable |
|
11 |
3 |
67 |
| uwacom_disable |
|
7 |
1 |
38 |
| uwacom_ioctl |
|
15 |
3 |
105 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uonerng.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uonerng_match |
|
10 |
4 |
55 |
| uonerng_attach |
|
106 |
25 |
669 |
| uonerng_enable |
|
26 |
4 |
174 |
| uonerng_detach |
|
10 |
2 |
66 |
| uonerng_cleanup |
|
15 |
4 |
78 |
| uonerng_rts |
|
7 |
2 |
35 |
| uonerng_set_line_state |
|
13 |
3 |
91 |
| uonerng_task |
|
47 |
9 |
309 |
| uonerng_timeout |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbdevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uftdireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/xhcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbdivar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usbd_xfer_isread |
|
6 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_axereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/utrh.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| utrh_match |
|
8 |
3 |
63 |
| utrh_attach |
|
46 |
4 |
409 |
| utrh_detach |
|
20 |
6 |
155 |
| utrh_intr |
|
8 |
2 |
51 |
| utrh_refresh |
|
30 |
4 |
311 |
| utrh_sht1x_temp |
|
4 |
1 |
15 |
| utrh_sht1x_rh |
|
7 |
1 |
67 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_upgt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| upgt_match |
|
11 |
5 |
92 |
| upgt_attach |
|
70 |
18 |
497 |
| upgt_attach_hook |
|
87 |
13 |
621 |
| upgt_detach |
|
32 |
6 |
218 |
| upgt_device_type |
|
12 |
2 |
66 |
| upgt_device_init |
|
16 |
2 |
120 |
| upgt_mem_init |
|
23 |
4 |
173 |
| upgt_mem_alloc |
|
11 |
3 |
80 |
| upgt_mem_free |
|
12 |
3 |
79 |
| upgt_fw_alloc |
|
15 |
3 |
94 |
| upgt_fw_free |
|
8 |
2 |
51 |
| upgt_fw_verify |
|
95 |
18 |
574 |
| upgt_fw_load |
|
73 |
11 |
583 |
| upgt_fw_copy |
|
25 |
5 |
124 |
| upgt_eeprom_read |
|
46 |
5 |
335 |
| upgt_eeprom_parse |
|
82 |
13 |
445 |
| upgt_eeprom_parse_hwrx |
|
8 |
1 |
54 |
| upgt_eeprom_parse_freq3 |
|
20 |
2 |
171 |
| upgt_eeprom_parse_freq4 |
|
28 |
3 |
255 |
| upgt_eeprom_parse_freq6 |
|
16 |
2 |
134 |
| upgt_ioctl |
|
45 |
12 |
253 |
| upgt_init |
|
19 |
2 |
153 |
| upgt_stop |
|
11 |
1 |
81 |
| upgt_media_change |
|
13 |
3 |
87 |
| upgt_newassoc |
|
4 |
1 |
23 |
| upgt_newstate |
|
10 |
1 |
76 |
| upgt_newstate_task |
|
42 |
7 |
250 |
| upgt_next_scan |
|
9 |
2 |
63 |
| upgt_start |
|
57 |
17 |
398 |
| upgt_watchdog |
|
9 |
2 |
54 |
| upgt_tx_task |
|
93 |
10 |
715 |
| upgt_tx_done |
|
32 |
4 |
231 |
| upgt_rx_cb |
|
57 |
13 |
406 |
| upgt_rx |
|
45 |
4 |
338 |
| upgt_setup_rates |
|
23 |
5 |
188 |
| upgt_rx_rate |
|
53 |
23 |
232 |
| upgt_set_macfilter |
|
67 |
5 |
520 |
| upgt_set_channel |
|
41 |
2 |
361 |
| upgt_set_led |
|
59 |
7 |
405 |
| upgt_set_led_blink |
|
6 |
1 |
29 |
| upgt_get_stats |
|
29 |
2 |
225 |
| upgt_alloc_tx |
|
23 |
4 |
142 |
| upgt_alloc_rx |
|
19 |
3 |
115 |
| upgt_alloc_cmd |
|
19 |
3 |
115 |
| upgt_free_tx |
|
12 |
3 |
69 |
| upgt_free_rx |
|
9 |
2 |
48 |
| upgt_free_cmd |
|
8 |
2 |
42 |
| upgt_bulk_xmit |
|
14 |
2 |
102 |
| upgt_hexdump |
|
12 |
5 |
87 |
| upgt_crc32_le |
|
7 |
1 |
38 |
| upgt_chksum_le |
|
10 |
2 |
74 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/xhcireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uow.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uow_match |
|
8 |
4 |
67 |
| uow_attach |
|
108 |
24 |
762 |
| uow_detach |
|
26 |
7 |
168 |
| uow_activate |
|
13 |
3 |
69 |
| uow_ow_reset |
|
7 |
2 |
40 |
| uow_ow_bit |
|
11 |
4 |
73 |
| uow_ow_read_byte |
|
10 |
3 |
64 |
| uow_ow_write_byte |
|
8 |
2 |
51 |
| uow_ow_read_block |
|
9 |
3 |
65 |
| uow_ow_write_block |
|
8 |
3 |
55 |
| uow_ow_matchrom |
|
13 |
4 |
90 |
| uow_ow_search |
|
17 |
5 |
151 |
| uow_cmd |
|
29 |
5 |
197 |
| uow_intr |
|
12 |
5 |
65 |
| uow_read |
|
21 |
3 |
142 |
| uow_write |
|
19 |
3 |
123 |
| uow_reset |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/urng.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| urng_match |
|
9 |
3 |
62 |
| urng_attach |
|
68 |
11 |
458 |
| urng_detach |
|
16 |
4 |
105 |
| urng_task |
|
45 |
10 |
312 |
| urng_timeout |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_url.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| url_match |
|
8 |
4 |
63 |
| url_attach |
|
96 |
17 |
719 |
| url_detach |
|
34 |
9 |
248 |
| url_mem |
|
30 |
7 |
194 |
| url_csr_read_1 |
|
7 |
2 |
55 |
| url_csr_read_2 |
|
8 |
2 |
63 |
| url_csr_write_1 |
|
7 |
2 |
59 |
| url_csr_write_2 |
|
8 |
2 |
64 |
| url_csr_write_4 |
|
8 |
2 |
64 |
| url_init |
|
42 |
7 |
280 |
| url_reset |
|
14 |
4 |
88 |
| url_iff |
|
40 |
7 |
274 |
| url_openpipes |
|
50 |
8 |
309 |
| url_newbuf |
|
28 |
4 |
184 |
| url_rx_list_init |
|
26 |
6 |
173 |
| url_tx_list_init |
|
25 |
5 |
161 |
| url_start |
|
26 |
8 |
168 |
| url_send |
|
32 |
4 |
239 |
| url_txeof |
|
35 |
8 |
218 |
| url_rxeof |
|
72 |
16 |
508 |
| url_ioctl |
|
41 |
12 |
241 |
| url_watchdog |
|
17 |
2 |
127 |
| url_stop_task |
|
4 |
1 |
19 |
| url_stop |
|
57 |
14 |
443 |
| url_ifmedia_change |
|
16 |
4 |
114 |
| url_ifmedia_status |
|
16 |
3 |
110 |
| url_tick |
|
11 |
3 |
63 |
| url_tick_task |
|
29 |
8 |
173 |
| url_lock_mii |
|
7 |
1 |
39 |
| url_unlock_mii |
|
8 |
2 |
51 |
| url_int_miibus_readreg |
|
58 |
13 |
281 |
| url_int_miibus_writereg |
|
53 |
13 |
240 |
| url_miibus_statchg |
|
8 |
3 |
45 |
| url_ext_miibus_redreg |
|
28 |
6 |
199 |
| url_ext_miibus_writereg |
|
25 |
6 |
164 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_mosreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uipaq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uipaq_match |
|
10 |
4 |
80 |
| uipaq_attach |
|
60 |
10 |
404 |
| uipaq_dtr |
|
23 |
8 |
157 |
| uipaq_rts |
|
21 |
8 |
157 |
| uipaq_break |
|
18 |
4 |
111 |
| uipaq_set |
|
19 |
4 |
85 |
| uipaq_detach |
|
11 |
2 |
72 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_urndisreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umsm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umsm_match |
|
35 |
16 |
216 |
| umsm_attach |
|
69 |
18 |
542 |
| umsm_detach |
|
17 |
3 |
111 |
| umsm_open |
|
26 |
5 |
132 |
| umsm_close |
|
17 |
4 |
97 |
| umsm_intr |
|
49 |
13 |
330 |
| umsm_get_status |
|
8 |
3 |
52 |
| umsm_set |
|
28 |
7 |
160 |
| umsm_huawei_changemode |
|
14 |
2 |
80 |
| umsm_truinstall_changemode |
|
14 |
2 |
80 |
| umsm_umass_changemode |
|
127 |
17 |
808 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umassvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_urndis.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| urndis_ctrl_msg |
|
11 |
1 |
83 |
| urndis_ctrl_send |
|
11 |
3 |
78 |
| urndis_ctrl_recv |
|
32 |
5 |
197 |
| urndis_ctrl_handle |
|
34 |
9 |
178 |
| urndis_ctrl_handle_init |
|
41 |
4 |
251 |
| urndis_ctrl_handle_query |
|
52 |
8 |
330 |
| urndis_ctrl_handle_reset |
|
30 |
4 |
160 |
| urndis_ctrl_handle_status |
|
24 |
4 |
109 |
| urndis_ctrl_init |
|
38 |
4 |
264 |
| urndis_ctrl_halt |
|
23 |
3 |
161 |
| urndis_ctrl_query |
|
46 |
5 |
328 |
| urndis_ctrl_set |
|
46 |
6 |
340 |
| urndis_ctrl_set_param |
|
46 |
6 |
291 |
| urndis_ctrl_reset |
|
31 |
4 |
212 |
| urndis_ctrl_keepalive |
|
35 |
5 |
237 |
| urndis_encap |
|
32 |
2 |
258 |
| urndis_decap |
|
95 |
9 |
564 |
| urndis_newbuf |
|
21 |
3 |
123 |
| urndis_rx_list_init |
|
24 |
6 |
147 |
| urndis_tx_list_init |
|
23 |
5 |
137 |
| urndis_ioctl |
|
33 |
9 |
173 |
| urndis_watchdog |
|
10 |
2 |
51 |
| urndis_init |
|
49 |
7 |
281 |
| urndis_stop |
|
46 |
11 |
355 |
| urndis_start |
|
22 |
7 |
140 |
| urndis_rxeof |
|
34 |
8 |
204 |
| urndis_txeof |
|
42 |
9 |
236 |
| urndis_lookup |
|
13 |
5 |
78 |
| urndis_match |
|
15 |
6 |
91 |
| urndis_attach |
|
117 |
21 |
749 |
| urndis_detach |
|
21 |
3 |
109 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uark.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uark_match |
|
8 |
3 |
57 |
| uark_attach |
|
52 |
10 |
366 |
| uark_detach |
|
10 |
2 |
61 |
| uark_set |
|
13 |
4 |
54 |
| uark_param |
|
53 |
21 |
282 |
| if |
|
2 |
1 |
15 |
| uark_get_status |
|
8 |
3 |
52 |
| uark_break |
|
10 |
4 |
61 |
| uark_cmd |
|
14 |
2 |
88 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uowreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhidev.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uoak_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uoak_check_device_ready |
|
11 |
3 |
69 |
| uoak_set_cmd |
|
12 |
3 |
80 |
| uoak_get_cmd |
|
14 |
4 |
98 |
| uoak_get_device_name |
|
12 |
2 |
102 |
| uoak_get_report_mode |
|
11 |
2 |
88 |
| uoak_get_report_rate |
|
13 |
2 |
107 |
| uoak_get_sample_rate |
|
13 |
2 |
107 |
| uoak_set_sample_rate |
|
13 |
3 |
126 |
| uoak_led_status |
|
11 |
2 |
86 |
| uoak_led_ctrl |
|
9 |
1 |
77 |
| uoak_get_devinfo |
|
4 |
1 |
23 |
| uoak_get_setting |
|
9 |
2 |
76 |
| uoak_print_devinfo |
|
4 |
1 |
20 |
| uoak_print_setting |
|
22 |
5 |
111 |
| uoak_sensor_attach |
|
21 |
2 |
197 |
| uoak_sensor_detach |
|
8 |
2 |
58 |
| uoak_sensor_update |
|
16 |
5 |
109 |
| uoak_sensor_refresh |
|
12 |
2 |
95 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_urtwn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| urtwn_match |
|
8 |
4 |
65 |
| urtwn_attach |
|
59 |
5 |
555 |
| urtwn_detach |
|
18 |
3 |
123 |
| urtwn_open_pipes |
|
55 |
16 |
411 |
| urtwn_close_pipes |
|
14 |
4 |
84 |
| urtwn_alloc_rx_list |
|
26 |
5 |
146 |
| urtwn_free_rx_list |
|
9 |
3 |
63 |
| urtwn_alloc_tx_list |
|
28 |
5 |
166 |
| urtwn_free_tx_list |
|
9 |
3 |
63 |
| urtwn_task |
|
17 |
2 |
109 |
| urtwn_do_async |
|
16 |
2 |
135 |
| urtwn_wait_async |
|
8 |
1 |
41 |
| urtwn_write_region_1 |
|
11 |
1 |
76 |
| urtwn_write_1 |
|
5 |
1 |
33 |
| urtwn_write_2 |
|
6 |
1 |
44 |
| urtwn_write_4 |
|
6 |
1 |
44 |
| urtwn_read_region_1 |
|
11 |
1 |
76 |
| urtwn_read_1 |
|
8 |
2 |
47 |
| urtwn_read_2 |
|
8 |
2 |
54 |
| urtwn_read_4 |
|
8 |
2 |
54 |
| urtwn_llt_write |
|
15 |
3 |
92 |
| urtwn_calib_to |
|
9 |
2 |
51 |
| urtwn_calib_cb |
|
11 |
2 |
74 |
| urtwn_next_calib |
|
6 |
2 |
35 |
| urtwn_cancel_calib |
|
6 |
2 |
33 |
| urtwn_scan_to |
|
9 |
2 |
48 |
| urtwn_next_scan |
|
6 |
2 |
35 |
| urtwn_cancel_scan |
|
6 |
2 |
33 |
| urtwn_newstate |
|
11 |
1 |
82 |
| urtwn_newstate_cb |
|
6 |
1 |
45 |
| urtwn_updateslot |
|
7 |
1 |
50 |
| urtwn_updateslot_cb |
|
5 |
1 |
30 |
| urtwn_updateedca |
|
7 |
1 |
50 |
| urtwn_updateedca_cb |
|
5 |
1 |
30 |
| urtwn_set_key |
|
15 |
2 |
113 |
| urtwn_set_key_cb |
|
6 |
1 |
46 |
| urtwn_delete_key |
|
14 |
3 |
102 |
| urtwn_delete_key_cb |
|
6 |
1 |
46 |
| urtwn_rx_frame |
|
92 |
26 |
711 |
| urtwn_rxeof |
|
66 |
15 |
466 |
| urtwn_txeof |
|
24 |
4 |
150 |
| urtwn_tx |
|
144 |
28 |
1085 |
| urtwn_ioctl |
|
13 |
2 |
90 |
| urtwn_r92c_power_on |
|
67 |
11 |
380 |
| urtwn_r88e_power_on |
|
47 |
7 |
290 |
| urtwn_llt_init |
|
18 |
7 |
154 |
| urtwn_fw_loadpage |
|
25 |
5 |
142 |
| urtwn_load_firmware |
|
18 |
4 |
108 |
| urtwn_dma_init |
|
66 |
12 |
363 |
| urtwn_mac_init |
|
16 |
4 |
114 |
| urtwn_bb_init |
|
92 |
13 |
734 |
| urtwn_power_on |
|
7 |
2 |
41 |
| urtwn_alloc_buffers |
|
19 |
3 |
105 |
| urtwn_init |
|
19 |
5 |
147 |
| urtwn_stop |
|
12 |
3 |
71 |
| urtwn_is_oactive |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_ure.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ure_ctl |
|
24 |
4 |
148 |
| ure_read_mem |
|
5 |
1 |
40 |
| ure_write_mem |
|
5 |
1 |
40 |
| ure_read_1 |
|
12 |
1 |
75 |
| ure_read_2 |
|
12 |
1 |
75 |
| ure_read_4 |
|
6 |
1 |
43 |
| ure_write_1 |
|
16 |
2 |
97 |
| ure_write_2 |
|
16 |
2 |
97 |
| ure_write_4 |
|
6 |
1 |
50 |
| ure_ocp_reg_read |
|
7 |
1 |
50 |
| ure_ocp_reg_write |
|
7 |
1 |
52 |
| ure_miibus_readreg |
|
13 |
3 |
83 |
| ure_miibus_writereg |
|
7 |
1 |
52 |
| ure_miibus_statchg |
|
25 |
7 |
138 |
| ure_ifmedia_upd |
|
17 |
3 |
86 |
| ure_ifmedia_sts |
|
8 |
1 |
54 |
| ure_iff |
|
40 |
7 |
290 |
| ure_reset |
|
13 |
4 |
82 |
| ure_init |
|
65 |
6 |
442 |
| ure_start |
|
22 |
7 |
137 |
| ure_tick |
|
9 |
3 |
46 |
| ure_stop |
|
50 |
11 |
400 |
| ure_rtl8152_init |
|
40 |
2 |
257 |
| ure_rtl8153_init |
|
122 |
16 |
853 |
| ure_disable_teredo |
|
10 |
1 |
68 |
| ure_init_fifo |
|
92 |
11 |
573 |
| ure_ioctl |
|
38 |
11 |
210 |
| ure_match |
|
8 |
4 |
63 |
| ure_attach |
|
107 |
17 |
726 |
| ure_detach |
|
28 |
7 |
213 |
| ure_tick_task |
|
17 |
4 |
95 |
| ure_lock_mii |
|
5 |
1 |
22 |
| ure_unlock_mii |
|
6 |
2 |
34 |
| ure_rxeof |
|
65 |
12 |
439 |
| ure_txeof |
|
34 |
7 |
199 |
| ure_tx_list_init |
|
25 |
5 |
142 |
| ure_rx_list_init |
|
25 |
5 |
142 |
| ure_encap |
|
29 |
2 |
212 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_urereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/utvfu.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_kuereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_atu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atu_usb_request |
|
46 |
9 |
313 |
| atu_send_command |
|
5 |
1 |
34 |
| atu_get_cmd_status |
|
5 |
1 |
34 |
| atu_wait_completion |
|
29 |
10 |
182 |
| atu_send_mib |
|
34 |
5 |
222 |
| atu_get_mib |
|
6 |
1 |
43 |
| atu_start_ibss |
|
39 |
5 |
274 |
| atu_start_scan |
|
34 |
6 |
259 |
| atu_switch_radio |
|
25 |
7 |
149 |
| atu_initial_config |
|
94 |
18 |
653 |
| atu_join |
|
46 |
5 |
336 |
| atu_get_dfu_state |
|
7 |
2 |
37 |
| atu_get_opmode |
|
5 |
1 |
31 |
| atu_internal_firmware |
|
88 |
17 |
565 |
| atu_external_firmware |
|
53 |
9 |
345 |
| atu_get_card_config |
|
38 |
10 |
190 |
| atu_match |
|
15 |
6 |
105 |
| atu_media_change |
|
14 |
4 |
85 |
| atu_media_status |
|
6 |
2 |
45 |
| atu_task |
|
36 |
6 |
201 |
| atu_newstate |
|
28 |
5 |
182 |
| atu_attach |
|
57 |
12 |
363 |
| atu_complete_attach |
|
88 |
13 |
696 |
| atu_detach |
|
18 |
5 |
145 |
| atu_newbuf |
|
26 |
4 |
164 |
| atu_rx_list_init |
|
25 |
6 |
162 |
| atu_tx_list_init |
|
27 |
5 |
178 |
| atu_xfer_list_free |
|
17 |
5 |
119 |
| atu_rxeof |
|
104 |
17 |
697 |
| atu_txeof |
|
34 |
8 |
237 |
| atu_calculate_padding |
|
9 |
3 |
45 |
| atu_tx_start |
|
55 |
6 |
386 |
| atu_start |
|
90 |
17 |
568 |
| atu_init |
|
62 |
9 |
440 |
| atu_ioctl |
|
66 |
18 |
416 |
| atu_watchdog |
|
29 |
6 |
201 |
| atu_stop |
|
34 |
5 |
235 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umbg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umbg_match |
|
9 |
4 |
52 |
| umbg_attach |
|
90 |
14 |
653 |
| umbg_detach |
|
28 |
7 |
190 |
| umbg_intr |
|
5 |
1 |
27 |
| umbg_task |
|
42 |
9 |
324 |
| umbg_read |
|
32 |
5 |
208 |
| umbg_it_intr |
|
11 |
3 |
65 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usb_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usb_block_allocmem |
|
61 |
12 |
420 |
| usb_block_real_freemem |
|
12 |
3 |
86 |
| usb_block_freemem |
|
9 |
1 |
52 |
| usb_allocmem |
|
51 |
10 |
366 |
| usb_freemem |
|
15 |
2 |
104 |
| usb_syncmem |
|
5 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umidi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umidi_match |
|
16 |
6 |
103 |
| umidi_attach |
|
44 |
7 |
279 |
| umidi_activate |
|
10 |
2 |
58 |
| umidi_detach |
|
10 |
1 |
60 |
| umidi_open |
|
23 |
8 |
158 |
| umidi_close |
|
12 |
5 |
77 |
| umidi_output |
|
7 |
3 |
43 |
| umidi_flush |
|
7 |
3 |
37 |
| umidi_getinfo |
|
8 |
2 |
44 |
| alloc_pipe |
|
24 |
4 |
160 |
| free_pipe |
|
7 |
1 |
49 |
| alloc_all_endpoints |
|
29 |
7 |
163 |
| free_all_endpoints |
|
9 |
3 |
75 |
| alloc_all_endpoints_fixed_ep |
|
82 |
12 |
576 |
| alloc_all_endpoints_yamaha |
|
85 |
25 |
603 |
| alloc_all_endpoints_genuine |
|
80 |
22 |
570 |
| alloc_all_jacks |
|
58 |
10 |
403 |
| free_all_jacks |
|
10 |
2 |
74 |
| bind_jacks_to_mididev |
|
17 |
9 |
93 |
| unbind_jacks_from_mididev |
|
12 |
7 |
89 |
| unbind_all_jacks |
|
8 |
3 |
46 |
| assign_all_jacks_automatically |
|
21 |
6 |
145 |
| open_out_jack |
|
11 |
2 |
72 |
| open_in_jack |
|
10 |
2 |
66 |
| close_jack |
|
7 |
2 |
30 |
| attach_mididev |
|
8 |
2 |
49 |
| detach_mididev |
|
12 |
4 |
62 |
| deactivate_mididev |
|
9 |
3 |
47 |
| alloc_all_mididevs |
|
9 |
2 |
56 |
| free_all_mididevs |
|
8 |
2 |
48 |
| attach_all_mididevs |
|
12 |
4 |
65 |
| detach_all_mididevs |
|
12 |
4 |
68 |
| deactivate_all_mididevs |
|
12 |
4 |
63 |
| dump_sc |
|
13 |
3 |
119 |
| dump_ep |
|
8 |
2 |
55 |
| dump_jack |
|
5 |
1 |
22 |
| init_packet |
|
5 |
1 |
21 |
| start_input_transfer |
|
15 |
3 |
94 |
| start_output_transfer |
|
16 |
3 |
100 |
| out_jack_output |
|
32 |
7 |
181 |
| out_jack_flush |
|
13 |
5 |
76 |
| in_intr |
|
29 |
9 |
236 |
| out_intr |
|
25 |
7 |
173 |
| out_build_packet |
|
92 |
22 |
574 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umidi_quirks.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| umidi_search_quirk |
|
22 |
10 |
183 |
| umidi_print_quirk |
|
12 |
4 |
72 |
| umidi_get_quirk_data_from_type |
|
10 |
4 |
54 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uplcom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uplcom_match |
|
8 |
3 |
57 |
| uplcom_attach |
|
136 |
24 |
848 |
| uplcom_detach |
|
17 |
3 |
115 |
| uplcom_reset |
|
14 |
2 |
84 |
| uplcom_set_line_state |
|
17 |
5 |
123 |
| uplcom_set |
|
17 |
4 |
70 |
| uplcom_dtr |
|
8 |
3 |
53 |
| uplcom_rts |
|
8 |
3 |
53 |
| uplcom_break |
|
11 |
2 |
84 |
| uplcom_set_crtscts |
|
19 |
3 |
111 |
| uplcom_set_line_coding |
|
26 |
3 |
166 |
| uplcom_param |
|
47 |
13 |
273 |
| uplcom_open |
|
49 |
9 |
345 |
| uplcom_close |
|
17 |
4 |
104 |
| uplcom_intr |
|
32 |
8 |
205 |
| uplcom_get_status |
|
9 |
3 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ulpt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ulpt_match |
|
17 |
8 |
113 |
| ulpt_load_firmware |
|
12 |
2 |
75 |
| ulpt_attach |
|
112 |
27 |
764 |
| ulpt_detach |
|
23 |
6 |
164 |
| ulpt_status |
|
17 |
2 |
103 |
| ulpt_reset |
|
14 |
2 |
99 |
| ulpt_input |
|
9 |
2 |
55 |
| ulptopen |
|
83 |
20 |
552 |
| ulpt_statusmsg |
|
14 |
4 |
103 |
| ulptclose |
|
27 |
6 |
165 |
| ulpt_do_write |
|
35 |
6 |
218 |
| ulptwrite |
|
13 |
4 |
95 |
| ulpt_ucode_loader_hp |
|
55 |
7 |
320 |
| ieee1284_print_id |
|
15 |
7 |
118 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_smscreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uslhcomreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uoakrh.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uoakrh_match |
|
9 |
3 |
64 |
| uoakrh_attach |
|
65 |
5 |
559 |
| uoakrh_detach |
|
19 |
4 |
152 |
| uoakrh_intr |
|
20 |
3 |
220 |
| uoakrh_refresh |
|
18 |
3 |
146 |
| uoakrh_get_sensor_setting |
|
15 |
2 |
119 |
| uoakrh_dev_setting |
|
5 |
1 |
34 |
| uoakrh_dev_print |
|
7 |
3 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ohcireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/utpms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| utpms_match |
|
17 |
7 |
126 |
| utpms_attach |
|
56 |
12 |
375 |
| utpms_detach |
|
8 |
2 |
53 |
| utpms_activate |
|
10 |
3 |
59 |
| utpms_enable |
|
13 |
3 |
91 |
| utpms_disable |
|
8 |
2 |
42 |
| utpms_ioctl |
|
9 |
2 |
52 |
| utpms_intr |
|
37 |
11 |
336 |
| reorder_sample |
|
26 |
7 |
260 |
| compute_delta |
|
49 |
12 |
367 |
| smooth_pos |
|
13 |
4 |
74 |
| detect_pos |
|
18 |
6 |
125 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbdi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usbd_is_dying |
|
4 |
2 |
22 |
| usbd_deactivate |
|
4 |
1 |
15 |
| usbd_ref_incr |
|
4 |
1 |
14 |
| usbd_ref_decr |
|
5 |
2 |
26 |
| usbd_ref_wait |
|
5 |
2 |
33 |
| usbd_get_devcnt |
|
4 |
1 |
16 |
| usbd_claim_iface |
|
4 |
1 |
23 |
| usbd_iface_claimed |
|
4 |
1 |
24 |
| usbd_dump_iface |
|
9 |
2 |
49 |
| usbd_dump_device |
|
10 |
2 |
71 |
| usbd_dump_endpoint |
|
10 |
3 |
54 |
| usbd_dump_queue |
|
8 |
1 |
41 |
| usbd_dump_pipe |
|
13 |
2 |
75 |
| usbd_open_pipe |
|
6 |
1 |
36 |
| usbd_open_pipe_ival |
|
27 |
7 |
184 |
| usbd_open_pipe_intr |
|
35 |
4 |
202 |
| usbd_close_pipe |
|
17 |
6 |
105 |
| usbd_transfer |
|
78 |
26 |
501 |
| usbd_alloc_buffer |
|
12 |
4 |
87 |
| usbd_free_buffer |
|
9 |
3 |
57 |
| usbd_alloc_xfer |
|
12 |
3 |
80 |
| usbd_free_xfer |
|
11 |
4 |
77 |
| usbd_setup_xfer |
|
16 |
1 |
100 |
| usbd_setup_default_xfer |
|
17 |
1 |
113 |
| usbd_setup_isoc_xfer |
|
20 |
2 |
128 |
| usbd_get_xfer_status |
|
12 |
5 |
77 |
| usbd_get_config_descriptor |
|
8 |
3 |
34 |
| usbd_get_interface_descriptor |
|
8 |
3 |
34 |
| usbd_get_device_descriptor |
|
4 |
1 |
17 |
| usbd_interface2endpoint_descriptor |
|
6 |
2 |
39 |
| usbd_abort_pipe |
|
22 |
6 |
131 |
| usbd_clear_endpoint_stall |
|
15 |
1 |
100 |
| usbd_clear_endpoint_stall_async |
|
18 |
2 |
116 |
| usbd_clear_endpoint_toggle |
|
5 |
2 |
28 |
| usbd_device2interface_handle |
|
10 |
3 |
61 |
| usbd_set_interface |
|
24 |
6 |
166 |
| usbd_get_no_alts |
|
15 |
5 |
97 |
| usbd_get_interface_altindex |
|
4 |
1 |
16 |
| usb_transfer_complete |
|
76 |
28 |
543 |
| usb_insert_transfer |
|
23 |
4 |
124 |
| usbd_start_next |
|
25 |
7 |
136 |
| usbd_do_request |
|
5 |
1 |
35 |
| usbd_do_request_flags |
|
53 |
10 |
353 |
| usbd_request_async_cb |
|
4 |
1 |
21 |
| usbd_request_async |
|
16 |
3 |
91 |
| usbd_get_quirks |
|
8 |
3 |
32 |
| usbd_dopoll |
|
4 |
1 |
22 |
| usbd_set_polling |
|
9 |
3 |
52 |
| usbd_get_endpoint_descriptor |
|
11 |
3 |
76 |
| usbd_ratecheck |
|
5 |
1 |
31 |
| usbd_match_device |
|
12 |
5 |
85 |
| usbd_desc_iter_init |
|
6 |
1 |
53 |
| usbd_desc_iter_next |
|
20 |
5 |
109 |
| usbd_str |
|
14 |
5 |
112 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usb_quirks.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_kuevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhidev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uhidev_match |
|
19 |
8 |
122 |
| uhidev_attach |
|
117 |
26 |
879 |
| uhidev_use_rdesc |
|
39 |
10 |
211 |
| uhidev_maxrepid |
|
13 |
3 |
80 |
| uhidevprint |
|
9 |
4 |
59 |
| uhidevsubmatch |
|
9 |
3 |
71 |
| uhidev_activate |
|
18 |
6 |
111 |
| uhidev_detach |
|
28 |
9 |
233 |
| uhidev_intr |
|
41 |
13 |
274 |
| uhidev_get_report_desc |
|
5 |
1 |
31 |
| uhidev_open |
|
83 |
13 |
509 |
| uhidev_close |
|
36 |
9 |
211 |
| uhidev_set_report |
|
23 |
4 |
160 |
| uhidev_set_report_async |
|
32 |
6 |
204 |
| uhidev_get_report |
|
26 |
5 |
175 |
| uhidev_get_report_async_cb |
|
21 |
5 |
154 |
| uhidev_get_report_async |
|
38 |
6 |
263 |
| uhidev_write |
|
21 |
6 |
147 |
| uhidev_ioctl |
|
61 |
13 |
303 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uhid_match |
|
7 |
2 |
42 |
| uhid_attach |
|
18 |
1 |
184 |
| uhid_detach |
|
21 |
5 |
143 |
| uhid_intr |
|
18 |
5 |
145 |
| uhidopen |
|
19 |
5 |
143 |
| uhidclose |
|
10 |
1 |
80 |
| uhid_do_read |
|
36 |
10 |
264 |
| uhidread |
|
11 |
2 |
75 |
| uhid_do_write |
|
20 |
5 |
129 |
| uhidwrite |
|
11 |
2 |
75 |
| uhid_do_ioctl |
|
27 |
10 |
141 |
| uhidioctl |
|
11 |
2 |
85 |
| uhidpoll |
|
20 |
5 |
135 |
| filt_uhidrdetach |
|
8 |
1 |
52 |
| filt_uhidread |
|
6 |
1 |
44 |
| uhidkqfilter |
|
26 |
4 |
145 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uscom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uscom_match |
|
8 |
3 |
57 |
| uscom_attach |
|
52 |
10 |
366 |
| uscom_detach |
|
10 |
2 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uvideo.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uaudio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uaudio_match |
|
42 |
13 |
277 |
| uaudio_attach |
|
60 |
13 |
424 |
| uaudio_detach |
|
7 |
2 |
47 |
| uaudio_find_iface |
|
15 |
7 |
103 |
| uaudio_mixer_add_ctl |
|
56 |
11 |
468 |
| uaudio_id_name |
|
6 |
1 |
44 |
| uaudio_get_cluster_nchan |
|
41 |
10 |
287 |
| uaudio_add_input |
|
11 |
2 |
80 |
| uaudio_add_output |
|
9 |
2 |
68 |
| uaudio_add_mixer |
|
52 |
12 |
445 |
| uaudio_add_selector |
|
24 |
3 |
212 |
| uaudio_get_terminal_name |
|
65 |
57 |
375 |
| uaudio_determine_class |
|
31 |
13 |
212 |
| uaudio_feature_name |
|
82 |
60 |
282 |
| uaudio_add_feature |
|
103 |
18 |
696 |
| uaudio_add_processing_updown |
|
30 |
3 |
260 |
| uaudio_add_processing |
|
36 |
8 |
247 |
| uaudio_add_extension |
|
22 |
3 |
188 |
| uaudio_merge_terminal_list |
|
32 |
8 |
233 |
| uaudio_io_terminaltype |
|
146 |
29 |
1117 |
| uaudio_identify |
|
8 |
2 |
45 |
| uaudio_add_alt |
|
17 |
3 |
146 |
| uaudio_process_as |
|
194 |
54 |
1217 |
| uaudio_identify_as |
|
47 |
9 |
264 |
| uaudio_identify_ac |
|
195 |
52 |
1406 |
| uaudio_query_devinfo |
|
77 |
11 |
666 |
| uaudio_open |
|
12 |
6 |
92 |
| uaudio_close |
|
8 |
3 |
57 |
| uaudio_halt_out_dma |
|
14 |
3 |
95 |
| uaudio_halt_in_dma |
|
14 |
3 |
95 |
| uaudio_round_blocksize |
|
26 |
6 |
162 |
| uaudio_get_props |
|
11 |
3 |
62 |
| uaudio_get |
|
36 |
5 |
229 |
| uaudio_set |
|
31 |
6 |
186 |
| uaudio_signext |
|
10 |
3 |
49 |
| uaudio_unsignext |
|
10 |
3 |
49 |
| uaudio_value2bsd |
|
21 |
6 |
150 |
| uaudio_bsd2value |
|
15 |
5 |
130 |
| uaudio_ctl_get |
|
9 |
1 |
77 |
| uaudio_ctl_set |
|
7 |
1 |
61 |
| uaudio_mixer_get_port |
|
38 |
16 |
354 |
| uaudio_mixer_set_port |
|
36 |
14 |
326 |
| uaudio_trigger_input |
|
33 |
5 |
223 |
| uaudio_trigger_output |
|
36 |
7 |
249 |
| uaudio_chan_open |
|
40 |
8 |
283 |
| uaudio_chan_close |
|
18 |
4 |
113 |
| uaudio_chan_alloc_buffers |
|
48 |
11 |
331 |
| uaudio_chan_free_buffers |
|
11 |
4 |
92 |
| uaudio_chan_ptransfer |
|
57 |
12 |
432 |
| uaudio_chan_pintr |
|
17 |
4 |
102 |
| uaudio_chan_psync_transfer |
|
22 |
5 |
170 |
| uaudio_chan_psync_intr |
|
44 |
10 |
346 |
| uaudio_chan_rtransfer |
|
29 |
7 |
226 |
| uaudio_chan_rintr |
|
50 |
10 |
333 |
| uaudio_chan_init |
|
64 |
13 |
473 |
| uaudio_chan_set_param |
|
21 |
3 |
174 |
| uaudio_match_alt_rate |
|
34 |
10 |
222 |
| uaudio_match_alt |
|
84 |
28 |
602 |
| uaudio_set_params |
|
93 |
37 |
661 |
| uaudio_set_speed |
|
15 |
1 |
122 |
| uaudio_set_speed_emu0202 |
|
21 |
4 |
160 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umidivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ucomvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbdi_util.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usbd_get_desc |
|
12 |
1 |
94 |
| usbd_get_device_status |
|
10 |
1 |
71 |
| usbd_get_hub_status |
|
10 |
1 |
71 |
| usbd_get_hub_descriptor |
|
12 |
1 |
86 |
| usbd_get_hub_ss_descriptor |
|
12 |
1 |
86 |
| usbd_get_port_status |
|
10 |
1 |
73 |
| usbd_clear_hub_feature |
|
10 |
1 |
67 |
| usbd_set_hub_feature |
|
10 |
1 |
67 |
| usbd_set_hub_depth |
|
10 |
1 |
65 |
| usbd_clear_port_feature |
|
10 |
1 |
70 |
| usbd_set_port_feature |
|
10 |
1 |
70 |
| usbd_set_idle |
|
11 |
1 |
88 |
| usbd_get_report_descriptor |
|
11 |
1 |
76 |
| usbd_get_hid_descriptor |
|
16 |
5 |
121 |
| usbd_get_config |
|
10 |
1 |
68 |
| usb_detach_wait |
|
7 |
2 |
55 |
| usb_detach_wakeup |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_uathvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbcdc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usps.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usps_match |
|
9 |
4 |
64 |
| usps_attach |
|
117 |
18 |
1030 |
| usps_detach |
|
34 |
6 |
319 |
| usps_cmd |
|
17 |
2 |
112 |
| usps_set_measurement_mode |
|
25 |
3 |
165 |
| usps_intr |
|
41 |
14 |
325 |
| usps_get_device_info |
|
15 |
1 |
199 |
| usps_refresh |
|
7 |
1 |
30 |
| usps_refresh_ports |
|
16 |
2 |
127 |
| usps_refresh_temp |
|
13 |
2 |
95 |
| usps_refresh_power |
|
34 |
6 |
221 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ucycom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ucycom_match |
|
8 |
3 |
63 |
| ucycom_attach |
|
44 |
2 |
377 |
| ucycom_get_status |
|
9 |
4 |
59 |
| ucycom_open |
|
24 |
3 |
183 |
| ucycom_close |
|
17 |
4 |
101 |
| ucycom_read |
|
13 |
2 |
102 |
| ucycom_write |
|
34 |
8 |
245 |
| ucycom_param |
|
68 |
26 |
378 |
| ucycom_intr |
|
42 |
10 |
256 |
| ucycom_set |
|
26 |
7 |
150 |
| ucycom_detach |
|
12 |
3 |
83 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ehci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ehci_reverse_bits |
|
7 |
1 |
92 |
| ehci_init |
|
152 |
24 |
1223 |
| ehci_intr |
|
13 |
5 |
81 |
| ehci_intr1 |
|
47 |
11 |
270 |
| ehci_pcd |
|
18 |
4 |
137 |
| ehci_setaddr |
|
15 |
5 |
92 |
| ehci_softintr |
|
25 |
7 |
168 |
| ehci_check_intr |
|
8 |
2 |
51 |
| ehci_check_qh_intr |
|
41 |
7 |
328 |
| ehci_check_itd_intr |
|
30 |
7 |
237 |
| ehci_isoc_idone |
|
62 |
15 |
396 |
| ehci_idone |
|
46 |
13 |
307 |
| ehci_poll |
|
6 |
2 |
39 |
| ehci_detach |
|
15 |
2 |
108 |
| ehci_activate |
|
93 |
20 |
642 |
| ehci_reset |
|
30 |
9 |
201 |
| ehci_allocx |
|
8 |
3 |
47 |
| ehci_freex |
|
9 |
3 |
51 |
| ehci_device_clear_toggle |
|
7 |
3 |
62 |
| ehci_dump_regs |
|
16 |
2 |
103 |
| ehci_dump |
|
4 |
1 |
11 |
| ehci_dump_link |
|
27 |
7 |
103 |
| ehci_dump_sqtds |
|
19 |
5 |
133 |
| ehci_dump_sqtd |
|
9 |
1 |
72 |
| ehci_dump_qtd |
|
19 |
2 |
152 |
| ehci_dump_sqh |
|
29 |
1 |
247 |
| ehci_dump_itd |
|
23 |
3 |
204 |
| ehci_dump_exfer |
|
6 |
1 |
37 |
| ehci_open |
|
140 |
28 |
800 |
| ehci_add_qh |
|
17 |
2 |
173 |
| ehci_rem_qh |
|
14 |
2 |
132 |
| ehci_set_qh_qtd |
|
29 |
2 |
254 |
| ehci_sync_hc |
|
19 |
6 |
116 |
| ehci_rem_itd_chain |
|
28 |
6 |
258 |
| ehci_free_itd_chain |
|
15 |
5 |
104 |
| ehci_root_ctrl_transfer |
|
8 |
2 |
44 |
| ehci_root_ctrl_start |
|
345 |
97 |
2031 |
| ehci_disown |
|
8 |
1 |
51 |
| ehci_root_ctrl_abort |
|
3 |
1 |
9 |
| ehci_root_ctrl_close |
|
3 |
1 |
9 |
| ehci_root_intr_done |
|
3 |
1 |
9 |
| ehci_root_intr_transfer |
|
8 |
2 |
44 |
| ehci_root_intr_start |
|
8 |
2 |
49 |
| ehci_root_intr_abort |
|
10 |
1 |
56 |
| ehci_root_intr_close |
|
3 |
1 |
9 |
| ehci_root_ctrl_done |
|
3 |
1 |
9 |
| ehci_alloc_sqh |
|
33 |
4 |
205 |
| ehci_free_sqh |
|
8 |
1 |
42 |
| ehci_alloc_sqtd |
|
32 |
4 |
199 |
| ehci_free_sqtd |
|
8 |
1 |
42 |
| ehci_alloc_sqtd_chain |
|
111 |
25 |
742 |
| ehci_free_sqtd_chain |
|
12 |
2 |
100 |
| ehci_alloc_itd |
|
48 |
8 |
348 |
| ehci_free_itd |
|
7 |
1 |
42 |
| ehci_close_pipe |
|
13 |
1 |
96 |
| ehci_abort_xfer |
|
74 |
12 |
568 |
| ehci_abort_isoc_xfer |
|
62 |
10 |
483 |
| ehci_timeout |
|
12 |
2 |
74 |
| ehci_timeout_task |
|
8 |
1 |
36 |
| ehci_intrlist_timeout |
|
11 |
2 |
56 |
| ehci_device_ctrl_transfer |
|
8 |
2 |
44 |
| ehci_device_ctrl_start |
|
94 |
11 |
711 |
| ehci_device_ctrl_done |
|
9 |
2 |
63 |
| ehci_device_ctrl_abort |
|
4 |
1 |
16 |
| ehci_device_ctrl_close |
|
4 |
1 |
14 |
| ehci_device_bulk_transfer |
|
8 |
2 |
44 |
| ehci_device_bulk_start |
|
37 |
7 |
264 |
| ehci_device_bulk_abort |
|
4 |
1 |
16 |
| ehci_device_bulk_close |
|
4 |
1 |
14 |
| ehci_device_bulk_done |
|
8 |
2 |
54 |
| ehci_device_setintr |
|
13 |
3 |
94 |
| ehci_device_intr_transfer |
|
8 |
2 |
44 |
| ehci_device_intr_start |
|
36 |
7 |
262 |
| ehci_device_intr_abort |
|
5 |
2 |
34 |
| ehci_device_intr_close |
|
4 |
1 |
14 |
| ehci_device_intr_done |
|
41 |
9 |
284 |
| ehci_device_isoc_transfer |
|
8 |
3 |
40 |
| ehci_device_isoc_start |
|
71 |
18 |
562 |
| ehci_alloc_itd_chain |
|
80 |
13 |
553 |
| ehci_alloc_sitd_chain |
|
61 |
9 |
471 |
| ehci_device_isoc_abort |
|
7 |
1 |
30 |
| ehci_device_isoc_close |
|
3 |
1 |
9 |
| ehci_device_isoc_done |
|
14 |
2 |
98 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_zyd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zyd_match |
|
8 |
3 |
54 |
| zyd_attachhook |
|
23 |
5 |
146 |
| zyd_attach |
|
16 |
2 |
116 |
| zyd_complete_attach |
|
86 |
10 |
627 |
| zyd_detach |
|
26 |
5 |
159 |
| zyd_open_pipes |
|
48 |
8 |
304 |
| zyd_close_pipes |
|
15 |
4 |
98 |
| zyd_alloc_tx_list |
|
27 |
4 |
160 |
| zyd_free_tx_list |
|
16 |
4 |
98 |
| zyd_alloc_rx_list |
|
25 |
4 |
141 |
| zyd_free_rx_list |
|
11 |
3 |
63 |
| zyd_node_alloc |
|
4 |
1 |
25 |
| zyd_media_change |
|
10 |
3 |
56 |
| zyd_next_scan |
|
8 |
2 |
48 |
| zyd_task |
|
40 |
10 |
242 |
| zyd_newstate |
|
11 |
1 |
80 |
| zyd_cmd_read |
|
35 |
5 |
235 |
| zyd_read16 |
|
12 |
2 |
87 |
| zyd_read32 |
|
14 |
2 |
126 |
| zyd_cmd_write |
|
21 |
3 |
150 |
| zyd_write16 |
|
7 |
1 |
53 |
| zyd_write32 |
|
9 |
1 |
96 |
| zyd_rfwrite |
|
17 |
3 |
154 |
| zyd_lock_phy |
|
7 |
1 |
41 |
| zyd_unlock_phy |
|
7 |
1 |
41 |
| zyd_rfmd_init |
|
17 |
5 |
132 |
| zyd_rfmd_switch_radio |
|
7 |
3 |
56 |
| zyd_rfmd_set_channel |
|
10 |
1 |
74 |
| zyd_al2230_init |
|
26 |
8 |
200 |
| zyd_al2230_init_b |
|
17 |
5 |
132 |
| zyd_al2230_switch_radio |
|
8 |
4 |
71 |
| zyd_al2230_set_channel |
|
13 |
1 |
117 |
| zyd_al7230B_init |
|
34 |
11 |
296 |
| zyd_al7230B_switch_radio |
|
7 |
3 |
56 |
| zyd_al7230B_set_channel |
|
27 |
3 |
257 |
| zyd_al2210_init |
|
27 |
5 |
248 |
| zyd_al2210_switch_radio |
|
4 |
1 |
15 |
| zyd_al2210_set_channel |
|
17 |
1 |
164 |
| zyd_gct_init |
|
17 |
5 |
132 |
| zyd_gct_switch_radio |
|
4 |
1 |
15 |
| zyd_gct_set_channel |
|
9 |
1 |
68 |
| zyd_maxim_init |
|
22 |
5 |
199 |
| zyd_maxim_switch_radio |
|
4 |
1 |
15 |
| zyd_maxim_set_channel |
|
27 |
5 |
252 |
| zyd_maxim2_init |
|
22 |
5 |
199 |
| zyd_maxim2_switch_radio |
|
4 |
1 |
15 |
| zyd_maxim2_set_channel |
|
27 |
5 |
252 |
| zyd_rf_attach |
|
58 |
10 |
279 |
| zyd_rf_name |
|
10 |
2 |
64 |
| zyd_hw_init |
|
67 |
9 |
555 |
| zyd_read_eeprom |
|
41 |
2 |
455 |
| zyd_set_multi |
|
29 |
5 |
183 |
| zyd_set_macaddr |
|
8 |
1 |
87 |
| zyd_set_bssid |
|
8 |
1 |
87 |
| zyd_switch_radio |
|
9 |
1 |
52 |
| zyd_set_led |
|
9 |
2 |
55 |
| zyd_set_rxfilter |
|
19 |
5 |
67 |
| zyd_set_chan |
|
27 |
6 |
260 |
| zyd_set_beacon_interval |
|
7 |
1 |
55 |
| zyd_plcp_signal |
|
18 |
13 |
90 |
| zyd_intr |
|
47 |
12 |
346 |
| zyd_rx_data |
|
75 |
9 |
542 |
| zyd_rxeof |
|
44 |
10 |
325 |
| zyd_txeof |
|
29 |
5 |
182 |
| zyd_tx |
|
102 |
26 |
803 |
| zyd_start |
|
39 |
14 |
244 |
| zyd_watchdog |
|
14 |
3 |
74 |
| zyd_ioctl |
|
58 |
18 |
335 |
| zyd_init |
|
64 |
13 |
492 |
| zyd_stop |
|
17 |
1 |
131 |
| zyd_loadfirmware |
|
31 |
5 |
211 |
| zyd_iter_func |
|
6 |
1 |
47 |
| zyd_amrr_timeout |
|
13 |
2 |
76 |
| zyd_newassoc |
|
10 |
3 |
90 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umass_quirks.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/udcf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udcf_match |
|
8 |
3 |
57 |
| udcf_attach |
|
93 |
9 |
676 |
| udcf_detach |
|
20 |
6 |
173 |
| udcf_intr |
|
5 |
1 |
27 |
| udcf_bv_intr |
|
5 |
1 |
27 |
| udcf_mg_intr |
|
5 |
1 |
27 |
| udcf_sl_intr |
|
5 |
1 |
27 |
| udcf_nc_init_hw |
|
33 |
3 |
229 |
| udcf_ft232r_init_hw |
|
16 |
2 |
88 |
| udcf_nc_signal |
|
9 |
2 |
49 |
| udcf_ft232r_signal |
|
18 |
3 |
114 |
| udcf_probe |
|
40 |
8 |
247 |
| udcf_bv_probe |
|
16 |
5 |
91 |
| udcf_mg_probe |
|
110 |
21 |
905 |
| udcf_sl_probe |
|
10 |
2 |
61 |
| udcf_it_intr |
|
13 |
3 |
73 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uaudioreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/upd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| upd_match |
|
21 |
4 |
138 |
| upd_attach |
|
37 |
4 |
326 |
| upd_attach_sensor_tree |
|
42 |
6 |
341 |
| upd_detach |
|
17 |
4 |
142 |
| upd_refresh |
|
8 |
1 |
39 |
| upd_request_children |
|
20 |
3 |
124 |
| upd_lookup_usage_entry |
|
17 |
5 |
102 |
| upd_lookup_sensor |
|
12 |
4 |
86 |
| upd_update_report_cb |
|
16 |
5 |
122 |
| upd_sensor_invalidate |
|
8 |
1 |
53 |
| upd_sensor_update |
|
34 |
11 |
191 |
| upd_intr |
|
3 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_udavreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_athn_usb.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usb.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uvscom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvscom_match |
|
8 |
3 |
59 |
| uvscom_attach |
|
97 |
15 |
638 |
| uvscom_detach |
|
17 |
3 |
113 |
| uvscom_readstat |
|
21 |
2 |
132 |
| uvscom_shutdown |
|
18 |
2 |
113 |
| uvscom_reset |
|
5 |
1 |
27 |
| uvscom_set_crtscts |
|
5 |
1 |
27 |
| uvscom_set_line |
|
19 |
2 |
118 |
| uvscom_set_line_coding |
|
30 |
3 |
203 |
| uvscom_dtr |
|
13 |
3 |
75 |
| uvscom_rts |
|
13 |
3 |
75 |
| uvscom_break |
|
7 |
2 |
45 |
| uvscom_set |
|
17 |
4 |
70 |
| uvscom_param |
|
83 |
22 |
360 |
| uvscom_open |
|
55 |
11 |
309 |
| uvscom_close |
|
19 |
4 |
109 |
| uvscom_intr |
|
34 |
10 |
250 |
| uvscom_get_status |
|
8 |
3 |
52 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uts.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uts_match |
|
12 |
5 |
89 |
| uts_attach |
|
55 |
8 |
372 |
| uts_detach |
|
15 |
3 |
91 |
| uts_activate |
|
13 |
3 |
69 |
| uts_enable |
|
23 |
5 |
152 |
| uts_disable |
|
18 |
4 |
96 |
| uts_ioctl |
|
48 |
22 |
398 |
| uts_get_pos |
|
60 |
12 |
544 |
| uts_intr |
|
30 |
5 |
216 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_ralvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ukbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ukbd_match |
|
11 |
2 |
80 |
| ukbd_attach |
|
92 |
33 |
635 |
| ukbd_detach |
|
10 |
2 |
69 |
| ukbd_intr |
|
10 |
3 |
87 |
| ukbd_enable |
|
16 |
5 |
94 |
| ukbd_set_leds |
|
11 |
4 |
84 |
| ukbd_ioctl |
|
20 |
4 |
130 |
| ukbd_cngetc |
|
12 |
2 |
92 |
| ukbd_cnpollc |
|
10 |
2 |
62 |
| ukbd_cnbell |
|
4 |
1 |
28 |
| ukbd_debugger |
|
5 |
1 |
25 |
| ukbd_db_enter |
|
4 |
1 |
12 |
| ukbd_cnattach |
|
15 |
4 |
75 |
| ukbd_translate |
|
8 |
3 |
45 |
| ukbd_apple_translate |
|
14 |
3 |
111 |
| ukbd_apple_munge |
|
31 |
4 |
191 |
| ukbd_apple_mba_munge |
|
28 |
4 |
173 |
| ukbd_apple_iso_munge |
|
10 |
1 |
63 |
| ukbd_apple_iso_mba_munge |
|
10 |
1 |
63 |
| ukbd_gdium_munge |
|
41 |
8 |
257 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/udl.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usb_match |
|
4 |
1 |
22 |
| usb_attach |
|
62 |
15 |
384 |
| usb_attach_roothub |
|
18 |
3 |
122 |
| usb_detach_roothub |
|
8 |
1 |
58 |
| usb_create_task_threads |
|
9 |
3 |
46 |
| usb_add_task |
|
29 |
8 |
165 |
| usb_rem_task |
|
24 |
6 |
134 |
| usb_wait_task |
|
14 |
3 |
89 |
| usb_rem_wait_task |
|
5 |
1 |
28 |
| usb_task_thread |
|
29 |
6 |
174 |
| usb_abort_task_thread |
|
25 |
4 |
137 |
| usbctlprint |
|
6 |
2 |
29 |
| usbopen |
|
13 |
4 |
82 |
| usbclose |
|
4 |
1 |
23 |
| usb_fill_di_task |
|
15 |
4 |
91 |
| usb_fill_udc_task |
|
22 |
5 |
137 |
| usb_fill_udf_task |
|
19 |
4 |
126 |
| usbioctl |
|
193 |
52 |
1278 |
| usb_explore |
|
43 |
13 |
308 |
| usb_needs_explore |
|
11 |
3 |
89 |
| usb_needs_reattach |
|
6 |
1 |
33 |
| usb_schedsoftintr |
|
9 |
2 |
49 |
| usb_activate |
|
22 |
5 |
119 |
| usb_detach |
|
17 |
4 |
102 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/udlio.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_mos.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mos_lock_mii |
|
5 |
1 |
22 |
| mos_unlock_mii |
|
6 |
2 |
34 |
| mos_reg_read_1 |
|
19 |
3 |
117 |
| mos_reg_read_2 |
|
20 |
3 |
125 |
| mos_reg_write_1 |
|
20 |
3 |
122 |
| mos_reg_write_2 |
|
20 |
3 |
125 |
| mos_readmac |
|
18 |
3 |
110 |
| mos_writemac |
|
18 |
3 |
110 |
| mos_write_mcast |
|
18 |
3 |
110 |
| mos_miibus_readreg |
|
27 |
5 |
174 |
| mos_miibus_writereg |
|
22 |
5 |
141 |
| mos_miibus_statchg |
|
30 |
5 |
172 |
| mos_ifmedia_upd |
|
13 |
2 |
73 |
| mos_ifmedia_sts |
|
8 |
1 |
54 |
| mos_iff |
|
31 |
6 |
247 |
| mos_reset |
|
13 |
2 |
69 |
| mos_chip_init |
|
9 |
3 |
66 |
| mos_match |
|
8 |
4 |
63 |
| mos_attach |
|
90 |
15 |
695 |
| mos_detach |
|
39 |
13 |
310 |
| mos_newbuf |
|
15 |
3 |
85 |
| mos_rx_list_init |
|
26 |
5 |
163 |
| mos_tx_list_init |
|
26 |
5 |
163 |
| mos_rxeof |
|
72 |
16 |
474 |
| mos_txeof |
|
34 |
7 |
192 |
| mos_tick |
|
11 |
3 |
63 |
| mos_tick_task |
|
28 |
8 |
158 |
| mos_encap |
|
20 |
2 |
140 |
| mos_start |
|
24 |
7 |
142 |
| mos_init |
|
61 |
6 |
431 |
| mos_ioctl |
|
38 |
11 |
210 |
| mos_watchdog |
|
17 |
2 |
113 |
| mos_stop |
|
60 |
13 |
472 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/umidireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ehcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_axe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| axe_lock_mii |
|
5 |
1 |
22 |
| axe_unlock_mii |
|
6 |
2 |
34 |
| axe_cmd |
|
21 |
4 |
141 |
| axe_miibus_readreg |
|
35 |
11 |
261 |
| axe_miibus_writereg |
|
20 |
4 |
131 |
| axe_miibus_statchg |
|
54 |
18 |
297 |
| axe_ifmedia_upd |
|
12 |
2 |
67 |
| axe_ifmedia_sts |
|
8 |
1 |
54 |
| axe_iff |
|
38 |
7 |
274 |
| axe_reset |
|
7 |
2 |
27 |
| axe_ax88178_init |
|
48 |
6 |
396 |
| axe_ax88772b_nodeid |
|
17 |
5 |
124 |
| axe_ax88772_init |
|
24 |
2 |
199 |
| axe_get_phyno |
|
16 |
6 |
70 |
| axe_match |
|
8 |
4 |
63 |
| axe_attach |
|
107 |
21 |
897 |
| axe_detach |
|
39 |
13 |
310 |
| axe_newbuf |
|
15 |
3 |
85 |
| axe_rx_list_init |
|
26 |
5 |
163 |
| axe_tx_list_init |
|
26 |
5 |
163 |
| axe_rxeof |
|
82 |
16 |
528 |
| axe_txeof |
|
34 |
7 |
190 |
| axe_tick |
|
11 |
3 |
63 |
| axe_tick_task |
|
22 |
5 |
113 |
| axe_encap |
|
37 |
5 |
297 |
| axe_start |
|
24 |
7 |
142 |
| axe_init |
|
75 |
11 |
541 |
| axe_ioctl |
|
38 |
11 |
210 |
| axe_watchdog |
|
17 |
2 |
111 |
| axe_stop |
|
60 |
13 |
466 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uhcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_ralreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_uathreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_urtw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| urtw_match |
|
8 |
4 |
65 |
| urtw_attach |
|
124 |
15 |
769 |
| urtw_detach |
|
23 |
4 |
157 |
| urtw_close_pipes |
|
24 |
7 |
123 |
| urtw_open_pipes |
|
41 |
7 |
248 |
| urtw_alloc_rx_data_list |
|
40 |
6 |
232 |
| urtw_free_rx_data_list |
|
17 |
5 |
101 |
| urtw_alloc_tx_data_list |
|
30 |
5 |
180 |
| urtw_free_tx_data_list |
|
20 |
6 |
128 |
| urtw_media_change |
|
11 |
3 |
73 |
| urtw_newstate |
|
10 |
1 |
76 |
| urtw_led_init |
|
28 |
7 |
118 |
| urtw_8225_write_s16 |
|
12 |
1 |
86 |
| urtw_8225_read |
|
80 |
8 |
585 |
| urtw_8225_write_c |
|
27 |
2 |
194 |
| urtw_8225_isv2 |
|
26 |
5 |
152 |
| urtw_get_rfchip |
|
43 |
6 |
213 |
| urtw_get_txpwr |
|
62 |
12 |
609 |
| urtw_get_macaddr |
|
23 |
4 |
180 |
| urtw_eprom_read32 |
|
61 |
12 |
488 |
| urtw_eprom_readbit |
|
10 |
2 |
54 |
| urtw_eprom_sendbits |
|
15 |
4 |
85 |
| urtw_eprom_writebit |
|
13 |
2 |
69 |
| urtw_eprom_ck |
|
13 |
1 |
74 |
| urtw_eprom_cs |
|
13 |
2 |
69 |
| urtw_read8_c |
|
12 |
1 |
90 |
| urtw_read8e |
|
12 |
1 |
85 |
| urtw_read16_c |
|
13 |
1 |
99 |
| urtw_read32_c |
|
13 |
1 |
99 |
| urtw_write8_c |
|
10 |
1 |
83 |
| urtw_write8e |
|
10 |
1 |
78 |
| urtw_write16_c |
|
11 |
1 |
90 |
| urtw_write32_c |
|
11 |
1 |
90 |
| urtw_set_mode |
|
11 |
1 |
69 |
| urtw_8180_set_anaparam |
|
18 |
3 |
108 |
| urtw_8185_set_anaparam2 |
|
18 |
3 |
108 |
| urtw_intr_disable |
|
7 |
1 |
28 |
| urtw_reset |
|
46 |
11 |
273 |
| urtw_led_on |
|
17 |
3 |
73 |
| urtw_led_off |
|
17 |
3 |
73 |
| urtw_led_mode0 |
|
46 |
12 |
220 |
| urtw_led_mode1 |
|
4 |
1 |
17 |
| urtw_led_mode2 |
|
4 |
1 |
17 |
| urtw_led_mode3 |
|
4 |
1 |
17 |
| urtw_ledusbtask |
|
7 |
2 |
30 |
| urtw_ledtask |
|
5 |
1 |
27 |
| urtw_led_ctl |
|
21 |
5 |
90 |
| urtw_led_blink |
|
43 |
14 |
240 |
| urtw_update_msr |
|
24 |
5 |
106 |
| urtw_rate2rtl |
|
9 |
3 |
54 |
| urtw_rtl2rate |
|
9 |
3 |
54 |
| urtw_set_rate |
|
19 |
2 |
114 |
| urtw_intr_enable |
|
7 |
1 |
28 |
| urtw_rx_setconf |
|
32 |
7 |
207 |
| urtw_rx_enable |
|
26 |
5 |
152 |
| urtw_tx_enable |
|
37 |
2 |
215 |
| urtw_init |
|
80 |
18 |
511 |
| urtw_set_multi |
|
6 |
1 |
37 |
| urtw_ioctl |
|
62 |
19 |
369 |
| urtw_start |
|
46 |
19 |
286 |
| urtw_watchdog |
|
14 |
3 |
74 |
| urtw_txeof_low |
|
27 |
5 |
161 |
| urtw_txeof_normal |
|
27 |
5 |
161 |
| urtw_tx_start |
|
92 |
25 |
808 |
| urtw_8225_usb_init |
|
22 |
3 |
151 |
| urtw_8185_rf_pins_enable |
|
7 |
1 |
30 |
| urtw_8187_write_phy |
|
12 |
1 |
114 |
| urtw_8187_write_phy_ofdm_c |
|
5 |
1 |
33 |
| urtw_8187_write_phy_cck_c |
|
5 |
1 |
35 |
| urtw_8225_setgain |
|
10 |
1 |
84 |
| urtw_8225_set_txpwrlvl |
|
42 |
7 |
302 |
| urtw_8185_tx_antenna |
|
8 |
1 |
40 |
| urtw_8225_rf_init |
|
76 |
14 |
567 |
| urtw_8225_rf_set_chan |
|
29 |
5 |
199 |
| urtw_8225_rf_set_sens |
|
18 |
4 |
111 |
| urtw_stop |
|
25 |
4 |
158 |
| urtw_isbmode |
|
6 |
5 |
45 |
| urtw_rxeof |
|
109 |
24 |
824 |
| urtw_8225v2_setgain |
|
16 |
1 |
121 |
| urtw_8225v2_set_txpwrlvl |
|
37 |
8 |
276 |
| urtw_8225v2_rf_init |
|
95 |
19 |
698 |
| urtw_8225v2_rf_set_chan |
|
29 |
5 |
199 |
| urtw_set_chan |
|
23 |
4 |
147 |
| urtw_next_scan |
|
12 |
3 |
73 |
| urtw_task |
|
47 |
12 |
278 |
| urtw_8187b_update_wmm |
|
25 |
2 |
158 |
| urtw_8187b_reset |
|
34 |
4 |
246 |
| urtw_8187b_init |
|
103 |
23 |
694 |
| urtw_8225v2_b_config_mac |
|
17 |
2 |
126 |
| urtw_8225v2_b_init_rfe |
|
10 |
1 |
55 |
| urtw_8225v2_b_update_chan |
|
28 |
2 |
171 |
| urtw_8225v2_b_rf_init |
|
76 |
9 |
601 |
| urtw_8225v2_b_rf_set_chan |
|
15 |
2 |
95 |
| urtw_8225v2_b_set_txpwrlvl |
|
79 |
20 |
480 |
| urtw_set_bssid |
|
11 |
1 |
83 |
| urtw_set_macaddr |
|
11 |
1 |
81 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/moscom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| moscom_match |
|
8 |
3 |
57 |
| moscom_attach |
|
52 |
10 |
366 |
| moscom_detach |
|
10 |
2 |
61 |
| moscom_open |
|
21 |
5 |
144 |
| moscom_set |
|
22 |
7 |
100 |
| moscom_param |
|
41 |
14 |
256 |
| if |
|
2 |
1 |
15 |
| moscom_cmd |
|
15 |
2 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uthum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uthum_match |
|
15 |
5 |
110 |
| uthum_attach |
|
48 |
7 |
383 |
| uthum_detach |
|
18 |
5 |
126 |
| uthum_intr |
|
3 |
1 |
16 |
| uthum_issue_cmd |
|
28 |
6 |
231 |
| uthum_read_data |
|
21 |
7 |
190 |
| uthum_check_device_info |
|
54 |
11 |
297 |
| uthum_reset_device |
|
13 |
4 |
57 |
| uthum_setup_sensors |
|
57 |
10 |
422 |
| uthum_ntc_getdata |
|
17 |
4 |
117 |
| uthum_ntc_tuning |
|
64 |
20 |
322 |
| uthum_refresh |
|
22 |
8 |
109 |
| uthum_refresh_temperhum |
|
22 |
2 |
189 |
| uthum_refresh_temper |
|
27 |
5 |
198 |
| uthum_refresh_temperntc |
|
26 |
6 |
183 |
| uthum_ds75_temp |
|
4 |
1 |
30 |
| uthum_sht1x_temp |
|
6 |
1 |
32 |
| uthum_sht1x_rh |
|
7 |
1 |
77 |
| uthum_ntc_temp |
|
32 |
10 |
198 |
| uthum_print_sensorinfo |
|
29 |
7 |
178 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_urlreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_ugl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ugl_match |
|
8 |
4 |
65 |
| ugl_attach |
|
53 |
12 |
406 |
| ugl_detach |
|
19 |
7 |
136 |
| ugl_newbuf |
|
27 |
4 |
179 |
| ugl_rx_list_init |
|
26 |
6 |
175 |
| ugl_tx_list_init |
|
25 |
5 |
163 |
| ugl_rxeof |
|
69 |
14 |
469 |
| ugl_txeof |
|
32 |
7 |
201 |
| ugl_send |
|
26 |
2 |
212 |
| ugl_start |
|
23 |
7 |
157 |
| ugl_init |
|
29 |
6 |
168 |
| ugl_openpipes |
|
38 |
5 |
260 |
| ugl_intr |
|
30 |
9 |
215 |
| ugl_ioctl |
|
35 |
9 |
192 |
| ugl_watchdog |
|
8 |
2 |
45 |
| ugl_stop |
|
45 |
10 |
393 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/uvideo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvideo_enable |
|
11 |
3 |
65 |
| uvideo_disable |
|
10 |
2 |
51 |
| uvideo_open |
|
15 |
2 |
109 |
| uvideo_close |
|
13 |
3 |
75 |
| uvideo_match |
|
24 |
10 |
149 |
| uvideo_attach |
|
23 |
7 |
170 |
| uvideo_attach_hook |
|
42 |
12 |
236 |
| uvideo_detach |
|
10 |
2 |
67 |
| uvideo_vc_parse_desc |
|
44 |
10 |
227 |
| uvideo_vc_parse_desc_header |
|
14 |
2 |
86 |
| uvideo_vc_parse_desc_pu |
|
13 |
2 |
73 |
| uvideo_vc_get_ctrl |
|
18 |
2 |
129 |
| uvideo_vc_set_ctrl |
|
18 |
2 |
129 |
| uvideo_find_ctrl |
|
34 |
8 |
211 |
| uvideo_has_ctrl |
|
6 |
2 |
45 |
| uvideo_vs_parse_desc |
|
55 |
11 |
371 |
| uvideo_vs_parse_desc_input_header |
|
13 |
2 |
86 |
| uvideo_vs_parse_desc_format |
|
37 |
8 |
194 |
| uvideo_vs_parse_desc_format_mjpeg |
|
30 |
6 |
199 |
| uvideo_vs_parse_desc_format_uncompressed |
|
40 |
9 |
319 |
| uvideo_vs_parse_desc_frame |
|
21 |
7 |
126 |
| uvideo_vs_parse_desc_frame_sub |
|
37 |
8 |
287 |
| uvideo_vs_parse_desc_alt |
|
56 |
13 |
373 |
| uvideo_vs_set_alt |
|
52 |
10 |
328 |
| uvideo_desc_len |
|
16 |
5 |
101 |
| uvideo_find_res |
|
25 |
5 |
189 |
| uvideo_vs_negotiation |
|
143 |
30 |
964 |
| uvideo_vs_set_probe |
|
37 |
2 |
295 |
| uvideo_vs_get_probe |
|
38 |
2 |
298 |
| uvideo_vs_set_commit |
|
21 |
2 |
133 |
| uvideo_vs_alloc_frame |
|
24 |
5 |
164 |
| uvideo_vs_free_frame |
|
16 |
4 |
110 |
| uvideo_vs_alloc_isoc |
|
25 |
4 |
196 |
| uvideo_vs_alloc_bulk |
|
22 |
3 |
146 |
| uvideo_vs_free_isoc |
|
15 |
4 |
129 |
| uvideo_vs_free_bulk |
|
11 |
3 |
79 |
| uvideo_vs_open |
|
51 |
8 |
322 |
| uvideo_vs_close |
|
14 |
3 |
95 |
| uvideo_vs_init |
|
21 |
7 |
115 |
| uvideo_vs_start_bulk |
|
12 |
2 |
62 |
| uvideo_vs_start_bulk_thread |
|
30 |
3 |
174 |
| uvideo_vs_start_isoc |
|
6 |
2 |
40 |
| uvideo_vs_start_isoc_ixfer |
|
24 |
5 |
138 |
| uvideo_vs_cb |
|
30 |
6 |
206 |
| uvideo_vs_decode_stream_header |
|
72 |
18 |
523 |
| uvideo_vs_decode_stream_header_isight |
|
33 |
11 |
240 |
| uvideo_mmap_queue |
|
26 |
6 |
222 |
| uvideo_read |
|
6 |
1 |
43 |
| uvideo_dump_desc_all |
|
147 |
23 |
653 |
| uvideo_dump_desc_vc_header |
|
13 |
1 |
104 |
| uvideo_dump_desc_input_header |
|
18 |
1 |
143 |
| uvideo_dump_desc_input |
|
13 |
1 |
98 |
| uvideo_dump_desc_output |
|
13 |
1 |
95 |
| uvideo_dump_desc_endpoint |
|
31 |
10 |
233 |
| uvideo_dump_desc_interface |
|
15 |
1 |
111 |
| uvideo_dump_desc_config |
|
14 |
1 |
105 |
| uvideo_dump_desc_cs_endpoint |
|
10 |
1 |
71 |
| uvideo_dump_desc_colorformat |
|
13 |
1 |
86 |
| uvideo_dump_desc_format_mjpeg |
|
17 |
1 |
131 |
| uvideo_dump_desc_frame |
|
47 |
5 |
345 |
| uvideo_dump_desc_format_uncompressed |
|
18 |
1 |
140 |
| uvideo_dump_desc_processing |
|
17 |
1 |
141 |
| uvideo_dump_desc_extension |
|
14 |
1 |
107 |
| uvideo_hexdump |
|
14 |
6 |
98 |
| uvideo_debug_file_open |
|
23 |
3 |
161 |
| uvideo_debug_file_write_frame |
|
15 |
3 |
108 |
| uvideo_querycap |
|
14 |
1 |
103 |
| uvideo_enum_fmt |
|
51 |
8 |
351 |
| uvideo_enum_fsizes |
|
21 |
5 |
159 |
| uvideo_enum_fivals |
|
53 |
12 |
395 |
| uvideo_s_fmt |
|
44 |
7 |
361 |
| uvideo_g_fmt |
|
13 |
2 |
137 |
| uvideo_s_parm |
|
22 |
6 |
133 |
| uvideo_g_parm |
|
13 |
2 |
92 |
| uvideo_enum_input |
|
8 |
2 |
53 |
| uvideo_s_input |
|
6 |
2 |
27 |
| uvideo_g_input |
|
5 |
1 |
22 |
| uvideo_reqbufs |
|
52 |
8 |
443 |
| uvideo_querybuf |
|
16 |
4 |
103 |
| uvideo_qbuf |
|
13 |
4 |
100 |
| uvideo_dqbuf |
|
24 |
6 |
171 |
| uvideo_streamon |
|
13 |
3 |
63 |
| uvideo_streamoff |
|
6 |
1 |
28 |
| uvideo_queryctrl |
|
103 |
25 |
609 |
| uvideo_g_ctrl |
|
43 |
10 |
250 |
| uvideo_s_ctrl |
|
39 |
9 |
235 |
| uvideo_try_fmt |
|
25 |
5 |
222 |
| uvideo_mappage |
|
11 |
3 |
61 |
| uvideo_get_bufsize |
|
5 |
1 |
22 |
| uvideo_start_read |
|
15 |
4 |
72 |
| uvideo_usb_control |
|
15 |
2 |
100 |
| uvideo_ucode_loader_ricoh |
|
62 |
8 |
403 |
| uvideo_ucode_loader_apple_isight |
|
60 |
10 |
415 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/ohcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbdi_util.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usbdevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/if_otus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| otus_match |
|
8 |
4 |
63 |
| otus_attach |
|
23 |
3 |
174 |
| otus_detach |
|
22 |
4 |
147 |
| otus_attachhook |
|
101 |
15 |
714 |
| otus_get_chanlist |
|
27 |
5 |
188 |
| otus_load_firmware |
|
32 |
4 |
196 |
| otus_open_pipes |
|
83 |
14 |
477 |
| otus_close_pipes |
|
18 |
6 |
114 |
| otus_alloc_tx_cmd |
|
18 |
3 |
101 |
| otus_free_tx_cmd |
|
6 |
2 |
35 |
| otus_alloc_tx_data_list |
|
26 |
4 |
143 |
| otus_free_tx_data_list |
|
8 |
3 |
57 |
| otus_alloc_rx_data_list |
|
26 |
4 |
143 |
| otus_free_rx_data_list |
|
8 |
3 |
57 |
| otus_next_scan |
|
10 |
3 |
60 |
| otus_task |
|
17 |
2 |
109 |
| otus_do_async |
|
16 |
2 |
135 |
| otus_newstate |
|
9 |
1 |
57 |
| otus_newstate_cb |
|
35 |
9 |
232 |
| otus_cmd |
|
37 |
4 |
273 |
| otus_write |
|
7 |
2 |
64 |
| otus_write_barrier |
|
10 |
2 |
61 |
| otus_node_alloc |
|
4 |
1 |
25 |
| otus_media_change |
|
21 |
6 |
145 |
| otus_read_eeprom |
|
17 |
4 |
123 |
| otus_newassoc |
|
21 |
4 |
174 |
| otus_intr |
|
13 |
4 |
86 |
| otus_cmd_rxeof |
|
60 |
14 |
392 |
| otus_sub_rxeof |
|
116 |
30 |
818 |
| otus_rxeof |
|
38 |
7 |
276 |
| otus_txeof |
|
22 |
3 |
135 |
| otus_tx |
|
101 |
24 |
795 |
| otus_start |
|
39 |
14 |
244 |
| otus_watchdog |
|
14 |
3 |
74 |
| otus_ioctl |
|
47 |
15 |
302 |
| otus_set_multi |
|
30 |
5 |
189 |
| otus_updateedca |
|
4 |
1 |
22 |
| otus_updateedca_cb |
|
40 |
2 |
354 |
| otus_updateslot |
|
4 |
1 |
22 |
| otus_updateslot_cb |
|
8 |
2 |
52 |
| otus_init_mac |
|
39 |
2 |
320 |
| otus_phy_get_def |
|
8 |
3 |
54 |
| otus_set_board_values |
|
70 |
4 |
694 |
| otus_program_phy |
|
30 |
6 |
232 |
| otus_reverse_bits |
|
7 |
1 |
82 |
| otus_set_rf_bank4 |
|
31 |
5 |
232 |
| otus_get_delta_slope |
|
12 |
3 |
99 |
| otus_set_chan |
|
90 |
24 |
768 |
| otus_set_key |
|
13 |
3 |
96 |
| otus_set_key_cb |
|
42 |
8 |
281 |
| otus_delete_key |
|
12 |
4 |
89 |
| otus_delete_key_cb |
|
11 |
2 |
81 |
| otus_calibrate_to |
|
17 |
3 |
117 |
| otus_set_bssid |
|
8 |
1 |
76 |
| otus_set_macaddr |
|
8 |
1 |
76 |
| otus_led_newstate_type1 |
|
3 |
1 |
9 |
| otus_led_newstate_type2 |
|
3 |
1 |
9 |
| otus_led_newstate_type3 |
|
24 |
7 |
130 |
| otus_init |
|
47 |
9 |
328 |
| otus_stop |
|
19 |
1 |
129 |
| Source file: /home/sergeyb/sources/src/sys/dev/usb/usb_quirks.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usbd_find_quirk |
|
34 |
18 |
248 |
| Source file: /home/sergeyb/sources/src/sys/dev/pckbc/pckbdvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pckbc/wskbdmap_mfii.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pckbc/pms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pms_cmd |
|
10 |
2 |
74 |
| pms_spec_cmd |
|
10 |
6 |
88 |
| pms_get_devid |
|
6 |
1 |
42 |
| pms_get_status |
|
6 |
1 |
42 |
| pms_set_rate |
|
7 |
1 |
48 |
| pms_set_resolution |
|
7 |
1 |
48 |
| pms_set_scaling |
|
14 |
3 |
66 |
| pms_reset |
|
11 |
5 |
90 |
| pms_dev_enable |
|
10 |
2 |
59 |
| pms_dev_disable |
|
10 |
2 |
59 |
| pms_protocol_lookup |
|
13 |
3 |
87 |
| pms_reset_detect |
|
18 |
5 |
85 |
| pms_reset_timo |
|
9 |
3 |
51 |
| pms_reset_task |
|
15 |
4 |
109 |
| pms_enable_intelli |
|
11 |
6 |
57 |
| pms_ioctl_mouse |
|
22 |
6 |
121 |
| pms_sync_mouse |
|
16 |
6 |
82 |
| pms_proc_mouse |
|
15 |
4 |
142 |
| pmsprobe |
|
17 |
6 |
139 |
| pmsattach |
|
20 |
1 |
158 |
| pmsactivate |
|
17 |
5 |
79 |
| pms_change_state |
|
43 |
15 |
239 |
| pms_enable |
|
9 |
1 |
50 |
| pms_disable |
|
7 |
1 |
40 |
| pms_ioctl |
|
8 |
2 |
64 |
| pms_sec_enable |
|
9 |
1 |
50 |
| pms_sec_disable |
|
7 |
1 |
40 |
| pms_sec_ioctl |
|
11 |
2 |
55 |
| pmsinput |
|
21 |
5 |
122 |
| synaptics_set_mode |
|
9 |
3 |
54 |
| synaptics_query |
|
10 |
4 |
81 |
| synaptics_get_hwinfo |
|
75 |
34 |
577 |
| synaptics_sec_proc |
|
15 |
4 |
141 |
| synaptics_knock |
|
12 |
7 |
70 |
| pms_enable_synaptics |
|
68 |
18 |
394 |
| pms_ioctl_synaptics |
|
31 |
6 |
184 |
| pms_sync_synaptics |
|
15 |
5 |
80 |
| pms_proc_synaptics |
|
77 |
33 |
828 |
| pms_disable_synaptics |
|
7 |
2 |
35 |
| alps_sec_proc |
|
22 |
6 |
209 |
| alps_get_hwinfo |
|
30 |
8 |
231 |
| pms_enable_alps |
|
82 |
36 |
525 |
| pms_ioctl_alps |
|
29 |
6 |
166 |
| pms_sync_alps |
|
29 |
14 |
164 |
| pms_proc_alps |
|
38 |
16 |
389 |
| elantech_set_absolute_mode_v1 |
|
26 |
15 |
165 |
| elantech_set_absolute_mode_v2 |
|
33 |
23 |
219 |
| elantech_set_absolute_mode_v3 |
|
25 |
15 |
153 |
| elantech_set_absolute_mode_v4 |
|
14 |
10 |
85 |
| elantech_get_hwinfo_v1 |
|
30 |
9 |
187 |
| elantech_get_hwinfo_v2 |
|
53 |
22 |
403 |
| elantech_get_hwinfo_v3 |
|
26 |
7 |
210 |
| elantech_get_hwinfo_v4 |
|
33 |
11 |
276 |
| elantech_ps2_cmd |
|
6 |
1 |
41 |
| elantech_knock |
|
15 |
10 |
91 |
| pms_enable_elantech_v1 |
|
38 |
8 |
257 |
| pms_enable_elantech_v2 |
|
35 |
7 |
208 |
| pms_enable_elantech_v3 |
|
35 |
7 |
208 |
| pms_enable_elantech_v4 |
|
35 |
7 |
208 |
| pms_ioctl_elantech |
|
31 |
6 |
182 |
| pms_sync_elantech_v1 |
|
32 |
9 |
194 |
| pms_sync_elantech_v2 |
|
43 |
18 |
245 |
| pms_sync_elantech_v3 |
|
22 |
11 |
139 |
| pms_sync_elantech_v4 |
|
7 |
3 |
40 |
| pms_proc_elantech_v1 |
|
28 |
6 |
245 |
| pms_proc_elantech_v2 |
|
29 |
6 |
312 |
| pms_proc_elantech_v3 |
|
38 |
16 |
356 |
| pms_proc_elantech_v4 |
|
49 |
12 |
445 |
| Source file: /home/sergeyb/sources/src/sys/dev/pckbc/pmsreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pckbc/pckbdreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pckbc/pckbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pckbdactivate |
|
17 |
3 |
103 |
| pckbd_set_xtscancode |
|
53 |
19 |
302 |
| pckbd_is_console |
|
6 |
3 |
33 |
| pckbdprobe |
|
28 |
10 |
217 |
| pckbdattach |
|
36 |
3 |
312 |
| pckbd_enable |
|
36 |
7 |
241 |
| pckbd_scancode_translate |
|
28 |
12 |
154 |
| pckbd_decode |
|
40 |
11 |
223 |
| pckbd_init |
|
8 |
1 |
47 |
| pckbd_led_encode |
|
12 |
4 |
49 |
| pckbd_set_leds |
|
10 |
1 |
75 |
| pckbd_input |
|
21 |
11 |
163 |
| pckbd_ioctl |
|
30 |
7 |
208 |
| pckbd_bell |
|
6 |
2 |
38 |
| pckbd_hookup_bell |
|
7 |
2 |
42 |
| pckbd_cnattach |
|
6 |
1 |
36 |
| pckbd_cngetc |
|
15 |
5 |
87 |
| pckbd_cnpollc |
|
12 |
2 |
97 |
| pckbd_cnbell |
|
4 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/dev/pckbc/wskbdmap_mfii.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/z8530ms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zsms_match |
|
14 |
4 |
89 |
| zsms_attach |
|
24 |
2 |
196 |
| zsms_disable |
|
10 |
1 |
57 |
| zsms_enable |
|
11 |
1 |
60 |
| zsms_rxint |
|
29 |
6 |
175 |
| zsms_txint |
|
6 |
1 |
33 |
| zsms_stint |
|
27 |
8 |
168 |
| zsms_softint |
|
34 |
6 |
211 |
| zsms_speed_change |
|
19 |
3 |
114 |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/sunkbdvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/sunkbdmap.c |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/sunms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sunms_attach |
|
12 |
1 |
85 |
| sunms_ioctl |
|
12 |
3 |
58 |
| sunms_speed_change |
|
23 |
5 |
108 |
| sunms_input |
|
55 |
19 |
355 |
| sunms_abort_input |
|
9 |
2 |
41 |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/sunkbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sunkbd_attach |
|
9 |
2 |
54 |
| sunkbd_bell |
|
27 |
9 |
171 |
| sunkbd_bellstop |
|
12 |
1 |
63 |
| sunkbd_decode |
|
14 |
3 |
60 |
| sunkbd_decode5 |
|
6 |
2 |
36 |
| sunkbd_enable |
|
4 |
1 |
16 |
| sunkbd_getleds |
|
4 |
1 |
16 |
| sunkbd_input |
|
35 |
9 |
213 |
| sunkbd_ioctl |
|
28 |
8 |
173 |
| sunkbd_raw |
|
36 |
10 |
150 |
| sunkbd_setclick |
|
9 |
3 |
56 |
| sunkbd_setleds |
|
18 |
5 |
106 |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/sunkbdreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/uperfio.h |
| Source file: /home/sergeyb/sources/src/sys/dev/sun/sunmsvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdt_check_head |
|
19 |
6 |
151 |
| fdt_init |
|
18 |
3 |
144 |
| fdt_get_size |
|
8 |
3 |
42 |
| fdt_get_str |
|
6 |
3 |
35 |
| skip_nops |
|
6 |
2 |
24 |
| skip_property |
|
7 |
1 |
48 |
| skip_props |
|
7 |
2 |
30 |
| skip_node_name |
|
6 |
1 |
40 |
| fdt_node_property |
|
22 |
5 |
145 |
| skip_node |
|
10 |
2 |
56 |
| fdt_next_node |
|
24 |
8 |
141 |
| fdt_next_property |
|
29 |
7 |
182 |
| fdt_node_property_ints |
|
11 |
4 |
92 |
| fdt_node_property_int |
|
4 |
1 |
28 |
| fdt_child_node |
|
13 |
4 |
71 |
| fdt_node_name |
|
10 |
3 |
48 |
| fdt_find_node |
|
31 |
10 |
164 |
| fdt_parent_node_recurse |
|
11 |
5 |
69 |
| fdt_parent_node |
|
9 |
3 |
42 |
| fdt_find_phandle_recurse |
|
16 |
6 |
112 |
| fdt_find_phandle |
|
4 |
1 |
18 |
| fdt_translate_reg |
|
50 |
25 |
430 |
| fdt_get_reg |
|
27 |
13 |
267 |
| fdt_is_compatible |
|
13 |
3 |
75 |
| fdt_print_property |
|
37 |
14 |
285 |
| fdt_print_node |
|
15 |
4 |
95 |
| fdt_print_node_recurse |
|
7 |
2 |
49 |
| fdt_print_tree |
|
4 |
1 |
16 |
| OF_peer |
|
9 |
3 |
63 |
| OF_child |
|
6 |
2 |
49 |
| OF_parent |
|
6 |
2 |
49 |
| OF_finddevice |
|
6 |
2 |
41 |
| OF_getnodebyname |
|
11 |
5 |
96 |
| OF_getnodebyphandle |
|
6 |
2 |
39 |
| OF_getproplen |
|
17 |
4 |
106 |
| OF_getprop |
|
22 |
6 |
150 |
| OF_getpropint |
|
9 |
2 |
55 |
| OF_getpropintarray |
|
11 |
4 |
90 |
| OF_nextprop |
|
14 |
5 |
112 |
| OF_is_compatible |
|
5 |
1 |
36 |
| OF_getindex |
|
27 |
5 |
163 |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_misc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| regmap_register |
|
15 |
2 |
90 |
| regmap_byphandle |
|
9 |
2 |
37 |
| regmap_write_4 |
|
5 |
1 |
44 |
| regmap_read_4 |
|
5 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clock_register |
|
8 |
2 |
59 |
| clock_get_frequency_cells |
|
25 |
7 |
165 |
| clock_set_frequency_cells |
|
12 |
4 |
75 |
| clock_enable_cells |
|
11 |
4 |
70 |
| clock_next_clock |
|
10 |
2 |
55 |
| clock_get_frequency_idx |
|
23 |
5 |
128 |
| clock_get_frequency |
|
8 |
2 |
44 |
| clock_set_frequency_idx |
|
23 |
5 |
135 |
| clock_set_frequency |
|
8 |
2 |
50 |
| clock_do_enable_idx |
|
21 |
6 |
126 |
| clock_do_enable |
|
8 |
2 |
47 |
| clock_enable_idx |
|
4 |
1 |
19 |
| clock_enable |
|
4 |
1 |
21 |
| clock_disable_idx |
|
4 |
1 |
19 |
| clock_disable |
|
4 |
1 |
21 |
| reset_register |
|
8 |
2 |
59 |
| reset_assert_cells |
|
11 |
4 |
70 |
| reset_next_reset |
|
10 |
2 |
55 |
| reset_do_assert_idx |
|
21 |
6 |
126 |
| reset_do_assert |
|
8 |
2 |
47 |
| reset_assert_idx |
|
4 |
1 |
19 |
| reset_assert |
|
4 |
1 |
21 |
| reset_deassert_idx |
|
4 |
1 |
19 |
| reset_deassert |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_pci.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_misc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/openfirm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_pinctrl.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_regulator.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_pinctrl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pinctrl_register |
|
5 |
2 |
50 |
| pinctrl_register_child |
|
15 |
3 |
118 |
| pinctrl_byphandle |
|
9 |
2 |
49 |
| pinctrl_byid |
|
16 |
3 |
118 |
| pinctrl_byname |
|
8 |
2 |
44 |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_regulator.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| regulator_register |
|
7 |
2 |
44 |
| regulator_set |
|
33 |
8 |
187 |
| regulator_enable |
|
4 |
1 |
15 |
| regulator_disable |
|
4 |
1 |
15 |
| regulator_get_voltage |
|
17 |
6 |
92 |
| regulator_set_voltage |
|
11 |
4 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_gpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gpio_controller_register |
|
8 |
2 |
59 |
| gpio_controller_config_pin |
|
11 |
4 |
70 |
| gpio_controller_get_pin |
|
13 |
4 |
75 |
| gpio_controller_set_pin |
|
11 |
4 |
70 |
| gpio_controller_next_pin |
|
9 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_clock.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clock_enable_all |
|
4 |
1 |
15 |
| clock_disable_all |
|
4 |
1 |
15 |
| reset_assert_all |
|
4 |
1 |
15 |
| reset_deassert_all |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/dev/ofw/ofw_gpio.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/if_le_ioasic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_ioasic_match |
|
7 |
2 |
45 |
| le_ioasic_attach |
|
73 |
8 |
500 |
| le_ioasic_copytobuf_gap2 |
|
22 |
4 |
159 |
| le_ioasic_copyfrombuf_gap2 |
|
24 |
4 |
156 |
| le_ioasic_copytobuf_gap16 |
|
61 |
9 |
462 |
| le_ioasic_copyfrombuf_gap16 |
|
57 |
9 |
464 |
| le_ioasic_zerobuf_gap16 |
|
16 |
2 |
97 |
| le_ioasic_ifmedia_change |
|
28 |
6 |
170 |
| le_ioasic_ifmedia_status |
|
14 |
2 |
107 |
| le_ioasic_nocarrier |
|
31 |
7 |
185 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/tc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcmatch |
|
10 |
2 |
61 |
| tcattach |
|
61 |
9 |
455 |
| tcprint |
|
14 |
2 |
78 |
| tcsubmatch |
|
14 |
5 |
101 |
| tc_checkslot |
|
32 |
12 |
222 |
| tc_intr_disestablish |
|
8 |
1 |
50 |
| tc_devinfo |
|
16 |
5 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/ascvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/if_levar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/zs_ioasic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zs_ioasic_get_chan_addr |
|
11 |
3 |
58 |
| zs_ioasic_match |
|
12 |
4 |
89 |
| zs_ioasic_attach |
|
88 |
18 |
617 |
| zs_ioasic_print |
|
9 |
3 |
60 |
| zs_ioasic_submatch |
|
8 |
2 |
78 |
| zs_ioasic_hardintr |
|
11 |
3 |
63 |
| zs_ioasic_softintr |
|
8 |
1 |
37 |
| zs_set_speed |
|
17 |
7 |
111 |
| zs_set_modes |
|
40 |
9 |
271 |
| zs_read_reg |
|
11 |
1 |
71 |
| zs_write_reg |
|
10 |
1 |
66 |
| zs_read_csr |
|
8 |
1 |
50 |
| zs_write_csr |
|
7 |
1 |
45 |
| zs_read_data |
|
8 |
1 |
50 |
| zs_write_data |
|
7 |
1 |
45 |
| zs_abort |
|
9 |
3 |
38 |
| zs_getc |
|
12 |
2 |
61 |
| zs_putc |
|
14 |
3 |
78 |
| zs_ioasic_cninit |
|
28 |
5 |
172 |
| zs_ioasic_cnattach |
|
10 |
2 |
82 |
| zs_ioasic_lk201_cnattach |
|
10 |
2 |
65 |
| zs_ioasic_isconsole |
|
8 |
4 |
32 |
| zs_ioasic_cngetc |
|
4 |
1 |
16 |
| zs_ioasic_cnputc |
|
4 |
1 |
18 |
| zs_ioasic_cnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/ioasicreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/asc_tcds.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asc_tcds_match |
|
6 |
1 |
25 |
| asc_tcds_attach |
|
36 |
4 |
278 |
| tcds_dma_reset |
|
9 |
2 |
67 |
| tcds_dma_setup |
|
40 |
8 |
353 |
| tcds_dma_go |
|
7 |
1 |
40 |
| tcds_dma_stop |
|
5 |
2 |
23 |
| tcds_dma_intr |
|
90 |
22 |
661 |
| tcds_dma_isintr |
|
8 |
1 |
40 |
| tcds_dma_isactive |
|
6 |
1 |
36 |
| tcds_clear_latched_intr |
|
6 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/asc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asc_read_reg |
|
10 |
1 |
58 |
| asc_write_reg |
|
9 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/ioasicvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/tcdsvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/bba.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bba_match |
|
8 |
3 |
54 |
| bba_attach |
|
21 |
2 |
166 |
| bba_onopen |
|
3 |
1 |
9 |
| bba_onclose |
|
3 |
1 |
9 |
| bba_reset |
|
18 |
3 |
151 |
| bba_allocm |
|
42 |
7 |
273 |
| bba_freem |
|
21 |
4 |
155 |
| bba_round_buffersize |
|
6 |
2 |
37 |
| bba_halt_output |
|
22 |
2 |
164 |
| bba_halt_input |
|
22 |
2 |
164 |
| bba_trigger_output |
|
52 |
5 |
408 |
| bba_trigger_input |
|
52 |
5 |
408 |
| bba_intr |
|
29 |
5 |
234 |
| bba_get_props |
|
4 |
1 |
16 |
| bba_round_blocksize |
|
4 |
1 |
14 |
| bba_codec_iwrite |
|
6 |
1 |
46 |
| bba_codec_iwrite16 |
|
7 |
1 |
58 |
| bba_codec_iread |
|
9 |
1 |
58 |
| bba_codec_iread16 |
|
9 |
1 |
59 |
| bba_codec_dwrite |
|
6 |
2 |
66 |
| bba_codec_dread |
|
7 |
2 |
67 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/ioasic_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ioasicprint |
|
10 |
2 |
56 |
| ioasic_submatch |
|
8 |
2 |
45 |
| ioasic_attach_devs |
|
17 |
2 |
120 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/if_le_tc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| le_tc_match |
|
7 |
2 |
49 |
| le_tc_attach |
|
18 |
1 |
156 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/tcdsreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/tcvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/tcreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/tcds.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcds_lookup |
|
9 |
3 |
56 |
| tcdsmatch |
|
7 |
1 |
41 |
| tcdsattach |
|
98 |
16 |
687 |
| tcdssubmatch |
|
11 |
3 |
83 |
| tcdsprint |
|
10 |
2 |
49 |
| tcds_intr_disestablish |
|
14 |
2 |
116 |
| tcds_intrnull |
|
6 |
1 |
20 |
| tcds_scsi_reset |
|
16 |
1 |
125 |
| tcds_scsi_enable |
|
12 |
2 |
66 |
| tcds_dma_enable |
|
12 |
2 |
72 |
| tcds_scsi_isintr |
|
16 |
3 |
89 |
| tcds_scsi_iserr |
|
7 |
1 |
42 |
| tcds_intr |
|
28 |
2 |
182 |
| tcds_params |
|
29 |
7 |
167 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/zs_ioasicvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/asc_tc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asc_tc_match |
|
9 |
2 |
52 |
| asc_tc_attach |
|
29 |
2 |
233 |
| asc_tc_reset |
|
6 |
1 |
35 |
| asc_tc_intr |
|
21 |
3 |
168 |
| asc_tc_setup |
|
35 |
7 |
279 |
| asc_tc_go |
|
13 |
3 |
84 |
| asc_tc_stop |
|
8 |
3 |
56 |
| asc_dma_isintr |
|
5 |
1 |
25 |
| asc_dma_isactive |
|
6 |
1 |
36 |
| asc_clear_latched_intr |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/dev/tc/tcdevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/virtiovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/ndis.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/if_vio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vio_match |
|
7 |
2 |
38 |
| vio_alloc_dmamem |
|
27 |
5 |
212 |
| vio_free_dmamem |
|
8 |
1 |
69 |
| vio_alloc_mem |
|
83 |
14 |
663 |
| vio_get_lladr |
|
8 |
2 |
48 |
| vio_put_lladr |
|
8 |
2 |
48 |
| vio_attach |
|
93 |
15 |
732 |
| vio_link_state |
|
16 |
4 |
86 |
| vio_config_change |
|
6 |
1 |
36 |
| vio_media_change |
|
4 |
1 |
14 |
| vio_media_status |
|
8 |
3 |
56 |
| vio_init |
|
13 |
1 |
88 |
| vio_stop |
|
28 |
6 |
203 |
| vio_start |
|
94 |
21 |
690 |
| vio_dump |
|
17 |
2 |
134 |
| vio_ioctl |
|
44 |
14 |
249 |
| vio_add_rx_mbuf |
|
18 |
3 |
117 |
| vio_free_rx_mbuf |
|
6 |
1 |
47 |
| vio_populate_rx_mbufs |
|
49 |
11 |
348 |
| vio_rxeof |
|
53 |
6 |
358 |
| vio_rx_intr |
|
17 |
4 |
90 |
| vio_rxtick |
|
10 |
1 |
57 |
| vio_rx_drain |
|
10 |
3 |
62 |
| vio_tx_intr |
|
10 |
1 |
62 |
| vio_txtick |
|
7 |
1 |
32 |
| vio_txeof |
|
32 |
5 |
243 |
| vio_encap |
|
21 |
5 |
117 |
| vio_tx_drain |
|
13 |
3 |
97 |
| vio_ctrl_rx |
|
49 |
6 |
428 |
| vio_wait_ctrl |
|
11 |
3 |
60 |
| vio_wait_ctrl_done |
|
14 |
5 |
75 |
| vio_ctrl_wakeup |
|
5 |
1 |
27 |
| vio_ctrleof |
|
16 |
3 |
98 |
| vio_set_rx_filter |
|
51 |
6 |
423 |
| vio_iff |
|
51 |
14 |
327 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/pvreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/viornd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| viornd_match |
|
7 |
2 |
38 |
| viornd_attach |
|
60 |
10 |
408 |
| viornd_vq_done |
|
23 |
6 |
173 |
| viornd_tick |
|
15 |
3 |
114 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/viomb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| viomb_match |
|
7 |
2 |
42 |
| viomb_attach |
|
87 |
11 |
726 |
| viomb_config_change |
|
6 |
1 |
40 |
| viomb_worker |
|
20 |
3 |
136 |
| viomb_inflate |
|
44 |
5 |
306 |
| viomb_deflate |
|
50 |
8 |
356 |
| viomb_read_config |
|
11 |
1 |
77 |
| viomb_vq_dequeue |
|
13 |
2 |
88 |
| viomb_inflate_intr |
|
28 |
4 |
201 |
| viomb_deflate_intr |
|
24 |
4 |
165 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/xenreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/vioscsireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/pvvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/xenstore.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xs_attach |
|
66 |
8 |
535 |
| xs_get_msg |
|
22 |
4 |
140 |
| xs_put_msg |
|
7 |
1 |
55 |
| xs_geterror |
|
8 |
3 |
61 |
| xs_ring_avail |
|
7 |
4 |
64 |
| xs_poll |
|
11 |
2 |
68 |
| xs_output |
|
20 |
6 |
128 |
| xs_start |
|
27 |
4 |
210 |
| xs_reply |
|
30 |
6 |
188 |
| xs_ring_put |
|
19 |
3 |
150 |
| xs_ring_get |
|
19 |
3 |
150 |
| xs_intr |
|
79 |
14 |
518 |
| xs_get_buf |
|
10 |
3 |
70 |
| xs_put_buf |
|
5 |
1 |
33 |
| xs_resfree |
|
7 |
2 |
67 |
| xs_parse |
|
39 |
10 |
337 |
| xs_event |
|
29 |
5 |
192 |
| xs_cmd |
|
80 |
24 |
578 |
| xs_watch |
|
43 |
6 |
379 |
| atoull |
|
24 |
7 |
143 |
| xs_getnum |
|
19 |
5 |
119 |
| xs_setnum |
|
10 |
3 |
86 |
| xs_getprop |
|
26 |
7 |
218 |
| xs_setprop |
|
25 |
5 |
195 |
| xs_cmpprop |
|
25 |
6 |
215 |
| xs_await_transition |
|
15 |
5 |
101 |
| xs_kvop |
|
49 |
13 |
308 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/vioblk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vioblk_match |
|
7 |
2 |
38 |
| vioblk_attach |
|
84 |
10 |
531 |
| vioblk_req_get |
|
12 |
2 |
78 |
| vioblk_req_put |
|
9 |
1 |
65 |
| vioblk_vq_done |
|
23 |
6 |
147 |
| vioblk_vq_done1 |
|
28 |
4 |
217 |
| vioblk_reset |
|
15 |
3 |
100 |
| vioblk_scsi_cmd |
|
146 |
37 |
899 |
| vioblk_scsi_inq |
|
19 |
2 |
151 |
| vioblk_scsi_capacity |
|
14 |
2 |
103 |
| vioblk_scsi_capacity16 |
|
10 |
1 |
86 |
| vioblk_scsi_done |
|
5 |
1 |
23 |
| vioblk_dev_probe |
|
7 |
2 |
36 |
| vioblk_dev_free |
|
4 |
1 |
16 |
| vioblk_alloc_reqs |
|
97 |
18 |
687 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/vioscsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vioscsi_match |
|
7 |
2 |
47 |
| vioscsi_attach |
|
58 |
7 |
432 |
| vioscsi_scsi_cmd |
|
88 |
16 |
679 |
| vioscsi_req_done |
|
36 |
5 |
291 |
| vioscsi_vq_done |
|
24 |
3 |
153 |
| vioscsi_req_get |
|
12 |
2 |
76 |
| vioscsi_req_put |
|
9 |
1 |
61 |
| vioscsi_alloc_reqs |
|
78 |
15 |
577 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/if_hvn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hvn_match |
|
7 |
2 |
45 |
| hvn_attach |
|
68 |
11 |
436 |
| hvn_ioctl |
|
38 |
11 |
208 |
| hvn_media_change |
|
4 |
1 |
14 |
| hvn_media_status |
|
10 |
2 |
61 |
| hvn_link_status |
|
8 |
2 |
46 |
| hvn_iff |
|
5 |
1 |
20 |
| hvn_init |
|
10 |
2 |
56 |
| hvn_stop |
|
11 |
2 |
65 |
| hvn_start |
|
30 |
8 |
153 |
| hvn_rndis_pktinfo_append |
|
18 |
1 |
129 |
| hvn_encap |
|
74 |
13 |
559 |
| hvn_decap |
|
10 |
1 |
70 |
| hvn_txeof |
|
21 |
4 |
149 |
| hvn_rx_ring_create |
|
53 |
10 |
346 |
| hvn_rx_ring_destroy |
|
19 |
3 |
139 |
| hvn_tx_ring_create |
|
57 |
7 |
396 |
| hvn_tx_ring_destroy |
|
33 |
6 |
229 |
| hvn_get_lladdr |
|
11 |
3 |
65 |
| hvn_set_lladdr |
|
5 |
1 |
27 |
| hvn_get_link_status |
|
9 |
3 |
51 |
| hvn_nvs_attach |
|
73 |
12 |
536 |
| hvn_nvs_intr |
|
55 |
14 |
308 |
| hvn_nvs_cmd |
|
46 |
15 |
285 |
| hvn_nvs_ack |
|
20 |
5 |
115 |
| hvn_nvs_detach |
|
7 |
2 |
39 |
| hvn_alloc_cmd |
|
11 |
2 |
82 |
| hvn_submit_cmd |
|
6 |
1 |
42 |
| hvn_complete_cmd |
|
18 |
3 |
111 |
| hvn_release_cmd |
|
6 |
1 |
42 |
| hvn_rollback_cmd |
|
14 |
2 |
87 |
| hvn_free_cmd |
|
10 |
1 |
99 |
| hvn_rndis_attach |
|
94 |
10 |
717 |
| hvn_set_capabilities |
|
22 |
3 |
146 |
| hvn_rndis_cmd |
|
64 |
15 |
441 |
| hvn_rndis_input |
|
42 |
10 |
269 |
| hvn_devget |
|
17 |
4 |
115 |
| hvn_rxeof |
|
69 |
15 |
448 |
| hvn_rndis_complete |
|
24 |
6 |
178 |
| hvn_rndis_output |
|
13 |
2 |
90 |
| hvn_rndis_status |
|
22 |
4 |
96 |
| hvn_rndis_query |
|
43 |
4 |
283 |
| hvn_rndis_set |
|
36 |
4 |
273 |
| hvn_rndis_open |
|
17 |
3 |
73 |
| hvn_rndis_close |
|
11 |
2 |
54 |
| hvn_rndis_detach |
|
20 |
2 |
142 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/virtioreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/xenvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clear_bit |
|
4 |
1 |
40 |
| set_bit |
|
4 |
1 |
40 |
| test_bit |
|
4 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/xbf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xbf_match |
|
7 |
2 |
45 |
| xbf_attach |
|
45 |
5 |
334 |
| xbf_detach |
|
15 |
3 |
96 |
| xbf_intr |
|
31 |
4 |
201 |
| xbf_scsi_cmd |
|
60 |
26 |
267 |
| xbf_load_cmd |
|
51 |
7 |
410 |
| xbf_bounce_cmd |
|
60 |
9 |
486 |
| xbf_reclaim_cmd |
|
11 |
3 |
88 |
| xbf_submit_cmd |
|
99 |
27 |
727 |
| xbf_poll_cmd |
|
14 |
4 |
80 |
| xbf_complete_cmd |
|
43 |
6 |
372 |
| xbf_scsi_inq |
|
8 |
2 |
47 |
| xbf_scsi_inquiry |
|
23 |
2 |
167 |
| xbf_scsi_capacity |
|
14 |
2 |
105 |
| xbf_scsi_capacity16 |
|
10 |
1 |
88 |
| xbf_scsi_done |
|
8 |
1 |
37 |
| xbf_dev_probe |
|
6 |
2 |
27 |
| xbf_get_type |
|
33 |
6 |
283 |
| xbf_init |
|
123 |
39 |
920 |
| xbf_dma_alloc |
|
56 |
6 |
370 |
| xbf_dma_free |
|
15 |
3 |
139 |
| xbf_ring_create |
|
19 |
5 |
187 |
| xbf_ring_destroy |
|
6 |
1 |
30 |
| xbf_stop |
|
21 |
2 |
148 |
| xbf_alloc_ccbs |
|
32 |
4 |
228 |
| xbf_free_ccbs |
|
17 |
3 |
126 |
| xbf_get_ccb |
|
14 |
4 |
88 |
| xbf_put_ccb |
|
9 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/vioblkreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/virtio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| virtio_device_string |
|
4 |
2 |
19 |
| virtio_log_features |
|
25 |
9 |
141 |
| virtio_reset |
|
4 |
1 |
14 |
| virtio_reinit_start |
|
20 |
4 |
134 |
| virtio_reinit_end |
|
4 |
1 |
16 |
| vq_sync_descs |
|
5 |
1 |
36 |
| vq_sync_aring |
|
6 |
1 |
51 |
| vq_sync_uring |
|
6 |
1 |
52 |
| vq_sync_indirect |
|
8 |
1 |
64 |
| virtio_check_vqs |
|
18 |
5 |
116 |
| virtio_init_vq |
|
26 |
5 |
204 |
| virtio_alloc_vq |
|
95 |
17 |
748 |
| virtio_free_vq |
|
21 |
2 |
160 |
| vq_alloc_entry |
|
9 |
2 |
50 |
| vq_free_entry |
|
4 |
1 |
26 |
| virtio_enqueue_prep |
|
11 |
2 |
58 |
| virtio_enqueue_reserve |
|
48 |
8 |
357 |
| virtio_enqueue |
|
27 |
6 |
220 |
| virtio_enqueue_p |
|
17 |
3 |
155 |
| publish_avail_idx |
|
8 |
1 |
52 |
| virtio_enqueue_commit |
|
30 |
7 |
222 |
| virtio_enqueue_abort |
|
19 |
3 |
116 |
| virtio_enqueue_trim |
|
20 |
3 |
150 |
| virtio_dequeue |
|
20 |
5 |
134 |
| virtio_dequeue_commit |
|
13 |
2 |
92 |
| virtio_postpone_intr |
|
12 |
2 |
65 |
| virtio_postpone_intr_smart |
|
6 |
1 |
41 |
| virtio_postpone_intr_far |
|
6 |
1 |
37 |
| virtio_stop_vq_intr |
|
10 |
2 |
62 |
| virtio_start_vq_intr |
|
13 |
3 |
76 |
| virtio_nused |
|
7 |
1 |
41 |
| virtio_vq_dump |
|
16 |
1 |
132 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/if_hvnreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/pvbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pvbus_probe |
|
6 |
2 |
21 |
| pvbus_match |
|
5 |
1 |
44 |
| pvbus_attach |
|
19 |
5 |
145 |
| pvbus_identify |
|
42 |
12 |
280 |
| pvbus_init_cpu |
|
10 |
4 |
64 |
| pvbus_activate |
|
19 |
4 |
83 |
| pvbus_search |
|
12 |
2 |
100 |
| pvbus_print |
|
7 |
2 |
40 |
| pvbus_shutdown |
|
7 |
1 |
34 |
| pvbus_reboot |
|
7 |
1 |
34 |
| pvbus_kvm |
|
7 |
1 |
53 |
| pvbus_hyperv |
|
13 |
1 |
114 |
| pvbus_hyperv_print |
|
4 |
1 |
22 |
| pvbus_xen |
|
12 |
4 |
97 |
| pvbus_xen_print |
|
4 |
1 |
22 |
| pvbus_minor |
|
13 |
4 |
82 |
| pvbusopen |
|
8 |
3 |
51 |
| pvbusclose |
|
8 |
3 |
51 |
| pvbusgetstr |
|
15 |
4 |
97 |
| pvbusioctl |
|
60 |
16 |
408 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/xen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xen_match |
|
8 |
2 |
55 |
| xen_attach |
|
27 |
7 |
163 |
| xen_deferred |
|
14 |
3 |
82 |
| xen_control |
|
31 |
9 |
223 |
| xen_resume |
|
3 |
1 |
9 |
| xen_activate |
|
10 |
2 |
38 |
| xen_init_hypercall |
|
19 |
3 |
134 |
| xen_hypercall |
|
13 |
4 |
99 |
| xen_hypercallv |
|
117 |
10 |
532 |
| xen_getfeatures |
|
15 |
3 |
91 |
| xen_print_info_page |
|
40 |
14 |
309 |
| xen_init_info_page |
|
25 |
4 |
168 |
| xen_init_cbvec |
|
15 |
3 |
92 |
| xen_init_interrupts |
|
12 |
2 |
85 |
| xen_evtchn_hypercall |
|
13 |
2 |
100 |
| xen_intsrc_add |
|
7 |
1 |
50 |
| xen_intsrc_acquire |
|
13 |
2 |
71 |
| xen_intsrc_release |
|
4 |
1 |
22 |
| xen_intsrc_remove |
|
15 |
3 |
93 |
| xen_intr_mask_acquired |
|
5 |
1 |
37 |
| xen_intr_unmask_release |
|
10 |
2 |
82 |
| xen_intr_ack |
|
9 |
1 |
57 |
| xen_intr |
|
34 |
7 |
270 |
| xen_intr_schedule |
|
7 |
2 |
49 |
| xen_intr_barrier |
|
10 |
2 |
58 |
| xen_intr_signal |
|
11 |
2 |
73 |
| xen_intr_establish |
|
76 |
16 |
620 |
| xen_intr_disestablish |
|
22 |
4 |
170 |
| xen_intr_dispatch |
|
8 |
2 |
44 |
| xen_intr_enable |
|
21 |
4 |
138 |
| xen_intr_mask |
|
10 |
2 |
58 |
| xen_intr_unmask |
|
9 |
2 |
57 |
| xen_init_grant_tables |
|
30 |
6 |
207 |
| xen_grant_table_grow |
|
43 |
6 |
311 |
| xen_grant_table_alloc |
|
52 |
14 |
362 |
| xen_grant_table_free |
|
25 |
7 |
197 |
| xen_grant_table_enter |
|
24 |
7 |
198 |
| xen_grant_table_remove |
|
31 |
9 |
253 |
| xen_bus_dmamap_create |
|
29 |
7 |
212 |
| xen_bus_dmamap_destroy |
|
14 |
3 |
101 |
| xen_bus_dmamap_load |
|
19 |
4 |
174 |
| xen_bus_dmamap_load_mbuf |
|
19 |
4 |
163 |
| xen_bus_dmamap_unload |
|
14 |
3 |
107 |
| xen_bus_dmamap_sync |
|
7 |
3 |
45 |
| xen_attach_print |
|
7 |
2 |
44 |
| xen_attach_device |
|
29 |
5 |
259 |
| xen_probe_devices |
|
54 |
10 |
447 |
| xen_hotplug |
|
51 |
9 |
403 |
| xen_disable_emulated_devices |
|
17 |
7 |
85 |
| xen_unplug_emulated |
|
5 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/hypervvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clear_bit |
|
4 |
1 |
40 |
| set_bit |
|
4 |
1 |
40 |
| test_bit |
|
4 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/vmt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vmt_probe_cmd |
|
11 |
1 |
96 |
| vmt_probe |
|
12 |
4 |
69 |
| vmt_match |
|
10 |
3 |
67 |
| vmt_attach |
|
38 |
4 |
264 |
| vmt_kvop |
|
47 |
8 |
275 |
| vmt_resume |
|
16 |
1 |
111 |
| vmt_activate |
|
13 |
3 |
47 |
| vmt_update_guest_uptime |
|
8 |
2 |
46 |
| vmt_update_guest_info |
|
25 |
6 |
168 |
| vmt_tick_hook |
|
6 |
1 |
38 |
| vmt_tick |
|
26 |
2 |
207 |
| vmt_tclo_state_change_success |
|
9 |
2 |
48 |
| vmt_do_shutdown |
|
6 |
1 |
36 |
| vmt_do_reboot |
|
6 |
1 |
36 |
| vmt_shutdown |
|
13 |
3 |
74 |
| vmt_tclo_reset |
|
13 |
3 |
77 |
| vmt_tclo_ping |
|
8 |
2 |
46 |
| vmt_tclo_halt |
|
4 |
1 |
14 |
| vmt_tclo_reboot |
|
4 |
1 |
14 |
| vmt_tclo_poweron |
|
8 |
2 |
50 |
| vmt_tclo_suspend |
|
11 |
2 |
63 |
| vmt_tclo_resume |
|
14 |
2 |
83 |
| vmt_tclo_capreg |
|
34 |
7 |
178 |
| vmt_tclo_broadcastip |
|
44 |
9 |
243 |
| vmt_tclo_process |
|
12 |
3 |
90 |
| vmt_tclo_tick |
|
68 |
15 |
372 |
| vm_cmd |
|
4 |
1 |
16 |
| vm_ins |
|
4 |
1 |
16 |
| vm_outs |
|
4 |
1 |
16 |
| vm_rpc_open |
|
21 |
3 |
176 |
| vm_rpc_close |
|
23 |
3 |
173 |
| vm_rpc_send |
|
37 |
5 |
298 |
| vm_rpc_send_str |
|
4 |
1 |
28 |
| vm_rpc_get_data |
|
38 |
4 |
294 |
| vm_rpc_get_length |
|
27 |
3 |
209 |
| vm_rpci_response_successful |
|
4 |
2 |
30 |
| vm_rpc_send_rpci_tx_buf |
|
39 |
8 |
215 |
| vm_rpc_send_rpci_tx |
|
13 |
2 |
82 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/hvs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hvs_match |
|
8 |
3 |
54 |
| hvs_attach |
|
46 |
10 |
388 |
| hvs_scsi_cmd |
|
92 |
14 |
644 |
| hvs_start |
|
23 |
4 |
147 |
| hvs_poll_done |
|
10 |
2 |
66 |
| hvs_poll |
|
25 |
3 |
143 |
| hvs_intr |
|
49 |
9 |
243 |
| is_inquiry_valid |
|
8 |
3 |
48 |
| fixup_inquiry |
|
24 |
14 |
203 |
| hvs_scsi_cmd_done |
|
50 |
10 |
289 |
| hvs_scsi_probe |
|
6 |
2 |
32 |
| hvs_scsi_done |
|
9 |
1 |
41 |
| hvs_connect |
|
101 |
14 |
649 |
| hvs_empty_done |
|
3 |
1 |
9 |
| hvs_alloc_ccbs |
|
36 |
5 |
253 |
| hvs_free_ccbs |
|
19 |
3 |
147 |
| hvs_get_ccb |
|
11 |
2 |
67 |
| hvs_put_ccb |
|
13 |
1 |
84 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/hypervreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/vmmci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vmmci_match |
|
7 |
2 |
42 |
| vmmci_attach |
|
25 |
3 |
188 |
| vmmci_activate |
|
17 |
3 |
90 |
| vmmci_config_change |
|
31 |
8 |
158 |
| vmmci_tick |
|
18 |
2 |
141 |
| vmmci_tick_hook |
|
6 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/viocon.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dev2sc |
|
4 |
1 |
18 |
| dev2port |
|
4 |
1 |
21 |
| viocon_match |
|
7 |
2 |
38 |
| viocon_attach |
|
36 |
5 |
286 |
| viocon_port_create |
|
74 |
10 |
598 |
| viocon_tx_drain |
|
14 |
2 |
96 |
| viocon_tx_intr |
|
16 |
3 |
124 |
| viocon_rx_fill |
|
19 |
5 |
147 |
| viocon_rx_intr |
|
9 |
1 |
67 |
| viocon_rx_soft |
|
19 |
4 |
152 |
| vioconstart |
|
48 |
9 |
337 |
| vioconhwiflow |
|
15 |
2 |
89 |
| vioconparam |
|
8 |
1 |
46 |
| vioconopen |
|
48 |
10 |
332 |
| vioconclose |
|
15 |
3 |
107 |
| vioconread |
|
6 |
1 |
51 |
| vioconwrite |
|
6 |
1 |
51 |
| viocontty |
|
5 |
1 |
22 |
| vioconstop |
|
10 |
3 |
61 |
| vioconioctl |
|
14 |
3 |
108 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/hyperv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hv_match |
|
8 |
4 |
69 |
| hv_attach |
|
33 |
8 |
201 |
| hv_set_version |
|
7 |
1 |
33 |
| hv_gettime |
|
5 |
1 |
22 |
| hv_init_hypercall |
|
18 |
3 |
111 |
| hv_hypercall |
|
34 |
6 |
257 |
| hv_init_interrupts |
|
23 |
3 |
190 |
| hv_init_synic |
|
36 |
3 |
277 |
| hv_cmd |
|
24 |
5 |
167 |
| hv_start |
|
38 |
7 |
269 |
| hv_reply_done |
|
13 |
2 |
74 |
| hv_reply |
|
10 |
2 |
73 |
| hv_wait |
|
15 |
5 |
112 |
| hv_intr_signal |
|
6 |
1 |
37 |
| hv_intr |
|
6 |
1 |
23 |
| hv_event_intr |
|
47 |
11 |
310 |
| hv_message_intr |
|
30 |
6 |
180 |
| hv_channel_response |
|
23 |
3 |
159 |
| hv_channel_offer |
|
14 |
2 |
102 |
| hv_channel_rescind |
|
7 |
1 |
45 |
| hv_channel_delivered |
|
5 |
1 |
32 |
| hv_vmbus_connect |
|
83 |
14 |
610 |
| guidprint |
|
20 |
6 |
276 |
| hv_guid_sprint |
|
37 |
5 |
258 |
| hv_channel_scan_done |
|
4 |
1 |
24 |
| hv_channel_scan |
|
30 |
3 |
235 |
| hv_process_offer |
|
56 |
11 |
492 |
| hv_channel_lookup |
|
9 |
2 |
48 |
| hv_channel_ring_create |
|
31 |
4 |
285 |
| hv_channel_ring_destroy |
|
8 |
1 |
75 |
| hv_channel_open |
|
39 |
7 |
285 |
| hv_channel_close |
|
19 |
2 |
122 |
| hv_channel_setevent |
|
10 |
2 |
80 |
| hv_channel_intr |
|
10 |
3 |
52 |
| hv_channel_setdeferred |
|
8 |
2 |
60 |
| hv_channel_schedule |
|
10 |
4 |
59 |
| hv_ring_put |
|
9 |
2 |
96 |
| hv_ring_get |
|
12 |
3 |
106 |
| hv_ring_avail |
|
15 |
4 |
91 |
| hv_ring_write |
|
29 |
6 |
223 |
| hv_channel_send |
|
29 |
3 |
250 |
| hv_channel_send_sgl |
|
34 |
3 |
298 |
| hv_channel_send_prpl |
|
34 |
3 |
302 |
| hv_ring_peek |
|
10 |
2 |
69 |
| hv_ring_read |
|
22 |
4 |
151 |
| hv_channel_recv |
|
27 |
5 |
204 |
| hv_ring_mask |
|
6 |
1 |
25 |
| hv_ring_unmask |
|
6 |
1 |
25 |
| hv_channel_pause |
|
4 |
1 |
17 |
| hv_channel_unpause |
|
7 |
1 |
38 |
| hv_channel_ready |
|
6 |
1 |
30 |
| hv_handle_alloc |
|
106 |
19 |
860 |
| hv_handle_free |
|
16 |
3 |
113 |
| hv_attach_print |
|
7 |
2 |
40 |
| hv_attach_devices |
|
30 |
4 |
223 |
| hv_evcount_attach |
|
5 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/hypervic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hv_attach_icdevs |
|
38 |
11 |
249 |
| hv_ic_negotiate |
|
42 |
12 |
313 |
| hv_heartbeat_attach |
|
13 |
3 |
80 |
| hv_heartbeat |
|
40 |
7 |
243 |
| hv_shutdown_task |
|
5 |
1 |
23 |
| hv_shutdown_attach |
|
14 |
3 |
92 |
| hv_shutdown |
|
46 |
10 |
288 |
| hv_timesync_attach |
|
19 |
3 |
141 |
| hv_timesync |
|
52 |
8 |
341 |
| copyout_utf16le |
|
12 |
2 |
91 |
| copyin_utf16le |
|
10 |
2 |
80 |
| keycmp_utf16le |
|
11 |
4 |
93 |
| kvp_pool_init |
|
6 |
1 |
33 |
| kvp_pool_insert |
|
29 |
5 |
219 |
| kvp_pool_update |
|
23 |
5 |
158 |
| kvp_pool_import |
|
28 |
6 |
199 |
| kvp_pool_export |
|
21 |
3 |
155 |
| kvp_pool_remove |
|
17 |
3 |
114 |
| kvp_pool_extract |
|
31 |
7 |
185 |
| kvp_pool_keys |
|
13 |
2 |
87 |
| hv_kvp_attach |
|
37 |
8 |
291 |
| nibble |
|
10 |
7 |
68 |
| kvp_get_ip_info |
|
101 |
25 |
654 |
| hv_kvp_process |
|
82 |
19 |
573 |
| hv_kvp |
|
61 |
11 |
349 |
| kvp_poolname |
|
18 |
5 |
118 |
| hv_kvop |
|
39 |
11 |
263 |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/hypervicreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pv/if_xnf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xnf_match |
|
7 |
2 |
45 |
| xnf_attach |
|
64 |
10 |
440 |
| xnf_detach |
|
14 |
3 |
85 |
| nibble |
|
10 |
7 |
68 |
| xnf_lladdr |
|
16 |
5 |
151 |
| xnf_ioctl |
|
39 |
11 |
210 |
| xnf_media_change |
|
4 |
1 |
14 |
| xnf_media_status |
|
5 |
1 |
30 |
| xnf_iff |
|
4 |
1 |
14 |
| xnf_init |
|
14 |
2 |
77 |
| xnf_stop |
|
14 |
3 |
85 |
| xnf_start |
|
41 |
11 |
271 |
| xnf_fragcount |
|
16 |
4 |
104 |
| xnf_encap |
|
81 |
14 |
626 |
| xnf_intr |
|
9 |
2 |
47 |
| xnf_watchdog |
|
8 |
1 |
56 |
| xnf_txeof |
|
40 |
5 |
309 |
| xnf_rxeof |
|
73 |
10 |
517 |
| xnf_rx_ring_fill |
|
42 |
8 |
319 |
| xnf_rx_ring_create |
|
44 |
7 |
326 |
| xnf_rx_ring_drain |
|
6 |
2 |
33 |
| xnf_rx_ring_destroy |
|
33 |
7 |
249 |
| xnf_tx_ring_create |
|
55 |
9 |
396 |
| xnf_tx_ring_drain |
|
6 |
2 |
33 |
| xnf_tx_ring_destroy |
|
34 |
6 |
278 |
| xnf_capabilities |
|
50 |
24 |
373 |
| xnf_init_backend |
|
37 |
11 |
263 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops_masks.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops_masks_init |
|
18 |
5 |
148 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops24.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops24_init |
|
27 |
5 |
132 |
| rasops24_putchar |
|
57 |
12 |
496 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops_bitops.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| NAME( erasecols) |
|
54 |
13 |
410 |
| NAME( do_cursor) |
|
30 |
6 |
227 |
| NAME( copycols) |
|
115 |
26 |
885 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops4.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops4_init |
|
24 |
5 |
117 |
| rasops4_putchar |
|
77 |
15 |
667 |
| rasops4_putchar |
|
4 |
1 |
25 |
| rasops4_makestamp |
|
17 |
11 |
218 |
| rasops4_putchar8 |
|
50 |
10 |
345 |
| rasops4_putchar12 |
|
53 |
10 |
386 |
| rasops4_putchar16 |
|
56 |
10 |
418 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops.h |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops1_init |
|
20 |
4 |
99 |
| rasops1_putchar |
|
108 |
21 |
972 |
| rasops1_putchar8 |
|
42 |
13 |
306 |
| rasops1_putchar16 |
|
44 |
13 |
343 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops_init |
|
77 |
18 |
581 |
| rasops_reconfig |
|
119 |
35 |
953 |
| rasops_mapchar |
|
23 |
7 |
143 |
| rasops_alloc_cattr |
|
26 |
9 |
165 |
| rasops_alloc_mattr |
|
15 |
4 |
111 |
| rasops_copyrows |
|
58 |
12 |
455 |
| rasops_copycols |
|
45 |
13 |
271 |
| rasops_cursor |
|
28 |
15 |
199 |
| rasops_init_devcmap |
|
57 |
24 |
506 |
| rasops_unpack_attr |
|
7 |
2 |
69 |
| rasops_eraserows |
|
48 |
10 |
351 |
| rasops_do_cursor |
|
53 |
14 |
351 |
| rasops_erasecols |
|
89 |
22 |
646 |
| rasops_rotate_font |
|
18 |
3 |
112 |
| rasops_copychar |
|
31 |
5 |
202 |
| rasops_putchar_rotated |
|
25 |
5 |
189 |
| rasops_erasecols_rotated |
|
13 |
3 |
84 |
| rasops_copyrows_rotated |
|
17 |
6 |
140 |
| rasops_copycols_rotated |
|
14 |
4 |
99 |
| rasops_eraserows_rotated |
|
14 |
4 |
98 |
| slow_bcopy |
|
15 |
5 |
88 |
| rasops_alloc_screen |
|
37 |
6 |
286 |
| rasops_free_screen |
|
10 |
1 |
74 |
| rasops_show_screen |
|
14 |
2 |
89 |
| rasops_doswitch |
|
24 |
5 |
218 |
| rasops_getchar |
|
9 |
3 |
73 |
| rasops_vcons_cursor |
|
9 |
4 |
70 |
| rasops_vcons_mapchar |
|
5 |
1 |
34 |
| rasops_vcons_putchar |
|
10 |
2 |
92 |
| rasops_vcons_copycols |
|
21 |
5 |
192 |
| rasops_vcons_erasecols |
|
14 |
3 |
117 |
| rasops_vcons_copyrows |
|
23 |
6 |
200 |
| rasops_vcons_eraserows |
|
14 |
3 |
112 |
| rasops_vcons_alloc_attr |
|
5 |
1 |
48 |
| rasops_vcons_unpack_attr |
|
6 |
1 |
45 |
| rasops_wronly_putchar |
|
8 |
1 |
76 |
| rasops_wronly_copycols |
|
16 |
3 |
143 |
| rasops_wronly_erasecols |
|
12 |
2 |
101 |
| rasops_wronly_copyrows |
|
18 |
4 |
155 |
| rasops_wronly_eraserows |
|
12 |
2 |
96 |
| rasops_add_font |
|
12 |
5 |
74 |
| rasops_use_font |
|
26 |
5 |
156 |
| rasops_load_font |
|
10 |
4 |
70 |
| rasops_list_font_cb |
|
12 |
4 |
72 |
| rasops_list_font |
|
21 |
5 |
131 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops8.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops8_init |
|
17 |
4 |
70 |
| rasops8_putchar |
|
46 |
11 |
396 |
| rasops8_makestamp |
|
20 |
13 |
246 |
| rasops8_putchar8 |
|
46 |
10 |
353 |
| rasops8_putchar12 |
|
48 |
10 |
388 |
| rasops8_putchar16 |
|
46 |
10 |
399 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops32.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops32_init |
|
12 |
2 |
63 |
| rasops32_putchar |
|
49 |
11 |
442 |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops_masks.h |
| Source file: /home/sergeyb/sources/src/sys/dev/rasops/rasops15.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rasops15_init |
|
25 |
5 |
132 |
| rasops15_putchar |
|
50 |
11 |
422 |
| rasops15_makestamp |
|
18 |
11 |
230 |
| rasops15_putchar8 |
|
52 |
10 |
421 |
| rasops15_putchar12 |
|
55 |
10 |
473 |
| rasops15_putchar16 |
|
60 |
10 |
529 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_core.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_audio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| init_audio_devices |
|
8 |
4 |
54 |
| set_audio |
|
77 |
21 |
512 |
| temp_mute |
|
13 |
3 |
66 |
| init_BTSC |
|
10 |
1 |
84 |
| set_BTSC |
|
4 |
1 |
24 |
| set_bctv_audio |
|
29 |
7 |
106 |
| bctv_gpio_write |
|
26 |
3 |
152 |
| msp_read_id |
|
8 |
1 |
94 |
| msp_autodetect |
|
87 |
26 |
799 |
| dpl_read_id |
|
8 |
1 |
98 |
| dpl_autodetect |
|
9 |
1 |
112 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_tuner.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| frequency_lookup |
|
14 |
4 |
72 |
| select_tuner |
|
7 |
2 |
41 |
| tv_freq |
|
68 |
20 |
508 |
| do_afc |
|
41 |
15 |
268 |
| get_tuner_status |
|
3 |
1 |
21 |
| tv_channel |
|
9 |
3 |
66 |
| tuner_getchnlset |
|
10 |
3 |
73 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_os.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_card.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| writeEEProm |
|
4 |
1 |
23 |
| readEEProm |
|
21 |
6 |
163 |
| signCard |
|
12 |
4 |
97 |
| check_for_i2c_devices |
|
12 |
6 |
89 |
| locate_tuner_address |
|
7 |
5 |
67 |
| locate_eeprom_address |
|
6 |
4 |
53 |
| probeCard |
|
493 |
133 |
3459 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_core.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bktr_name |
|
4 |
1 |
16 |
| common_bktr_attach |
|
78 |
10 |
487 |
| vbidecode |
|
16 |
2 |
133 |
| common_bktr_intr |
|
149 |
45 |
968 |
| video_open |
|
69 |
11 |
523 |
| vbi_open |
|
14 |
2 |
85 |
| tuner_open |
|
9 |
3 |
47 |
| video_close |
|
15 |
1 |
86 |
| tuner_close |
|
5 |
1 |
18 |
| vbi_close |
|
5 |
1 |
18 |
| video_read |
|
31 |
5 |
218 |
| vbi_read |
|
27 |
6 |
201 |
| video_ioctl |
|
452 |
111 |
2982 |
| tuner_ioctl |
|
304 |
79 |
2094 |
| bktr_common_ioctl |
|
113 |
29 |
857 |
| dump_bt848 |
|
27 |
2 |
260 |
| notclipped |
|
22 |
5 |
156 |
| getline |
|
38 |
12 |
330 |
| split |
|
65 |
20 |
484 |
| rgb_vbi_prog |
|
121 |
21 |
1045 |
| rgb_prog |
|
110 |
17 |
912 |
| yuvpack_prog |
|
76 |
8 |
673 |
| yuv422_prog |
|
82 |
8 |
826 |
| yuv12_prog |
|
83 |
8 |
795 |
| build_dma_prog |
|
154 |
21 |
1483 |
| start_capture |
|
41 |
7 |
250 |
| set_fps |
|
29 |
4 |
155 |
| pixfmt_swap_flags |
|
22 |
8 |
107 |
| oformat_meteor_to_bt |
|
23 |
11 |
166 |
| i2cWrite |
|
25 |
9 |
199 |
| i2cRead |
|
18 |
7 |
159 |
| i2c_start |
|
6 |
1 |
63 |
| i2c_stop |
|
5 |
1 |
49 |
| i2c_write_byte |
|
27 |
3 |
190 |
| i2c_read_byte |
|
32 |
4 |
208 |
| msp_dpl_write |
|
17 |
1 |
124 |
| msp_dpl_read |
|
19 |
1 |
143 |
| msp_dpl_reset |
|
15 |
1 |
88 |
| remote_read |
|
9 |
1 |
84 |
| i2cProbe |
|
34 |
4 |
286 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_tuner.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_audio.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_card.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bktr/bktr_os.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bktr_intr |
|
1 |
1 |
14 |
| bktr_probe |
|
14 |
6 |
85 |
| bktr_attach |
|
64 |
10 |
465 |
| get_bktr_mem |
|
45 |
6 |
287 |
| free_bktr_mem |
|
10 |
1 |
58 |
| bktr_open |
|
20 |
7 |
129 |
| bktr_close |
|
16 |
4 |
87 |
| bktr_read |
|
14 |
3 |
83 |
| bktr_write |
|
4 |
1 |
20 |
| bktr_ioctl |
|
16 |
4 |
108 |
| bktr_mmap |
|
15 |
4 |
102 |
| bktr_set_info |
|
46 |
11 |
280 |
| bktr_get_info |
|
25 |
5 |
170 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_lvds.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| to_lvds_encoder |
|
4 |
1 |
22 |
| to_lvds_connector |
|
4 |
1 |
22 |
| intel_lvds_get_hw_state |
|
20 |
4 |
122 |
| intel_lvds_get_config |
|
27 |
5 |
168 |
| intel_pre_enable_lvds |
|
49 |
10 |
298 |
| intel_enable_lvds |
|
22 |
3 |
150 |
| intel_disable_lvds |
|
19 |
3 |
133 |
| gmch_disable_lvds |
|
8 |
1 |
44 |
| pch_disable_lvds |
|
7 |
1 |
39 |
| pch_post_disable_lvds |
|
4 |
1 |
14 |
| intel_lvds_mode_valid |
|
14 |
4 |
87 |
| intel_lvds_compute_config |
|
36 |
7 |
218 |
| intel_lvds_detect |
|
11 |
2 |
59 |
| intel_lvds_get_modes |
|
13 |
3 |
91 |
| intel_no_modeset_on_lid_dmi_callback |
|
5 |
1 |
22 |
| intel_lid_notify |
|
32 |
7 |
190 |
| intel_lvds_destroy |
|
12 |
4 |
76 |
| intel_lvds_set_property |
|
23 |
6 |
124 |
| intel_no_lvds_dmi_callback |
|
5 |
1 |
22 |
| lvds_is_present_in_vbt |
|
22 |
8 |
136 |
| intel_dual_link_lvds_callback |
|
5 |
1 |
22 |
| intel_is_dual_link_lvds |
|
12 |
2 |
55 |
| compute_is_dual_link_lvds |
|
17 |
5 |
118 |
| intel_lvds_supported |
|
8 |
6 |
52 |
| intel_lvds_init |
|
188 |
36 |
1119 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_sprite.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| format_is_yuv |
|
12 |
5 |
33 |
| usecs_to_scanlines |
|
8 |
2 |
39 |
| intel_pipe_update_start |
|
44 |
10 |
303 |
| intel_pipe_update_end |
|
19 |
3 |
137 |
| skl_update_plane |
|
86 |
7 |
694 |
| skl_disable_plane |
|
12 |
1 |
111 |
| chv_update_csc |
|
21 |
2 |
294 |
| vlv_update_plane |
|
99 |
19 |
604 |
| vlv_disable_plane |
|
11 |
1 |
90 |
| ivb_update_plane |
|
98 |
25 |
661 |
| ivb_disable_plane |
|
12 |
2 |
93 |
| ilk_update_plane |
|
89 |
17 |
584 |
| ilk_disable_plane |
|
11 |
1 |
87 |
| intel_check_sprite_plane |
|
122 |
31 |
914 |
| intel_commit_sprite_plane |
|
22 |
4 |
166 |
| intel_sprite_set_colorkey |
|
43 |
11 |
247 |
| intel_plane_init |
|
86 |
13 |
450 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_evict.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mark_free |
|
9 |
3 |
59 |
| i915_gem_evict_something |
|
73 |
15 |
426 |
| i915_gem_evict_vm |
|
18 |
4 |
115 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_sideband.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vlv_sideband_rw |
|
28 |
8 |
217 |
| vlv_punit_read |
|
10 |
1 |
71 |
| vlv_punit_write |
|
8 |
1 |
66 |
| vlv_bunit_read |
|
7 |
1 |
41 |
| vlv_bunit_write |
|
5 |
1 |
36 |
| vlv_nc_read |
|
10 |
1 |
71 |
| vlv_gpio_nc_read |
|
7 |
1 |
41 |
| vlv_gpio_nc_write |
|
5 |
1 |
36 |
| vlv_cck_read |
|
7 |
1 |
41 |
| vlv_cck_write |
|
5 |
1 |
36 |
| vlv_ccu_read |
|
7 |
1 |
41 |
| vlv_ccu_write |
|
5 |
1 |
36 |
| vlv_gps_core_read |
|
7 |
1 |
41 |
| vlv_gps_core_write |
|
5 |
1 |
36 |
| vlv_dpio_read |
|
9 |
1 |
64 |
| vlv_dpio_write |
|
5 |
1 |
41 |
| intel_sbi_read |
|
23 |
4 |
139 |
| intel_sbi_write |
|
23 |
4 |
139 |
| vlv_flisdsi_read |
|
7 |
1 |
36 |
| vlv_flisdsi_write |
|
5 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_params.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/dvo_ivch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ivch_read |
|
37 |
3 |
195 |
| ivch_write |
|
22 |
3 |
138 |
| ivch_init |
|
31 |
5 |
194 |
| ivch_detect |
|
4 |
1 |
12 |
| ivch_mode_valid |
|
7 |
2 |
28 |
| ivch_reset |
|
9 |
2 |
68 |
| ivch_dpms |
|
26 |
7 |
150 |
| ivch_get_hw_state |
|
11 |
3 |
46 |
| ivch_mode_set |
|
34 |
5 |
230 |
| ivch_dump_regs |
|
36 |
1 |
284 |
| ivch_destroy |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_context.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_context_alignment |
|
6 |
2 |
22 |
| get_context_size |
|
25 |
5 |
107 |
| i915_gem_context_clean |
|
12 |
3 |
62 |
| i915_gem_context_free |
|
13 |
3 |
88 |
| i915_gem_alloc_context_obj |
|
16 |
5 |
96 |
| __create_hw_context |
|
37 |
6 |
225 |
| i915_gem_create_context |
|
38 |
9 |
219 |
| i915_gem_context_reset |
|
24 |
7 |
147 |
| i915_gem_context_init |
|
38 |
12 |
233 |
| i915_gem_context_fini |
|
25 |
5 |
181 |
| i915_gem_context_enable |
|
16 |
4 |
76 |
| context_idr_cleanup |
|
6 |
1 |
30 |
| i915_gem_context_open |
|
14 |
2 |
87 |
| i915_gem_context_close |
|
6 |
1 |
43 |
| i915_gem_context_get |
|
8 |
2 |
49 |
| mi_set_context |
|
58 |
16 |
419 |
| should_skip_switch |
|
11 |
5 |
58 |
| needs_pd_load_pre |
|
11 |
4 |
69 |
| needs_pd_load_post |
|
14 |
5 |
78 |
| do_switch |
|
91 |
27 |
613 |
| i915_switch_context |
|
17 |
4 |
113 |
| contexts_enabled |
|
4 |
2 |
21 |
| i915_gem_context_create_ioctl |
|
20 |
4 |
118 |
| i915_gem_context_destroy_ioctl |
|
23 |
4 |
141 |
| i915_gem_context_getparam_ioctl |
|
30 |
5 |
154 |
| i915_gem_context_setparam_ioctl |
|
40 |
10 |
208 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_render_state.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_guc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_opregion.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| swsci |
|
60 |
14 |
354 |
| intel_opregion_notify_encoder |
|
43 |
12 |
193 |
| intel_opregion_notify_adapter |
|
12 |
4 |
76 |
| asle_set_backlight |
|
23 |
5 |
158 |
| asle_set_als_illum |
|
5 |
1 |
20 |
| asle_set_pwm_freq |
|
5 |
1 |
20 |
| asle_set_pfit |
|
5 |
1 |
20 |
| asle_set_supported_rotation_angles |
|
5 |
1 |
20 |
| asle_set_button_array |
|
16 |
7 |
80 |
| asle_set_convertible |
|
8 |
2 |
32 |
| asle_set_docking |
|
8 |
2 |
32 |
| asle_isct_state |
|
5 |
1 |
17 |
| asle_work |
|
39 |
12 |
255 |
| intel_opregion_asle_intr |
|
6 |
2 |
36 |
| intel_opregion_video_event |
|
16 |
5 |
97 |
| get_did |
|
13 |
3 |
88 |
| set_did |
|
11 |
3 |
84 |
| intel_didl_outputs |
|
86 |
23 |
424 |
| intel_setup_cadls |
|
11 |
3 |
71 |
| intel_opregion_init |
|
19 |
6 |
105 |
| intel_opregion_fini |
|
23 |
6 |
143 |
| swsci_setup |
|
32 |
6 |
209 |
| swsci_setup |
|
1 |
1 |
9 |
| intel_opregion_setup |
|
56 |
11 |
368 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_vgpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i915_check_vgpu |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_drv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_virt_detect_pch |
|
18 |
8 |
108 |
| intel_pch_match |
|
8 |
4 |
48 |
| intel_detect_pch |
|
58 |
25 |
430 |
| i915_semaphore_is_enabled |
|
14 |
8 |
74 |
| i915_firmware_load_error_print |
|
12 |
4 |
55 |
| intel_suspend_encoders |
|
12 |
2 |
71 |
| i915_drm_suspend |
|
40 |
6 |
212 |
| i915_drm_suspend_late |
|
14 |
5 |
82 |
| i915_suspend_switcheroo |
|
18 |
7 |
97 |
| i915_drm_resume |
|
38 |
5 |
230 |
| i915_drm_resume_early |
|
23 |
9 |
142 |
| i915_resume_switcheroo |
|
10 |
3 |
43 |
| i915_reset |
|
39 |
7 |
204 |
| i915_pci_probe |
|
13 |
4 |
77 |
| i915_pci_remove |
|
5 |
1 |
24 |
| i915_pm_suspend |
|
12 |
4 |
69 |
| i915_pm_suspend_late |
|
7 |
2 |
40 |
| i915_pm_poweroff_late |
|
7 |
2 |
40 |
| i915_pm_resume_early |
|
7 |
2 |
38 |
| i915_pm_resume |
|
7 |
2 |
38 |
| skl_suspend_complete |
|
5 |
1 |
17 |
| hsw_suspend_complete |
|
5 |
1 |
17 |
| bxt_suspend_complete |
|
8 |
1 |
36 |
| bxt_resume_prepare |
|
9 |
1 |
41 |
| skl_resume_prepare |
|
7 |
1 |
31 |
| vlv_save_gunit_s0ix_state |
|
53 |
3 |
484 |
| vlv_restore_gunit_s0ix_state |
|
60 |
3 |
528 |
| vlv_force_gfx_clock |
|
17 |
4 |
78 |
| vlv_allow_gt_wake |
|
15 |
3 |
72 |
| vlv_wait_for_gt_wells |
|
19 |
6 |
85 |
| vlv_check_no_gt_access |
|
7 |
2 |
35 |
| vlv_suspend_complete |
|
26 |
5 |
137 |
| vlv_resume_prepare |
|
22 |
5 |
111 |
| intel_runtime_suspend |
|
39 |
7 |
231 |
| intel_runtime_resume |
|
34 |
11 |
217 |
| intel_suspend_complete |
|
15 |
7 |
89 |
| i915_init |
|
15 |
7 |
88 |
| i915_exit |
|
6 |
2 |
28 |
| intagpsubmatch |
|
8 |
2 |
62 |
| intagp_print |
|
6 |
2 |
29 |
| inteldrm_wsioctl |
|
46 |
15 |
290 |
| inteldrm_wsmmap |
|
4 |
1 |
20 |
| inteldrm_alloc_screen |
|
7 |
1 |
61 |
| inteldrm_free_screen |
|
6 |
1 |
37 |
| inteldrm_show_screen |
|
17 |
3 |
112 |
| inteldrm_doswitch |
|
10 |
2 |
76 |
| inteldrm_enter_ddb |
|
10 |
2 |
71 |
| inteldrm_getchar |
|
6 |
1 |
48 |
| inteldrm_load_font |
|
6 |
1 |
44 |
| inteldrm_list_font |
|
6 |
1 |
38 |
| inteldrm_burner |
|
14 |
3 |
73 |
| inteldrm_burner_cb |
|
6 |
1 |
38 |
| inteldrm_backlight_update_status |
|
8 |
1 |
38 |
| inteldrm_backlight_get_brightness |
|
7 |
1 |
30 |
| inteldrm_match |
|
7 |
3 |
45 |
| inteldrm_attach |
|
118 |
25 |
929 |
| inteldrm_detach |
|
4 |
1 |
15 |
| inteldrm_activate |
|
30 |
8 |
173 |
| inteldrm_native_backlight |
|
20 |
3 |
141 |
| inteldrm_firmware_backlight |
|
26 |
4 |
177 |
| inteldrm_init_backlight |
|
12 |
3 |
76 |
| inteldrm_intr |
|
6 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_fbdev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_fbdev_set_par |
|
14 |
2 |
85 |
| intel_fbdev_blank |
|
14 |
2 |
90 |
| intel_fbdev_pan_display |
|
15 |
2 |
92 |
| intelfb_alloc |
|
49 |
7 |
314 |
| intelfb_create |
|
116 |
17 |
765 |
| intel_crtc_fb_gamma_set |
|
8 |
1 |
67 |
| intel_crtc_fb_gamma_get |
|
8 |
1 |
73 |
| intel_fb_helper_crtc |
|
8 |
3 |
59 |
| intel_fb_initial_config |
|
116 |
23 |
691 |
| intel_fbdev_destroy |
|
9 |
1 |
58 |
| intel_fbdev_init_bios |
|
88 |
10 |
511 |
| intel_fbdev_suspend_worker |
|
8 |
1 |
28 |
| intel_fbdev_init |
|
25 |
6 |
166 |
| intel_fbdev_initial_config |
|
6 |
1 |
39 |
| intel_fbdev_fini |
|
11 |
2 |
61 |
| intel_fbdev_set_suspend |
|
24 |
7 |
147 |
| intel_fbdev_output_poll_changed |
|
6 |
2 |
34 |
| intel_fbdev_restore_mode |
|
18 |
3 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_dsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wait_for_dsi_fifo_empty |
|
11 |
2 |
82 |
| write_data |
|
11 |
3 |
86 |
| read_data |
|
10 |
3 |
81 |
| intel_dsi_host_transfer |
|
48 |
9 |
350 |
| intel_dsi_host_attach |
|
5 |
1 |
17 |
| intel_dsi_host_detach |
|
5 |
1 |
17 |
| intel_dsi_host_init |
|
20 |
3 |
111 |
| dpi_send_cmd |
|
20 |
4 |
139 |
| band_gap_reset |
|
11 |
1 |
75 |
| is_vid_mode |
|
4 |
1 |
16 |
| is_cmd_mode |
|
4 |
1 |
16 |
| intel_dsi_compute_config |
|
14 |
2 |
86 |
| bxt_dsi_device_ready |
|
27 |
1 |
192 |
| vlv_dsi_device_ready |
|
23 |
1 |
167 |
| intel_dsi_device_ready |
|
8 |
3 |
45 |
| intel_dsi_port_enable |
|
33 |
5 |
204 |
| intel_dsi_port_disable |
|
16 |
2 |
100 |
| intel_dsi_enable |
|
22 |
2 |
146 |
| intel_dsi_pre_enable |
|
30 |
4 |
195 |
| intel_dsi_enable_nop |
|
4 |
1 |
14 |
| intel_dsi_pre_disable |
|
12 |
2 |
71 |
| intel_dsi_disable |
|
27 |
2 |
181 |
| intel_dsi_clear_device_ready |
|
34 |
4 |
229 |
| intel_dsi_post_disable |
|
17 |
3 |
107 |
| intel_dsi_get_hw_state |
|
31 |
10 |
211 |
| intel_dsi_get_config |
|
15 |
4 |
100 |
| intel_dsi_mode_valid |
|
21 |
6 |
116 |
| txclkesc |
|
12 |
4 |
43 |
| txbyteclkhs |
|
6 |
1 |
35 |
| set_dsi_timings |
|
50 |
4 |
381 |
| intel_dsi_prepare |
|
103 |
16 |
690 |
| intel_dsi_pre_pll_enable |
|
6 |
1 |
24 |
| intel_dsi_detect |
|
4 |
1 |
15 |
| intel_dsi_get_modes |
|
18 |
3 |
88 |
| intel_dsi_connector_destroy |
|
8 |
1 |
42 |
| intel_dsi_encoder_destroy |
|
11 |
4 |
59 |
| intel_dsi_init |
|
109 |
17 |
696 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_tiling.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i915_tiling_ok |
|
38 |
17 |
208 |
| i915_gem_object_fence_ok |
|
21 |
8 |
136 |
| i915_gem_set_tiling |
|
76 |
23 |
477 |
| i915_gem_get_tiling |
|
36 |
8 |
210 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_cache_is_coherent |
|
5 |
2 |
23 |
| cpu_write_needs_clflush |
|
6 |
2 |
33 |
| i915_gem_info_add_obj |
|
8 |
1 |
47 |
| i915_gem_info_remove_obj |
|
8 |
1 |
47 |
| i915_gem_wait_for_error |
|
16 |
4 |
66 |
| i915_mutex_lock_interruptible |
|
13 |
3 |
66 |
| i915_gem_get_aperture_ioctl |
|
21 |
3 |
151 |
| i915_gem_object_get_pages_phys |
|
44 |
10 |
327 |
| i915_gem_object_put_pages_phys |
|
42 |
11 |
299 |
| i915_gem_object_release_phys |
|
4 |
1 |
22 |
| drop_pages |
|
12 |
2 |
68 |
| i915_gem_object_attach_phys |
|
24 |
7 |
139 |
| i915_gem_phys_pwrite |
|
28 |
4 |
174 |
| i915_gem_object_alloc |
|
6 |
2 |
41 |
| i915_gem_object_free |
|
6 |
2 |
41 |
| i915_gem_create |
|
21 |
4 |
108 |
| i915_gem_dumb_create |
|
9 |
1 |
70 |
| i915_gem_create_ioctl |
|
7 |
1 |
42 |
| __copy_to_user_swizzled |
|
20 |
3 |
105 |
| __copy_from_user_swizzled |
|
20 |
3 |
105 |
| i915_gem_obj_prepare_shmem_read |
|
20 |
5 |
104 |
| shmem_pread_fast |
|
18 |
4 |
90 |
| shmem_clflush_swizzled_range |
|
13 |
2 |
87 |
| shmem_pread_slow |
|
22 |
4 |
99 |
| i915_gem_shmem_pread |
|
57 |
11 |
321 |
| i915_gem_pread_ioctl |
|
37 |
8 |
222 |
| fast_user_write |
|
15 |
1 |
75 |
| fast_user_write |
|
17 |
1 |
96 |
| i915_gem_gtt_pwrite_fast |
|
45 |
7 |
238 |
| shmem_pwrite_fast |
|
22 |
5 |
106 |
| shmem_pwrite_slow |
|
28 |
6 |
122 |
| i915_gem_shmem_pwrite |
|
84 |
16 |
463 |
| i915_gem_pwrite_ioctl |
|
58 |
17 |
350 |
| i915_gem_check_wedge |
|
13 |
5 |
55 |
| fake_irq |
|
4 |
1 |
18 |
| missed_irq |
|
5 |
1 |
29 |
| local_clock_us |
|
8 |
1 |
35 |
| local_clock_us |
|
5 |
1 |
20 |
| busywait_stop |
|
7 |
2 |
35 |
| __i915_spin_request |
|
22 |
8 |
118 |
| __i915_wait_request |
|
88 |
27 |
548 |
| __i915_wait_request |
|
91 |
28 |
562 |
| i915_gem_request_add_to_client |
|
19 |
7 |
131 |
| i915_gem_request_remove_from_client |
|
12 |
3 |
72 |
| i915_gem_request_retire |
|
8 |
1 |
42 |
| __i915_gem_request_retire__upto |
|
14 |
3 |
88 |
| i915_wait_request |
|
22 |
3 |
123 |
| i915_gem_object_wait_rendering |
|
30 |
9 |
162 |
| i915_gem_object_retire_request |
|
10 |
3 |
60 |
| i915_gem_object_wait_rendering__nonblocking |
|
44 |
11 |
301 |
| to_rps_client |
|
5 |
1 |
24 |
| i915_gem_set_domain_ioctl |
|
41 |
11 |
223 |
| i915_gem_sw_finish_ioctl |
|
21 |
4 |
116 |
| i915_gem_mmap_ioctl |
|
54 |
16 |
355 |
| i915_gem_fault |
|
110 |
26 |
666 |
| i915_gem_fault |
|
107 |
27 |
651 |
| i915_gem_release_mmap |
|
16 |
5 |
126 |
| i915_gem_release_all_mmaps |
|
6 |
1 |
32 |
| i915_gem_get_gtt_size |
|
14 |
5 |
74 |
| i915_gem_get_gtt_alignment |
|
8 |
5 |
56 |
| i915_gem_object_create_mmap_offset |
|
24 |
7 |
136 |
| i915_gem_object_free_mmap_offset |
|
4 |
1 |
17 |
| i915_gem_mmap_gtt |
|
30 |
5 |
149 |
| i915_gem_mmap_gtt_ioctl |
|
6 |
1 |
42 |
| i915_gem_object_truncate |
|
10 |
3 |
81 |
| i915_gem_object_invalidate |
|
14 |
6 |
73 |
| i915_gem_object_put_pages_gtt |
|
29 |
8 |
198 |
| i915_gem_object_put_pages |
|
14 |
3 |
77 |
| i915_gem_object_get_pages_gtt |
|
101 |
27 |
632 |
| i915_gem_object_get_pages |
|
20 |
4 |
124 |
| i915_vma_move_to_active |
|
13 |
2 |
108 |
| i915_gem_object_retire__write |
|
7 |
1 |
56 |
| i915_gem_object_retire__read |
|
21 |
5 |
189 |
| i915_gem_init_seqno |
|
18 |
3 |
113 |
| i915_gem_set_seqno |
|
15 |
4 |
82 |
| i915_gem_get_seqno |
|
12 |
3 |
70 |
| __i915_add_request |
|
45 |
5 |
261 |
| i915_context_is_banned |
|
20 |
7 |
106 |
| i915_set_reset_status |
|
16 |
3 |
78 |
| i915_gem_request_free |
|
17 |
6 |
104 |
| i915_gem_request_alloc |
|
45 |
10 |
246 |
| i915_gem_request_cancel |
|
5 |
1 |
21 |
| i915_gem_find_active_request |
|
10 |
2 |
44 |
| i915_gem_reset_ring_status |
|
13 |
2 |
80 |
| i915_gem_reset_ring_cleanup |
|
28 |
5 |
160 |
| i915_gem_reset |
|
13 |
1 |
74 |
| i915_gem_retire_requests_ring |
|
28 |
7 |
183 |
| i915_gem_retire_requests |
|
23 |
3 |
129 |
| i915_gem_retire_work_handler |
|
15 |
3 |
98 |
| i915_gem_idle_work_handler |
|
19 |
3 |
118 |
| i915_gem_object_flush_active |
|
20 |
6 |
100 |
| i915_gem_wait_ioctl |
|
49 |
12 |
323 |
| __i915_gem_object_sync |
|
42 |
9 |
263 |
| i915_gem_object_sync |
|
27 |
9 |
175 |
| i915_gem_object_finish_gtt |
|
15 |
2 |
80 |
| __i915_vma_unbind |
|
46 |
13 |
290 |
| i915_vma_unbind |
|
4 |
1 |
17 |
| __i915_vma_unbind_no_wait |
|
4 |
1 |
17 |
| i915_gpu_idle |
|
25 |
5 |
124 |
| i915_gem_valid_gtt_space |
|
19 |
10 |
142 |
| i915_gem_object_bind_to_vm |
|
120 |
24 |
658 |
| i915_gem_clflush_object |
|
16 |
6 |
86 |
| i915_gem_object_flush_gtt_write_domain |
|
13 |
2 |
66 |
| i915_gem_object_flush_cpu_write_domain |
|
14 |
3 |
82 |
| i915_gem_object_set_to_gtt_domain |
|
34 |
9 |
219 |
| i915_gem_object_set_cache_level |
|
54 |
17 |
300 |
| i915_gem_get_caching_ioctl |
|
23 |
5 |
113 |
| i915_gem_set_caching_ioctl |
|
40 |
8 |
200 |
| i915_gem_object_pin_to_display_plane |
|
34 |
6 |
173 |
| i915_gem_object_unpin_from_display_plane |
|
8 |
2 |
40 |
| i915_gem_object_set_to_cpu_domain |
|
26 |
5 |
151 |
| i915_gem_ring_throttle |
|
34 |
8 |
228 |
| i915_vma_misplaced |
|
13 |
7 |
81 |
| __i915_vma_set_map_and_fenceable |
|
18 |
3 |
133 |
| i915_gem_object_do_pin |
|
61 |
22 |
389 |
| i915_gem_object_pin |
|
9 |
2 |
42 |
| i915_gem_object_ggtt_pin |
|
10 |
2 |
54 |
| i915_gem_object_ggtt_unpin_view |
|
9 |
1 |
58 |
| i915_gem_busy_ioctl |
|
27 |
5 |
155 |
| i915_gem_throttle_ioctl |
|
5 |
1 |
26 |
| i915_gem_madvise_ioctl |
|
45 |
14 |
244 |
| i915_gem_object_init |
|
15 |
2 |
109 |
| i915_gem_alloc_object |
|
30 |
8 |
169 |
| discard_backing_storage |
|
8 |
3 |
48 |
| i915_gem_free_object |
|
44 |
13 |
298 |
| i915_gem_obj_to_vma |
|
13 |
4 |
65 |
| i915_gem_obj_to_ggtt_view |
|
13 |
4 |
82 |
| i915_gem_vma_destroy |
|
13 |
4 |
107 |
| i915_gem_stop_ringbuffers |
|
8 |
1 |
43 |
| i915_gem_suspend |
|
20 |
2 |
118 |
| i915_gem_l3_remap |
|
21 |
5 |
157 |
| i915_gem_init_swizzling |
|
20 |
7 |
130 |
| init_unused_ring |
|
8 |
1 |
61 |
| init_unused_rings |
|
16 |
4 |
101 |
| i915_gem_init_rings |
|
38 |
10 |
185 |
| i915_gem_init_hw |
|
83 |
24 |
501 |
| i915_gem_init |
|
46 |
8 |
270 |
| i915_gem_cleanup_ringbuffer |
|
10 |
2 |
54 |
| init_ring_lists |
|
5 |
1 |
25 |
| i915_gem_load |
|
59 |
12 |
455 |
| i915_gem_release |
|
19 |
3 |
145 |
| i915_gem_open |
|
19 |
3 |
122 |
| i915_gem_track_fb |
|
15 |
3 |
94 |
| i915_gem_obj_offset |
|
17 |
5 |
113 |
| i915_gem_obj_ggtt_offset_view |
|
12 |
3 |
81 |
| i915_gem_obj_bound |
|
13 |
5 |
73 |
| i915_gem_obj_ggtt_bound_view |
|
12 |
4 |
73 |
| i915_gem_obj_bound_any |
|
8 |
2 |
41 |
| i915_gem_obj_size |
|
16 |
4 |
107 |
| i915_gem_obj_is_pinned |
|
8 |
2 |
39 |
| i915_gem_object_create_from_data |
|
30 |
5 |
171 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_fence.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i965_write_fence_reg |
|
41 |
6 |
267 |
| i915_write_fence_reg |
|
31 |
7 |
198 |
| i830_write_fence_reg |
|
26 |
5 |
169 |
| i915_gem_object_needs_mb |
|
4 |
2 |
20 |
| i915_gem_write_fence |
|
18 |
8 |
136 |
| fence_number |
|
5 |
1 |
21 |
| i915_gem_object_update_fence |
|
18 |
3 |
119 |
| i915_gem_object_fence_lost |
|
7 |
2 |
32 |
| i915_gem_object_wait_fence |
|
10 |
3 |
47 |
| i915_gem_object_put_fence |
|
17 |
4 |
97 |
| i915_find_fence_reg |
|
25 |
7 |
139 |
| i915_gem_object_get_fence |
|
37 |
10 |
210 |
| i915_gem_object_pin_fence |
|
13 |
3 |
82 |
| i915_gem_object_unpin_fence |
|
8 |
2 |
60 |
| i915_gem_restore_fences |
|
14 |
3 |
86 |
| i915_gem_detect_bit_6_swizzle |
|
86 |
23 |
429 |
| i915_gem_swizzle_page |
|
13 |
2 |
97 |
| i915_gem_object_do_bit_17_swizzle |
|
18 |
3 |
109 |
| i915_gem_object_save_bit_17_swizzle |
|
23 |
4 |
140 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_render_state.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| render_state_get_rodata |
|
14 |
5 |
50 |
| render_state_init |
|
21 |
5 |
140 |
| render_state_setup |
|
49 |
10 |
323 |
| i915_gem_render_state_fini |
|
5 |
1 |
26 |
| i915_gem_render_state_prepare |
|
18 |
5 |
85 |
| i915_gem_render_state_init |
|
28 |
6 |
145 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_gtt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inteldrm_gmch_match |
|
9 |
7 |
66 |
| i915_alloc_ifp |
|
25 |
6 |
197 |
| i965_alloc_ifp |
|
29 |
6 |
249 |
| intel_gtt_chipset_setup |
|
30 |
11 |
239 |
| intel_enable_gtt |
|
6 |
1 |
31 |
| intel_gmch_probe |
|
5 |
1 |
21 |
| intel_gtt_get |
|
10 |
1 |
76 |
| intel_gtt_chipset_flush |
|
18 |
5 |
138 |
| intel_gmch_remove |
|
3 |
1 |
6 |
| intel_gtt_insert_sg_entries |
|
13 |
1 |
103 |
| intel_gtt_clear_range |
|
11 |
2 |
87 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_trace.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_drv.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vlv_dport_to_channel |
|
12 |
4 |
38 |
| vlv_dport_to_phy |
|
12 |
4 |
38 |
| vlv_pipe_to_channel |
|
12 |
4 |
35 |
| intel_get_crtc_for_pipe |
|
5 |
1 |
29 |
| intel_get_crtc_for_plane |
|
5 |
1 |
29 |
| intel_attached_encoder |
|
4 |
1 |
17 |
| enc_to_dig_port |
|
4 |
1 |
22 |
| enc_to_mst |
|
4 |
1 |
22 |
| enc_to_intel_dp |
|
4 |
1 |
18 |
| dp_to_dig_port |
|
4 |
1 |
20 |
| hdmi_to_dig_port |
|
4 |
1 |
20 |
| intel_num_planes |
|
4 |
1 |
28 |
| intel_irqs_enabled |
|
4 |
1 |
16 |
| intel_wait_for_vblank |
|
4 |
1 |
19 |
| intel_rotation_90_or_270 |
|
4 |
1 |
23 |
| intel_fbdev_init |
|
4 |
1 |
12 |
| intel_fbdev_initial_config |
|
3 |
1 |
11 |
| intel_fbdev_fini |
|
3 |
1 |
9 |
| intel_fbdev_set_suspend |
|
3 |
1 |
15 |
| intel_fbdev_restore_mode |
|
3 |
1 |
9 |
| intel_atomic_get_crtc_state |
|
9 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_guc_submission.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| host2guc_action_response |
|
7 |
1 |
35 |
| host2guc_action |
|
32 |
6 |
233 |
| host2guc_allocate_doorbell |
|
8 |
1 |
46 |
| host2guc_release_doorbell |
|
8 |
1 |
46 |
| host2guc_sample_forcewake |
|
16 |
7 |
127 |
| guc_init_doorbell |
|
11 |
1 |
62 |
| guc_ring_doorbell |
|
37 |
6 |
240 |
| guc_disable_doorbell |
|
18 |
1 |
128 |
| select_doorbell_cacheline |
|
12 |
1 |
67 |
| assign_doorbell |
|
18 |
4 |
118 |
| release_doorbell |
|
6 |
1 |
39 |
| guc_init_proc_desc |
|
16 |
1 |
105 |
| guc_init_ctx_desc |
|
51 |
3 |
402 |
| guc_fini_ctx_desc |
|
10 |
1 |
72 |
| guc_get_workqueue_space |
|
21 |
3 |
138 |
| guc_add_workqueue_item |
|
29 |
2 |
213 |
| lr_context_update |
|
15 |
1 |
112 |
| i915_guc_submit |
|
29 |
4 |
185 |
| gem_allocate_guc_obj |
|
20 |
4 |
99 |
| gem_release_guc_obj |
|
8 |
3 |
36 |
| guc_client_free |
|
19 |
4 |
114 |
| guc_client_alloc |
|
49 |
7 |
310 |
| guc_create_log |
|
29 |
5 |
174 |
| i915_guc_submission_init |
|
19 |
4 |
126 |
| i915_guc_submission_enable |
|
15 |
2 |
90 |
| i915_guc_submission_disable |
|
7 |
1 |
43 |
| i915_guc_submission_fini |
|
11 |
2 |
70 |
| intel_guc_suspend |
|
14 |
2 |
104 |
| intel_guc_resume |
|
14 |
2 |
104 |
| i915_guc_submit |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_sdvo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| to_sdvo |
|
4 |
1 |
20 |
| intel_attached_sdvo |
|
4 |
1 |
18 |
| to_intel_sdvo_connector |
|
4 |
1 |
23 |
| intel_sdvo_write_sdvox |
|
27 |
5 |
161 |
| intel_sdvo_read_byte |
|
22 |
2 |
110 |
| intel_sdvo_debug_write |
|
23 |
6 |
167 |
| intel_sdvo_write_cmd |
|
53 |
6 |
431 |
| intel_sdvo_read_response |
|
42 |
11 |
233 |
| intel_sdvo_get_pixel_multiplier |
|
9 |
3 |
37 |
| intel_sdvo_set_control_bus_switch |
|
7 |
1 |
25 |
| intel_sdvo_set_value |
|
6 |
2 |
47 |
| intel_sdvo_get_value |
|
6 |
2 |
46 |
| intel_sdvo_set_target_input |
|
7 |
1 |
33 |
| intel_sdvo_get_trained_inputs |
|
11 |
2 |
69 |
| intel_sdvo_set_active_outputs |
|
7 |
1 |
28 |
| intel_sdvo_get_active_outputs |
|
7 |
1 |
29 |
| intel_sdvo_set_encoder_power_state |
|
21 |
5 |
75 |
| intel_sdvo_get_input_pixel_clock_range |
|
14 |
2 |
73 |
| intel_sdvo_set_target_output |
|
7 |
1 |
28 |
| intel_sdvo_set_timing |
|
6 |
2 |
58 |
| intel_sdvo_get_timing |
|
6 |
2 |
58 |
| intel_sdvo_set_input_timing |
|
6 |
1 |
24 |
| intel_sdvo_set_output_timing |
|
6 |
1 |
24 |
| intel_sdvo_get_input_timing |
|
6 |
1 |
24 |
| intel_sdvo_create_preferred_input_timing |
|
19 |
4 |
105 |
| intel_sdvo_get_preferred_input_timing |
|
10 |
2 |
77 |
| intel_sdvo_set_clock_rate_mult |
|
4 |
1 |
25 |
| intel_sdvo_get_dtd_from_mode |
|
43 |
4 |
403 |
| intel_sdvo_get_mode_from_dtd |
|
37 |
4 |
389 |
| intel_sdvo_check_supp_encode |
|
8 |
1 |
39 |
| intel_sdvo_set_encode |
|
5 |
1 |
25 |
| intel_sdvo_set_colorimetry |
|
5 |
1 |
25 |
| intel_sdvo_dump_hdmi_buf |
|
24 |
3 |
153 |
| intel_sdvo_write_infoframe |
|
30 |
6 |
176 |
| intel_sdvo_set_avi_infoframe |
|
30 |
5 |
159 |
| intel_sdvo_set_tv_format |
|
12 |
1 |
86 |
| intel_sdvo_set_output_timings_from_mode |
|
12 |
3 |
59 |
| intel_sdvo_get_preferred_input_mode |
|
19 |
4 |
95 |
| i9xx_adjust_sdvo_tv_clock |
|
21 |
5 |
129 |
| intel_sdvo_compute_config |
|
43 |
13 |
246 |
| intel_sdvo_pre_enable |
|
92 |
30 |
584 |
| intel_sdvo_connector_get_hw_state |
|
12 |
2 |
63 |
| intel_sdvo_get_hw_state |
|
18 |
4 |
114 |
| intel_sdvo_get_config |
|
64 |
15 |
336 |
| intel_disable_sdvo |
|
21 |
4 |
128 |
| pch_disable_sdvo |
|
3 |
1 |
9 |
| pch_post_disable_sdvo |
|
4 |
1 |
14 |
| intel_enable_sdvo |
|
25 |
5 |
162 |
| intel_sdvo_mode_valid |
|
18 |
7 |
102 |
| intel_sdvo_get_capabilities |
|
34 |
2 |
114 |
| intel_sdvo_get_hotplug_support |
|
13 |
5 |
75 |
| intel_sdvo_enable_hotplug |
|
6 |
1 |
33 |
| intel_sdvo_multifunc_encoder |
|
4 |
1 |
21 |
| intel_sdvo_get_edid |
|
5 |
1 |
30 |
| intel_sdvo_get_analog_edid |
|
7 |
1 |
37 |
| intel_sdvo_tmds_sink_detect |
|
40 |
12 |
235 |
| intel_sdvo_connector_matches_edid |
|
9 |
1 |
51 |
| intel_sdvo_detect |
|
50 |
11 |
269 |
| intel_sdvo_get_ddc_modes |
|
17 |
4 |
90 |
| intel_sdvo_get_tv_modes |
|
29 |
7 |
201 |
| intel_sdvo_get_lvds_modes |
|
26 |
4 |
156 |
| intel_sdvo_get_modes |
|
11 |
3 |
60 |
| intel_sdvo_destroy |
|
6 |
1 |
29 |
| intel_sdvo_detect_hdmi_audio |
|
13 |
4 |
73 |
| intel_sdvo_set_property |
|
145 |
30 |
770 |
| intel_sdvo_enc_destroy |
|
9 |
2 |
54 |
| intel_sdvo_guess_ddc_bus |
|
25 |
8 |
104 |
| intel_sdvo_select_ddc_bus |
|
13 |
3 |
82 |
| intel_sdvo_select_i2c_bus |
|
17 |
4 |
95 |
| intel_sdvo_unselect_i2c_bus |
|
4 |
1 |
18 |
| intel_sdvo_is_hdmi_connector |
|
4 |
1 |
18 |
| intel_sdvo_get_slave_addr |
|
24 |
6 |
129 |
| intel_sdvo_connector_unregister |
|
10 |
2 |
61 |
| intel_sdvo_connector_init |
|
35 |
5 |
211 |
| intel_sdvo_add_hdmi_properties |
|
12 |
3 |
87 |
| intel_sdvo_connector_alloc |
|
12 |
3 |
57 |
| intel_sdvo_dvi_init |
|
42 |
8 |
240 |
| intel_sdvo_tv_init |
|
31 |
5 |
171 |
| intel_sdvo_analog_init |
|
28 |
5 |
157 |
| intel_sdvo_lvds_init |
|
33 |
6 |
179 |
| intel_sdvo_output_setup |
|
43 |
20 |
299 |
| intel_sdvo_output_cleanup |
|
12 |
2 |
71 |
| intel_sdvo_tv_create_property |
|
35 |
8 |
251 |
| intel_sdvo_create_enhance_property_tv |
|
97 |
14 |
592 |
| intel_sdvo_create_enhance_property_lvds |
|
10 |
1 |
61 |
| intel_sdvo_create_enhance_property |
|
23 |
4 |
118 |
| intel_sdvo_ddc_proxy_xfer |
|
9 |
2 |
60 |
| intel_sdvo_ddc_proxy_func |
|
5 |
1 |
32 |
| intel_sdvo_init_ddc_proxy |
|
11 |
3 |
86 |
| intel_sdvo_init |
|
83 |
16 |
497 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/dvo.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/dvo_ch7xxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ch7xxx_get_id |
|
9 |
3 |
50 |
| ch7xxx_get_did |
|
9 |
3 |
50 |
| ch7xxx_readb |
|
32 |
3 |
171 |
| ch7xxx_writeb |
|
21 |
3 |
126 |
| ch7xxx_init |
|
38 |
6 |
199 |
| ch7xxx_detect |
|
14 |
2 |
80 |
| ch7xxx_mode_valid |
|
7 |
2 |
28 |
| ch7xxx_mode_set |
|
31 |
4 |
191 |
| ch7xxx_dpms |
|
7 |
2 |
37 |
| ch7xxx_get_hw_state |
|
9 |
2 |
39 |
| ch7xxx_dump_regs |
|
11 |
3 |
64 |
| ch7xxx_destroy |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_batch_pool.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_crt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_encoder_to_crt |
|
4 |
1 |
20 |
| intel_attached_crt |
|
4 |
1 |
18 |
| intel_crt_get_hw_state |
|
20 |
4 |
119 |
| intel_crt_get_flags |
|
16 |
3 |
81 |
| intel_crt_get_config |
|
11 |
2 |
71 |
| hsw_crt_get_config |
|
10 |
1 |
52 |
| intel_crt_set_dpms |
|
42 |
12 |
238 |
| intel_disable_crt |
|
4 |
1 |
16 |
| pch_disable_crt |
|
3 |
1 |
9 |
| pch_post_disable_crt |
|
4 |
1 |
14 |
| intel_enable_crt |
|
5 |
1 |
32 |
| intel_crt_mode_valid |
|
20 |
7 |
105 |
| intel_crt_compute_config |
|
22 |
6 |
121 |
| intel_ironlake_crt_detect_hotplug |
|
33 |
6 |
194 |
| valleyview_crt_detect_hotplug |
|
25 |
3 |
153 |
| intel_crt_detect_hotplug |
|
31 |
8 |
177 |
| intel_crt_get_edid |
|
13 |
3 |
72 |
| intel_crt_ddc_get_modes |
|
12 |
2 |
56 |
| intel_crt_detect_ddc |
|
24 |
3 |
137 |
| intel_crt_load_detect |
|
81 |
12 |
508 |
| intel_crt_detect |
|
52 |
10 |
286 |
| intel_crt_destroy |
|
5 |
1 |
19 |
| intel_crt_get_modes |
|
21 |
3 |
138 |
| intel_crt_set_property |
|
6 |
1 |
20 |
| intel_crt_reset |
|
16 |
2 |
99 |
| intel_no_crt_dmi_callback |
|
5 |
1 |
22 |
| intel_crt_init |
|
71 |
14 |
470 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_mocs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_mocs_settings |
|
25 |
8 |
157 |
| emit_mocs_control_table |
|
29 |
5 |
182 |
| emit_mocs_l3cc_table |
|
39 |
6 |
305 |
| intel_rcs_context_init_mocs |
|
26 |
8 |
147 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_bios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| find_section |
|
24 |
6 |
156 |
| get_blocksize |
|
7 |
1 |
39 |
| fill_detail_timing_data |
|
35 |
5 |
253 |
| get_lvds_dvo_timing |
|
13 |
1 |
89 |
| get_lvds_fp_timing |
|
16 |
4 |
125 |
| parse_lfp_panel_data |
|
62 |
11 |
331 |
| parse_lfp_backlight |
|
30 |
5 |
197 |
| parse_sdvo_panel_data |
|
29 |
6 |
151 |
| intel_bios_ssc_frequency |
|
13 |
7 |
55 |
| parse_general_features |
|
23 |
2 |
151 |
| parse_general_definitions |
|
18 |
4 |
97 |
| child_device_ptr |
|
4 |
1 |
31 |
| parse_sdvo_device_mapping |
|
69 |
13 |
350 |
| parse_driver_features |
|
15 |
5 |
89 |
| parse_edp |
|
98 |
21 |
463 |
| parse_psr |
|
35 |
8 |
217 |
| goto_next_sequence |
|
45 |
12 |
185 |
| parse_mipi |
|
92 |
18 |
596 |
| translate_iboost |
|
9 |
2 |
49 |
| parse_ddi_port |
|
123 |
57 |
953 |
| parse_ddi_ports |
|
14 |
5 |
81 |
| parse_device_mapping |
|
75 |
16 |
452 |
| init_vbt_defaults |
|
24 |
3 |
184 |
| intel_no_opregion_vbt_callback |
|
7 |
1 |
23 |
| validate_vbt |
|
30 |
5 |
156 |
| find_vbt |
|
13 |
3 |
92 |
| intel_parse_bios |
|
41 |
12 |
263 |
| intel_bios_is_port_present |
|
26 |
8 |
193 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_renderstate_gen8.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_fbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fbc_supported |
|
4 |
1 |
18 |
| get_crtc_fence_y_offset |
|
4 |
1 |
20 |
| i8xx_fbc_disable |
|
15 |
3 |
82 |
| i8xx_fbc_enable |
|
36 |
6 |
270 |
| i8xx_fbc_enabled |
|
4 |
1 |
17 |
| g4x_fbc_enable |
|
17 |
2 |
128 |
| g4x_fbc_disable |
|
11 |
2 |
51 |
| g4x_fbc_enabled |
|
4 |
1 |
17 |
| intel_fbc_nuke |
|
5 |
1 |
21 |
| ilk_fbc_enable |
|
39 |
8 |
226 |
| ilk_fbc_disable |
|
11 |
2 |
51 |
| ilk_fbc_enabled |
|
4 |
1 |
17 |
| gen7_fbc_enable |
|
44 |
11 |
258 |
| intel_fbc_enabled |
|
4 |
1 |
16 |
| intel_fbc_enable |
|
9 |
1 |
69 |
| intel_fbc_work_fn |
|
16 |
3 |
121 |
| intel_fbc_cancel_work |
|
10 |
3 |
71 |
| intel_fbc_schedule_enable |
|
18 |
2 |
136 |
| __intel_fbc_disable |
|
7 |
1 |
45 |
| intel_fbc_disable |
|
8 |
2 |
44 |
| intel_fbc_disable_crtc |
|
10 |
3 |
67 |
| intel_no_fbc_reason_str |
|
40 |
17 |
120 |
| set_no_fbc_reason |
|
8 |
2 |
43 |
| intel_fbc_find_crtc |
|
19 |
8 |
112 |
| multiple_pipes_ok |
|
15 |
4 |
82 |
| find_compression_threshold |
|
32 |
11 |
180 |
| intel_fbc_alloc_cfb |
|
43 |
7 |
269 |
| __intel_fbc_cleanup_cfb |
|
12 |
3 |
71 |
| intel_fbc_cleanup_cfb |
|
8 |
2 |
44 |
| intel_fbc_get_plane_source_size |
|
18 |
4 |
124 |
| intel_fbc_calculate_cfb_size |
|
10 |
2 |
78 |
| intel_fbc_setup_cfb |
|
12 |
2 |
86 |
| stride_is_valid |
|
13 |
8 |
88 |
| pixel_format_is_valid |
|
19 |
7 |
78 |
| intel_fbc_hw_tracking_covers_screen |
|
19 |
6 |
128 |
| __intel_fbc_update |
|
95 |
29 |
555 |
| intel_fbc_update |
|
8 |
2 |
44 |
| intel_fbc_invalidate |
|
22 |
6 |
138 |
| intel_fbc_flush |
|
15 |
4 |
84 |
| intel_fbc_init |
|
35 |
7 |
251 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_cmd_parser.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gen7_render_get_cmd_length_mask |
|
16 |
4 |
72 |
| gen7_bsd_get_cmd_length_mask |
|
20 |
5 |
96 |
| gen7_blt_get_cmd_length_mask |
|
10 |
3 |
48 |
| validate_cmds_sorted |
|
26 |
6 |
155 |
| check_sorted |
|
18 |
3 |
86 |
| validate_regs_sorted |
|
6 |
2 |
40 |
| init_hash_table |
|
22 |
4 |
142 |
| fini_hash_table |
|
10 |
1 |
51 |
| i915_cmd_parser_init_ring |
|
74 |
11 |
385 |
| i915_cmd_parser_fini_ring |
|
6 |
2 |
23 |
| find_cmd_in_table |
|
14 |
2 |
81 |
| find_cmd |
|
17 |
3 |
82 |
| find_reg |
|
12 |
4 |
61 |
| vmap_batch |
|
31 |
5 |
183 |
| copy_batch |
|
46 |
10 |
253 |
| i915_needs_cmd_parser |
|
8 |
3 |
41 |
| check_cmd |
|
85 |
24 |
519 |
| i915_parse_cmds |
|
65 |
11 |
330 |
| i915_cmd_parser_get_version |
|
4 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/dvo_tfp410.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tfp410_readb |
|
32 |
3 |
171 |
| tfp410_writeb |
|
21 |
3 |
126 |
| tfp410_getid |
|
8 |
3 |
65 |
| tfp410_init |
|
29 |
4 |
153 |
| tfp410_detect |
|
12 |
3 |
50 |
| tfp410_mode_valid |
|
5 |
1 |
17 |
| tfp410_mode_set |
|
6 |
1 |
23 |
| tfp410_dpms |
|
11 |
3 |
52 |
| tfp410_get_hw_state |
|
10 |
3 |
41 |
| tfp410_dump_regs |
|
32 |
1 |
266 |
| tfp410_destroy |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_hotplug.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_hpd_pin_to_port |
|
22 |
6 |
79 |
| intel_hpd_irq_storm_detect |
|
21 |
3 |
169 |
| intel_hpd_irq_storm_disable |
|
35 |
6 |
193 |
| intel_hpd_irq_storm_reenable_work |
|
32 |
6 |
212 |
| intel_hpd_irq_event |
|
16 |
2 |
94 |
| i915_digport_work_func |
|
40 |
9 |
259 |
| i915_hotplug_work_func |
|
36 |
6 |
224 |
| intel_hpd_irq_handler |
|
53 |
15 |
336 |
| intel_hpd_init |
|
24 |
6 |
166 |
| intel_hpd_init_work |
|
7 |
1 |
45 |
| intel_hpd_cancel_work |
|
11 |
1 |
79 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/dvo_sil164.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sil164_readb |
|
32 |
3 |
171 |
| sil164_writeb |
|
21 |
3 |
126 |
| sil164_init |
|
32 |
6 |
179 |
| sil164_detect |
|
9 |
2 |
35 |
| sil164_mode_valid |
|
5 |
1 |
17 |
| sil164_mode_set |
|
6 |
1 |
23 |
| sil164_dpms |
|
14 |
3 |
63 |
| sil164_get_hw_state |
|
12 |
3 |
50 |
| sil164_dump_regs |
|
14 |
1 |
97 |
| sil164_destroy |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_dvo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| enc_to_dvo |
|
4 |
1 |
20 |
| intel_attached_dvo |
|
4 |
1 |
18 |
| intel_dvo_connector_get_hw_state |
|
11 |
2 |
83 |
| intel_dvo_get_hw_state |
|
13 |
2 |
81 |
| intel_dvo_get_config |
|
18 |
3 |
107 |
| intel_disable_dvo |
|
10 |
1 |
79 |
| intel_enable_dvo |
|
14 |
1 |
125 |
| intel_dvo_mode_valid |
|
21 |
6 |
133 |
| intel_dvo_compute_config |
|
11 |
2 |
64 |
| intel_dvo_pre_enable |
|
38 |
7 |
213 |
| intel_dvo_detect |
|
7 |
1 |
52 |
| intel_dvo_get_modes |
|
19 |
4 |
102 |
| intel_dvo_destroy |
|
6 |
1 |
30 |
| intel_dvo_enc_destroy |
|
7 |
2 |
51 |
| intel_dvo_get_current_mode |
|
24 |
7 |
145 |
| intel_dvo_init |
|
94 |
10 |
552 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_dp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| is_edp |
|
5 |
1 |
28 |
| intel_dp_to_dev |
|
5 |
1 |
28 |
| intel_attached_dp |
|
4 |
1 |
21 |
| intel_dp_unused_lane_mask |
|
4 |
1 |
21 |
| intel_dp_max_link_bw |
|
16 |
4 |
56 |
| intel_dp_max_lane_count |
|
12 |
4 |
85 |
| intel_dp_link_required |
|
4 |
1 |
21 |
| intel_dp_max_data_rate |
|
4 |
1 |
21 |
| intel_dp_mode_valid |
|
27 |
8 |
170 |
| intel_dp_pack_aux |
|
10 |
3 |
69 |
| intel_dp_unpack_aux |
|
8 |
3 |
58 |
| pps_lock |
|
11 |
1 |
75 |
| pps_unlock |
|
11 |
1 |
75 |
| vlv_power_sequencer_kick |
|
43 |
9 |
324 |
| vlv_power_sequencer_pipe |
|
35 |
5 |
238 |
| vlv_pipe_has_pp_on |
|
5 |
1 |
24 |
| vlv_pipe_has_vdd_on |
|
5 |
1 |
24 |
| vlv_pipe_any |
|
5 |
1 |
16 |
| vlv_initial_pps_pipe |
|
16 |
4 |
77 |
| vlv_initial_power_sequencer_setup |
|
25 |
4 |
165 |
| vlv_power_sequencer_reset |
|
14 |
3 |
84 |
| _pp_ctrl_reg |
|
10 |
3 |
53 |
| _pp_stat_reg |
|
10 |
3 |
53 |
| edp_notify_handler |
|
25 |
4 |
158 |
| edp_have_panel_power |
|
10 |
3 |
67 |
| edp_have_panel_vdd |
|
10 |
3 |
63 |
| intel_dp_check_edp |
|
13 |
5 |
82 |
| intel_dp_aux_wait_done |
|
18 |
4 |
107 |
| i9xx_get_aux_clock_divider |
|
6 |
2 |
47 |
| ilk_get_aux_clock_divider |
|
13 |
3 |
85 |
| hsw_get_aux_clock_divider |
|
19 |
7 |
123 |
| vlv_get_aux_clock_divider |
|
4 |
2 |
19 |
| skl_get_aux_clock_divider |
|
4 |
2 |
19 |
| i9xx_get_aux_send_ctl |
|
26 |
5 |
124 |
| skl_get_aux_send_ctl |
|
14 |
2 |
49 |
| intel_dp_aux_ch |
|
98 |
19 |
552 |
| intel_dp_aux_transfer |
|
49 |
13 |
352 |
| intel_dp_aux_init |
|
71 |
20 |
394 |
| intel_dp_connector_unregister |
|
8 |
3 |
58 |
| skl_edp_set_pll_config |
|
37 |
7 |
160 |
| hsw_dp_set_ddi_pll_sel |
|
16 |
4 |
69 |
| intel_dp_sink_rates |
|
9 |
2 |
52 |
| intel_dp_source_supports_hbr2 |
|
10 |
6 |
61 |
| intel_dp_source_rates |
|
17 |
5 |
94 |
| intel_dp_set_clock |
|
29 |
9 |
180 |
| intersect_rates |
|
21 |
6 |
121 |
| intel_dp_common_rates |
|
12 |
1 |
70 |
| snprintf_int_array |
|
13 |
4 |
83 |
| intel_dp_print_rates |
|
19 |
2 |
150 |
| rate_to_index |
|
8 |
3 |
44 |
| intel_dp_max_link_rate |
|
9 |
2 |
55 |
| intel_dp_rate_select |
|
4 |
1 |
22 |
| intel_dp_compute_rate |
|
12 |
2 |
59 |
| intel_dp_compute_config |
|
118 |
29 |
728 |
| ironlake_set_pll_cpu_edp |
|
23 |
2 |
137 |
| intel_dp_set_link_params |
|
6 |
1 |
31 |
| intel_dp_prepare |
|
49 |
18 |
388 |
| wait_panel_status |
|
21 |
2 |
122 |
| wait_panel_on |
|
5 |
1 |
23 |
| wait_panel_off |
|
5 |
1 |
23 |
| wait_panel_power_cycle |
|
7 |
1 |
34 |
| wait_backlight_on |
|
5 |
1 |
20 |
| edp_wait_backlight_off |
|
5 |
1 |
20 |
| ironlake_get_pp_control |
|
13 |
2 |
70 |
| edp_panel_vdd_on |
|
38 |
5 |
234 |
| intel_edp_panel_vdd_on |
|
11 |
2 |
57 |
| edp_panel_vdd_off_sync |
|
29 |
3 |
179 |
| edp_panel_vdd_work |
|
9 |
2 |
49 |
| edp_panel_vdd_schedule_off |
|
6 |
1 |
34 |
| edp_panel_vdd_off |
|
15 |
3 |
83 |
| edp_panel_on |
|
36 |
6 |
199 |
| intel_edp_panel_on |
|
8 |
2 |
34 |
| edp_panel_off |
|
28 |
2 |
180 |
| intel_edp_panel_off |
|
8 |
2 |
34 |
| _intel_edp_backlight_on |
|
16 |
1 |
92 |
| intel_edp_backlight_on |
|
8 |
2 |
36 |
| _intel_edp_backlight_off |
|
18 |
2 |
95 |
| intel_edp_backlight_off |
|
8 |
2 |
36 |
| intel_edp_backlight_power |
|
17 |
4 |
81 |
| ironlake_edp_pll_on |
|
19 |
1 |
130 |
| ironlake_edp_pll_off |
|
18 |
1 |
115 |
| intel_dp_sink_dpms |
|
21 |
7 |
116 |
| intel_dp_get_hw_state |
|
35 |
9 |
224 |
| intel_dp_get_config |
|
58 |
18 |
384 |
| intel_disable_dp |
|
16 |
5 |
116 |
| ilk_post_disable_dp |
|
8 |
2 |
49 |
| vlv_post_disable_dp |
|
5 |
1 |
27 |
| chv_data_lane_soft_reset |
|
39 |
7 |
274 |
| chv_post_disable_dp |
|
10 |
1 |
70 |
| _intel_dp_set_link_train |
|
74 |
21 |
325 |
| intel_dp_enable_port |
|
12 |
1 |
82 |
| intel_enable_dp |
|
33 |
6 |
210 |
| g4x_enable_dp |
|
6 |
1 |
32 |
| vlv_enable_dp |
|
6 |
1 |
32 |
| g4x_pre_enable_dp |
|
10 |
2 |
57 |
| vlv_detach_power_sequencer |
|
13 |
1 |
90 |
| vlv_steal_power_sequencer |
|
26 |
5 |
156 |
| vlv_init_panel_power_sequencer |
|
21 |
4 |
156 |
| vlv_pre_enable_dp |
|
24 |
2 |
193 |
| vlv_dp_pre_pll_enable |
|
24 |
1 |
176 |
| chv_pre_enable_dp |
|
69 |
12 |
512 |
| chv_dp_pre_pll_enable |
|
60 |
12 |
412 |
| chv_dp_post_pll_disable |
|
18 |
2 |
137 |
| intel_dp_dpcd_read_wake |
|
14 |
3 |
82 |
| intel_dp_get_link_status |
|
7 |
1 |
32 |
| intel_dp_voltage_max |
|
20 |
10 |
124 |
| intel_dp_pre_emphasis_max |
|
65 |
26 |
255 |
| vlv_signal_levels |
|
96 |
15 |
436 |
| chv_need_uniq_trans_scale |
|
5 |
2 |
24 |
| chv_signal_levels |
|
135 |
22 |
820 |
| intel_get_adjust_train |
|
25 |
7 |
156 |
| gen4_signal_levels |
|
35 |
9 |
107 |
| gen6_edp_signal_levels |
|
25 |
10 |
97 |
| gen7_edp_signal_levels |
|
25 |
8 |
93 |
| intel_dp_set_signal_levels |
|
36 |
10 |
239 |
| intel_dp_set_link_train |
|
24 |
2 |
156 |
| intel_dp_reset_link_train |
|
7 |
1 |
49 |
| intel_dp_update_link_train |
|
15 |
1 |
107 |
| intel_dp_set_idle_link_train |
|
19 |
4 |
122 |
| intel_dp_link_training_clock_recovery |
|
77 |
15 |
440 |
| intel_dp_link_training_channel_equalization |
|
67 |
13 |
310 |
| intel_dp_stop_link_train |
|
5 |
1 |
21 |
| intel_dp_start_link_train |
|
5 |
1 |
19 |
| intel_dp_link_down |
|
40 |
11 |
282 |
| intel_dp_get_dpcd |
|
67 |
18 |
480 |
| intel_dp_probe_oui |
|
12 |
4 |
107 |
| intel_dp_probe_mst |
|
19 |
5 |
110 |
| intel_dp_sink_crc_stop |
|
22 |
3 |
126 |
| intel_dp_sink_crc_start |
|
27 |
7 |
175 |
| intel_dp_sink_crc |
|
45 |
11 |
287 |
| intel_dp_get_sink_irq |
|
6 |
1 |
30 |
| intel_dp_get_sink_irq_esi |
|
10 |
2 |
44 |
| intel_dp_autotest_link_training |
|
5 |
1 |
17 |
| intel_dp_autotest_video_pattern |
|
5 |
1 |
17 |
| intel_dp_autotest_edid |
|
28 |
7 |
162 |
| intel_dp_autotest_phy_pattern |
|
5 |
1 |
17 |
| intel_dp_handle_test_request |
|
47 |
7 |
230 |
| intel_dp_check_mst_status |
|
47 |
9 |
261 |
| intel_dp_check_link_status |
|
34 |
10 |
202 |
| intel_dp_detect_dpcd |
|
34 |
13 |
190 |
| edp_detect |
|
9 |
2 |
43 |
| ibx_digital_port_connected |
|
22 |
5 |
78 |
| cpt_digital_port_connected |
|
25 |
6 |
87 |
| g4x_digital_port_connected |
|
20 |
4 |
72 |
| gm45_digital_port_connected |
|
20 |
4 |
72 |
| bxt_digital_port_connected |
|
23 |
4 |
92 |
| intel_digital_port_connected |
|
14 |
5 |
85 |
| ironlake_dp_detect |
|
9 |
2 |
57 |
| g4x_dp_detect |
|
15 |
4 |
83 |
| intel_dp_get_edid |
|
11 |
3 |
63 |
| intel_dp_set_edid |
|
11 |
2 |
64 |
| intel_dp_unset_edid |
|
7 |
1 |
37 |
| intel_dp_detect |
|
54 |
13 |
309 |
| intel_dp_force |
|
18 |
3 |
120 |
| intel_dp_get_modes |
|
22 |
6 |
110 |
| intel_dp_detect_audio |
|
9 |
2 |
42 |
| intel_dp_set_property |
|
68 |
17 |
351 |
| intel_dp_connector_destroy |
|
11 |
3 |
69 |
| intel_dp_encoder_destroy |
|
19 |
3 |
110 |
| intel_dp_encoder_suspend |
|
10 |
2 |
55 |
| intel_edp_panel_vdd_sanitize |
|
14 |
2 |
90 |
| intel_dp_encoder_reset |
|
14 |
4 |
92 |
| intel_dp_hpd_pulse |
|
57 |
14 |
350 |
| intel_trans_dp_port_sel |
|
13 |
3 |
71 |
| intel_dp_is_edp |
|
26 |
7 |
163 |
| intel_dp_add_properties |
|
15 |
2 |
82 |
| intel_dp_init_panel_power_timestamps |
|
6 |
1 |
27 |
| intel_dp_init_panel_power_sequencer |
|
79 |
7 |
542 |
| intel_dp_init_panel_power_sequencer_registers |
|
60 |
11 |
410 |
| intel_dp_set_drrs_state |
|
73 |
17 |
371 |
| intel_edp_drrs_enable |
|
21 |
3 |
138 |
| intel_edp_drrs_disable |
|
22 |
4 |
160 |
| intel_edp_drrs_downclock_work |
|
18 |
4 |
112 |
| intel_edp_drrs_invalidate |
|
24 |
5 |
169 |
| intel_edp_drrs_flush |
|
27 |
6 |
193 |
| intel_dp_drrs_init |
|
28 |
4 |
168 |
| intel_edp_init_connector |
|
81 |
16 |
490 |
| intel_dp_init_connector |
|
107 |
31 |
632 |
| intel_dp_init |
|
65 |
9 |
396 |
| intel_dp_mst_suspend |
|
16 |
6 |
98 |
| intel_dp_mst_resume |
|
19 |
6 |
111 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_modes.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_connector_update_modes |
|
9 |
1 |
43 |
| intel_ddc_get_modes |
|
12 |
2 |
56 |
| intel_attach_force_audio_property |
|
17 |
3 |
90 |
| intel_attach_broadcast_rgb_property |
|
17 |
3 |
90 |
| intel_attach_aspect_ratio_property |
|
7 |
2 |
37 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_tv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| enc_to_tv |
|
4 |
1 |
20 |
| intel_attached_tv |
|
4 |
1 |
18 |
| intel_tv_get_hw_state |
|
10 |
2 |
65 |
| intel_enable_tv |
|
8 |
1 |
61 |
| intel_disable_tv |
|
6 |
1 |
41 |
| intel_tv_mode_lookup |
|
10 |
3 |
60 |
| intel_tv_mode_find |
|
4 |
1 |
17 |
| intel_tv_mode_valid |
|
10 |
3 |
61 |
| intel_tv_get_config |
|
5 |
1 |
26 |
| intel_tv_compute_config |
|
13 |
2 |
81 |
| set_tv_mode_timings |
|
44 |
3 |
355 |
| set_color_conversion |
|
18 |
2 |
130 |
| intel_tv_pre_enable |
|
110 |
23 |
748 |
| intel_tv_detect_type |
|
73 |
8 |
446 |
| intel_tv_find_better_format |
|
18 |
4 |
115 |
| intel_tv_detect |
|
32 |
5 |
173 |
| intel_tv_chose_preferred_modes |
|
15 |
8 |
111 |
| intel_tv_get_modes |
|
44 |
10 |
321 |
| intel_tv_destroy |
|
5 |
1 |
19 |
| intel_tv_set_property |
|
45 |
15 |
315 |
| tv_is_present_in_vbt |
|
25 |
7 |
117 |
| intel_tv_init |
|
86 |
9 |
586 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_uncore.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_uncore_forcewake_domain_to_str |
|
8 |
3 |
43 |
| assert_device_not_suspended |
|
5 |
2 |
27 |
| fw_domain_reset |
|
5 |
1 |
34 |
| fw_domain_arm_timer |
|
4 |
1 |
21 |
| fw_domain_wait_ack_clear |
|
8 |
2 |
46 |
| fw_domain_get |
|
4 |
1 |
25 |
| fw_domain_wait_ack |
|
8 |
2 |
44 |
| fw_domain_put |
|
4 |
1 |
25 |
| fw_domain_posting_read |
|
5 |
2 |
27 |
| fw_domains_get |
|
10 |
1 |
49 |
| fw_domains_put |
|
9 |
1 |
44 |
| fw_domains_posting_read |
|
9 |
1 |
35 |
| fw_domains_reset |
|
10 |
2 |
54 |
| __gen6_gt_wait_for_thread_c0 |
|
6 |
2 |
34 |
| fw_domains_get_with_thread_status |
|
6 |
1 |
25 |
| gen6_gt_check_fifodbg |
|
7 |
2 |
41 |
| fw_domains_put_with_fifo |
|
6 |
1 |
25 |
| fifo_free_entries |
|
5 |
1 |
24 |
| __gen6_gt_wait_for_fifo |
|
19 |
7 |
116 |
| intel_uncore_fw_release_timer |
|
13 |
3 |
105 |
| intel_uncore_forcewake_reset |
|
47 |
13 |
289 |
| intel_uncore_ellc_detect |
|
10 |
5 |
69 |
| __intel_uncore_early_sanitize |
|
17 |
5 |
97 |
| intel_uncore_early_sanitize |
|
5 |
1 |
24 |
| intel_uncore_sanitize |
|
4 |
1 |
14 |
| __intel_uncore_forcewake_get |
|
15 |
4 |
88 |
| intel_uncore_forcewake_get |
|
11 |
2 |
70 |
| intel_uncore_forcewake_get__locked |
|
8 |
2 |
43 |
| __intel_uncore_forcewake_put |
|
17 |
4 |
87 |
| intel_uncore_forcewake_put |
|
10 |
2 |
61 |
| intel_uncore_forcewake_put__locked |
|
8 |
2 |
43 |
| assert_forcewakes_inactive |
|
9 |
2 |
46 |
| ilk_dummy_write |
|
4 |
1 |
18 |
| hsw_unclaimed_reg_debug |
|
14 |
5 |
89 |
| hsw_unclaimed_reg_detect |
|
14 |
4 |
65 |
| __force_wake_get |
|
18 |
4 |
89 |
| is_gen8_shadowed |
|
8 |
3 |
46 |
| is_gen9_shadowed |
|
8 |
3 |
46 |
| fw_domain_init |
|
33 |
7 |
218 |
| intel_uncore_fw_domains_init |
|
68 |
11 |
413 |
| intel_uncore_init |
|
52 |
13 |
217 |
| intel_uncore_fini |
|
5 |
1 |
21 |
| i915_reg_read_ioctl |
|
44 |
10 |
251 |
| i915_get_reset_stats_ioctl |
|
30 |
8 |
192 |
| i915_reset_complete |
|
6 |
1 |
33 |
| i915_do_reset |
|
7 |
1 |
47 |
| g4x_reset_complete |
|
6 |
1 |
33 |
| g33_do_reset |
|
5 |
1 |
31 |
| g4x_do_reset |
|
21 |
3 |
133 |
| ironlake_do_reset |
|
19 |
3 |
99 |
| gen6_do_reset |
|
9 |
1 |
60 |
| wait_for_register |
|
8 |
1 |
43 |
| gen8_do_reset |
|
24 |
2 |
120 |
| int( * intel_get_gpu_reset(structdrm_device*dev)) |
|
19 |
8 |
98 |
| intel_gpu_reset |
|
13 |
2 |
74 |
| intel_has_gpu_reset |
|
4 |
1 |
17 |
| intel_uncore_check_errors |
|
9 |
3 |
52 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_ringbuffer.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_ring_flag |
|
4 |
1 |
17 |
| intel_ring_sync_index |
|
9 |
2 |
40 |
| intel_flush_status_page |
|
5 |
1 |
30 |
| intel_read_status_page |
|
6 |
1 |
26 |
| intel_write_status_page |
|
5 |
1 |
26 |
| intel_ring_emit |
|
7 |
1 |
40 |
| intel_ring_advance |
|
5 |
1 |
28 |
| intel_ring_get_tail |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_csr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_get_stepping |
|
14 |
7 |
112 |
| intel_get_substepping |
|
14 |
7 |
112 |
| intel_csr_load_status_get |
|
8 |
1 |
40 |
| intel_csr_load_status_set |
|
7 |
1 |
37 |
| intel_csr_load_program |
|
22 |
5 |
160 |
| finish_csr_load |
|
103 |
22 |
700 |
| intel_csr_ucode_init |
|
29 |
6 |
163 |
| intel_csr_ucode_fini |
|
8 |
2 |
44 |
| assert_csr_loaded |
|
9 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_vgpu.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_execbuffer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eb_create |
|
26 |
5 |
174 |
| eb_reset |
|
5 |
2 |
40 |
| eb_lookup_vmas |
|
67 |
9 |
419 |
| eb_get_vma |
|
19 |
4 |
109 |
| i915_gem_execbuffer_unreserve_vma |
|
13 |
4 |
78 |
| eb_destroy |
|
13 |
2 |
70 |
| use_cpu_reloc |
|
6 |
3 |
35 |
| relocate_entry_cpu |
|
27 |
4 |
189 |
| relocate_entry_gtt |
|
42 |
8 |
272 |
| clflush_write32 |
|
6 |
1 |
40 |
| relocate_entry_clflush |
|
27 |
4 |
184 |
| i915_gem_execbuffer_relocate_entry |
|
81 |
17 |
467 |
| i915_gem_execbuffer_relocate_vma |
|
34 |
8 |
199 |
| i915_gem_execbuffer_relocate_vma_slow |
|
13 |
3 |
78 |
| i915_gem_execbuffer_relocate |
|
13 |
2 |
58 |
| only_mappable_for_reloc |
|
5 |
1 |
21 |
| i915_gem_execbuffer_reserve_vma |
|
47 |
16 |
294 |
| need_reloc_mappable |
|
13 |
5 |
76 |
| eb_vma_misplaced |
|
19 |
10 |
145 |
| i915_gem_execbuffer_reserve |
|
67 |
16 |
394 |
| i915_gem_execbuffer_relocate_slow |
|
83 |
13 |
550 |
| i915_gem_execbuffer_move_to_gpu |
|
25 |
6 |
149 |
| i915_gem_check_execbuffer |
|
16 |
9 |
87 |
| validate_exec_list |
|
32 |
11 |
211 |
| i915_gem_validate_context |
|
24 |
8 |
158 |
| i915_gem_execbuffer_move_to_active |
|
32 |
5 |
242 |
| i915_gem_execbuffer_retire_commands |
|
5 |
1 |
30 |
| i915_reset_gen7_sol_offsets |
|
21 |
5 |
134 |
| i915_gem_execbuffer_parse |
|
42 |
5 |
208 |
| i915_gem_ringbuffer_submission |
|
77 |
20 |
451 |
| gen8_dispatch_bsd_ring |
|
22 |
3 |
121 |
| eb_get_batch |
|
6 |
1 |
44 |
| i915_gem_do_execbuffer |
|
189 |
43 |
1120 |
| i915_gem_execbuffer |
|
73 |
10 |
509 |
| i915_gem_execbuffer2 |
|
55 |
10 |
321 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_suspend.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i915_save_display |
|
23 |
12 |
238 |
| i915_restore_display |
|
27 |
12 |
261 |
| i915_save_state |
|
33 |
12 |
323 |
| i915_restore_state |
|
36 |
12 |
336 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_stolen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i915_gem_stolen_insert_node_in_range |
|
17 |
5 |
119 |
| i915_gem_stolen_insert_node |
|
8 |
1 |
40 |
| i915_gem_stolen_remove_node |
|
7 |
1 |
39 |
| i915_stolen_to_physical |
|
129 |
32 |
973 |
| i915_gem_cleanup_stolen |
|
7 |
2 |
43 |
| g4x_get_stolen_reserved |
|
15 |
3 |
95 |
| gen6_get_stolen_reserved |
|
23 |
5 |
106 |
| gen7_get_stolen_reserved |
|
17 |
3 |
82 |
| gen8_get_stolen_reserved |
|
23 |
5 |
114 |
| bdw_get_stolen_reserved |
|
12 |
2 |
73 |
| i915_gem_init_stolen |
|
67 |
19 |
377 |
| i915_pages_create_for_stolen |
|
22 |
3 |
143 |
| i915_gem_object_get_pages_stolen |
|
5 |
1 |
17 |
| i915_gem_object_put_pages_stolen |
|
5 |
1 |
23 |
| i915_gem_object_release_stolen |
|
9 |
2 |
52 |
| _i915_gem_object_create_stolen |
|
22 |
4 |
132 |
| i915_gem_object_create_stolen |
|
26 |
6 |
145 |
| i915_gem_object_create_stolen_for_preallocated |
|
64 |
12 |
387 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_ringbuffer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_ring_initialized |
|
12 |
4 |
76 |
| __intel_ring_space |
|
7 |
2 |
35 |
| intel_ring_update_space |
|
9 |
2 |
56 |
| intel_ring_space |
|
5 |
1 |
19 |
| intel_ring_stopped |
|
5 |
1 |
32 |
| __intel_ring_advance |
|
8 |
2 |
48 |
| gen2_render_ring_flush |
|
20 |
4 |
100 |
| gen4_render_ring_flush |
|
24 |
7 |
129 |
| intel_emit_post_sync_nonzero_flush |
|
28 |
3 |
175 |
| gen6_render_ring_flush |
|
34 |
5 |
170 |
| gen7_render_ring_cs_stall_wa |
|
15 |
2 |
78 |
| gen7_render_ring_flush |
|
37 |
4 |
177 |
| gen8_emit_pipe_control |
|
17 |
2 |
96 |
| gen8_render_ring_flush |
|
31 |
4 |
132 |
| ring_write_tail |
|
6 |
1 |
30 |
| intel_ring_get_active_head |
|
13 |
3 |
92 |
| ring_setup_phys_status_page |
|
9 |
2 |
66 |
| intel_ring_setup_status_page |
|
40 |
11 |
227 |
| stop_ring |
|
20 |
5 |
152 |
| init_ring_common |
|
63 |
8 |
389 |
| intel_fini_pipe_control |
|
12 |
3 |
88 |
| intel_init_pipe_control |
|
32 |
5 |
208 |
| intel_ring_workarounds_emit |
|
30 |
6 |
207 |
| intel_rcs_ctx_init |
|
11 |
3 |
49 |
| wa_add |
|
12 |
2 |
93 |
| gen8_init_workarounds |
|
18 |
1 |
83 |
| bdw_init_workarounds |
|
18 |
3 |
86 |
| chv_init_workarounds |
|
12 |
2 |
61 |
| gen9_init_workarounds |
|
45 |
8 |
229 |
| skl_tune_iz_hashing |
|
24 |
6 |
185 |
| skl_init_workarounds |
|
34 |
8 |
191 |
| bxt_init_workarounds |
|
23 |
5 |
124 |
| kbl_init_workarounds |
|
33 |
8 |
175 |
| init_workarounds_ring |
|
18 |
6 |
112 |
| init_render_ring |
|
28 |
12 |
217 |
| render_ring_cleanup |
|
11 |
2 |
63 |
| gen8_rcs_signal |
|
33 |
3 |
209 |
| gen8_xcs_signal |
|
31 |
3 |
196 |
| gen6_signal |
|
26 |
4 |
177 |
| gen6_add_request |
|
17 |
3 |
101 |
| i915_gem_has_seqno_wrapped |
|
6 |
1 |
28 |
| gen8_ring_sync |
|
22 |
2 |
118 |
| gen6_ring_sync |
|
29 |
3 |
167 |
| pc_render_add_request |
|
35 |
2 |
224 |
| gen6_ring_get_seqno |
|
8 |
2 |
48 |
| ring_get_seqno |
|
4 |
1 |
20 |
| ring_set_seqno |
|
4 |
1 |
21 |
| pc_render_get_seqno |
|
4 |
1 |
22 |
| pc_render_set_seqno |
|
4 |
1 |
23 |
| gen5_ring_get_irq |
|
13 |
3 |
86 |
| gen5_ring_put_irq |
|
10 |
2 |
69 |
| i9xx_ring_get_irq |
|
16 |
3 |
98 |
| i9xx_ring_put_irq |
|
13 |
2 |
84 |
| i8xx_ring_get_irq |
|
16 |
3 |
98 |
| i8xx_ring_put_irq |
|
13 |
2 |
84 |
| bsd_ring_flush |
|
14 |
2 |
65 |
| i9xx_add_request |
|
14 |
2 |
79 |
| gen6_ring_get_irq |
|
20 |
5 |
127 |
| gen6_ring_put_irq |
|
15 |
4 |
102 |
| hsw_vebox_get_irq |
|
15 |
3 |
97 |
| hsw_vebox_put_irq |
|
12 |
2 |
78 |
| gen8_ring_get_irq |
|
21 |
5 |
129 |
| gen8_ring_put_irq |
|
17 |
4 |
104 |
| i965_dispatch_execbuffer |
|
18 |
3 |
80 |
| i830_dispatch_execbuffer |
|
45 |
7 |
300 |
| i915_dispatch_execbuffer |
|
15 |
3 |
80 |
| cleanup_phys_status_page |
|
8 |
2 |
49 |
| cleanup_status_page |
|
11 |
2 |
63 |
| init_status_page |
|
32 |
6 |
194 |
| init_phys_status_page |
|
13 |
3 |
83 |
| intel_unpin_ringbuffer_obj |
|
8 |
1 |
59 |
| intel_pin_and_map_ringbuffer_obj |
|
22 |
4 |
131 |
| intel_destroy_ringbuffer_obj |
|
5 |
1 |
25 |
| intel_alloc_ringbuffer_obj |
|
15 |
4 |
84 |
| intel_engine_create_ringbuffer |
|
23 |
5 |
142 |
| intel_ringbuffer_free |
|
5 |
1 |
19 |
| intel_init_ring_buffer |
|
43 |
7 |
243 |
| intel_cleanup_ring_buffer |
|
22 |
5 |
139 |
| ring_wait_for_space |
|
23 |
5 |
131 |
| __wrap_ring_buffer |
|
11 |
2 |
63 |
| intel_ring_idle |
|
13 |
2 |
79 |
| intel_ring_alloc_request_extras |
|
5 |
1 |
22 |
| intel_ring_reserve_space |
|
5 |
1 |
26 |
| intel_ring_reserved_space_reserve |
|
6 |
1 |
32 |
| intel_ring_reserved_space_cancel |
|
6 |
1 |
28 |
| intel_ring_reserved_space_use |
|
6 |
1 |
30 |
| intel_ring_reserved_space_end |
|
12 |
2 |
73 |
| __intel_ring_prepare |
|
30 |
8 |
171 |
| intel_ring_begin |
|
19 |
3 |
106 |
| intel_ring_cacheline_align |
|
16 |
4 |
99 |
| intel_ring_init_seqno |
|
13 |
4 |
112 |
| gen6_bsd_ring_write_tail |
|
16 |
2 |
90 |
| gen6_bsd_ring_flush |
|
27 |
5 |
155 |
| gen8_ring_dispatch_execbuffer |
|
20 |
4 |
122 |
| hsw_ring_dispatch_execbuffer |
|
19 |
4 |
90 |
| gen6_ring_dispatch_execbuffer |
|
17 |
3 |
78 |
| gen6_ring_flush |
|
28 |
5 |
158 |
| intel_init_render_ring_buffer |
|
131 |
24 |
862 |
| intel_init_bsd_ring_buffer |
|
68 |
7 |
455 |
| intel_init_bsd2_ring_buffer |
|
26 |
2 |
147 |
| intel_init_blt_ring_buffer |
|
46 |
4 |
342 |
| intel_init_vebox_ring_buffer |
|
46 |
4 |
342 |
| intel_ring_flush_all_caches |
|
13 |
3 |
69 |
| intel_ring_invalidate_all_caches |
|
15 |
3 |
76 |
| intel_stop_ring_buffer |
|
11 |
4 |
63 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_overlay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_overlay_map_regs |
|
16 |
4 |
105 |
| intel_overlay_unmap_regs |
|
9 |
3 |
58 |
| intel_overlay_do_wait_request |
|
15 |
2 |
85 |
| intel_overlay_on |
|
25 |
4 |
173 |
| intel_overlay_continue |
|
32 |
5 |
192 |
| intel_overlay_release_old_vid_tail |
|
7 |
1 |
37 |
| intel_overlay_off_tail |
|
12 |
2 |
67 |
| intel_overlay_off |
|
33 |
4 |
209 |
| intel_overlay_recover_from_interrupt |
|
13 |
4 |
65 |
| intel_overlay_release_old_vid |
|
32 |
6 |
190 |
| intel_overlay_reset |
|
12 |
2 |
60 |
| packed_depth_bytes |
|
10 |
3 |
30 |
| packed_width_bytes |
|
9 |
2 |
33 |
| uv_hsubsampling |
|
13 |
5 |
39 |
| uv_vsubsampling |
|
13 |
5 |
39 |
| calc_swidthsw |
|
16 |
3 |
95 |
| update_polyphase_filter |
|
6 |
1 |
38 |
| update_scaling_factors |
|
41 |
6 |
312 |
| update_colorkey |
|
30 |
7 |
148 |
| overlay_cmd_reg |
|
41 |
12 |
144 |
| intel_overlay_do_put_image |
|
93 |
13 |
681 |
| intel_overlay_switch_off |
|
24 |
5 |
143 |
| check_overlay_possible_on_crtc |
|
9 |
3 |
40 |
| update_pfit_vscale_ratio |
|
17 |
3 |
96 |
| check_overlay_dst |
|
12 |
5 |
78 |
| check_overlay_scaling |
|
11 |
3 |
75 |
| check_overlay_src |
|
82 |
37 |
509 |
| intel_panel_fitter_pipe |
|
13 |
6 |
90 |
| intel_overlay_put_image |
|
116 |
20 |
709 |
| update_reg_attrs |
|
7 |
1 |
52 |
| check_gamma_bounds |
|
11 |
5 |
75 |
| check_gamma5_errata |
|
9 |
3 |
48 |
| check_gamma |
|
14 |
9 |
112 |
| intel_overlay_attrs |
|
72 |
13 |
448 |
| intel_setup_overlay |
|
70 |
13 |
387 |
| intel_cleanup_overlay |
|
9 |
2 |
55 |
| intel_overlay_map_regs_atomic |
|
12 |
2 |
73 |
| intel_overlay_unmap_regs_atomic |
|
6 |
2 |
30 |
| intel_overlay_capture_error_state |
|
27 |
6 |
179 |
| intel_overlay_print_error_state |
|
49 |
1 |
245 |
| intel_overlay_capture_error_state |
|
4 |
1 |
12 |
| intel_overlay_print_error_state |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_i2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_gmbus_pin |
|
12 |
5 |
70 |
| intel_gmbus_is_valid_pin |
|
14 |
6 |
88 |
| to_intel_gmbus |
|
4 |
1 |
20 |
| intel_i2c_reset |
|
6 |
1 |
32 |
| intel_gmbus_acquire_bus |
|
8 |
1 |
48 |
| intel_gmbus_release_bus |
|
7 |
1 |
41 |
| intel_gmbus_exec |
|
112 |
35 |
679 |
| intel_gpio_bb_set_bits |
|
14 |
3 |
84 |
| intel_gpio_bb_set_dir |
|
12 |
2 |
76 |
| intel_gpio_bb_read_bits |
|
6 |
1 |
32 |
| intel_gpio_send_start |
|
4 |
1 |
24 |
| intel_gpio_send_stop |
|
4 |
1 |
24 |
| intel_gpio_initiate_xfer |
|
4 |
1 |
29 |
| intel_gpio_read_byte |
|
4 |
1 |
30 |
| intel_gpio_write_byte |
|
4 |
1 |
29 |
| intel_setup_gmbus |
|
34 |
6 |
249 |
| intel_gmbus_get_adapter |
|
7 |
2 |
40 |
| intel_teardown_gmbus |
|
3 |
1 |
9 |
| intel_gmbus_force_bit |
|
13 |
3 |
73 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_gtt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| set_pages_uc |
|
3 |
1 |
12 |
| set_pages_wb |
|
3 |
1 |
12 |
| sanitize_enable_ppgtt |
|
29 |
17 |
174 |
| ppgtt_bind_vma |
|
11 |
2 |
63 |
| ppgtt_unbind_vma |
|
7 |
1 |
36 |
| gen8_pte_encode |
|
19 |
4 |
64 |
| gen8_pde_encode |
|
11 |
2 |
42 |
| snb_pte_encode |
|
19 |
5 |
70 |
| ivb_pte_encode |
|
21 |
5 |
76 |
| byt_pte_encode |
|
12 |
4 |
59 |
| hsw_pte_encode |
|
10 |
3 |
46 |
| iris_pte_encode |
|
18 |
4 |
64 |
| __setup_page_dma |
|
15 |
3 |
95 |
| __setup_page_dma |
|
9 |
2 |
51 |
| setup_page_dma |
|
4 |
1 |
24 |
| cleanup_page_dma |
|
8 |
2 |
64 |
| cleanup_page_dma |
|
7 |
2 |
46 |
| kmap_page_dma |
|
4 |
1 |
17 |
| kunmap_page_dma |
|
6 |
3 |
37 |
| fill_page_dma |
|
9 |
2 |
58 |
| fill_page_dma_32 |
|
7 |
1 |
41 |
| alloc_scratch_page |
|
15 |
3 |
89 |
| free_scratch_page |
|
7 |
1 |
36 |
| alloc_pt |
|
23 |
5 |
135 |
| free_pt |
|
6 |
1 |
33 |
| gen8_initialize_pt |
|
8 |
1 |
44 |
| gen6_initialize_pt |
|
9 |
1 |
60 |
| alloc_pd |
|
21 |
4 |
118 |
| free_pd |
|
8 |
2 |
42 |
| gen8_initialize_pd |
|
7 |
1 |
42 |
| __pdp_init |
|
18 |
3 |
101 |
| __pdp_fini |
|
6 |
1 |
29 |
| alloc_pdp |
|
21 |
4 |
109 |
| free_pdp |
|
9 |
2 |
40 |
| gen8_initialize_pdp |
|
7 |
1 |
42 |
| gen8_initialize_pml4 |
|
8 |
1 |
42 |
| gen8_setup_page_directory |
|
12 |
2 |
69 |
| gen8_setup_page_directory_pointer |
|
10 |
1 |
66 |
| gen8_write_pdp |
|
19 |
2 |
122 |
| gen8_legacy_mm_switch |
|
12 |
3 |
68 |
| gen8_48b_mm_switch |
|
5 |
1 |
30 |
| gen8_ppgtt_clear_pte_range |
|
44 |
10 |
252 |
| gen8_ppgtt_clear_range |
|
21 |
2 |
123 |
| gen8_ppgtt_insert_pte_entries |
|
36 |
7 |
200 |
| gen8_ppgtt_insert_entries |
|
24 |
3 |
166 |
| gen8_free_page_tables |
|
13 |
3 |
75 |
| gen8_init_scratch |
|
32 |
7 |
228 |
| gen8_ppgtt_notify_vgt |
|
26 |
5 |
177 |
| gen8_free_scratch |
|
9 |
2 |
61 |
| gen8_ppgtt_cleanup_3lvl |
|
12 |
2 |
78 |
| gen8_ppgtt_cleanup_4lvl |
|
10 |
2 |
75 |
| gen8_ppgtt_cleanup |
|
12 |
3 |
77 |
| gen8_ppgtt_alloc_pagetabs |
|
29 |
3 |
165 |
| gen8_ppgtt_alloc_page_directories |
|
29 |
3 |
173 |
| gen8_ppgtt_alloc_page_dirpointers |
|
31 |
3 |
166 |
| free_gen8_temp_bitmaps |
|
5 |
1 |
24 |
| alloc_gen8_temp_bitmaps |
|
20 |
3 |
108 |
| mark_tlbs_dirty |
|
4 |
1 |
24 |
| gen8_alloc_va_range_3lvl |
|
78 |
7 |
498 |
| gen8_alloc_va_range_4lvl |
|
34 |
3 |
199 |
| gen8_alloc_va_range |
|
10 |
2 |
70 |
| gen8_dump_pdp |
|
47 |
9 |
293 |
| gen8_dump_ppgtt |
|
21 |
3 |
162 |
| gen8_preallocate_top_level_pdps |
|
16 |
3 |
97 |
| gen8_ppgtt_init |
|
43 |
9 |
275 |
| gen6_dump_ppgtt |
|
46 |
8 |
337 |
| gen6_write_pde |
|
10 |
1 |
61 |
| gen6_write_page_range |
|
10 |
1 |
62 |
| get_pd_offset |
|
5 |
1 |
38 |
| hsw_mm_switch |
|
20 |
3 |
124 |
| vgpu_mm_switch |
|
9 |
1 |
63 |
| gen7_mm_switch |
|
25 |
5 |
154 |
| gen6_mm_switch |
|
11 |
1 |
77 |
| gen8_ppgtt_enable |
|
11 |
2 |
63 |
| gen7_ppgtt_enable |
|
21 |
2 |
108 |
| gen6_ppgtt_enable |
|
13 |
1 |
87 |
| gen6_ppgtt_clear_range |
|
28 |
4 |
170 |
| gen6_ppgtt_insert_entries |
|
29 |
4 |
170 |
| gen6_alloc_va_range |
|
62 |
5 |
434 |
| gen6_init_scratch |
|
14 |
3 |
93 |
| gen6_free_scratch |
|
6 |
1 |
36 |
| gen6_ppgtt_cleanup |
|
13 |
2 |
74 |
| gen6_ppgtt_allocate_page_directories |
|
37 |
7 |
213 |
| gen6_ppgtt_alloc |
|
4 |
1 |
15 |
| gen6_scratch_va_range |
|
8 |
1 |
57 |
| gen6_ppgtt_init |
|
41 |
7 |
320 |
| __hw_ppgtt_init |
|
8 |
2 |
46 |
| i915_address_space_init |
|
9 |
1 |
67 |
| i915_ppgtt_init |
|
11 |
2 |
66 |
| i915_ppgtt_init_hw |
|
16 |
6 |
85 |
| i915_ppgtt_init_ring |
|
10 |
3 |
60 |
| i915_ppgtt_create |
|
16 |
3 |
90 |
| i915_ppgtt_release |
|
12 |
1 |
97 |
| needs_idle_maps |
|
6 |
5 |
29 |
| do_idling |
|
12 |
3 |
63 |
| undo_idling |
|
5 |
2 |
31 |
| i915_check_and_clear_faults |
|
26 |
4 |
128 |
| i915_ggtt_flush |
|
9 |
2 |
43 |
| i915_gem_suspend_gtt_mappings |
|
12 |
2 |
75 |
| i915_gem_gtt_prepare_object |
|
8 |
3 |
47 |
| gen8_set_pte |
|
6 |
2 |
41 |
| gen8_ggtt_insert_entries |
|
25 |
2 |
172 |
| gen6_ggtt_insert_entries |
|
24 |
2 |
178 |
| gen8_ggtt_clear_range |
|
23 |
3 |
147 |
| gen6_ggtt_clear_range |
|
22 |
3 |
151 |
| i915_ggtt_insert_entries |
|
9 |
2 |
50 |
| i915_ggtt_clear_range |
|
9 |
1 |
41 |
| ggtt_bind_vma |
|
18 |
3 |
95 |
| aliasing_gtt_bind_vma |
|
29 |
5 |
171 |
| ggtt_unbind_vma |
|
22 |
4 |
139 |
| i915_gem_gtt_finish_object |
|
10 |
2 |
70 |
| i915_gtt_color_adjust |
|
15 |
5 |
80 |
| i915_gem_setup_global_gtt |
|
73 |
11 |
486 |
| i915_gem_init_global_gtt |
|
8 |
1 |
52 |
| i915_global_gtt_cleanup |
|
17 |
4 |
114 |
| gen6_get_total_gtt_size |
|
6 |
1 |
22 |
| gen8_get_total_gtt_size |
|
10 |
4 |
43 |
| chv_get_total_gtt_size |
|
8 |
2 |
33 |
| gen6_get_stolen_size |
|
6 |
1 |
22 |
| gen8_get_stolen_size |
|
6 |
1 |
22 |
| chv_get_stolen_size |
|
11 |
3 |
60 |
| gen9_get_stolen_size |
|
9 |
2 |
41 |
| ggtt_probe_common |
|
25 |
4 |
156 |
| ggtt_probe_common |
|
36 |
5 |
217 |
| bdw_setup_private_ppat |
|
16 |
2 |
140 |
| chv_setup_private_ppat |
|
14 |
1 |
87 |
| gen8_gmch_probe |
|
45 |
8 |
331 |
| gen6_gmch_probe |
|
38 |
7 |
296 |
| gen6_gmch_remove |
|
6 |
2 |
42 |
| i915_gmch_probe |
|
23 |
3 |
153 |
| i915_gmch_remove |
|
4 |
1 |
13 |
| i915_gem_gtt_init |
|
40 |
11 |
305 |
| i915_gem_restore_gtt_mappings |
|
45 |
8 |
270 |
| __i915_gem_vma_create |
|
23 |
6 |
182 |
| i915_gem_obj_lookup_or_create_vma |
|
10 |
3 |
55 |
| i915_gem_obj_lookup_or_create_ggtt_vma |
|
14 |
4 |
83 |
| rotate_pages |
|
23 |
4 |
150 |
| intel_rotate_fb_obj_pages |
|
65 |
7 |
378 |
| intel_partial_pages |
|
32 |
4 |
194 |
| i915_get_ggtt_vma_pages |
|
28 |
8 |
195 |
| i915_vma_bind |
|
37 |
10 |
202 |
| i915_ggtt_view_size |
|
14 |
5 |
94 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i915_getparam |
|
125 |
42 |
514 |
| i915_get_bridge_dev |
|
10 |
2 |
55 |
| i915_get_bridge_dev |
|
9 |
1 |
73 |
| intel_alloc_mchbar_resource |
|
40 |
14 |
281 |
| intel_setup_mchbar |
|
29 |
9 |
188 |
| intel_teardown_mchbar |
|
21 |
7 |
149 |
| i915_vga_set_decode |
|
10 |
2 |
44 |
| i915_switcheroo_set_state |
|
17 |
2 |
99 |
| i915_switcheroo_can_switch |
|
5 |
1 |
26 |
| i915_load_modeset_init |
|
56 |
11 |
291 |
| i915_kick_out_firmware_fb |
|
17 |
2 |
109 |
| i915_kick_out_firmware_fb |
|
4 |
1 |
12 |
| i915_kick_out_vgacon |
|
4 |
1 |
12 |
| i915_kick_out_vgacon |
|
4 |
1 |
13 |
| i915_kick_out_vgacon |
|
15 |
4 |
81 |
| i915_dump_device_info |
|
10 |
1 |
58 |
| cherryview_sseu_info_init |
|
28 |
4 |
183 |
| gen9_sseu_info_init |
|
41 |
10 |
322 |
| broadwell_sseu_info_init |
|
40 |
7 |
357 |
| intel_device_info_runtime_init |
|
77 |
29 |
511 |
| intel_init_dpio |
|
11 |
3 |
52 |
| i915_driver_load |
|
161 |
26 |
986 |
| i915_driver_unload |
|
62 |
6 |
409 |
| i915_driver_load |
|
176 |
38 |
1146 |
| i915_driver_open |
|
8 |
2 |
36 |
| i915_driver_lastclose |
|
5 |
1 |
18 |
| i915_driver_preclose |
|
8 |
1 |
51 |
| i915_driver_postclose |
|
7 |
3 |
42 |
| i915_gem_reject_pin_ioctl |
|
5 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_bios.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_guc_fwif.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_runtime_pm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_power_well_enable |
|
7 |
1 |
40 |
| intel_power_well_disable |
|
7 |
1 |
40 |
| hsw_power_well_enabled |
|
6 |
1 |
26 |
| __intel_display_power_is_enabled |
|
21 |
4 |
92 |
| intel_display_power_is_enabled |
|
11 |
1 |
56 |
| intel_display_set_init_power |
|
11 |
3 |
51 |
| hsw_power_well_post_enable |
|
11 |
3 |
78 |
| skl_power_well_post_enable |
|
18 |
5 |
120 |
| hsw_set_power_well |
|
27 |
6 |
126 |
| assert_can_enable_dc9 |
|
11 |
1 |
75 |
| assert_can_disable_dc9 |
|
8 |
1 |
46 |
| bxt_enable_dc9 |
|
10 |
1 |
45 |
| bxt_disable_dc9 |
|
10 |
1 |
45 |
| gen9_set_dc_state_debugmask_memory_up |
|
11 |
2 |
46 |
| assert_can_enable_dc5 |
|
15 |
2 |
93 |
| assert_can_disable_dc5 |
|
10 |
2 |
48 |
| gen9_enable_dc5 |
|
12 |
1 |
54 |
| gen9_disable_dc5 |
|
10 |
1 |
45 |
| assert_can_enable_dc6 |
|
12 |
2 |
77 |
| assert_can_disable_dc6 |
|
8 |
2 |
39 |
| skl_enable_dc6 |
|
12 |
1 |
54 |
| skl_disable_dc6 |
|
10 |
1 |
45 |
| skl_set_power_well |
|
104 |
37 |
552 |
| hsw_power_well_sync_hw |
|
7 |
2 |
43 |
| hsw_power_well_enable |
|
5 |
1 |
23 |
| hsw_power_well_disable |
|
5 |
1 |
23 |
| skl_power_well_enabled |
|
7 |
1 |
43 |
| skl_power_well_sync_hw |
|
6 |
1 |
34 |
| skl_power_well_enable |
|
5 |
1 |
23 |
| skl_power_well_disable |
|
5 |
1 |
23 |
| i9xx_always_on_power_well_noop |
|
4 |
1 |
14 |
| i9xx_always_on_power_well_enabled |
|
5 |
1 |
17 |
| vlv_set_power_well |
|
24 |
4 |
133 |
| vlv_power_well_sync_hw |
|
5 |
1 |
27 |
| vlv_power_well_enable |
|
5 |
1 |
23 |
| vlv_power_well_disable |
|
5 |
1 |
23 |
| vlv_power_well_enabled |
|
21 |
3 |
128 |
| vlv_display_power_well_init |
|
18 |
3 |
103 |
| vlv_display_power_well_deinit |
|
7 |
1 |
35 |
| vlv_display_power_well_enable |
|
7 |
1 |
37 |
| vlv_display_power_well_disable |
|
7 |
1 |
37 |
| vlv_dpio_cmn_power_well_enable |
|
8 |
1 |
49 |
| vlv_dpio_cmn_power_well_disable |
|
10 |
1 |
61 |
| lookup_power_well |
|
12 |
2 |
56 |
| assert_chv_phy_status |
|
68 |
19 |
579 |
| chv_dpio_cmn_power_well_enable |
|
40 |
5 |
252 |
| chv_dpio_cmn_power_well_disable |
|
22 |
3 |
127 |
| assert_chv_phy_powergate |
|
34 |
10 |
222 |
| chv_phy_powergate_ch |
|
21 |
3 |
130 |
| chv_phy_powergate_lanes |
|
21 |
2 |
181 |
| chv_pipe_power_well_enabled |
|
15 |
2 |
117 |
| chv_set_pipe_power_well |
|
22 |
5 |
136 |
| chv_pipe_power_well_sync_hw |
|
6 |
1 |
36 |
| chv_pipe_power_well_enable |
|
7 |
1 |
37 |
| chv_pipe_power_well_disable |
|
7 |
1 |
37 |
| intel_display_power_get |
|
16 |
2 |
92 |
| intel_display_power_put |
|
18 |
3 |
115 |
| intel_display_power_well_is_enabled |
|
9 |
1 |
45 |
| sanitize_disable_power_well_option |
|
11 |
4 |
49 |
| intel_power_domains_init |
|
24 |
8 |
182 |
| intel_runtime_pm_disable |
|
10 |
4 |
55 |
| intel_power_domains_fini |
|
5 |
1 |
21 |
| intel_power_domains_resume |
|
13 |
1 |
81 |
| chv_phy_control_init |
|
56 |
6 |
341 |
| vlv_cmnlane_wa |
|
14 |
4 |
93 |
| intel_power_domains_init_hw |
|
18 |
3 |
113 |
| intel_runtime_pm_get |
|
9 |
3 |
56 |
| intel_runtime_pm_get_noresume |
|
9 |
3 |
56 |
| intel_runtime_pm_put |
|
9 |
3 |
50 |
| intel_runtime_pm_enable |
|
15 |
4 |
79 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_frontbuffer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_fb_obj_invalidate |
|
20 |
3 |
132 |
| intel_frontbuffer_flush |
|
14 |
2 |
86 |
| intel_fb_obj_flush |
|
18 |
3 |
118 |
| intel_frontbuffer_flip_prepare |
|
10 |
1 |
65 |
| intel_frontbuffer_flip_complete |
|
10 |
1 |
67 |
| intel_frontbuffer_flip |
|
9 |
1 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_lrc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_logical_ring_advance |
|
4 |
1 |
19 |
| intel_logical_ring_emit |
|
6 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_lrc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_sanitize_enable_execlists |
|
14 |
8 |
84 |
| intel_execlists_ctx_id |
|
6 |
1 |
27 |
| disable_lite_restore_wa |
|
7 |
4 |
53 |
| intel_lr_context_descriptor |
|
19 |
3 |
116 |
| execlists_elsp_write |
|
25 |
2 |
211 |
| execlists_update_context |
|
24 |
3 |
190 |
| execlists_submit_requests |
|
8 |
2 |
35 |
| execlists_context_unqueue |
|
34 |
8 |
225 |
| execlists_check_remove_request |
|
24 |
4 |
126 |
| intel_lrc_irq_handler |
|
49 |
14 |
294 |
| execlists_context_queue |
|
31 |
6 |
183 |
| logical_ring_invalidate_all_caches |
|
14 |
3 |
67 |
| execlists_move_to_gpu |
|
23 |
5 |
136 |
| intel_logical_ring_alloc_request_extras |
|
11 |
3 |
62 |
| logical_ring_wait_for_space |
|
27 |
6 |
150 |
| intel_logical_ring_advance_and_submit |
|
13 |
3 |
78 |
| __wrap_ring_buffer |
|
11 |
2 |
63 |
| logical_ring_prepare |
|
30 |
8 |
171 |
| intel_logical_ring_begin |
|
16 |
3 |
97 |
| intel_logical_ring_reserve_space |
|
5 |
1 |
26 |
| intel_execlists_submission |
|
63 |
14 |
360 |
| intel_execlists_retire_requests |
|
21 |
4 |
148 |
| intel_logical_ring_stop |
|
17 |
5 |
120 |
| logical_ring_flush_all_caches |
|
12 |
3 |
60 |
| intel_lr_context_do_pin |
|
23 |
4 |
126 |
| intel_lr_context_pin |
|
16 |
3 |
111 |
| intel_lr_context_unpin |
|
13 |
3 |
95 |
| intel_logical_ring_workarounds_emit |
|
30 |
6 |
208 |
| gen8_emit_flush_coherentl3_wa |
|
30 |
3 |
240 |
| wa_ctx_start |
|
6 |
1 |
27 |
| wa_ctx_end |
|
10 |
1 |
45 |
| gen8_init_indirectctx_bb |
|
28 |
4 |
191 |
| gen8_init_perctx_bb |
|
10 |
1 |
69 |
| gen9_init_indirectctx_bb |
|
19 |
5 |
131 |
| gen9_init_perctx_bb |
|
21 |
5 |
162 |
| lrc_setup_wa_ctx_obj |
|
17 |
3 |
99 |
| lrc_destroy_wa_ctx_obj |
|
8 |
2 |
48 |
| intel_init_workaround_bb |
|
58 |
11 |
293 |
| gen8_init_common_ring |
|
27 |
3 |
203 |
| gen8_init_render_ring |
|
12 |
2 |
70 |
| gen9_init_render_ring |
|
8 |
2 |
32 |
| intel_logical_ring_emit_pdps |
|
22 |
3 |
168 |
| gen8_emit_bb_start |
|
29 |
8 |
190 |
| gen8_logical_ring_get_irq |
|
15 |
3 |
104 |
| gen8_logical_ring_put_irq |
|
12 |
2 |
81 |
| gen8_emit_flush |
|
29 |
4 |
151 |
| gen8_emit_flush_render |
|
49 |
7 |
262 |
| gen8_get_seqno |
|
4 |
1 |
20 |
| gen8_set_seqno |
|
4 |
1 |
21 |
| bxt_a_get_seqno |
|
6 |
2 |
32 |
| bxt_a_set_seqno |
|
5 |
1 |
28 |
| gen8_emit_request |
|
25 |
2 |
142 |
| intel_lr_context_render_state_init |
|
23 |
5 |
123 |
| gen8_init_rcs_context |
|
11 |
3 |
48 |
| intel_logical_ring_cleanup |
|
18 |
4 |
116 |
| logical_ring_init |
|
30 |
4 |
177 |
| logical_render_ring_init |
|
47 |
7 |
252 |
| logical_bsd_ring_init |
|
26 |
2 |
151 |
| logical_bsd2_ring_init |
|
21 |
1 |
123 |
| logical_blt_ring_init |
|
26 |
2 |
151 |
| logical_vebox_ring_init |
|
26 |
2 |
151 |
| intel_logical_rings_init |
|
38 |
10 |
185 |
| make_rpcs |
|
26 |
5 |
132 |
| populate_lr_context |
|
105 |
9 |
838 |
| intel_lr_context_free |
|
19 |
4 |
117 |
| get_lr_context_size |
|
20 |
7 |
84 |
| lrc_setup_hardware_status_page |
|
14 |
1 |
102 |
| intel_lr_context_deferred_alloc |
|
56 |
8 |
323 |
| intel_lr_context_reset |
|
28 |
3 |
158 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_hdmi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_hdmi_to_dev |
|
4 |
1 |
21 |
| assert_hdmi_port_disabled |
|
9 |
2 |
56 |
| enc_to_intel_hdmi |
|
6 |
1 |
32 |
| intel_attached_hdmi |
|
4 |
1 |
21 |
| g4x_infoframe_index |
|
14 |
4 |
44 |
| g4x_infoframe_enable |
|
14 |
4 |
44 |
| hsw_infoframe_enable |
|
14 |
4 |
44 |
| hsw_dip_data_reg |
|
17 |
4 |
71 |
| g4x_write_infoframe |
|
28 |
3 |
178 |
| g4x_infoframe_enabled |
|
13 |
3 |
87 |
| ibx_write_infoframe |
|
29 |
3 |
209 |
| ibx_infoframe_enabled |
|
16 |
3 |
113 |
| cpt_write_infoframe |
|
30 |
4 |
215 |
| cpt_infoframe_enabled |
|
13 |
2 |
85 |
| vlv_write_infoframe |
|
29 |
3 |
209 |
| vlv_infoframe_enabled |
|
16 |
3 |
113 |
| hsw_write_infoframe |
|
32 |
4 |
221 |
| hsw_infoframe_enabled |
|
11 |
1 |
76 |
| intel_write_infoframe |
|
16 |
2 |
116 |
| intel_hdmi_set_avi_infoframe |
|
23 |
4 |
112 |
| intel_hdmi_set_spd_infoframe |
|
12 |
2 |
61 |
| intel_hdmi_set_hdmi_infoframe |
|
11 |
2 |
52 |
| g4x_set_infoframes |
|
44 |
6 |
244 |
| hdmi_sink_is_deep_color |
|
10 |
2 |
70 |
| gcp_default_phase_possible |
|
26 |
11 |
126 |
| intel_hdmi_set_gcp_infoframe |
|
21 |
6 |
144 |
| ibx_set_infoframes |
|
42 |
5 |
246 |
| cpt_set_infoframes |
|
32 |
4 |
188 |
| vlv_set_infoframes |
|
42 |
5 |
246 |
| hsw_set_infoframes |
|
26 |
3 |
155 |
| intel_hdmi_prepare |
|
30 |
9 |
210 |
| intel_hdmi_get_hw_state |
|
22 |
5 |
138 |
| intel_hdmi_get_config |
|
37 |
11 |
231 |
| intel_enable_hdmi_audio |
|
8 |
1 |
50 |
| g4x_enable_hdmi |
|
16 |
3 |
113 |
| ibx_enable_hdmi |
|
27 |
5 |
199 |
| cpt_enable_hdmi |
|
33 |
5 |
213 |
| vlv_enable_hdmi |
|
3 |
1 |
9 |
| intel_disable_hdmi |
|
24 |
3 |
181 |
| g4x_disable_hdmi |
|
7 |
2 |
41 |
| pch_disable_hdmi |
|
6 |
2 |
36 |
| pch_post_disable_hdmi |
|
4 |
1 |
14 |
| hdmi_port_clock_limit |
|
10 |
6 |
65 |
| hdmi_port_clock_valid |
|
14 |
9 |
87 |
| intel_hdmi_mode_valid |
|
17 |
5 |
111 |
| hdmi_12bpc_possible |
|
21 |
4 |
127 |
| intel_hdmi_compute_config |
|
52 |
15 |
313 |
| intel_hdmi_unset_edid |
|
9 |
1 |
56 |
| intel_hdmi_set_edid |
|
26 |
5 |
152 |
| intel_hdmi_detect |
|
17 |
2 |
104 |
| intel_hdmi_force |
|
11 |
2 |
65 |
| intel_hdmi_get_modes |
|
8 |
2 |
40 |
| intel_hdmi_detect_audio |
|
9 |
3 |
48 |
| intel_hdmi_set_property |
|
72 |
17 |
344 |
| intel_hdmi_pre_enable |
|
10 |
1 |
74 |
| vlv_hdmi_pre_enable |
|
38 |
2 |
347 |
| vlv_hdmi_pre_pll_enable |
|
26 |
1 |
204 |
| chv_data_lane_soft_reset |
|
39 |
7 |
274 |
| chv_hdmi_pre_pll_enable |
|
56 |
11 |
387 |
| chv_hdmi_post_pll_disable |
|
18 |
2 |
137 |
| vlv_hdmi_post_disable |
|
13 |
1 |
109 |
| chv_hdmi_post_disable |
|
8 |
1 |
52 |
| chv_hdmi_pre_enable |
|
108 |
11 |
934 |
| intel_hdmi_destroy |
|
6 |
1 |
29 |
| intel_hdmi_add_properties |
|
8 |
1 |
41 |
| intel_hdmi_ddc_pin |
|
39 |
8 |
156 |
| intel_hdmi_init_connector |
|
73 |
13 |
427 |
| intel_hdmi_init |
|
62 |
11 |
388 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_display.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| valleyview_get_vco |
|
9 |
1 |
61 |
| vlv_get_cck_clock_hpll |
|
16 |
2 |
106 |
| intel_pch_rawclk |
|
6 |
1 |
35 |
| intel_hrawclk |
|
27 |
10 |
96 |
| intel_update_czclk |
|
8 |
2 |
41 |
| intel_fdi_link_freq |
|
8 |
2 |
43 |
| needs_modeset |
|
4 |
1 |
15 |
| intel_pipe_has_type |
|
9 |
2 |
54 |
| intel_pipe_will_have_type |
|
19 |
3 |
105 |
| intel_ironlake_limit |
|
20 |
5 |
96 |
| intel_g4x_limit |
|
18 |
6 |
106 |
| intel_limit |
|
34 |
12 |
208 |
| pnv_calc_dpll_params |
|
10 |
3 |
90 |
| i9xx_dpll_compute_m |
|
4 |
1 |
28 |
| i9xx_calc_dpll_params |
|
10 |
3 |
93 |
| vlv_calc_dpll_params |
|
10 |
3 |
94 |
| chv_calc_dpll_params |
|
11 |
3 |
100 |
| intel_PLL_is_valid |
|
27 |
23 |
289 |
| i9xx_select_p2_div |
|
17 |
4 |
92 |
| i9xx_find_best_dpll |
|
39 |
10 |
278 |
| pnv_find_best_dpll |
|
37 |
9 |
266 |
| g4x_find_best_dpll |
|
38 |
7 |
282 |
| vlv_PLL_is_optimal |
|
21 |
5 |
117 |
| vlv_find_best_dpll |
|
40 |
8 |
321 |
| chv_find_best_dpll |
|
39 |
7 |
292 |
| bxt_find_best_dpll |
|
7 |
1 |
47 |
| intel_crtc_active |
|
6 |
3 |
42 |
| intel_pipe_to_cpu_transcoder |
|
7 |
1 |
42 |
| pipe_dsl_stopped |
|
15 |
2 |
82 |
| intel_wait_for_pipe_off |
|
16 |
4 |
117 |
| state_string |
|
4 |
2 |
14 |
| assert_pll |
|
11 |
1 |
61 |
| assert_dsi_pll |
|
12 |
1 |
68 |
| intel_crtc_to_shared_dpll |
|
7 |
2 |
48 |
| assert_shared_dpll |
|
14 |
2 |
78 |
| assert_fdi_tx |
|
17 |
2 |
105 |
| assert_fdi_rx |
|
11 |
1 |
61 |
| assert_fdi_tx_pll_enabled |
|
11 |
3 |
64 |
| assert_fdi_rx_pll |
|
11 |
1 |
61 |
| assert_panel_unlocked |
|
33 |
10 |
180 |
| assert_cursor |
|
13 |
3 |
89 |
| assert_pipe |
|
20 |
6 |
127 |
| assert_plane |
|
11 |
1 |
66 |
| assert_planes_disabled |
|
21 |
3 |
122 |
| assert_sprites_disabled |
|
31 |
5 |
219 |
| assert_vblank_disabled |
|
5 |
2 |
26 |
| ibx_assert_pch_refclk_enabled |
|
10 |
2 |
66 |
| assert_pch_transcoder_disabled |
|
11 |
1 |
51 |
| dp_pipe_enabled |
|
19 |
7 |
124 |
| hdmi_pipe_enabled |
|
17 |
7 |
106 |
| lvds_pipe_enabled |
|
14 |
5 |
78 |
| adpa_pipe_enabled |
|
14 |
5 |
78 |
| assert_pch_dp_disabled |
|
11 |
3 |
76 |
| assert_pch_hdmi_disabled |
|
11 |
3 |
71 |
| assert_pch_ports_disabled |
|
19 |
1 |
128 |
| vlv_enable_pll |
|
28 |
3 |
215 |
| chv_enable_pll |
|
22 |
2 |
193 |
| intel_num_dvo_pipes |
|
9 |
2 |
45 |
| i9xx_enable_pll |
|
35 |
6 |
253 |
| i9xx_disable_pll |
|
20 |
8 |
148 |
| vlv_disable_pll |
|
10 |
2 |
57 |
| chv_disable_pll |
|
17 |
2 |
116 |
| vlv_wait_port_ready |
|
27 |
5 |
129 |
| intel_prepare_shared_dpll |
|
15 |
3 |
102 |
| intel_enable_shared_dpll |
|
23 |
4 |
154 |
| intel_disable_shared_dpll |
|
27 |
6 |
191 |
| ironlake_enable_pch_transcoder |
|
41 |
8 |
254 |
| lpt_enable_pch_transcoder |
|
21 |
3 |
130 |
| ironlake_disable_pch_transcoder |
|
21 |
3 |
136 |
| lpt_disable_pch_transcoder |
|
12 |
2 |
77 |
| intel_enable_pipe |
|
40 |
9 |
237 |
| intel_disable_pipe |
|
24 |
8 |
169 |
| need_vtd_wa |
|
6 |
4 |
28 |
| intel_tile_height |
|
43 |
11 |
150 |
| intel_fb_align_height |
|
6 |
1 |
36 |
| intel_fill_fb_ggtt_view |
|
34 |
4 |
273 |
| intel_linear_alignment |
|
12 |
6 |
69 |
| intel_pin_and_fence_fb_obj |
|
65 |
14 |
349 |
| intel_unpin_fb_obj |
|
13 |
2 |
88 |
| intel_gen4_compute_page_offset |
|
22 |
2 |
150 |
| i9xx_format_to_fourcc |
|
20 |
8 |
57 |
| skl_format_to_fourcc |
|
25 |
8 |
75 |
| intel_alloc_initial_plane_obj |
|
45 |
6 |
300 |
| update_state_fb |
|
10 |
4 |
67 |
| intel_find_initial_plane_obj |
|
58 |
8 |
403 |
| i9xx_update_primary_plane |
|
106 |
22 |
695 |
| ironlake_update_primary_plane |
|
86 |
20 |
542 |
| intel_fb_stride_alignment |
|
23 |
7 |
91 |
| intel_plane_obj_offset |
|
21 |
4 |
122 |
| skl_detach_scaler |
|
8 |
1 |
74 |
| skl_detach_scalers |
|
10 |
3 |
62 |
| skl_plane_ctl_format |
|
34 |
13 |
113 |
| skl_plane_ctl_tiling |
|
16 |
5 |
46 |
| skl_plane_ctl_rotation |
|
16 |
5 |
59 |
| skylake_update_primary_plane |
|
87 |
7 |
756 |
| intel_pipe_set_base_atomic |
|
10 |
2 |
77 |
| intel_complete_page_flips |
|
10 |
1 |
54 |
| intel_update_primary_planes |
|
13 |
2 |
85 |
| intel_prepare_reset |
|
9 |
4 |
46 |
| intel_finish_reset |
|
21 |
5 |
121 |
| intel_finish_fb |
|
11 |
1 |
75 |
| intel_crtc_has_pending_flip |
|
14 |
3 |
97 |
| intel_update_pipe_config |
|
27 |
7 |
199 |
| intel_fdi_normal_train |
|
33 |
4 |
184 |
| ironlake_fdi_link_train |
|
70 |
7 |
423 |
| gen6_fdi_link_train |
|
108 |
14 |
611 |
| ivb_manual_fdi_link_train |
|
94 |
10 |
565 |
| ironlake_fdi_pll_enable |
|
26 |
2 |
186 |
| ironlake_fdi_pll_disable |
|
20 |
1 |
130 |
| ironlake_fdi_disable |
|
40 |
3 |
267 |
| intel_has_pending_fb_unpin |
|
12 |
3 |
57 |
| page_flip_completed |
|
16 |
2 |
104 |
| intel_crtc_wait_for_pending_flips |
|
22 |
4 |
145 |
| lpt_program_iclkip |
|
57 |
2 |
340 |
| ironlake_pch_transcoder_set_timings |
|
21 |
1 |
155 |
| cpt_set_fdi_bc_bifurcation |
|
16 |
4 |
106 |
| ivybridge_update_fdi_bc_bifurcation |
|
19 |
5 |
81 |
| ironlake_pch_enable |
|
58 |
11 |
330 |
| lpt_pch_enable |
|
11 |
1 |
73 |
| intel_get_shared_dpll |
|
65 |
12 |
464 |
| intel_shared_dpll_commit |
|
14 |
3 |
92 |
| cpt_verify_modeset |
|
12 |
3 |
84 |
| skl_update_scaler |
|
40 |
16 |
256 |
| skl_update_scaler_crtc |
|
11 |
2 |
98 |
| skl_update_scaler_plane |
|
47 |
17 |
275 |
| skylake_scaler_disable |
|
6 |
2 |
34 |
| skylake_pfit_enable |
|
22 |
3 |
172 |
| ironlake_pfit_enable |
|
15 |
4 |
122 |
| hsw_enable_ips |
|
18 |
4 |
128 |
| hsw_disable_ips |
|
19 |
4 |
137 |
| intel_crtc_load_lut |
|
36 |
10 |
226 |
| intel_crtc_dpms_overlay_disable |
|
12 |
2 |
79 |
| intel_post_enable_primary |
|
14 |
4 |
91 |
| intel_pre_disable_primary |
|
15 |
3 |
98 |
| intel_post_plane_update |
|
22 |
6 |
166 |
| intel_pre_plane_update |
|
26 |
6 |
175 |
| intel_crtc_disable_planes |
|
11 |
1 |
78 |
| ironlake_crtc_enable |
|
44 |
9 |
273 |
| hsw_crtc_supports_ips |
|
4 |
2 |
25 |
| haswell_crtc_enable |
|
68 |
17 |
421 |
| ironlake_pfit_disable |
|
11 |
3 |
83 |
| ironlake_crtc_disable |
|
37 |
6 |
234 |
| haswell_crtc_disable |
|
36 |
8 |
220 |
| i9xx_pfit_enable |
|
13 |
2 |
102 |
| port_to_power_domain |
|
18 |
6 |
54 |
| port_to_aux_power_domain |
|
18 |
6 |
54 |
| intel_display_port_power_domain |
|
23 |
8 |
112 |
| intel_display_port_aux_power_domain |
|
20 |
6 |
107 |
| get_crtc_power_domains |
|
20 |
4 |
141 |
| modeset_get_crtc_power_domains |
|
13 |
1 |
83 |
| modeset_put_power_domains |
|
7 |
1 |
30 |
| modeset_update_crtc_power_domains |
|
23 |
7 |
163 |
| intel_compute_max_dotclk |
|
13 |
6 |
84 |
| intel_update_max_cdclk |
|
35 |
12 |
217 |
| intel_update_cdclk |
|
12 |
3 |
76 |
| broxton_set_cdclk |
|
84 |
16 |
420 |
| broxton_init_cdclk |
|
19 |
3 |
110 |
| broxton_uninit_cdclk |
|
11 |
2 |
68 |
| skl_cdclk_decimal |
|
4 |
1 |
17 |
| skl_cdclk_get_vco |
|
10 |
3 |
58 |
| skl_dpll0_enable |
|
30 |
4 |
174 |
| skl_cdclk_pcu_ready |
|
10 |
2 |
62 |
| skl_cdclk_wait_for_pcu_ready |
|
10 |
3 |
46 |
| skl_set_cdclk |
|
38 |
9 |
171 |
| skl_uninit_cdclk |
|
15 |
4 |
96 |
| skl_init_cdclk |
|
18 |
3 |
117 |
| valleyview_set_cdclk |
|
46 |
7 |
296 |
| cherryview_set_cdclk |
|
30 |
6 |
175 |
| valleyview_calc_cdclk |
|
15 |
7 |
91 |
| broxton_calc_cdclk |
|
14 |
5 |
71 |
| intel_mode_max_pixclk |
|
17 |
3 |
88 |
| valleyview_modeset_calc_cdclk |
|
11 |
2 |
63 |
| broxton_modeset_calc_cdclk |
|
11 |
2 |
63 |
| vlv_program_pfi_credits |
|
21 |
4 |
105 |
| valleyview_modeset_commit_cdclk |
|
13 |
2 |
79 |
| valleyview_crtc_enable |
|
45 |
9 |
292 |
| i9xx_set_pll_dividers |
|
7 |
1 |
65 |
| i9xx_crtc_enable |
|
30 |
5 |
185 |
| i9xx_pfit_disable |
|
11 |
2 |
68 |
| i9xx_crtc_disable |
|
31 |
7 |
197 |
| intel_crtc_disable_noatomic |
|
23 |
3 |
151 |
| intel_display_suspend |
|
42 |
9 |
229 |
| intel_encoder_destroy |
|
6 |
1 |
29 |
| intel_connector_check_state |
|
28 |
7 |
173 |
| intel_connector_init |
|
9 |
2 |
45 |
| intel_connector_alloc |
|
12 |
3 |
52 |
| intel_connector_get_hw_state |
|
6 |
1 |
35 |
| pipe_required_fdi_lanes |
|
6 |
3 |
29 |
| ironlake_check_fdi_lanes |
|
61 |
15 |
324 |
| ironlake_fdi_compute_config |
|
29 |
4 |
190 |
| pipe_config_supports_ips |
|
10 |
3 |
51 |
| hsw_compute_ips_config |
|
9 |
3 |
54 |
| intel_crtc_compute_config |
|
28 |
14 |
207 |
| skylake_get_display_clock_speed |
|
38 |
11 |
168 |
| broxton_get_display_clock_speed |
|
22 |
6 |
111 |
| broadwell_get_display_clock_speed |
|
18 |
6 |
89 |
| haswell_get_display_clock_speed |
|
16 |
5 |
80 |
| valleyview_get_display_clock_speed |
|
5 |
1 |
22 |
| ilk_get_display_clock_speed |
|
4 |
1 |
12 |
| i945_get_display_clock_speed |
|
4 |
1 |
12 |
| i915_get_display_clock_speed |
|
4 |
1 |
12 |
| i9xx_misc_get_display_clock_speed |
|
4 |
1 |
12 |
| pnv_get_display_clock_speed |
|
21 |
7 |
79 |
| i915gm_get_display_clock_speed |
|
16 |
4 |
60 |
| i865_get_display_clock_speed |
|
4 |
1 |
12 |
| i85x_get_display_clock_speed |
|
23 |
10 |
95 |
| i830_get_display_clock_speed |
|
4 |
1 |
12 |
| intel_hpll_vco |
|
63 |
8 |
365 |
| gm45_get_display_clock_speed |
|
18 |
7 |
94 |
| i965gm_get_display_clock_speed |
|
30 |
5 |
177 |
| g33_get_display_clock_speed |
|
34 |
6 |
221 |
| intel_reduce_m_n_ratio |
|
8 |
3 |
38 |
| compute_m_n |
|
7 |
1 |
59 |
| intel_link_compute_m_n |
|
11 |
1 |
67 |
| intel_panel_use_ssc |
|
7 |
3 |
40 |
| i9xx_get_refclk |
|
20 |
7 |
127 |
| pnv_dpll_compute_fp |
|
4 |
1 |
26 |
| i9xx_dpll_compute_fp |
|
4 |
1 |
28 |
| i9xx_update_pll_dividers |
|
25 |
6 |
142 |
| vlv_pllb_recal_opamp |
|
20 |
1 |
144 |
| intel_pch_transcoder_set_m_n |
|
11 |
1 |
96 |
| intel_cpu_transcoder_set_m_n |
|
28 |
6 |
265 |
| intel_dp_set_m_n |
|
17 |
4 |
107 |
| vlv_compute_dpll |
|
14 |
2 |
74 |
| vlv_prepare_pll |
|
62 |
10 |
484 |
| chv_compute_dpll |
|
11 |
2 |
61 |
| chv_prepare_pll |
|
78 |
6 |
603 |
| vlv_force_pll_on |
|
20 |
2 |
122 |
| vlv_force_pll_off |
|
7 |
2 |
41 |
| i9xx_compute_dpll |
|
64 |
21 |
376 |
| i8xx_compute_dpll |
|
31 |
9 |
195 |
| intel_set_pipe_timings |
|
49 |
9 |
409 |
| intel_get_pipe_timings |
|
36 |
2 |
436 |
| intel_mode_from_pipe_config |
|
19 |
1 |
175 |
| i9xx_set_pipeconf |
|
50 |
20 |
292 |
| i9xx_crtc_compute_clock |
|
61 |
9 |
356 |
| i9xx_get_pfit_config |
|
24 |
9 |
169 |
| vlv_crtc_clock_get |
|
21 |
2 |
169 |
| i9xx_get_initial_plane_config |
|
55 |
7 |
410 |
| chv_crtc_clock_get |
|
26 |
3 |
249 |
| i9xx_get_pipe_config |
|
70 |
19 |
462 |
| ironlake_init_pch_refclk |
|
120 |
25 |
549 |
| lpt_reset_fdi_mphy |
|
16 |
3 |
90 |
| lpt_program_fdi_mphy |
|
58 |
1 |
566 |
| lpt_enable_clkout_dp |
|
30 |
8 |
199 |
| lpt_disable_clkout_dp |
|
21 |
4 |
144 |
| lpt_init_pch_refclk |
|
18 |
3 |
67 |
| intel_init_pch_refclk |
|
7 |
4 |
39 |
| ironlake_get_refclk |
|
30 |
6 |
164 |
| ironlake_set_pipeconf |
|
34 |
8 |
165 |
| intel_set_pipe_csc |
|
33 |
5 |
287 |
| haswell_set_pipeconf |
|
42 |
11 |
244 |
| ironlake_compute_clocks |
|
20 |
2 |
105 |
| ironlake_get_lanes_required |
|
5 |
1 |
34 |
| ironlake_needs_fb_cb_tune |
|
4 |
1 |
24 |
| ironlake_compute_dpll |
|
77 |
24 |
425 |
| ironlake_crtc_compute_clock |
|
53 |
12 |
354 |
| intel_pch_transcoder_get_m_n |
|
14 |
1 |
115 |
| intel_cpu_transcoder_get_m_n |
|
36 |
5 |
307 |
| intel_dp_get_m_n |
|
10 |
2 |
50 |
| ironlake_get_fdi_m_n_config |
|
6 |
1 |
30 |
| skylake_get_pfit_config |
|
26 |
5 |
193 |
| skylake_get_initial_plane_config |
|
68 |
7 |
461 |
| ironlake_get_pfit_config |
|
17 |
3 |
122 |
| ironlake_get_initial_plane_config |
|
55 |
8 |
403 |
| ironlake_get_pipe_config |
|
64 |
11 |
373 |
| assert_can_disable_lcpll |
|
24 |
2 |
180 |
| hsw_read_dcomp |
|
8 |
2 |
38 |
| hsw_write_dcomp |
|
14 |
3 |
81 |
| hsw_disable_lcpll |
|
33 |
6 |
187 |
| hsw_restore_lcpll |
|
33 |
6 |
192 |
| hsw_enable_pc8 |
|
13 |
2 |
67 |
| hsw_disable_pc8 |
|
14 |
2 |
68 |
| broxton_modeset_commit_cdclk |
|
6 |
1 |
36 |
| ilk_max_pixel_rate |
|
19 |
5 |
113 |
| broadwell_set_cdclk |
|
65 |
9 |
337 |
| broadwell_modeset_calc_cdclk |
|
21 |
5 |
108 |
| broadwell_modeset_commit_cdclk |
|
6 |
1 |
36 |
| haswell_crtc_compute_clock |
|
8 |
2 |
37 |
| bxt_get_ddi_pll |
|
21 |
4 |
82 |
| skylake_get_ddi_pll |
|
23 |
5 |
113 |
| haswell_get_ddi_pll |
|
16 |
4 |
69 |
| haswell_get_ddi_port_state |
|
30 |
8 |
223 |
| haswell_get_pipe_config |
|
65 |
17 |
382 |
| i845_update_cursor |
|
49 |
13 |
295 |
| i9xx_update_cursor |
|
38 |
8 |
218 |
| intel_crtc_update_cursor |
|
41 |
11 |
276 |
| cursor_size_ok |
|
26 |
13 |
122 |
| intel_crtc_gamma_set |
|
12 |
3 |
121 |
| __intel_framebuffer_create |
|
20 |
3 |
109 |
| intel_framebuffer_create |
|
13 |
2 |
66 |
| intel_framebuffer_pitch_for_width |
|
5 |
1 |
30 |
| intel_framebuffer_size_for_mode |
|
5 |
1 |
34 |
| intel_framebuffer_create_for_mode |
|
17 |
2 |
114 |
| mode_fits_in_fbdev |
|
21 |
6 |
133 |
| intel_modeset_setup_plane_state |
|
30 |
5 |
179 |
| intel_get_load_detect_pipe |
|
114 |
21 |
676 |
| intel_release_load_detect_pipe |
|
51 |
9 |
300 |
| i9xx_pll_refclk |
|
14 |
4 |
77 |
| i9xx_crtc_clock_get |
|
74 |
16 |
461 |
| intel_dotclock_calculate |
|
7 |
2 |
40 |
| ironlake_pch_clock_get |
|
9 |
1 |
55 |
| intel_crtc_mode_get |
|
34 |
2 |
327 |
| intel_mark_busy |
|
11 |
3 |
62 |
| intel_mark_idle |
|
10 |
3 |
60 |
| intel_crtc_destroy |
|
16 |
2 |
90 |
| intel_unpin_work_fn |
|
19 |
2 |
156 |
| do_intel_finish_page_flip |
|
18 |
4 |
106 |
| intel_finish_page_flip |
|
6 |
1 |
40 |
| intel_finish_page_flip_plane |
|
6 |
1 |
40 |
| g4x_flip_count_after_eq |
|
4 |
1 |
22 |
| page_flip_finished |
|
14 |
6 |
116 |
| intel_prepare_page_flip |
|
11 |
3 |
81 |
| intel_mark_page_flip_active |
|
6 |
1 |
27 |
| intel_gen2_queue_flip |
|
28 |
3 |
158 |
| intel_gen3_queue_flip |
|
28 |
3 |
158 |
| intel_gen4_queue_flip |
|
26 |
2 |
162 |
| intel_gen6_queue_flip |
|
25 |
2 |
162 |
| intel_gen7_queue_flip |
|
63 |
11 |
334 |
| use_mmio_flip |
|
16 |
6 |
83 |
| skl_do_mmio_flip |
|
33 |
5 |
205 |
| ilk_do_mmio_flip |
|
20 |
2 |
129 |
| intel_do_mmio_flip |
|
17 |
3 |
104 |
| intel_mmio_flip_work_func |
|
14 |
2 |
78 |
| intel_queue_mmio_flip |
|
18 |
2 |
110 |
| intel_default_queue_flip |
|
9 |
1 |
36 |
| __intel_pageflip_stall_check |
|
27 |
9 |
185 |
| intel_check_page_flip |
|
21 |
6 |
148 |
| intel_crtc_page_flip |
|
169 |
39 |
1137 |
| intel_wm_need_update |
|
11 |
6 |
79 |
| intel_plane_atomic_calc_changes |
|
92 |
41 |
625 |
| encoders_cloneable |
|
6 |
3 |
49 |
| check_single_encoder_cloning |
|
18 |
3 |
87 |
| check_encoder_cloning |
|
16 |
3 |
84 |
| intel_crtc_atomic_check |
|
35 |
13 |
205 |
| intel_modeset_update_connector_atomic_state |
|
15 |
2 |
85 |
| connected_sink_compute_bpp |
|
19 |
5 |
126 |
| compute_baseline_pipe_bpp |
|
24 |
5 |
142 |
| intel_dump_crtc_timings |
|
10 |
1 |
60 |
| intel_dump_pipe_config |
|
127 |
12 |
849 |
| check_digital_port_conflicts |
|
33 |
9 |
165 |
| clear_intel_crtc_state |
|
22 |
1 |
118 |
| intel_modeset_pipe_config |
|
63 |
10 |
379 |
| intel_modeset_update_crtc_state |
|
13 |
2 |
75 |
| intel_fuzzy_clock_check |
|
12 |
5 |
74 |
| intel_compare_m_n |
|
22 |
13 |
124 |
| intel_compare_link_m_n |
|
15 |
5 |
90 |
| intel_pipe_config_compare |
|
83 |
14 |
531 |
| check_wm_state |
|
37 |
5 |
241 |
| check_connector_state |
|
14 |
1 |
76 |
| check_encoder_state |
|
31 |
3 |
167 |
| check_crtc_state |
|
57 |
11 |
396 |
| check_shared_dpll_state |
|
40 |
9 |
299 |
| intel_modeset_check_state |
|
9 |
1 |
43 |
| ironlake_check_encoder_dotclock |
|
7 |
1 |
42 |
| update_scanline_offset |
|
16 |
5 |
103 |
| intel_modeset_clear_plls |
|
25 |
5 |
152 |
| haswell_mode_set_planes_workaround |
|
42 |
11 |
227 |
| intel_modeset_all_pipes |
|
21 |
6 |
109 |
| intel_modeset_checks |
|
24 |
7 |
143 |
| intel_atomic_check |
|
56 |
15 |
313 |
| intel_atomic_commit |
|
65 |
13 |
360 |
| intel_crtc_restore_mode |
|
31 |
6 |
150 |
| ibx_pch_dpll_get_hw_state |
|
13 |
2 |
86 |
| ibx_pch_dpll_mode_set |
|
6 |
1 |
50 |
| ibx_pch_dpll_enable |
|
11 |
1 |
85 |
| ibx_pch_dpll_disable |
|
13 |
2 |
81 |
| ibx_pch_dpll_init |
|
15 |
2 |
113 |
| intel_shared_dpll_init |
|
11 |
4 |
64 |
| intel_prepare_plane_fb |
|
26 |
7 |
181 |
| intel_cleanup_plane_fb |
|
14 |
4 |
86 |
| skl_max_scale |
|
17 |
5 |
128 |
| intel_check_primary_plane |
|
22 |
3 |
141 |
| intel_commit_primary_plane |
|
20 |
3 |
154 |
| intel_disable_primary_plane |
|
7 |
1 |
47 |
| intel_begin_crtc_commit |
|
19 |
6 |
120 |
| intel_finish_crtc_commit |
|
7 |
2 |
37 |
| intel_plane_destroy |
|
6 |
1 |
29 |
| intel_primary_plane_create |
|
49 |
9 |
308 |
| intel_create_rotation_property |
|
15 |
4 |
107 |
| intel_check_cursor_plane |
|
40 |
10 |
268 |
| intel_disable_cursor_plane |
|
5 |
1 |
21 |
| intel_commit_cursor_plane |
|
20 |
5 |
132 |
| intel_cursor_plane_create |
|
43 |
7 |
263 |
| skl_init_scalers |
|
13 |
2 |
83 |
| intel_crtc_init |
|
65 |
14 |
452 |
| intel_get_pipe_from_connector |
|
9 |
3 |
71 |
| intel_get_pipe_from_crtc_id |
|
15 |
2 |
80 |
| intel_encoder_clones |
|
13 |
2 |
67 |
| has_edp_a |
|
11 |
5 |
67 |
| intel_crt_present |
|
13 |
7 |
77 |
| intel_setup_outputs |
|
111 |
58 |
873 |
| intel_user_framebuffer_destroy |
|
11 |
1 |
75 |
| intel_user_framebuffer_create_handle |
|
12 |
2 |
70 |
| intel_user_framebuffer_dirty |
|
14 |
1 |
84 |
| intel_fb_pitch_limit |
|
22 |
8 |
128 |
| intel_framebuffer_init |
|
129 |
38 |
708 |
| intel_user_framebuffer_create |
|
12 |
2 |
77 |
| intel_fbdev_output_poll_changed |
|
3 |
1 |
9 |
| intel_init_display |
|
168 |
49 |
962 |
| quirk_pipea_force |
|
6 |
1 |
29 |
| quirk_pipeb_force |
|
6 |
1 |
29 |
| quirk_ssc_force_disable |
|
6 |
1 |
29 |
| quirk_invert_brightness |
|
6 |
1 |
29 |
| quirk_backlight_present |
|
6 |
1 |
29 |
| intel_dmi_reverse_brightness |
|
5 |
1 |
22 |
| intel_init_quirks |
|
18 |
10 |
142 |
| i915_disable_vga |
|
17 |
2 |
116 |
| intel_modeset_init_hw |
|
7 |
1 |
29 |
| intel_modeset_init |
|
80 |
16 |
525 |
| intel_enable_pipe_a |
|
17 |
4 |
96 |
| intel_check_plane_mapping |
|
13 |
4 |
87 |
| intel_crtc_has_encoders |
|
8 |
1 |
42 |
| intel_sanitize_crtc |
|
51 |
14 |
383 |
| intel_sanitize_encoder |
|
34 |
8 |
198 |
| i915_redisable_vga_power_on |
|
9 |
2 |
50 |
| i915_redisable_vga |
|
7 |
2 |
35 |
| primary_get_hw_state |
|
5 |
1 |
36 |
| readout_plane_state |
|
10 |
2 |
66 |
| intel_modeset_readout_hw_state |
|
79 |
11 |
625 |
| intel_modeset_setup_hw_state |
|
40 |
8 |
242 |
| intel_display_resume |
|
38 |
6 |
197 |
| intel_modeset_gem_init |
|
32 |
3 |
202 |
| intel_connector_unregister |
|
6 |
1 |
29 |
| intel_modeset_cleanup |
|
23 |
2 |
126 |
| intel_best_encoder |
|
4 |
1 |
18 |
| intel_connector_attach_encoder |
|
7 |
1 |
33 |
| intel_modeset_vga_set_state |
|
21 |
6 |
121 |
| intel_display_capture_error_state |
|
64 |
14 |
611 |
| intel_display_print_error_state |
|
50 |
11 |
533 |
| intel_modeset_preclose |
|
15 |
4 |
87 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_pm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bxt_init_clock_gating |
|
8 |
1 |
42 |
| i915_pineview_get_mem_freq |
|
33 |
9 |
142 |
| i915_ironlake_get_mem_freq |
|
62 |
15 |
276 |
| intel_get_cxsr_latency |
|
19 |
8 |
101 |
| chv_set_memory_dvfs |
|
17 |
3 |
99 |
| chv_set_memory_pm5 |
|
12 |
2 |
66 |
| intel_set_memory_cxsr |
|
32 |
14 |
222 |
| vlv_get_fifo_size |
|
47 |
9 |
270 |
| i9xx_get_fifo_size |
|
12 |
3 |
75 |
| i830_get_fifo_size |
|
13 |
3 |
80 |
| i845_get_fifo_size |
|
12 |
2 |
61 |
| intel_calculate_wm |
|
21 |
4 |
124 |
| single_enabled_crtc |
|
12 |
3 |
50 |
| pineview_update_wm |
|
55 |
3 |
360 |
| g4x_compute_wm0 |
|
45 |
6 |
342 |
| g4x_check_srwm |
|
23 |
5 |
106 |
| g4x_compute_srwm |
|
38 |
2 |
278 |
| vlv_write_wm_values |
|
61 |
2 |
758 |
| vlv_wm_method2 |
|
12 |
1 |
66 |
| vlv_setup_wm_latency |
|
11 |
2 |
76 |
| vlv_compute_wm_level |
|
25 |
5 |
187 |
| vlv_compute_fifo |
|
50 |
10 |
315 |
| vlv_invert_wms |
|
30 |
5 |
232 |
| vlv_compute_wm |
|
77 |
22 |
600 |
| vlv_pipe_set_fifo_size |
|
70 |
7 |
510 |
| vlv_merge_wm |
|
34 |
7 |
258 |
| vlv_update_wm |
|
38 |
15 |
334 |
| g4x_update_wm |
|
50 |
6 |
288 |
| i965_update_wm |
|
55 |
5 |
377 |
| i9xx_update_wm |
|
99 |
21 |
721 |
| i845_update_wm |
|
21 |
2 |
134 |
| ilk_pipe_pixel_rate |
|
20 |
4 |
121 |
| ilk_wm_method1 |
|
10 |
2 |
57 |
| ilk_wm_method2 |
|
12 |
2 |
76 |
| ilk_wm_fbc |
|
5 |
1 |
27 |
| ilk_compute_pri_wm |
|
19 |
5 |
125 |
| ilk_compute_spr_wm |
|
16 |
4 |
114 |
| ilk_compute_cur_wm |
|
12 |
3 |
74 |
| ilk_compute_fbc_wm |
|
9 |
4 |
73 |
| ilk_display_fifo_size |
|
9 |
3 |
43 |
| ilk_plane_wm_reg_max |
|
12 |
8 |
82 |
| ilk_cursor_wm_reg_max |
|
8 |
4 |
43 |
| ilk_fbc_wm_reg_max |
|
7 |
2 |
28 |
| ilk_plane_wm_max |
|
25 |
10 |
139 |
| ilk_cursor_wm_max |
|
8 |
3 |
42 |
| ilk_compute_wm_maximums |
|
11 |
1 |
84 |
| ilk_compute_wm_reg_maximums |
|
9 |
1 |
63 |
| ilk_validate_wm_level |
|
28 |
9 |
213 |
| ilk_compute_wm_level |
|
38 |
5 |
203 |
| hsw_compute_linetime_wm |
|
15 |
2 |
108 |
| intel_read_wm_latency |
|
78 |
15 |
602 |
| intel_fixup_spr_wm_latency |
|
5 |
2 |
33 |
| intel_fixup_cur_wm_latency |
|
7 |
3 |
47 |
| ilk_wm_max_level |
|
11 |
5 |
59 |
| intel_print_wm_latency |
|
21 |
5 |
118 |
| ilk_increase_wm_latency |
|
11 |
3 |
95 |
| snb_wm_latency_quirk |
|
14 |
2 |
113 |
| ilk_setup_wm_latency |
|
16 |
2 |
150 |
| skl_setup_wm_latency |
|
6 |
1 |
42 |
| ilk_compute_wm_config |
|
13 |
2 |
70 |
| intel_compute_pipe_wm |
|
47 |
12 |
391 |
| ilk_merge_wm_level |
|
19 |
3 |
146 |
| ilk_wm_merge |
|
33 |
13 |
240 |
| ilk_wm_lp_to_level |
|
4 |
2 |
31 |
| ilk_wm_lp_latency |
|
8 |
3 |
49 |
| ilk_compute_wm_results |
|
44 |
7 |
326 |
| ilk_find_best_result |
|
23 |
8 |
127 |
| ilk_compute_wm_dirty |
|
36 |
10 |
224 |
| _ilk_disable_lp_wm |
|
22 |
7 |
168 |
| ilk_write_wm_values |
|
65 |
28 |
558 |
| ilk_disable_lp_wm |
|
5 |
1 |
26 |
| skl_ddb_get_pipe_allocation_limits |
|
31 |
5 |
153 |
| skl_cursor_allocation |
|
6 |
2 |
24 |
| skl_ddb_entry_init_from_hw |
|
7 |
2 |
45 |
| skl_ddb_get_hw_state |
|
20 |
2 |
124 |
| skl_plane_relative_data_rate |
|
10 |
3 |
73 |
| skl_get_total_relative_data_rate |
|
17 |
4 |
96 |
| skl_allocate_pipe_ddb |
|
65 |
7 |
509 |
| skl_pipe_pixel_rate |
|
4 |
1 |
19 |
| skl_wm_method1 |
|
10 |
2 |
49 |
| skl_wm_method2 |
|
23 |
4 |
111 |
| skl_ddb_allocation_changed |
|
15 |
3 |
137 |
| skl_compute_wm_global_parameters |
|
13 |
1 |
93 |
| skl_compute_wm_pipe_parameters |
|
52 |
8 |
478 |
| skl_compute_plane_wm |
|
69 |
18 |
343 |
| skl_compute_wm_level |
|
26 |
2 |
172 |
| skl_compute_linetime_wm |
|
8 |
3 |
57 |
| skl_compute_transition_wm |
|
12 |
3 |
75 |
| skl_compute_pipe_wm |
|
17 |
2 |
129 |
| skl_compute_wm_results |
|
43 |
8 |
363 |
| skl_ddb_entry_write |
|
8 |
2 |
52 |
| skl_write_wm_values |
|
35 |
6 |
317 |
| skl_wm_flush_pipe |
|
10 |
1 |
77 |
| skl_ddb_allocation_included |
|
11 |
3 |
92 |
| skl_flush_wm_values |
|
42 |
8 |
249 |
| skl_update_pipe_wm |
|
15 |
2 |
104 |
| skl_update_other_pipe_wm |
|
26 |
4 |
164 |
| skl_clear_wm |
|
16 |
1 |
165 |
| skl_update_wm |
|
22 |
2 |
188 |
| skl_update_sprite_wm |
|
22 |
6 |
186 |
| ilk_update_wm |
|
33 |
6 |
288 |
| ilk_update_sprite_wm |
|
11 |
4 |
76 |
| skl_pipe_wm_active_state |
|
42 |
4 |
251 |
| skl_pipe_wm_get_hw_state |
|
41 |
8 |
428 |
| skl_wm_get_hw_state |
|
9 |
1 |
62 |
| ilk_pipe_wm_get_hw_state |
|
31 |
5 |
287 |
| vlv_read_wm_values |
|
62 |
2 |
835 |
| vlv_wm_get_hw_state |
|
52 |
8 |
372 |
| ilk_wm_get_hw_state |
|
24 |
7 |
199 |
| intel_update_watermarks |
|
6 |
2 |
37 |
| intel_update_sprite_watermarks |
|
13 |
2 |
69 |
| ironlake_set_drps |
|
18 |
2 |
97 |
| ironlake_enable_drps |
|
42 |
2 |
324 |
| ironlake_disable_drps |
|
18 |
1 |
122 |
| intel_rps_limits |
|
14 |
4 |
100 |
| gen6_set_rps_thresholds |
|
71 |
19 |
398 |
| gen6_rps_pm_mask |
|
10 |
3 |
65 |
| gen6_set_rps |
|
28 |
6 |
194 |
| valleyview_set_rps |
|
18 |
5 |
145 |
| vlv_set_rps_idle |
|
9 |
2 |
53 |
| gen6_rps_busy |
|
11 |
3 |
68 |
| gen6_rps_idle |
|
19 |
4 |
138 |
| gen6_rps_boost |
|
26 |
10 |
186 |
| intel_set_rps |
|
7 |
2 |
34 |
| gen9_disable_rps |
|
6 |
1 |
32 |
| gen6_disable_rps |
|
6 |
1 |
35 |
| cherryview_disable_rps |
|
5 |
1 |
25 |
| valleyview_disable_rps |
|
7 |
1 |
39 |
| intel_print_rc6_info |
|
17 |
8 |
101 |
| sanitize_rc6_option |
|
20 |
6 |
103 |
| intel_enable_rc6 |
|
4 |
1 |
15 |
| gen6_init_rps_frequencies |
|
52 |
13 |
402 |
| gen9_enable_rps |
|
18 |
2 |
113 |
| gen9_enable_rc6 |
|
47 |
12 |
309 |
| gen8_enable_rps |
|
55 |
4 |
327 |
| gen6_enable_rps |
|
75 |
15 |
520 |
| __gen6_update_ring_freq |
|
52 |
12 |
336 |
| gen6_update_ring_freq |
|
9 |
2 |
53 |
| cherryview_rps_max_freq |
|
20 |
4 |
98 |
| cherryview_rps_rpe_freq |
|
7 |
1 |
37 |
| cherryview_rps_guar_freq |
|
7 |
1 |
34 |
| valleyview_rps_guar_freq |
|
7 |
1 |
37 |
| valleyview_rps_max_freq |
|
8 |
1 |
48 |
| valleyview_rps_rpe_freq |
|
9 |
1 |
57 |
| valleyview_rps_min_freq |
|
4 |
1 |
19 |
| valleyview_check_pctx |
|
6 |
1 |
39 |
| cherryview_check_pctx |
|
5 |
1 |
32 |
| cherryview_setup_pctx |
|
18 |
2 |
126 |
| valleyview_setup_pctx |
|
30 |
3 |
166 |
| valleyview_cleanup_pctx |
|
8 |
2 |
46 |
| valleyview_init_gt_powersave |
|
44 |
7 |
313 |
| cherryview_init_gt_powersave |
|
47 |
4 |
348 |
| valleyview_cleanup_gt_powersave |
|
4 |
1 |
14 |
| cherryview_enable_rps |
|
62 |
4 |
399 |
| valleyview_enable_rps |
|
61 |
3 |
384 |
| intel_pxfreq |
|
11 |
2 |
76 |
| __i915_chipset_val |
|
36 |
6 |
267 |
| i915_chipset_val |
|
11 |
2 |
58 |
| i915_mch_val |
|
10 |
1 |
66 |
| _pxvid_to_vd |
|
8 |
4 |
39 |
| pvid_to_extvid |
|
9 |
3 |
59 |
| __i915_update_gfx_val |
|
23 |
3 |
142 |
| i915_update_gfx_val |
|
9 |
2 |
48 |
| __i915_gfx_val |
|
24 |
3 |
187 |
| i915_gfx_val |
|
11 |
2 |
58 |
| i915_read_mch_val |
|
15 |
2 |
70 |
| i915_gpu_raise |
|
16 |
3 |
72 |
| i915_gpu_lower |
|
16 |
3 |
72 |
| i915_gpu_busy |
|
16 |
2 |
72 |
| i915_gpu_turbo_disable |
|
17 |
3 |
83 |
| ips_ping_for_i915_load |
|
9 |
2 |
37 |
| intel_gpu_ips_init |
|
7 |
2 |
29 |
| intel_gpu_ips_teardown |
|
6 |
2 |
22 |
| intel_init_emon |
|
53 |
7 |
434 |
| intel_init_gt_powersave |
|
8 |
3 |
47 |
| intel_cleanup_gt_powersave |
|
7 |
3 |
31 |
| gen6_suspend_rps |
|
6 |
1 |
33 |
| intel_suspend_gt_powersave |
|
8 |
2 |
41 |
| intel_disable_gt_powersave |
|
20 |
6 |
127 |
| intel_gen6_powersave_work |
|
33 |
7 |
243 |
| intel_enable_gt_powersave |
|
16 |
5 |
98 |
| intel_reset_gt_powersave |
|
8 |
2 |
44 |
| ibx_init_clock_gating |
|
5 |
1 |
25 |
| g4x_disable_trickle_feed |
|
12 |
1 |
72 |
| ilk_init_lp_watermarks |
|
7 |
1 |
54 |
| ironlake_init_clock_gating |
|
41 |
2 |
180 |
| cpt_init_clock_gating |
|
26 |
2 |
125 |
| gen6_check_mch_setup |
|
9 |
2 |
45 |
| gen6_init_clock_gating |
|
41 |
1 |
189 |
| gen7_setup_fixed_func_scheduler |
|
9 |
1 |
40 |
| lpt_init_clock_gating |
|
11 |
2 |
55 |
| lpt_suspend_hw |
|
9 |
2 |
46 |
| broadwell_init_clock_gating |
|
30 |
1 |
170 |
| haswell_init_clock_gating |
|
26 |
1 |
145 |
| ivybridge_init_clock_gating |
|
55 |
5 |
259 |
| vlv_init_display_clock_gating |
|
10 |
1 |
48 |
| valleyview_init_clock_gating |
|
32 |
1 |
158 |
| cherryview_init_clock_gating |
|
15 |
1 |
80 |
| g4x_init_clock_gating |
|
20 |
2 |
97 |
| crestline_init_clock_gating |
|
12 |
1 |
73 |
| broadwater_init_clock_gating |
|
13 |
1 |
60 |
| gen3_init_clock_gating |
|
15 |
2 |
98 |
| i85x_init_clock_gating |
|
9 |
1 |
50 |
| i830_init_clock_gating |
|
8 |
1 |
40 |
| intel_init_clock_gating |
|
6 |
2 |
35 |
| intel_suspend_hw |
|
5 |
2 |
21 |
| intel_init_pm |
|
91 |
33 |
653 |
| sandybridge_pcode_read |
|
19 |
3 |
123 |
| sandybridge_pcode_write |
|
17 |
3 |
106 |
| vlv_gpu_freq_div |
|
16 |
6 |
47 |
| byt_gpu_freq |
|
8 |
2 |
58 |
| byt_freq_opcode |
|
8 |
2 |
56 |
| chv_gpu_freq |
|
8 |
2 |
58 |
| chv_freq_opcode |
|
8 |
2 |
58 |
| intel_gpu_freq |
|
12 |
4 |
73 |
| intel_freq_opcode |
|
12 |
4 |
76 |
| __intel_rps_boost_work |
|
10 |
2 |
71 |
| intel_queue_rps_boost_for_request |
|
16 |
5 |
104 |
| intel_pm_setup |
|
12 |
1 |
96 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_audio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_init_audio |
|
3 |
1 |
9 |
| intel_audio_codec_enable |
|
3 |
1 |
9 |
| intel_audio_codec_disable |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_userptr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __cancel_userptr__worker |
|
23 |
3 |
175 |
| cancel_userptr |
|
9 |
3 |
66 |
| i915_gem_userptr_mn_invalidate_range_start |
|
27 |
5 |
165 |
| i915_mmu_notifier_create |
|
19 |
3 |
112 |
| i915_mmu_notifier_add |
|
26 |
4 |
174 |
| i915_mmu_notifier_has_linear |
|
8 |
2 |
37 |
| i915_mmu_notifier_del |
|
11 |
2 |
67 |
| i915_gem_userptr_release__mmu_notifier |
|
10 |
2 |
52 |
| i915_mmu_notifier_find |
|
17 |
4 |
117 |
| i915_gem_userptr_init__mmu_notifier |
|
29 |
7 |
200 |
| i915_mmu_notifier_free |
|
8 |
2 |
37 |
| i915_gem_userptr_release__mmu_notifier |
|
3 |
1 |
9 |
| i915_gem_userptr_init__mmu_notifier |
|
9 |
3 |
41 |
| i915_mmu_notifier_free |
|
4 |
1 |
14 |
| __i915_mm_struct_find |
|
8 |
2 |
49 |
| i915_gem_userptr_init__mm_struct |
|
27 |
3 |
181 |
| __i915_mm_struct_free__worker |
|
7 |
1 |
50 |
| __i915_mm_struct_free |
|
8 |
1 |
66 |
| i915_gem_userptr_release__mm_struct |
|
9 |
2 |
55 |
| st_set_pages |
|
26 |
5 |
158 |
| __i915_gem_userptr_set_pages |
|
15 |
3 |
77 |
| __i915_gem_userptr_set_active |
|
14 |
5 |
95 |
| __i915_gem_userptr_get_pages_worker |
|
53 |
9 |
379 |
| __i915_gem_userptr_get_pages_schedule |
|
20 |
3 |
127 |
| i915_gem_userptr_get_pages |
|
45 |
10 |
282 |
| i915_gem_userptr_put_pages |
|
19 |
3 |
123 |
| i915_gem_userptr_release |
|
5 |
1 |
19 |
| i915_gem_userptr_dmabuf_export |
|
6 |
2 |
28 |
| i915_gem_userptr_ioctl |
|
38 |
10 |
276 |
| i915_gem_init_userptr |
|
7 |
1 |
37 |
| i915_gem_userptr_ioctl |
|
4 |
1 |
22 |
| i915_gem_init_userptr |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_dsi_panel_vbt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| to_vbt_panel |
|
4 |
1 |
20 |
| intel_dsi_seq_port_to_port |
|
4 |
2 |
14 |
| mipi_exec_send_packet |
|
61 |
15 |
303 |
| mipi_exec_delay |
|
7 |
1 |
43 |
| mipi_exec_gpio |
|
26 |
3 |
168 |
| generic_exec_sequence |
|
21 |
5 |
94 |
| vbt_panel_prepare |
|
13 |
1 |
98 |
| vbt_panel_unprepare |
|
11 |
1 |
78 |
| vbt_panel_enable |
|
11 |
1 |
78 |
| vbt_panel_disable |
|
11 |
1 |
78 |
| vbt_panel_get_modes |
|
16 |
3 |
104 |
| vbt_panel_init |
|
186 |
34 |
1190 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_irq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gen5_assert_iir_is_zero |
|
12 |
2 |
63 |
| i915_hotplug_interrupt_update_locked |
|
12 |
1 |
55 |
| i915_hotplug_interrupt_update |
|
8 |
1 |
40 |
| ilk_update_display_irq |
|
18 |
3 |
94 |
| ironlake_enable_display_irq |
|
4 |
1 |
21 |
| ironlake_disable_display_irq |
|
4 |
1 |
21 |
| ilk_update_gt_irq |
|
13 |
2 |
73 |
| gen5_enable_gt_irq |
|
4 |
1 |
21 |
| gen5_disable_gt_irq |
|
4 |
1 |
21 |
| gen6_pm_iir |
|
4 |
2 |
26 |
| gen6_pm_imr |
|
4 |
2 |
26 |
| gen6_pm_ier |
|
4 |
2 |
26 |
| snb_update_pm_irq |
|
16 |
2 |
87 |
| gen6_enable_pm_irq |
|
6 |
2 |
34 |
| __gen6_disable_pm_irq |
|
5 |
1 |
21 |
| gen6_disable_pm_irq |
|
6 |
2 |
32 |
| gen6_reset_rps_interrupts |
|
11 |
1 |
73 |
| gen6_enable_rps_interrupts |
|
12 |
1 |
95 |
| gen6_sanitize_rps_pm_mask |
|
8 |
4 |
51 |
| gen6_disable_rps_interrupts |
|
15 |
1 |
116 |
| bdw_update_port_irq |
|
19 |
3 |
92 |
| ibx_display_interrupt_update |
|
14 |
2 |
75 |
| __i915_enable_pipestat |
|
19 |
4 |
119 |
| __i915_disable_pipestat |
|
19 |
4 |
117 |
| vlv_get_pipestat_enable_mask |
|
16 |
5 |
77 |
| i915_enable_pipestat |
|
11 |
2 |
58 |
| i915_disable_pipestat |
|
11 |
2 |
58 |
| i915_enable_asle_pipestat |
|
12 |
4 |
80 |
| i8xx_get_vblank_counter |
|
4 |
1 |
16 |
| i915_get_vblank_counter |
|
28 |
3 |
205 |
| g4x_get_vblank_counter |
|
5 |
1 |
31 |
| __intel_get_crtc_scanline |
|
28 |
7 |
185 |
| i915_get_crtc_scanoutpos |
|
62 |
15 |
414 |
| intel_get_crtc_scanline |
|
10 |
1 |
63 |
| i915_get_vblank_timestamp |
|
23 |
4 |
123 |
| ironlake_rps_change_irq_handler |
|
29 |
8 |
215 |
| notify_ring |
|
7 |
2 |
32 |
| vlv_c0_read |
|
7 |
1 |
43 |
| gen6_rps_reset_ei |
|
4 |
1 |
30 |
| vlv_wa_c0_ei |
|
29 |
7 |
187 |
| any_waiters |
|
9 |
2 |
37 |
| gen6_pm_rps_work |
|
61 |
15 |
413 |
| ivybridge_parity_work |
|
50 |
7 |
392 |
| ivybridge_parity_error_irq_handler |
|
15 |
4 |
112 |
| ilk_gt_irq_handler |
|
10 |
3 |
55 |
| snb_gt_irq_handler |
|
18 |
6 |
107 |
| gen8_gt_irq_handler |
|
60 |
19 |
443 |
| bxt_port_hotplug_long_detect |
|
13 |
4 |
46 |
| spt_port_hotplug2_long_detect |
|
9 |
2 |
30 |
| spt_port_hotplug_long_detect |
|
15 |
5 |
54 |
| ilk_port_hotplug_long_detect |
|
9 |
2 |
30 |
| pch_port_hotplug_long_detect |
|
13 |
4 |
46 |
| i9xx_port_hotplug_long_detect |
|
13 |
4 |
46 |
| intel_get_hpd_pins |
|
19 |
4 |
114 |
| gmbus_irq_handler |
|
5 |
1 |
26 |
| dp_aux_irq_handler |
|
5 |
1 |
26 |
| display_pipe_crc_irq_handler |
|
34 |
3 |
240 |
| display_pipe_crc_irq_handler |
|
4 |
1 |
28 |
| hsw_pipe_crc_irq_handler |
|
7 |
1 |
45 |
| ivb_pipe_crc_irq_handler |
|
10 |
1 |
69 |
| i9xx_pipe_crc_irq_handler |
|
18 |
4 |
119 |
| gen6_rps_irq_handler |
|
20 |
7 |
139 |
| intel_pipe_handle_vblank |
|
6 |
2 |
29 |
| valleyview_pipestat_irq_handler |
|
49 |
13 |
274 |
| i9xx_hpd_irq_handler |
|
29 |
7 |
160 |
| valleyview_irq_handler |
|
33 |
12 |
180 |
| cherryview_irq_handler |
|
27 |
7 |
147 |
| ibx_hpd_irq_handler |
|
12 |
1 |
80 |
| ibx_irq_handler |
|
37 |
14 |
218 |
| ivb_err_int_handler |
|
19 |
5 |
105 |
| cpt_serr_int_handler |
|
14 |
5 |
83 |
| cpt_irq_handler |
|
29 |
10 |
162 |
| spt_irq_handler |
|
28 |
5 |
150 |
| ilk_hpd_irq_handler |
|
12 |
1 |
80 |
| ilk_display_irq_handler |
|
37 |
14 |
227 |
| ivb_display_irq_handler |
|
28 |
10 |
174 |
| ironlake_irq_handler |
|
51 |
10 |
295 |
| bxt_hpd_irq_handler |
|
12 |
1 |
80 |
| gen8_irq_handler |
|
118 |
33 |
626 |
| i915_error_wake_up |
|
11 |
2 |
58 |
| i915_reset_and_wakeup |
|
29 |
8 |
208 |
| i915_report_and_clear_eir |
|
76 |
13 |
522 |
| i915_handle_error |
|
18 |
2 |
107 |
| i915_enable_vblank |
|
14 |
2 |
79 |
| ironlake_enable_vblank |
|
11 |
2 |
80 |
| valleyview_enable_vblank |
|
10 |
1 |
58 |
| gen8_enable_vblank |
|
11 |
1 |
81 |
| i915_disable_vblank |
|
10 |
1 |
57 |
| ironlake_disable_vblank |
|
10 |
2 |
77 |
| valleyview_disable_vblank |
|
9 |
1 |
55 |
| gen8_disable_vblank |
|
10 |
1 |
78 |
| ring_idle |
|
5 |
2 |
32 |
| ipehr_is_semaphore_wait |
|
10 |
2 |
53 |
| semaphore_wait_to_signaller_ring |
|
25 |
6 |
149 |
| semaphore_waits_for |
|
30 |
8 |
241 |
| semaphore_passed |
|
18 |
6 |
111 |
| semaphore_clear_deadlocks |
|
7 |
1 |
33 |
| ring_stuck |
|
38 |
9 |
185 |
| i915_hangcheck_elapsed |
|
78 |
18 |
449 |
| i915_queue_hangcheck |
|
8 |
2 |
48 |
| ibx_irq_reset |
|
9 |
4 |
51 |
| ibx_irq_pre_postinstall |
|
9 |
2 |
49 |
| gen5_gt_irq_reset |
|
7 |
2 |
39 |
| ironlake_irq_reset |
|
10 |
2 |
54 |
| vlv_display_irq_reset |
|
9 |
1 |
53 |
| valleyview_irq_preinstall |
|
11 |
1 |
72 |
| gen8_gt_irq_reset |
|
7 |
1 |
37 |
| gen8_irq_reset |
|
17 |
3 |
90 |
| gen8_irq_power_well_post_enable |
|
19 |
4 |
132 |
| cherryview_irq_preinstall |
|
10 |
1 |
52 |
| intel_hpd_enabled_irqs |
|
11 |
2 |
71 |
| ibx_hpd_irq_setup |
|
21 |
3 |
125 |
| spt_hpd_irq_setup |
|
15 |
1 |
89 |
| ilk_hpd_irq_setup |
|
23 |
3 |
150 |
| bxt_hpd_irq_setup |
|
12 |
1 |
69 |
| ibx_irq_postinstall |
|
13 |
3 |
66 |
| gen5_gt_irq_postinstall |
|
25 |
5 |
140 |
| ironlake_irq_postinstall |
|
35 |
3 |
185 |
| valleyview_display_irqs_install |
|
27 |
2 |
141 |
| valleyview_display_irqs_uninstall |
|
27 |
2 |
141 |
| valleyview_enable_display_irqs |
|
9 |
3 |
43 |
| valleyview_disable_display_irqs |
|
9 |
3 |
44 |
| vlv_display_irq_postinstall |
|
15 |
2 |
93 |
| valleyview_irq_postinstall |
|
10 |
2 |
52 |
| gen8_gt_irq_postinstall |
|
22 |
1 |
140 |
| gen8_de_irq_postinstall |
|
37 |
6 |
190 |
| gen8_irq_postinstall |
|
13 |
3 |
67 |
| cherryview_irq_postinstall |
|
9 |
1 |
43 |
| gen8_irq_uninstall |
|
7 |
2 |
30 |
| vlv_display_irq_uninstall |
|
9 |
2 |
47 |
| valleyview_irq_uninstall |
|
10 |
2 |
49 |
| cherryview_irq_uninstall |
|
11 |
2 |
52 |
| ironlake_irq_uninstall |
|
7 |
2 |
30 |
| i8xx_irq_preinstall |
|
10 |
1 |
56 |
| i8xx_irq_postinstall |
|
22 |
1 |
105 |
| i8xx_handle_vblank |
|
18 |
4 |
102 |
| i8xx_irq_handler |
|
47 |
12 |
281 |
| i8xx_irq_uninstall |
|
12 |
1 |
79 |
| i915_irq_preinstall |
|
15 |
2 |
91 |
| i915_irq_postinstall |
|
32 |
2 |
154 |
| i915_handle_vblank |
|
18 |
4 |
102 |
| i915_irq_handler |
|
58 |
17 |
354 |
| i915_irq_uninstall |
|
17 |
2 |
114 |
| i965_irq_preinstall |
|
13 |
1 |
82 |
| i965_irq_postinstall |
|
41 |
3 |
198 |
| i915_hpd_irq_setup |
|
15 |
2 |
66 |
| i965_irq_handler |
|
58 |
17 |
361 |
| i965_irq_uninstall |
|
18 |
2 |
118 |
| intel_irq_init |
|
87 |
18 |
664 |
| intel_irq_install |
|
5 |
1 |
33 |
| intel_irq_uninstall |
|
6 |
1 |
29 |
| intel_runtime_pm_disable_interrupts |
|
6 |
1 |
39 |
| intel_runtime_pm_enable_interrupts |
|
6 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_atomic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_connector_atomic_get_property |
|
14 |
3 |
86 |
| intel_crtc_duplicate_state |
|
10 |
2 |
61 |
| intel_crtc_destroy_state |
|
5 |
1 |
21 |
| intel_atomic_setup_scalers |
|
78 |
15 |
496 |
| intel_atomic_duplicate_dpll_state |
|
9 |
2 |
57 |
| intel_atomic_get_shared_dpll_state |
|
11 |
2 |
69 |
| intel_atomic_state_alloc |
|
9 |
3 |
58 |
| intel_atomic_state_clear |
|
6 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_psr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| is_edp_psr |
|
4 |
1 |
19 |
| vlv_is_psr_active_on_pipe |
|
9 |
2 |
49 |
| intel_psr_write_vsc |
|
24 |
3 |
184 |
| vlv_psr_setup_vsc |
|
13 |
1 |
96 |
| skl_psr_setup_su_vsc |
|
10 |
1 |
66 |
| hsw_psr_setup_vsc |
|
10 |
1 |
66 |
| vlv_psr_enable_sink |
|
5 |
1 |
23 |
| hsw_psr_enable_sink |
|
51 |
6 |
354 |
| vlv_psr_enable_source |
|
12 |
1 |
79 |
| vlv_psr_activate |
|
10 |
1 |
83 |
| hsw_psr_enable_source |
|
25 |
5 |
161 |
| intel_psr_match_conditions |
|
38 |
11 |
257 |
| intel_psr_activate |
|
14 |
2 |
99 |
| intel_psr_enable |
|
45 |
10 |
265 |
| vlv_psr_disable |
|
22 |
3 |
159 |
| hsw_psr_disable |
|
16 |
3 |
121 |
| intel_psr_disable |
|
18 |
3 |
120 |
| intel_psr_work |
|
30 |
6 |
199 |
| intel_psr_exit |
|
22 |
3 |
158 |
| intel_psr_single_frame_update |
|
22 |
4 |
145 |
| intel_psr_invalidate |
|
19 |
3 |
123 |
| intel_psr_flush |
|
28 |
9 |
195 |
| intel_psr_init |
|
6 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_renderstate_gen6.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_guc_loader.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_guc_fw_status_repr |
|
15 |
5 |
43 |
| direct_interrupts_to_host |
|
12 |
1 |
74 |
| direct_interrupts_to_guc |
|
14 |
1 |
86 |
| get_gttype |
|
4 |
1 |
12 |
| get_core_family |
|
10 |
2 |
36 |
| set_guc_init_params |
|
32 |
4 |
230 |
| guc_ucode_response |
|
9 |
3 |
52 |
| guc_ucode_xfer_dma |
|
29 |
3 |
244 |
| guc_ucode_xfer |
|
41 |
7 |
248 |
| intel_guc_ucode_load |
|
58 |
13 |
285 |
| guc_fw_fetch |
|
62 |
10 |
398 |
| intel_guc_ucode_init |
|
36 |
7 |
202 |
| intel_guc_ucode_fini |
|
13 |
2 |
84 |
| intel_guc_ucode_load |
|
4 |
1 |
13 |
| intel_guc_ucode_init |
|
3 |
1 |
9 |
| intel_guc_ucode_fini |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_ddi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ddi_get_encoder_port |
|
26 |
7 |
124 |
| intel_ddi_get_encoder_port |
|
7 |
1 |
32 |
| intel_dig_port_supports_hdmi |
|
4 |
1 |
17 |
| skl_get_buf_trans_dp |
|
16 |
5 |
90 |
| skl_get_buf_trans_edp |
|
32 |
8 |
168 |
| skl_get_buf_trans_hdmi |
|
13 |
3 |
63 |
| intel_prepare_ddi_buffers |
|
109 |
21 |
576 |
| intel_prepare_ddi |
|
21 |
5 |
110 |
| intel_wait_ddi_buf_idle |
|
12 |
3 |
65 |
| hsw_fdi_link_train |
|
72 |
3 |
508 |
| intel_ddi_init_dp_buf_reg |
|
9 |
1 |
61 |
| intel_ddi_get_crtc_encoder |
|
16 |
2 |
92 |
| intel_ddi_get_crtc_new_encoder |
|
21 |
2 |
127 |
| hsw_wrpll_get_budget_for_freq |
|
71 |
52 |
210 |
| hsw_wrpll_update_rnp |
|
36 |
10 |
273 |
| hsw_ddi_calc_wrpll_link |
|
23 |
4 |
118 |
| skl_calc_wrpll_link |
|
49 |
10 |
226 |
| ddi_dotclock_get |
|
17 |
6 |
105 |
| skl_ddi_clock_get |
|
41 |
8 |
176 |
| hsw_ddi_clock_get |
|
43 |
10 |
188 |
| bxt_calc_pll_link |
|
19 |
3 |
150 |
| bxt_ddi_clock_get |
|
9 |
1 |
57 |
| intel_ddi_clock_get |
|
11 |
5 |
78 |
| hsw_ddi_calculate_wrpll |
|
30 |
5 |
183 |
| hsw_ddi_pll_select |
|
36 |
6 |
248 |
| skl_wrpll_context_init |
|
5 |
1 |
28 |
| skl_wrpll_try_divider |
|
24 |
6 |
123 |
| skl_wrpll_get_multipliers |
|
46 |
16 |
290 |
| skl_wrpll_params_populate |
|
56 |
13 |
262 |
| skl_ddi_calculate_wrpll |
|
51 |
8 |
381 |
| skl_ddi_pll_select |
|
51 |
9 |
301 |
| bxt_ddi_pll_select |
|
98 |
20 |
617 |
| intel_ddi_pll_select |
|
16 |
4 |
86 |
| intel_ddi_set_pipe_settings |
|
29 |
8 |
142 |
| intel_ddi_set_vc_payload_alloc |
|
14 |
2 |
88 |
| intel_ddi_enable_transcoder_func |
|
84 |
22 |
457 |
| intel_ddi_disable_transcoder_func |
|
9 |
1 |
50 |
| intel_ddi_connector_get_hw_state |
|
37 |
10 |
199 |
| intel_ddi_get_hw_state |
|
45 |
11 |
234 |
| intel_ddi_enable_pipe_clock |
|
12 |
2 |
85 |
| intel_ddi_disable_pipe_clock |
|
8 |
2 |
48 |
| skl_ddi_set_iboost |
|
48 |
12 |
288 |
| bxt_ddi_vswing_sequence |
|
54 |
14 |
368 |
| translate_signal_level |
|
40 |
11 |
138 |
| ddi_signal_levels |
|
17 |
4 |
133 |
| intel_ddi_pre_enable |
|
57 |
12 |
412 |
| intel_ddi_post_disable |
|
33 |
8 |
230 |
| intel_enable_ddi |
|
28 |
6 |
180 |
| intel_disable_ddi |
|
19 |
3 |
118 |
| hsw_ddi_wrpll_enable |
|
7 |
1 |
47 |
| hsw_ddi_spll_enable |
|
7 |
1 |
37 |
| hsw_ddi_wrpll_disable |
|
8 |
1 |
53 |
| hsw_ddi_spll_disable |
|
8 |
1 |
38 |
| hsw_ddi_wrpll_get_hw_state |
|
11 |
2 |
58 |
| hsw_ddi_spll_get_hw_state |
|
11 |
2 |
53 |
| hsw_shared_dplls_init |
|
18 |
2 |
149 |
| skl_ddi_pll_enable |
|
22 |
2 |
206 |
| skl_ddi_pll_disable |
|
8 |
1 |
60 |
| skl_ddi_pll_get_hw_state |
|
21 |
4 |
151 |
| skl_shared_dplls_init |
|
13 |
2 |
93 |
| broxton_phy_init |
|
62 |
11 |
430 |
| broxton_ddi_phy_init |
|
5 |
1 |
27 |
| broxton_phy_uninit |
|
8 |
1 |
40 |
| broxton_ddi_phy_uninit |
|
7 |
1 |
39 |
| bxt_ddi_pll_enable |
|
69 |
2 |
575 |
| bxt_ddi_pll_disable |
|
10 |
1 |
61 |
| bxt_ddi_pll_get_hw_state |
|
42 |
4 |
327 |
| bxt_shared_dplls_init |
|
13 |
2 |
93 |
| intel_ddi_pll_init |
|
28 |
10 |
166 |
| intel_ddi_prepare_link_retrain |
|
39 |
6 |
244 |
| intel_ddi_fdi_disable |
|
20 |
1 |
150 |
| intel_ddi_get_config |
|
67 |
18 |
357 |
| intel_ddi_compute_config |
|
13 |
3 |
73 |
| intel_ddi_init_dp_connector |
|
14 |
3 |
70 |
| intel_ddi_init_hdmi_connector |
|
11 |
2 |
57 |
| intel_ddi_init |
|
55 |
12 |
356 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_dp_mst.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_dp_mst_compute_config |
|
47 |
5 |
298 |
| intel_mst_disable_dp |
|
13 |
2 |
88 |
| intel_mst_post_disable_dp |
|
16 |
2 |
118 |
| intel_mst_pre_enable_dp |
|
50 |
6 |
328 |
| intel_mst_enable_dp |
|
16 |
2 |
127 |
| intel_dp_mst_enc_get_hw_state |
|
9 |
2 |
46 |
| intel_dp_mst_enc_get_config |
|
42 |
7 |
231 |
| intel_dp_mst_get_ddc_modes |
|
13 |
2 |
77 |
| intel_dp_mst_detect |
|
6 |
1 |
46 |
| intel_dp_mst_set_property |
|
6 |
1 |
20 |
| intel_dp_mst_connector_destroy |
|
8 |
2 |
46 |
| intel_dp_mst_get_modes |
|
4 |
1 |
15 |
| intel_dp_mst_mode_valid |
|
9 |
3 |
39 |
| intel_mst_atomic_best_encoder |
|
8 |
1 |
60 |
| intel_mst_best_encoder |
|
6 |
1 |
41 |
| intel_dp_mst_encoder_destroy |
|
6 |
1 |
29 |
| intel_dp_mst_get_hw_state |
|
10 |
4 |
55 |
| intel_connector_add_to_fbdev |
|
5 |
2 |
38 |
| intel_connector_remove_from_fbdev |
|
5 |
2 |
38 |
| intel_dp_add_mst_connector |
|
28 |
3 |
219 |
| intel_dp_register_mst_connector |
|
9 |
1 |
51 |
| intel_dp_destroy_mst_connector |
|
21 |
2 |
127 |
| intel_dp_mst_hotplug |
|
7 |
1 |
52 |
| intel_dp_create_fake_mst_encoder |
|
25 |
2 |
154 |
| intel_dp_create_fake_mst_encoders |
|
8 |
2 |
52 |
| intel_dp_mst_encoder_init |
|
15 |
2 |
101 |
| intel_dp_mst_encoder_cleanup |
|
7 |
2 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/dvo_ns2501.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ns2501_readb |
|
33 |
3 |
171 |
| ns2501_writeb |
|
22 |
3 |
128 |
| ns2501_init |
|
32 |
6 |
179 |
| ns2501_detect |
|
4 |
1 |
12 |
| ns2501_mode_valid |
|
14 |
10 |
108 |
| ns2501_mode_set |
|
84 |
9 |
664 |
| ns2501_get_hw_state |
|
7 |
2 |
34 |
| ns2501_dpms |
|
26 |
3 |
197 |
| ns2501_destroy |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gpu_error.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ring_str |
|
11 |
6 |
48 |
| pin_flag |
|
9 |
3 |
30 |
| tiling_flag |
|
9 |
4 |
33 |
| dirty_flag |
|
4 |
2 |
14 |
| purgeable_flag |
|
4 |
2 |
14 |
| __i915_error_ok |
|
10 |
5 |
67 |
| __i915_error_seek |
|
13 |
3 |
58 |
| __i915_error_advance |
|
17 |
4 |
104 |
| i915_error_vprintf |
|
19 |
5 |
138 |
| i915_error_puts |
|
16 |
5 |
104 |
| print_error_buffers |
|
33 |
7 |
265 |
| hangcheck_action_to_str |
|
18 |
7 |
53 |
| i915_ring_error_state |
|
61 |
8 |
520 |
| i915_error_printf |
|
7 |
1 |
40 |
| print_error_obj |
|
12 |
3 |
80 |
| xprint_error_obj |
|
12 |
3 |
75 |
| i915_error_state_to_str |
|
158 |
35 |
1347 |
| i915_error_state_buf_init |
|
22 |
5 |
151 |
| i915_error_object_free |
|
9 |
3 |
50 |
| i915_error_state_free |
|
24 |
3 |
201 |
| i915_error_object_create |
|
75 |
22 |
476 |
| capture_bo |
|
25 |
4 |
210 |
| capture_active_bo |
|
12 |
2 |
57 |
| capture_pinned_bo |
|
17 |
4 |
106 |
| i915_error_generate_code |
|
15 |
4 |
87 |
| i915_gem_record_fences |
|
16 |
9 |
159 |
| gen8_record_semaphore_state |
|
27 |
4 |
159 |
| gen6_record_semaphore_state |
|
14 |
2 |
129 |
| i915_record_ring_state |
|
86 |
17 |
665 |
| i915_gem_record_active_context |
|
17 |
5 |
104 |
| i915_gem_record_rings |
|
74 |
13 |
555 |
| i915_gem_capture_vm |
|
37 |
7 |
248 |
| i915_gem_capture_buffers |
|
31 |
5 |
230 |
| i915_capture_reg_state |
|
50 |
15 |
403 |
| i915_error_capture_msg |
|
23 |
4 |
170 |
| i915_capture_gen_state |
|
8 |
2 |
47 |
| i915_capture_error_state |
|
160 |
27 |
1191 |
| i915_error_state_get |
|
10 |
2 |
69 |
| i915_error_state_put |
|
5 |
2 |
27 |
| i915_destroy_error_state |
|
11 |
2 |
73 |
| i915_cache_level_str |
|
10 |
6 |
54 |
| i915_get_extra_instdone |
|
16 |
7 |
159 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_atomic_plane.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_create_plane_state |
|
11 |
2 |
65 |
| intel_plane_duplicate_state |
|
11 |
2 |
61 |
| intel_plane_destroy_state |
|
5 |
1 |
21 |
| intel_plane_atomic_check |
|
54 |
13 |
394 |
| intel_plane_atomic_update |
|
8 |
1 |
45 |
| intel_plane_atomic_get_property |
|
8 |
1 |
37 |
| intel_plane_atomic_set_property |
|
8 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_dsi.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| to_intel_dsi_host |
|
4 |
1 |
20 |
| enc_to_intel_dsi |
|
4 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_renderstate_gen7.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_fifo_underrun.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ivb_can_enable_err_int |
|
13 |
2 |
67 |
| cpt_can_enable_serr_int |
|
13 |
2 |
67 |
| i9xx_check_fifo_underruns |
|
18 |
3 |
108 |
| i9xx_set_fifo_underrun_reporting |
|
16 |
4 |
95 |
| ironlake_set_fifo_underrun_reporting |
|
11 |
3 |
57 |
| ivybridge_set_fifo_underrun_reporting |
|
19 |
5 |
97 |
| broadwell_set_fifo_underrun_reporting |
|
12 |
2 |
79 |
| ibx_set_fifo_underrun_reporting |
|
12 |
3 |
57 |
| cpt_set_fifo_underrun_reporting |
|
20 |
5 |
97 |
| __intel_set_cpu_fifo_underrun_reporting |
|
20 |
7 |
156 |
| intel_set_cpu_fifo_underrun_reporting |
|
11 |
1 |
59 |
| intel_set_pch_fifo_underrun_reporting |
|
20 |
2 |
116 |
| intel_cpu_fifo_underrun_irq_handler |
|
13 |
5 |
72 |
| intel_pch_fifo_underrun_irq_handler |
|
8 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_renderstate_gen9.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_drv.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_read_8 |
|
7 |
1 |
54 |
| bus_space_write_8 |
|
6 |
1 |
43 |
| yesno |
|
4 |
2 |
14 |
| skl_ddb_entry_size |
|
4 |
1 |
19 |
| skl_ddb_entry_equal |
|
7 |
3 |
40 |
| to_i915 |
|
4 |
1 |
15 |
| dev_to_i915 |
|
4 |
1 |
18 |
| guc_to_i915 |
|
4 |
1 |
20 |
| i915_gem_request_get_seqno |
|
4 |
2 |
18 |
| i915_gem_request_get_ring |
|
4 |
2 |
18 |
| i915_gem_request_reference |
|
6 |
2 |
24 |
| i915_gem_request_unreference |
|
5 |
1 |
35 |
| i915_gem_request_unreference__unlocked |
|
9 |
3 |
54 |
| i915_gem_request_assign |
|
9 |
3 |
39 |
| intel_vgpu_active |
|
5 |
2 |
22 |
| __sg_page_count |
|
4 |
1 |
17 |
| i915_gem_object_get_page |
|
15 |
5 |
150 |
| i915_gem_object_get_page |
|
13 |
4 |
122 |
| i915_gem_object_pin_pages |
|
5 |
1 |
23 |
| i915_gem_object_unpin_pages |
|
5 |
1 |
23 |
| i915_seqno_passed |
|
4 |
1 |
22 |
| i915_gem_request_started |
|
6 |
1 |
38 |
| i915_gem_request_completed |
|
6 |
1 |
38 |
| i915_reset_in_progress |
|
5 |
1 |
27 |
| i915_terminally_wedged |
|
4 |
1 |
20 |
| i915_reset_count |
|
4 |
1 |
28 |
| i915_stop_ring_allow_ban |
|
5 |
2 |
26 |
| i915_stop_ring_allow_warn |
|
5 |
2 |
26 |
| i915_gem_obj_ggtt_offset |
|
4 |
1 |
18 |
| i915_gem_obj_to_ggtt |
|
4 |
1 |
18 |
| i915_is_ggtt |
|
6 |
1 |
39 |
| i915_vm_to_ppgtt |
|
5 |
1 |
28 |
| i915_gem_obj_ggtt_bound |
|
4 |
1 |
18 |
| i915_gem_obj_ggtt_size |
|
4 |
1 |
20 |
| i915_gem_obj_ggtt_pin |
|
7 |
1 |
32 |
| i915_gem_object_ggtt_unbind |
|
4 |
1 |
18 |
| i915_gem_object_ggtt_unpin |
|
4 |
1 |
17 |
| i915_gem_context_reference |
|
4 |
1 |
17 |
| i915_gem_context_unreference |
|
4 |
1 |
19 |
| i915_gem_context_is_default |
|
4 |
1 |
17 |
| i915_gem_chipset_flush |
|
5 |
2 |
24 |
| i915_gem_object_needs_bit17_swizzle |
|
6 |
2 |
37 |
| i915_debugfs_connector_add |
|
2 |
1 |
12 |
| intel_display_crc_init |
|
1 |
1 |
9 |
| i915_error_state_buf_release |
|
5 |
1 |
16 |
| intel_gmbus_is_forced_bit |
|
4 |
1 |
22 |
| intel_opregion_setup |
|
1 |
1 |
12 |
| intel_opregion_init |
|
1 |
1 |
11 |
| intel_opregion_fini |
|
1 |
1 |
11 |
| intel_opregion_asle_intr |
|
1 |
1 |
11 |
| intel_opregion_notify_encoder |
|
4 |
1 |
15 |
| intel_opregion_notify_adapter |
|
4 |
1 |
15 |
| intel_register_dsm_handler |
|
1 |
1 |
8 |
| intel_unregister_dsm_handler |
|
1 |
1 |
8 |
| i915_vgacntrl_reg |
|
9 |
3 |
38 |
| to_user_ptr |
|
4 |
1 |
18 |
| msecs_to_jiffies_timeout |
|
5 |
1 |
31 |
| nsecs_to_jiffies_timeout |
|
4 |
1 |
23 |
| timespec_to_jiffies_timeout |
|
5 |
1 |
32 |
| wait_remaining_ms_from_jiffies |
|
13 |
3 |
60 |
| wait_remaining_ms_from_jiffies |
|
16 |
3 |
80 |
| i915_trace_irq_get |
|
6 |
3 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_guc_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_panel.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intel_fixed_panel_mode |
|
6 |
1 |
29 |
| intel_find_panel_downclock |
|
28 |
11 |
161 |
| intel_pch_panel_fitting |
|
57 |
10 |
350 |
| centre_horizontally |
|
15 |
1 |
117 |
| centre_vertically |
|
14 |
1 |
111 |
| panel_fitter_scaling |
|
5 |
1 |
32 |
| i965_scale_aspect |
|
17 |
4 |
93 |
| i9xx_scale_aspect |
|
45 |
5 |
227 |
| intel_gmch_panel_fitting |
|
54 |
14 |
309 |
| intel_panel_detect |
|
17 |
6 |
74 |
| scale |
|
13 |
1 |
78 |
| scale_user_to_hw |
|
7 |
1 |
47 |
| clamp_user_to_hw |
|
9 |
1 |
69 |
| scale_hw_to_user |
|
7 |
1 |
47 |
| intel_panel_compute_brightness |
|
15 |
4 |
92 |
| lpt_get_backlight |
|
6 |
1 |
37 |
| pch_get_backlight |
|
6 |
1 |
37 |
| i9xx_get_backlight |
|
16 |
3 |
99 |
| _vlv_get_backlight |
|
7 |
3 |
49 |
| vlv_get_backlight |
|
6 |
1 |
37 |
| bxt_get_backlight |
|
7 |
1 |
52 |
| pwm_get_backlight |
|
7 |
1 |
43 |
| intel_panel_get_backlight |
|
15 |
2 |
100 |
| lpt_set_backlight |
|
7 |
1 |
51 |
| pch_set_backlight |
|
8 |
1 |
53 |
| i9xx_set_backlight |
|
22 |
3 |
143 |
| vlv_set_backlight |
|
11 |
3 |
83 |
| bxt_set_backlight |
|
7 |
1 |
56 |
| pwm_set_backlight |
|
6 |
1 |
47 |
| intel_panel_actually_set_backlight |
|
7 |
1 |
49 |
| intel_panel_set_backlight |
|
17 |
3 |
120 |
| intel_panel_set_backlight_acpi |
|
23 |
5 |
172 |
| lpt_disable_backlight |
|
14 |
2 |
84 |
| pch_disable_backlight |
|
11 |
1 |
71 |
| i9xx_disable_backlight |
|
4 |
1 |
16 |
| i965_disable_backlight |
|
9 |
1 |
55 |
| vlv_disable_backlight |
|
12 |
3 |
85 |
| bxt_disable_backlight |
|
16 |
2 |
111 |
| pwm_disable_backlight |
|
7 |
1 |
48 |
| intel_panel_disable_backlight |
|
18 |
5 |
120 |
| lpt_enable_backlight |
|
39 |
7 |
228 |
| pch_enable_backlight |
|
38 |
5 |
233 |
| i9xx_enable_backlight |
|
25 |
7 |
164 |
| i965_enable_backlight |
|
28 |
5 |
183 |
| vlv_enable_backlight |
|
25 |
5 |
183 |
| bxt_enable_backlight |
|
38 |
6 |
260 |
| pwm_enable_backlight |
|
6 |
1 |
39 |
| intel_panel_enable_backlight |
|
25 |
6 |
200 |
| intel_backlight_device_update_status |
|
22 |
4 |
160 |
| intel_backlight_device_get_brightness |
|
15 |
1 |
102 |
| intel_backlight_device_register |
|
34 |
5 |
208 |
| intel_backlight_device_unregister |
|
8 |
2 |
46 |
| intel_backlight_device_register |
|
4 |
1 |
12 |
| intel_backlight_device_unregister |
|
3 |
1 |
9 |
| spt_hz_to_pwm |
|
12 |
2 |
71 |
| lpt_hz_to_pwm |
|
15 |
3 |
87 |
| pch_hz_to_pwm |
|
6 |
1 |
43 |
| i9xx_hz_to_pwm |
|
11 |
2 |
72 |
| i965_hz_to_pwm |
|
7 |
1 |
55 |
| vlv_hz_to_pwm |
|
15 |
3 |
104 |
| get_backlight_max_vbt |
|
23 |
4 |
125 |
| get_backlight_min_vbt |
|
14 |
2 |
119 |
| lpt_setup_backlight |
|
27 |
5 |
209 |
| pch_setup_backlight |
|
22 |
5 |
187 |
| i9xx_setup_backlight |
|
26 |
8 |
218 |
| i965_setup_backlight |
|
24 |
5 |
198 |
| vlv_setup_backlight |
|
23 |
6 |
197 |
| bxt_setup_backlight |
|
26 |
5 |
203 |
| pwm_setup_backlight |
|
28 |
3 |
185 |
| intel_panel_setup_backlight |
|
32 |
6 |
198 |
| intel_panel_destroy_backlight |
|
8 |
2 |
54 |
| intel_panel_init_backlight_funcs |
|
61 |
10 |
455 |
| intel_panel_init |
|
9 |
1 |
39 |
| intel_panel_fini |
|
10 |
3 |
62 |
| intel_backlight_register |
|
6 |
1 |
34 |
| intel_backlight_unregister |
|
6 |
1 |
34 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_renderstate.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_sdvo_regs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_dsi_pll.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dsi_pixel_format_bpp |
|
18 |
5 |
51 |
| dsi_rr_formula |
|
47 |
8 |
309 |
| dsi_clk_from_pclk |
|
7 |
1 |
38 |
| dsi_calc_mnp |
|
42 |
9 |
254 |
| vlv_configure_dsi_pll |
|
24 |
4 |
169 |
| vlv_enable_dsi_pll |
|
20 |
2 |
118 |
| vlv_disable_dsi_pll |
|
12 |
1 |
72 |
| bxt_disable_dsi_pll |
|
12 |
2 |
71 |
| assert_bpp_mismatch |
|
7 |
1 |
31 |
| vlv_get_dsi_pclk |
|
43 |
6 |
277 |
| bxt_get_dsi_pclk |
|
24 |
4 |
135 |
| vlv_dsi_reset_clocks |
|
11 |
1 |
73 |
| bxt_dsi_program_clocks |
|
21 |
1 |
136 |
| bxt_configure_dsi_pll |
|
28 |
4 |
152 |
| bxt_enable_dsi_pll |
|
28 |
4 |
162 |
| intel_enable_dsi_pll |
|
8 |
3 |
45 |
| intel_disable_dsi_pll |
|
8 |
3 |
45 |
| bxt_dsi_reset_clocks |
|
13 |
1 |
96 |
| intel_dsi_reset_clocks |
|
8 |
3 |
53 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/dvo_ch7017.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ch7017_read |
|
18 |
1 |
89 |
| ch7017_write |
|
11 |
1 |
71 |
| ch7017_init |
|
36 |
6 |
159 |
| ch7017_detect |
|
4 |
1 |
12 |
| ch7017_mode_valid |
|
7 |
2 |
28 |
| ch7017_mode_set |
|
64 |
3 |
388 |
| ch7017_dpms |
|
19 |
2 |
78 |
| ch7017_get_hw_state |
|
9 |
2 |
35 |
| ch7017_dump_regs |
|
13 |
1 |
57 |
| ch7017_destroy |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_gtt.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i915_pte_index |
|
5 |
1 |
31 |
| i915_pte_count |
|
12 |
2 |
96 |
| i915_pde_index |
|
4 |
1 |
20 |
| gen6_pte_index |
|
4 |
1 |
15 |
| gen6_pte_count |
|
4 |
1 |
20 |
| gen6_pde_index |
|
4 |
1 |
15 |
| gen8_pte_index |
|
4 |
1 |
15 |
| gen8_pde_index |
|
4 |
1 |
15 |
| gen8_pdpe_index |
|
4 |
1 |
17 |
| gen8_pml4e_index |
|
4 |
1 |
17 |
| gen8_pte_count |
|
4 |
1 |
20 |
| i915_page_dir_dma_addr |
|
6 |
2 |
47 |
| i915_ppgtt_get |
|
5 |
2 |
21 |
| i915_ppgtt_put |
|
5 |
2 |
23 |
| i915_ggtt_view_equal |
|
11 |
5 |
76 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_devlist.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/intel_mocs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915/i915_gem_batch_pool.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i915_gem_batch_pool_init |
|
8 |
2 |
52 |
| i915_gem_batch_pool_fini |
|
15 |
3 |
99 |
| i915_gem_batch_pool_get |
|
39 |
8 |
235 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_object.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_object_file_ref |
|
5 |
1 |
20 |
| ttm_object_file_destroy |
|
6 |
1 |
29 |
| ttm_object_file_unref |
|
6 |
1 |
32 |
| ttm_base_object_init |
|
35 |
3 |
228 |
| ttm_release_base |
|
13 |
2 |
91 |
| ttm_base_object_unref |
|
6 |
1 |
32 |
| ttm_base_object_lookup |
|
23 |
6 |
147 |
| ttm_ref_object_add |
|
52 |
8 |
366 |
| ttm_ref_object_release |
|
19 |
3 |
154 |
| ttm_ref_object_base_unref |
|
18 |
2 |
119 |
| ttm_object_file_release |
|
18 |
3 |
123 |
| ttm_object_file_init |
|
27 |
5 |
166 |
| ttm_object_device_init |
|
17 |
3 |
102 |
| ttm_object_device_release |
|
9 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_lock.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_lock_set_kill |
|
7 |
2 |
31 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_bo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_get_kobj |
|
4 |
1 |
11 |
| ttm_mem_type_from_flags |
|
10 |
3 |
52 |
| ttm_mem_type_debug |
|
13 |
2 |
108 |
| ttm_bo_mem_space_debug |
|
17 |
3 |
115 |
| ttm_bo_global_show |
|
9 |
1 |
55 |
| ttm_bo_type_flags |
|
4 |
1 |
15 |
| ttm_bo_release_list |
|
23 |
3 |
176 |
| ttm_bo_wait_unreserved |
|
11 |
4 |
65 |
| ttm_bo_add_to_lru |
|
16 |
3 |
127 |
| ttm_bo_del_from_lru |
|
13 |
3 |
65 |
| ttm_bo_reserve_locked |
|
33 |
11 |
213 |
| ttm_bo_ref_bug |
|
4 |
1 |
13 |
| ttm_bo_list_ref_sub |
|
6 |
2 |
33 |
| ttm_bo_reserve |
|
16 |
2 |
97 |
| ttm_bo_unreserve_locked |
|
6 |
1 |
32 |
| ttm_bo_unreserve |
|
7 |
1 |
39 |
| ttm_bo_add_ttm |
|
37 |
9 |
210 |
| ttm_bo_handle_move_mem |
|
88 |
25 |
616 |
| ttm_bo_cleanup_memtype_use |
|
14 |
3 |
92 |
| ttm_bo_cleanup_refs_or_queue |
|
37 |
7 |
268 |
| ttm_bo_cleanup_refs_and_unlock |
|
50 |
8 |
334 |
| ttm_bo_delayed_delete |
|
39 |
9 |
244 |
| ttm_bo_delayed_workqueue |
|
9 |
3 |
61 |
| ttm_bo_release |
|
13 |
1 |
95 |
| ttm_bo_unref |
|
6 |
1 |
32 |
| ttm_bo_lock_delayed_workqueue |
|
4 |
1 |
18 |
| ttm_bo_unlock_delayed_workqueue |
|
6 |
3 |
40 |
| ttm_bo_evict |
|
48 |
7 |
273 |
| ttm_mem_evict_first |
|
35 |
4 |
218 |
| ttm_bo_mem_put |
|
6 |
2 |
51 |
| ttm_bo_mem_force_space |
|
26 |
6 |
147 |
| ttm_bo_select_caching |
|
18 |
6 |
114 |
| ttm_bo_mt_compatible |
|
14 |
3 |
75 |
| ttm_bo_mem_space |
|
84 |
22 |
487 |
| ttm_bo_move_buffer |
|
30 |
5 |
188 |
| ttm_bo_mem_compat |
|
23 |
11 |
169 |
| ttm_bo_validate |
|
28 |
10 |
165 |
| ttm_bo_check_placement |
|
7 |
3 |
48 |
| ttm_bo_init |
|
83 |
10 |
518 |
| ttm_bo_acc_size |
|
11 |
1 |
68 |
| ttm_bo_dma_acc_size |
|
12 |
1 |
80 |
| ttm_bo_create |
|
23 |
3 |
134 |
| ttm_bo_force_list_clean |
|
22 |
4 |
124 |
| ttm_bo_clean_mm |
|
23 |
4 |
120 |
| ttm_bo_evict_mm |
|
13 |
4 |
77 |
| ttm_bo_init_mm |
|
28 |
4 |
173 |
| ttm_bo_global_kobj_release |
|
8 |
1 |
56 |
| ttm_bo_global_release |
|
6 |
1 |
34 |
| ttm_bo_global_init |
|
35 |
4 |
238 |
| ttm_bo_device_release |
|
33 |
8 |
203 |
| ttm_bo_device_init |
|
28 |
2 |
177 |
| ttm_mem_reg_is_pci |
|
13 |
5 |
78 |
| ttm_bo_unmap_virtual_locked |
|
27 |
7 |
184 |
| ttm_bo_unmap_virtual |
|
8 |
1 |
52 |
| ttm_bo_setup_vm |
|
6 |
1 |
38 |
| ttm_bo_wait |
|
48 |
7 |
309 |
| ttm_bo_synccpu_write_grab |
|
15 |
3 |
107 |
| ttm_bo_synccpu_write_release |
|
4 |
1 |
17 |
| ttm_bo_swapout |
|
53 |
8 |
367 |
| ttm_bo_swapout_all |
|
5 |
2 |
24 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_module.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_execbuf_util.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_memory.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_mem_init_shrink |
|
5 |
1 |
26 |
| ttm_mem_register_shrink |
|
12 |
2 |
61 |
| ttm_mem_unregister_shrink |
|
8 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_bo_util.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_bo_free_old_node |
|
4 |
1 |
19 |
| ttm_bo_move_ttm |
|
26 |
5 |
149 |
| ttm_mem_io_lock |
|
9 |
3 |
48 |
| ttm_mem_io_unlock |
|
6 |
2 |
28 |
| ttm_mem_io_evict |
|
12 |
3 |
64 |
| ttm_mem_io_reserve |
|
21 |
7 |
129 |
| ttm_mem_io_free |
|
11 |
5 |
74 |
| ttm_mem_io_reserve_vm |
|
17 |
4 |
103 |
| ttm_mem_io_free_vm |
|
9 |
2 |
54 |
| ttm_mem_reg_ioremap |
|
36 |
7 |
231 |
| ttm_mem_reg_iounmap |
|
11 |
3 |
88 |
| ttm_copy_io_page |
|
11 |
2 |
98 |
| ttm_copy_io_ttm_page |
|
22 |
5 |
146 |
| ttm_copy_ttm_io_page |
|
22 |
5 |
146 |
| ttm_bo_move_memcpy |
|
73 |
19 |
450 |
| ttm_transfered_destroy |
|
4 |
1 |
14 |
| ttm_buffer_object_transfer |
|
30 |
3 |
202 |
| ttm_io_prot |
|
7 |
3 |
23 |
| ttm_bo_ioremap |
|
28 |
5 |
197 |
| ttm_bo_kmap_ttm |
|
28 |
7 |
189 |
| ttm_bo_kmap |
|
30 |
8 |
204 |
| ttm_bo_kunmap |
|
29 |
6 |
170 |
| ttm_bo_move_accel_cleanup |
|
52 |
10 |
311 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_bo_vm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_bo_vm_fault |
|
126 |
26 |
841 |
| ttm_bo_vm_reference |
|
7 |
1 |
34 |
| ttm_bo_vm_detach |
|
6 |
1 |
32 |
| ttm_bo_vm_lookup |
|
18 |
4 |
108 |
| ttm_bo_mmap |
|
27 |
6 |
165 |
| ttm_fbdev_mmap |
|
9 |
2 |
55 |
| ttm_bo_io |
|
72 |
11 |
428 |
| ttm_bo_fbdev_io |
|
52 |
8 |
302 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_lock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_lock_init |
|
9 |
1 |
51 |
| ttm_read_unlock |
|
7 |
2 |
42 |
| __ttm_read_lock |
|
16 |
4 |
91 |
| ttm_read_lock |
|
12 |
3 |
62 |
| __ttm_read_trylock |
|
20 |
5 |
121 |
| ttm_read_trylock |
|
17 |
5 |
97 |
| ttm_write_unlock |
|
7 |
1 |
39 |
| __ttm_write_lock |
|
19 |
4 |
114 |
| ttm_write_lock |
|
18 |
4 |
105 |
| ttm_write_lock_downgrade |
|
7 |
1 |
39 |
| __ttm_vt_unlock |
|
11 |
2 |
66 |
| ttm_vt_lock_remove |
|
9 |
1 |
54 |
| __ttm_vt_lock |
|
14 |
2 |
68 |
| ttm_vt_lock |
|
27 |
5 |
153 |
| ttm_vt_unlock |
|
5 |
1 |
27 |
| ttm_suspend_unlock |
|
7 |
1 |
39 |
| __ttm_suspend_lock |
|
14 |
2 |
68 |
| ttm_suspend_lock |
|
5 |
2 |
28 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_module.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_drm_class_device_release |
|
5 |
1 |
23 |
| ttm_get_kobj |
|
6 |
1 |
26 |
| ttm_init |
|
16 |
3 |
81 |
| ttm_exit |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_execbuf_util.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_eu_backoff_reservation_locked |
|
16 |
3 |
85 |
| ttm_eu_del_from_lru_locked |
|
13 |
3 |
66 |
| ttm_eu_list_ref_sub |
|
11 |
2 |
58 |
| ttm_eu_wait_unreserved_locked |
|
13 |
2 |
73 |
| ttm_eu_backoff_reservation |
|
12 |
2 |
69 |
| ttm_eu_reserve_buffers |
|
60 |
8 |
329 |
| ttm_eu_fence_buffer_objects |
|
29 |
3 |
183 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_bo_manager.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_bo_man_get_node |
|
32 |
4 |
192 |
| ttm_bo_man_put_node |
|
12 |
2 |
72 |
| ttm_bo_man_init |
|
12 |
2 |
71 |
| ttm_bo_man_takedown |
|
15 |
2 |
89 |
| ttm_bo_man_debug |
|
9 |
2 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_bo_driver.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_flag_masked |
|
5 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_memory.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_mem_zone_kobj_release |
|
8 |
1 |
50 |
| ttm_mem_zone_show |
|
22 |
6 |
147 |
| ttm_mem_zone_store |
|
32 |
8 |
194 |
| ttm_mem_global_kobj_release |
|
6 |
1 |
29 |
| ttm_zones_above_swap_target |
|
20 |
6 |
110 |
| ttm_shrink |
|
20 |
4 |
114 |
| ttm_shrink_work |
|
5 |
1 |
24 |
| ttm_mem_init_kernel_zone |
|
24 |
3 |
174 |
| ttm_mem_init_highmem_zone |
|
27 |
4 |
187 |
| ttm_mem_init_dma32_zone |
|
29 |
4 |
210 |
| ttm_mem_global_init |
|
38 |
9 |
271 |
| ttm_mem_global_release |
|
16 |
2 |
97 |
| ttm_check_swapping |
|
21 |
5 |
119 |
| ttm_mem_global_free_zone |
|
15 |
4 |
84 |
| ttm_mem_global_free |
|
5 |
1 |
22 |
| ttm_mem_global_reserve |
|
32 |
10 |
180 |
| ttm_mem_global_alloc_zone |
|
18 |
4 |
91 |
| ttm_mem_global_alloc |
|
6 |
1 |
32 |
| ttm_mem_global_alloc_page |
|
12 |
6 |
79 |
| ttm_mem_global_free_page |
|
9 |
6 |
68 |
| ttm_round_pot |
|
14 |
4 |
62 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_bo_api.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_bo_reference |
|
5 |
1 |
20 |
| ttm_kmap_obj_virtual |
|
6 |
1 |
31 |
| ttm_bo_is_reserved |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_object.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_page_alloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_uvm_alloc_page |
|
12 |
2 |
61 |
| ttm_uvm_free_page |
|
7 |
2 |
45 |
| ttm_pool_kobj_release |
|
6 |
1 |
29 |
| ttm_pool_store |
|
29 |
7 |
186 |
| ttm_pool_show |
|
15 |
4 |
108 |
| set_pages_array_wb |
|
8 |
4 |
48 |
| set_pages_array_wc |
|
8 |
4 |
48 |
| set_pages_array_uc |
|
9 |
4 |
50 |
| ttm_get_pool |
|
14 |
4 |
57 |
| ttm_pages_put |
|
8 |
3 |
54 |
| ttm_pool_update_free_locked |
|
6 |
1 |
24 |
| ttm_page_pool_free |
|
53 |
12 |
305 |
| ttm_pool_get_num_unused_pages |
|
8 |
2 |
41 |
| ttm_pool_mm_shrink |
|
18 |
3 |
113 |
| ttm_pool_mm_shrink_init |
|
6 |
2 |
34 |
| ttm_pool_mm_shrink_fini |
|
5 |
2 |
24 |
| ttm_set_pages_caching |
|
20 |
5 |
84 |
| ttm_handle_caching_state_failure |
|
10 |
2 |
62 |
| ttm_alloc_new_pages |
|
57 |
12 |
293 |
| ttm_page_pool_fill_locked |
|
34 |
5 |
210 |
| ttm_page_pool_get_pages |
|
28 |
3 |
166 |
| ttm_put_pages |
|
33 |
9 |
209 |
| ttm_get_pages |
|
57 |
10 |
313 |
| ttm_page_pool_init_locked |
|
10 |
1 |
62 |
| ttm_page_alloc_init |
|
25 |
2 |
164 |
| ttm_page_alloc_fini |
|
10 |
2 |
57 |
| ttm_pool_populate |
|
32 |
7 |
180 |
| ttm_pool_unpopulate |
|
14 |
3 |
83 |
| ttm_page_alloc_debugfs |
|
19 |
3 |
132 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_page_alloc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_dma_page_alloc_init |
|
5 |
1 |
16 |
| ttm_dma_page_alloc_fini |
|
1 |
1 |
8 |
| ttm_dma_page_alloc_debugfs |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_tt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_tt_alloc_page_directory |
|
4 |
1 |
26 |
| ttm_dma_tt_alloc_page_directory |
|
6 |
1 |
51 |
| ttm_tt_set_page_caching |
|
18 |
6 |
97 |
| ttm_tt_set_page_caching |
|
6 |
1 |
20 |
| ttm_tt_set_caching |
|
37 |
10 |
207 |
| ttm_tt_set_placement_caching |
|
11 |
3 |
50 |
| ttm_tt_destroy |
|
16 |
6 |
93 |
| ttm_tt_init |
|
20 |
2 |
116 |
| ttm_tt_fini |
|
5 |
1 |
22 |
| ttm_dma_tt_init |
|
22 |
3 |
139 |
| ttm_dma_tt_fini |
|
8 |
1 |
45 |
| ttm_tt_unbind |
|
9 |
2 |
44 |
| ttm_tt_bind |
|
16 |
5 |
93 |
| ttm_tt_swapin |
|
30 |
5 |
190 |
| ttm_tt_swapout |
|
43 |
11 |
279 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_agp_backend.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttm_agp_bind |
|
21 |
3 |
175 |
| ttm_agp_unbind |
|
18 |
3 |
113 |
| ttm_agp_destroy |
|
8 |
2 |
45 |
| ttm_agp_tt_create |
|
17 |
3 |
102 |
| ttm_agp_tt_populate |
|
6 |
2 |
26 |
| ttm_agp_tt_unpopulate |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/ttm/ttm_placement.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs600d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_fence_later |
|
16 |
4 |
66 |
| radeon_fence_is_earlier |
|
12 |
3 |
54 |
| rv370_pcie_rreg |
|
7 |
1 |
40 |
| rv370_pcie_wreg |
|
5 |
1 |
39 |
| radeon_ring_write |
|
7 |
1 |
42 |
| radeon_acpi_init |
|
1 |
1 |
12 |
| radeon_acpi_fini |
|
1 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r300d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv515.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rv515_debugfs |
|
12 |
4 |
51 |
| rv515_ring_start |
|
66 |
2 |
542 |
| rv515_mc_wait_for_idle |
|
13 |
3 |
59 |
| rv515_vga_render_disable |
|
5 |
1 |
21 |
| rv515_gpu_init |
|
24 |
4 |
131 |
| rv515_vram_get_type |
|
18 |
3 |
81 |
| rv515_mc_init |
|
10 |
2 |
65 |
| rv515_mc_rreg |
|
8 |
1 |
45 |
| rv515_mc_wreg |
|
6 |
1 |
46 |
| rv515_debugfs_pipes_info |
|
16 |
1 |
117 |
| rv515_debugfs_ga_info |
|
13 |
1 |
90 |
| rv515_debugfs_pipes_info_init |
|
5 |
2 |
22 |
| rv515_debugfs_ga_info_init |
|
5 |
2 |
22 |
| rv515_mc_stop |
|
66 |
14 |
481 |
| rv515_mc_resume |
|
78 |
18 |
548 |
| rv515_mc_program |
|
26 |
3 |
196 |
| rv515_clock_startup |
|
11 |
3 |
70 |
| rv515_startup |
|
38 |
9 |
198 |
| rv515_resume |
|
21 |
4 |
105 |
| rv515_suspend |
|
9 |
2 |
40 |
| rv515_set_safe_registers |
|
5 |
1 |
32 |
| rv515_fini |
|
15 |
1 |
72 |
| rv515_init |
|
59 |
13 |
286 |
| atom_rv515_force_tv_scaler |
|
228 |
1 |
1621 |
| rv515_crtc_bandwidth_compute |
|
83 |
9 |
789 |
| rv515_bandwidth_avivo_update |
|
134 |
26 |
1184 |
| rv515_bandwidth_update |
|
23 |
7 |
166 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/si.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| si_get_temp |
|
13 |
2 |
59 |
| si_mc_load_microcode |
|
60 |
14 |
363 |
| si_init_microcode |
|
119 |
21 |
668 |
| dce6_line_buffer_adjust |
|
40 |
10 |
188 |
| si_get_number_of_dram_channels |
|
25 |
10 |
86 |
| dce6_dram_bandwidth |
|
16 |
1 |
123 |
| dce6_dram_bandwidth_for_display |
|
16 |
1 |
123 |
| dce6_data_return_bandwidth |
|
16 |
1 |
117 |
| dce6_get_dmif_bytes_per_request |
|
4 |
1 |
12 |
| dce6_dmif_request_bandwidth |
|
24 |
1 |
209 |
| dce6_available_bandwidth |
|
7 |
1 |
46 |
| dce6_average_bandwidth |
|
17 |
1 |
122 |
| dce6_latency_watermark |
|
50 |
9 |
461 |
| dce6_average_bandwidth_vs_dram_bandwidth_for_display |
|
8 |
2 |
34 |
| dce6_average_bandwidth_vs_available_bandwidth |
|
8 |
2 |
34 |
| dce6_check_latency_hiding |
|
22 |
4 |
117 |
| dce6_program_watermarks |
|
91 |
11 |
734 |
| dce6_bandwidth_update |
|
20 |
4 |
205 |
| si_tiling_mode_table_init |
|
498 |
55 |
2442 |
| si_select_se_sh |
|
14 |
5 |
92 |
| si_create_bitmask |
|
9 |
2 |
41 |
| si_get_cu_enabled |
|
13 |
2 |
63 |
| si_setup_spi |
|
24 |
5 |
141 |
| si_get_rb_disabled |
|
15 |
2 |
68 |
| si_setup_rb |
|
45 |
10 |
303 |
| si_gpu_init |
|
173 |
16 |
1349 |
| si_scratch_init |
|
10 |
2 |
79 |
| si_fence_ring_emit |
|
23 |
1 |
198 |
| si_ring_ib_execute |
|
47 |
8 |
386 |
| si_cp_enable |
|
14 |
2 |
95 |
| si_cp_load_microcode |
|
28 |
6 |
218 |
| si_cp_start |
|
49 |
5 |
385 |
| si_cp_fini |
|
14 |
1 |
99 |
| si_cp_resume |
|
89 |
8 |
729 |
| si_gpu_is_lockup |
|
17 |
2 |
96 |
| si_gpu_soft_reset_gfx |
|
46 |
2 |
255 |
| si_gpu_soft_reset_dma |
|
20 |
2 |
121 |
| si_gpu_soft_reset |
|
26 |
7 |
165 |
| si_asic_reset |
|
6 |
1 |
23 |
| si_mc_program |
|
39 |
4 |
319 |
| si_vram_location |
|
14 |
2 |
109 |
| si_gtt_location |
|
22 |
4 |
186 |
| si_vram_gtt_location |
|
12 |
2 |
72 |
| si_mc_init |
|
60 |
14 |
283 |
| si_pcie_gart_tlb_flush |
|
5 |
1 |
23 |
| si_pcie_gart_enable |
|
69 |
5 |
419 |
| si_pcie_gart_disable |
|
15 |
1 |
75 |
| si_pcie_gart_fini |
|
6 |
1 |
24 |
| si_vm_reg_valid |
|
37 |
28 |
115 |
| si_vm_packet3_ce_check |
|
21 |
11 |
76 |
| si_vm_packet3_cp_dma_check |
|
48 |
13 |
279 |
| si_vm_packet3_gfx_check |
|
116 |
69 |
535 |
| si_vm_packet3_compute_check |
|
86 |
48 |
390 |
| si_ib_parse |
|
49 |
10 |
268 |
| si_vm_init |
|
6 |
1 |
28 |
| si_vm_fini |
|
3 |
1 |
9 |
| si_vm_set_page |
|
82 |
16 |
521 |
| si_vm_flush |
|
32 |
3 |
275 |
| si_dma_vm_flush |
|
19 |
3 |
238 |
| si_rlc_fini |
|
22 |
5 |
170 |
| si_rlc_init |
|
50 |
9 |
304 |
| si_rlc_stop |
|
4 |
1 |
16 |
| si_rlc_start |
|
4 |
1 |
16 |
| si_rlc_resume |
|
25 |
3 |
169 |
| si_enable_interrupts |
|
10 |
1 |
55 |
| si_disable_interrupts |
|
13 |
1 |
77 |
| si_disable_interrupt_state |
|
45 |
5 |
333 |
| si_irq_init |
|
40 |
6 |
264 |
| si_irq_set |
|
134 |
30 |
931 |
| si_irq_ack |
|
90 |
29 |
862 |
| si_irq_disable |
|
7 |
1 |
29 |
| si_irq_suspend |
|
5 |
1 |
19 |
| si_irq_fini |
|
5 |
1 |
19 |
| si_get_ih_wptr |
|
17 |
3 |
130 |
| si_irq_process |
|
290 |
75 |
1710 |
| si_copy_dma |
|
53 |
7 |
360 |
| si_startup |
|
129 |
32 |
740 |
| si_resume |
|
13 |
2 |
57 |
| si_suspend |
|
10 |
1 |
44 |
| si_init |
|
76 |
13 |
453 |
| si_fini |
|
20 |
2 |
97 |
| si_get_gpu_clock |
|
10 |
1 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atombios_dp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_atom_copy_swap |
|
24 |
7 |
214 |
| radeon_process_aux_ch |
|
48 |
8 |
351 |
| radeon_dp_aux_transfer_atom |
|
50 |
13 |
348 |
| radeon_dp_aux_init |
|
20 |
4 |
141 |
| dp_get_adjust_train |
|
29 |
7 |
182 |
| convert_bpc_to_bpp |
|
7 |
2 |
22 |
| radeon_dp_get_dp_link_config |
|
34 |
8 |
226 |
| radeon_dp_encoder_service |
|
15 |
1 |
102 |
| radeon_dp_getsinktype |
|
7 |
1 |
49 |
| radeon_dp_probe_oui |
|
13 |
4 |
120 |
| radeon_dp_getdpcd |
|
19 |
3 |
120 |
| radeon_dp_get_panel_mode |
|
35 |
11 |
198 |
| radeon_dp_set_link_config |
|
21 |
5 |
111 |
| radeon_dp_mode_valid_helper |
|
24 |
7 |
124 |
| radeon_dp_needs_link_train |
|
11 |
3 |
60 |
| radeon_dp_set_rx_power_state |
|
14 |
3 |
76 |
| radeon_dp_update_vs_emph |
|
8 |
1 |
44 |
| radeon_dp_set_tp |
|
30 |
8 |
134 |
| radeon_dp_link_train_init |
|
31 |
6 |
204 |
| radeon_dp_link_train_finish |
|
14 |
3 |
73 |
| radeon_dp_link_train_cr |
|
54 |
10 |
296 |
| radeon_dp_link_train_ce |
|
39 |
7 |
193 |
| radeon_dp_link_train |
|
64 |
16 |
381 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atombios_crtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atombios_overscan_setup |
|
40 |
6 |
378 |
| atombios_scaler_setup |
|
77 |
22 |
383 |
| atombios_lock_crtc |
|
13 |
1 |
98 |
| atombios_enable_crtc |
|
12 |
1 |
98 |
| atombios_enable_crtc_memreq |
|
12 |
1 |
98 |
| atombios_blank_crtc |
|
12 |
1 |
98 |
| atombios_powergate_crtc |
|
12 |
1 |
98 |
| atombios_crtc_dpms |
|
30 |
10 |
181 |
| atombios_set_crtc_dtd_timing |
|
40 |
6 |
338 |
| atombios_crtc_set_timing |
|
38 |
6 |
298 |
| atombios_disable_ss |
|
37 |
11 |
154 |
| atombios_crtc_program_ss |
|
96 |
31 |
729 |
| atombios_adjust_pll |
|
152 |
46 |
1031 |
| atombios_crtc_set_disp_eng_pll |
|
39 |
7 |
217 |
| atombios_crtc_program_pll |
|
130 |
24 |
814 |
| atombios_crtc_prepare_pll |
|
86 |
14 |
418 |
| atombios_crtc_set_pll |
|
61 |
10 |
510 |
| dce4_crtc_do_set_base |
|
169 |
34 |
1057 |
| avivo_crtc_do_set_base |
|
139 |
27 |
823 |
| atombios_crtc_set_base |
|
12 |
3 |
96 |
| atombios_crtc_set_base_atomic |
|
13 |
3 |
100 |
| radeon_legacy_atom_fixup |
|
21 |
3 |
114 |
| radeon_get_pll_use_mask |
|
15 |
3 |
85 |
| radeon_get_shared_dp_ppll |
|
17 |
5 |
92 |
| radeon_get_shared_nondp_ppll |
|
30 |
11 |
186 |
| radeon_atom_pick_pll |
|
76 |
24 |
443 |
| radeon_atom_disp_eng_pll_init |
|
16 |
5 |
109 |
| atombios_crtc_mode_set |
|
33 |
6 |
199 |
| atombios_crtc_mode_fixup |
|
29 |
8 |
185 |
| atombios_crtc_prepare |
|
11 |
2 |
71 |
| atombios_crtc_commit |
|
7 |
1 |
39 |
| atombios_crtc_disable |
|
38 |
11 |
256 |
| radeon_atombios_init_crtc |
|
39 |
9 |
169 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_hdmi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| r600_hdmi_calc_cts |
|
7 |
2 |
51 |
| r600_hdmi_acr |
|
13 |
3 |
100 |
| r600_hdmi_update_ACR |
|
15 |
1 |
142 |
| r600_hdmi_infoframe_checksum |
|
11 |
2 |
66 |
| r600_hdmi_videoinfoframe |
|
63 |
1 |
521 |
| r600_hdmi_audioinfoframe |
|
35 |
1 |
307 |
| r600_hdmi_is_audio_buffer_filled |
|
9 |
1 |
69 |
| r600_hdmi_buffer_status_changed |
|
12 |
3 |
78 |
| r600_hdmi_audio_workaround |
|
17 |
3 |
93 |
| r600_hdmi_setmode |
|
55 |
5 |
327 |
| r600_hdmi_update_audio_settings |
|
70 |
19 |
408 |
| r600_hdmi_enable |
|
49 |
12 |
261 |
| r600_hdmi_disable |
|
42 |
11 |
217 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv200d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/si_blit_shaders.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreend.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_gart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_gart_table_ram_alloc |
|
19 |
7 |
155 |
| radeon_gart_table_ram_free |
|
9 |
2 |
52 |
| radeon_gart_table_vram_alloc |
|
13 |
3 |
64 |
| radeon_gart_table_vram_pin |
|
20 |
4 |
125 |
| radeon_gart_table_vram_unpin |
|
14 |
3 |
85 |
| radeon_gart_table_vram_free |
|
8 |
2 |
38 |
| radeon_gart_unbind |
|
29 |
6 |
187 |
| radeon_gart_bind |
|
28 |
5 |
190 |
| radeon_gart_restore |
|
17 |
4 |
110 |
| radeon_gart_init |
|
33 |
8 |
223 |
| radeon_gart_fini |
|
12 |
4 |
91 |
| radeon_vm_num_pdes |
|
4 |
1 |
19 |
| radeon_vm_directory_size |
|
4 |
1 |
20 |
| radeon_vm_manager_init |
|
36 |
6 |
201 |
| radeon_vm_free_pt |
|
18 |
4 |
122 |
| radeon_vm_manager_fini |
|
21 |
3 |
156 |
| radeon_vm_evict |
|
14 |
3 |
88 |
| radeon_vm_alloc_pt |
|
36 |
7 |
216 |
| radeon_vm_add_to_lru |
|
5 |
1 |
37 |
| radeon_vm_grab_id |
|
29 |
9 |
215 |
| radeon_vm_fence |
|
9 |
1 |
67 |
| radeon_vm_bo_find |
|
11 |
2 |
48 |
| radeon_vm_bo_add |
|
24 |
2 |
151 |
| radeon_vm_bo_set_addr |
|
53 |
9 |
313 |
| radeon_vm_map_gart |
|
7 |
1 |
40 |
| radeon_vm_update_pdes |
|
50 |
10 |
285 |
| radeon_vm_update_ptes |
|
42 |
6 |
229 |
| radeon_vm_bo_update_pte |
|
88 |
22 |
570 |
| radeon_vm_bo_rmv |
|
16 |
2 |
108 |
| radeon_vm_bo_invalidate |
|
8 |
1 |
38 |
| radeon_vm_init |
|
8 |
1 |
52 |
| radeon_vm_fini |
|
24 |
3 |
167 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_benchmark.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_benchmark_do_move |
|
39 |
7 |
184 |
| radeon_benchmark_log_results |
|
11 |
2 |
68 |
| radeon_benchmark_move |
|
72 |
19 |
424 |
| radeon_benchmark |
|
73 |
15 |
382 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r500_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_display.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| avivo_crtc_load_lut |
|
26 |
2 |
225 |
| dce4_crtc_load_lut |
|
24 |
2 |
219 |
| dce5_crtc_load_lut |
|
49 |
2 |
388 |
| legacy_crtc_load_lut |
|
21 |
3 |
140 |
| radeon_crtc_load_lut |
|
15 |
5 |
80 |
| radeon_crtc_fb_gamma_set |
|
8 |
1 |
67 |
| radeon_crtc_fb_gamma_get |
|
8 |
1 |
73 |
| radeon_crtc_gamma_set |
|
12 |
3 |
121 |
| radeon_crtc_destroy |
|
6 |
1 |
29 |
| radeon_unpin_work_func |
|
16 |
3 |
93 |
| radeon_crtc_handle_flip |
|
42 |
12 |
323 |
| radeon_crtc_page_flip |
|
125 |
18 |
779 |
| radeon_crtc_init |
|
25 |
7 |
241 |
| radeon_print_display_setup |
|
74 |
24 |
521 |
| radeon_setup_enc_conn |
|
24 |
7 |
119 |
| radeon_ddc_get_modes |
|
45 |
18 |
354 |
| avivo_get_fb_div |
|
16 |
3 |
88 |
| avivo_get_post_div |
|
32 |
10 |
159 |
| radeon_compute_pll_avivo |
|
52 |
9 |
328 |
| radeon_div |
|
7 |
1 |
30 |
| radeon_compute_pll_legacy |
|
163 |
53 |
996 |
| radeon_user_framebuffer_destroy |
|
9 |
2 |
44 |
| radeon_user_framebuffer_create_handle |
|
7 |
1 |
41 |
| radeon_framebuffer_init |
|
15 |
2 |
76 |
| radeon_user_framebuffer_create |
|
26 |
4 |
157 |
| radeon_output_poll_changed |
|
5 |
1 |
23 |
| radeon_modeset_create_props |
|
43 |
7 |
260 |
| radeon_update_display_priority |
|
11 |
6 |
71 |
| radeon_afmt_init |
|
65 |
18 |
685 |
| radeon_afmt_fini |
|
8 |
2 |
50 |
| radeon_modeset_init |
|
46 |
8 |
285 |
| radeon_modeset_fini |
|
14 |
2 |
75 |
| is_hdtv_mode |
|
10 |
6 |
57 |
| radeon_crtc_scaling_mode_fixup |
|
79 |
16 |
560 |
| radeon_get_crtc_scanoutpos |
|
107 |
23 |
622 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_asic.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen_blit_shaders.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_legacy_encoders.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_legacy_encoder_disable |
|
8 |
1 |
46 |
| radeon_legacy_lvds_update |
|
77 |
18 |
460 |
| radeon_legacy_lvds_dpms |
|
16 |
3 |
94 |
| radeon_legacy_lvds_prepare |
|
9 |
2 |
48 |
| radeon_legacy_lvds_commit |
|
9 |
2 |
48 |
| radeon_legacy_lvds_mode_set |
|
58 |
10 |
350 |
| radeon_legacy_mode_fixup |
|
11 |
2 |
62 |
| radeon_legacy_get_backlight_level |
|
9 |
1 |
49 |
| radeon_legacy_set_backlight_level |
|
24 |
5 |
134 |
| radeon_legacy_lvds_level |
|
14 |
4 |
75 |
| radeon_legacy_backlight_update_status |
|
8 |
1 |
41 |
| radeon_legacy_backlight_get_brightness |
|
11 |
2 |
76 |
| radeon_legacy_backlight_init |
|
64 |
18 |
374 |
| radeon_legacy_backlight_exit |
|
24 |
4 |
131 |
| radeon_legacy_backlight_init |
|
3 |
1 |
9 |
| radeon_legacy_backlight_exit |
|
3 |
1 |
9 |
| radeon_lvds_enc_destroy |
|
10 |
2 |
49 |
| radeon_legacy_primary_dac_dpms |
|
35 |
9 |
186 |
| radeon_legacy_primary_dac_prepare |
|
9 |
2 |
48 |
| radeon_legacy_primary_dac_commit |
|
9 |
2 |
48 |
| radeon_legacy_primary_dac_mode_set |
|
49 |
8 |
293 |
| radeon_legacy_primary_dac_detect |
|
53 |
6 |
303 |
| radeon_legacy_tmds_int_dpms |
|
22 |
8 |
125 |
| radeon_legacy_tmds_int_prepare |
|
9 |
2 |
48 |
| radeon_legacy_tmds_int_commit |
|
9 |
2 |
48 |
| radeon_legacy_tmds_int_mode_set |
|
84 |
20 |
472 |
| radeon_legacy_tmds_ext_dpms |
|
24 |
8 |
133 |
| radeon_legacy_tmds_ext_prepare |
|
9 |
2 |
48 |
| radeon_legacy_tmds_ext_commit |
|
9 |
2 |
48 |
| radeon_legacy_tmds_ext_mode_set |
|
56 |
15 |
313 |
| radeon_ext_tmds_enc_destroy |
|
7 |
1 |
36 |
| radeon_legacy_tv_dac_dpms |
|
81 |
24 |
394 |
| radeon_legacy_tv_dac_prepare |
|
9 |
2 |
48 |
| radeon_legacy_tv_dac_commit |
|
9 |
2 |
48 |
| radeon_legacy_tv_dac_mode_set |
|
133 |
35 |
736 |
| r300_legacy_tv_detect |
|
57 |
3 |
320 |
| radeon_legacy_tv_detect |
|
54 |
5 |
304 |
| radeon_legacy_ext_dac_detect |
|
75 |
5 |
457 |
| radeon_legacy_tv_dac_detect |
|
120 |
26 |
700 |
| radeon_legacy_get_tmds_info |
|
17 |
4 |
101 |
| radeon_legacy_get_ext_tmds_info |
|
16 |
4 |
94 |
| radeon_add_legacy_encoder |
|
65 |
13 |
404 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r300_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atom-types.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r200_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atom-bits.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_u8 |
|
4 |
1 |
24 |
| get_u16 |
|
4 |
1 |
38 |
| get_u32 |
|
4 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_cursor.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_lock_cursor |
|
28 |
6 |
163 |
| radeon_hide_cursor |
|
26 |
5 |
132 |
| radeon_show_cursor |
|
29 |
5 |
163 |
| radeon_set_cursor |
|
24 |
5 |
160 |
| radeon_crtc_cursor_set |
|
58 |
10 |
322 |
| radeon_crtc_cursor_move |
|
77 |
16 |
554 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r100_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r100d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_blit_shaders.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_mode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atombios_i2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_process_i2c_ch |
|
46 |
10 |
296 |
| radeon_atom_hw_i2c_xfer |
|
44 |
9 |
226 |
| radeon_atom_hw_i2c_func |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_asic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_invalid_rreg |
|
6 |
1 |
27 |
| radeon_invalid_wreg |
|
6 |
1 |
29 |
| radeon_register_accessor_init |
|
42 |
11 |
256 |
| radeon_agp_disable |
|
22 |
6 |
146 |
| radeon_asic_init |
|
129 |
62 |
549 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs690.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rs690_mc_wait_for_idle |
|
12 |
3 |
58 |
| rs690_gpu_init |
|
8 |
2 |
30 |
| rs690_pm_info |
|
69 |
9 |
754 |
| rs690_mc_init |
|
26 |
3 |
220 |
| rs690_line_buffer_adjust |
|
27 |
9 |
136 |
| rs690_crtc_bandwidth_compute |
|
109 |
16 |
1078 |
| rs690_bandwidth_update |
|
150 |
35 |
1349 |
| rs690_mc_rreg |
|
8 |
1 |
42 |
| rs690_mc_wreg |
|
7 |
1 |
44 |
| rs690_mc_program |
|
13 |
2 |
91 |
| rs690_startup |
|
41 |
9 |
213 |
| rs690_resume |
|
20 |
3 |
97 |
| rs690_suspend |
|
9 |
1 |
37 |
| rs690_fini |
|
15 |
1 |
72 |
| rs690_init |
|
53 |
11 |
258 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/si_blit_shaders.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atombios_encoders.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_atom_get_backlight_level_from_reg |
|
12 |
2 |
54 |
| radeon_atom_set_backlight_level_to_reg |
|
16 |
3 |
78 |
| atombios_get_backlight_level |
|
8 |
2 |
51 |
| atombios_set_backlight_level |
|
45 |
12 |
279 |
| radeon_atom_bl_level |
|
11 |
3 |
53 |
| radeon_atom_backlight_update_status |
|
7 |
1 |
41 |
| radeon_atom_backlight_get_brightness |
|
8 |
1 |
54 |
| radeon_atom_backlight_init |
|
46 |
7 |
268 |
| radeon_atom_backlight_exit |
|
23 |
5 |
125 |
| radeon_atom_backlight_init |
|
3 |
1 |
9 |
| radeon_atom_backlight_exit |
|
3 |
1 |
9 |
| radeon_encoder_is_digital |
|
20 |
12 |
68 |
| radeon_atom_mode_fixup |
|
33 |
12 |
229 |
| atombios_dac_setup |
|
44 |
15 |
235 |
| atombios_tv_setup |
|
47 |
10 |
265 |
| radeon_atom_get_bpc |
|
22 |
8 |
79 |
| atombios_dvo_setup |
|
45 |
9 |
316 |
| atombios_digital_setup |
|
103 |
32 |
658 |
| atombios_get_encoder_mode |
|
67 |
29 |
291 |
| atombios_dig_encoder_setup |
|
125 |
33 |
832 |
| atombios_dig_transmitter_setup |
|
315 |
99 |
2089 |
| atombios_set_edp_panel_power |
|
32 |
9 |
217 |
| atombios_external_encoder_setup |
|
92 |
20 |
622 |
| atombios_yuv_setup |
|
28 |
5 |
215 |
| radeon_atom_encoder_dpms_avivo |
|
75 |
24 |
467 |
| radeon_atom_encoder_dpms_dig |
|
83 |
30 |
585 |
| radeon_atom_encoder_dpms_ext |
|
30 |
9 |
143 |
| radeon_atom_encoder_dpms |
|
66 |
29 |
297 |
| atombios_set_encoder_crtc_source |
|
136 |
44 |
757 |
| atombios_apply_encoder_quirks |
|
34 |
10 |
217 |
| radeon_atom_pick_dig_encoder |
|
85 |
26 |
381 |
| radeon_atom_encoder_init |
|
22 |
8 |
120 |
| radeon_atom_encoder_mode_set |
|
56 |
24 |
281 |
| atombios_dac_load_detect |
|
39 |
11 |
301 |
| radeon_atom_dac_detect |
|
36 |
13 |
210 |
| radeon_atom_dig_detect |
|
38 |
14 |
227 |
| radeon_atom_ext_encoder_setup_ddc |
|
7 |
2 |
32 |
| radeon_atom_encoder_prepare |
|
31 |
9 |
192 |
| radeon_atom_encoder_commit |
|
5 |
1 |
23 |
| radeon_atom_encoder_disable |
|
52 |
22 |
256 |
| radeon_atom_ext_prepare |
|
3 |
1 |
9 |
| radeon_atom_ext_commit |
|
3 |
1 |
9 |
| radeon_atom_ext_mode_set |
|
5 |
1 |
19 |
| radeon_atom_ext_disable |
|
3 |
1 |
9 |
| radeon_atom_ext_dpms |
|
3 |
1 |
12 |
| radeon_atom_ext_mode_fixup |
|
6 |
1 |
23 |
| radeon_enc_destroy |
|
9 |
2 |
51 |
| radeon_atombios_set_dac_info |
|
10 |
2 |
65 |
| radeon_atombios_set_dig_info |
|
14 |
3 |
82 |
| radeon_add_atom_encoder |
|
109 |
36 |
609 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atombios.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_prime.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_gem_map_dma_buf |
|
14 |
1 |
105 |
| radeon_gem_unmap_dma_buf |
|
7 |
1 |
45 |
| radeon_gem_dmabuf_release |
|
9 |
2 |
56 |
| radeon_gem_kmap_atomic |
|
4 |
1 |
16 |
| radeon_gem_kunmap_atomic |
|
3 |
1 |
17 |
| radeon_gem_kmap |
|
4 |
1 |
16 |
| radeon_gem_kunmap |
|
3 |
1 |
17 |
| radeon_gem_prime_mmap |
|
4 |
1 |
18 |
| radeon_gem_prime_vmap |
|
21 |
3 |
122 |
| radeon_gem_prime_vunmap |
|
11 |
2 |
72 |
| radeon_prime_create |
|
19 |
2 |
116 |
| radeon_gem_prime_export |
|
17 |
3 |
104 |
| radeon_gem_prime_import |
|
34 |
6 |
195 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| debug_print_spaces |
|
5 |
2 |
17 |
| atom_iio_execute |
|
73 |
12 |
466 |
| atom_get_src_int |
|
186 |
54 |
950 |
| atom_skip_src_int |
|
35 |
17 |
138 |
| atom_get_src |
|
4 |
1 |
29 |
| atom_get_src_direct |
|
24 |
9 |
103 |
| atom_get_dst |
|
8 |
1 |
64 |
| atom_skip_dst |
|
6 |
1 |
52 |
| atom_put_dst |
|
138 |
31 |
729 |
| atom_op_add |
|
13 |
1 |
104 |
| atom_op_and |
|
13 |
1 |
104 |
| atom_op_beep |
|
4 |
1 |
20 |
| atom_op_calltable |
|
14 |
4 |
106 |
| atom_op_clear |
|
11 |
1 |
90 |
| atom_op_compare |
|
13 |
3 |
119 |
| atom_op_delay |
|
11 |
3 |
64 |
| atom_op_div |
|
16 |
2 |
129 |
| atom_op_eot |
|
3 |
1 |
15 |
| atom_op_jump |
|
50 |
16 |
279 |
| atom_op_mask |
|
16 |
1 |
137 |
| atom_op_move |
|
16 |
2 |
124 |
| atom_op_mul |
|
10 |
1 |
83 |
| atom_op_nop |
|
3 |
1 |
15 |
| atom_op_or |
|
13 |
1 |
104 |
| atom_op_postcard |
|
5 |
1 |
34 |
| atom_op_repeat |
|
4 |
1 |
21 |
| atom_op_restorereg |
|
4 |
1 |
21 |
| atom_op_savereg |
|
4 |
1 |
21 |
| atom_op_setdatablock |
|
13 |
3 |
100 |
| atom_op_setfbbase |
|
6 |
1 |
47 |
| atom_op_setport |
|
26 |
6 |
132 |
| atom_op_setregblock |
|
6 |
1 |
45 |
| atom_op_shift_left |
|
15 |
1 |
124 |
| atom_op_shift_right |
|
15 |
1 |
124 |
| atom_op_shl |
|
17 |
1 |
151 |
| atom_op_shr |
|
17 |
1 |
151 |
| atom_op_sub |
|
13 |
1 |
104 |
| atom_op_switch |
|
26 |
4 |
159 |
| atom_op_test |
|
11 |
2 |
101 |
| atom_op_xor |
|
13 |
1 |
104 |
| atom_op_debug |
|
4 |
1 |
21 |
| atom_execute_table_locked |
|
52 |
10 |
320 |
| atom_execute_table |
|
14 |
1 |
91 |
| atom_index_iio |
|
11 |
3 |
79 |
| atom_parse |
|
48 |
13 |
302 |
| atom_asic_init |
|
23 |
7 |
182 |
| atom_destroy |
|
6 |
2 |
27 |
| atom_parse_data_header |
|
18 |
5 |
128 |
| atom_parse_cmd_header |
|
14 |
4 |
103 |
| atom_allocate_fb_scratch |
|
22 |
4 |
161 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/ObjectID.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/si_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r420d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs600.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| avivo_is_in_vblank |
|
7 |
2 |
33 |
| avivo_is_counter_moving |
|
10 |
2 |
54 |
| avivo_wait_for_vblank |
|
20 |
9 |
115 |
| rs600_pre_page_flip |
|
4 |
1 |
19 |
| rs600_post_page_flip |
|
4 |
1 |
19 |
| rs600_page_flip |
|
21 |
3 |
156 |
| rs600_pm_misc |
|
84 |
22 |
555 |
| rs600_pm_prepare |
|
15 |
2 |
87 |
| rs600_pm_finish |
|
15 |
2 |
87 |
| rs600_hpd_sense |
|
20 |
5 |
80 |
| rs600_hpd_set_polarity |
|
26 |
5 |
112 |
| rs600_hpd_init |
|
24 |
3 |
126 |
| rs600_hpd_fini |
|
23 |
3 |
115 |
| rs600_asic_reset |
|
52 |
6 |
359 |
| rs600_gart_tlb_flush |
|
14 |
1 |
85 |
| rs600_gart_init |
|
14 |
3 |
68 |
| rs600_gart_enable |
|
51 |
5 |
333 |
| rs600_gart_disable |
|
8 |
1 |
40 |
| rs600_gart_fini |
|
6 |
1 |
24 |
| rs600_gart_set_page |
|
13 |
3 |
78 |
| rs600_irq_set |
|
47 |
12 |
296 |
| rs600_irq_ack |
|
43 |
9 |
295 |
| rs600_irq_disable |
|
10 |
1 |
53 |
| rs600_irq_process |
|
69 |
23 |
442 |
| rs600_get_vblank_counter |
|
7 |
2 |
31 |
| rs600_mc_wait_for_idle |
|
10 |
3 |
51 |
| rs600_gpu_init |
|
6 |
2 |
30 |
| rs600_mc_init |
|
18 |
1 |
146 |
| rs600_bandwidth_update |
|
22 |
4 |
170 |
| rs600_mc_rreg |
|
6 |
1 |
33 |
| rs600_mc_wreg |
|
6 |
1 |
42 |
| rs600_debugfs |
|
5 |
2 |
21 |
| rs600_set_safe_registers |
|
5 |
1 |
32 |
| rs600_mc_program |
|
16 |
2 |
112 |
| rs600_startup |
|
41 |
9 |
213 |
| rs600_resume |
|
20 |
3 |
97 |
| rs600_suspend |
|
9 |
1 |
37 |
| rs600_fini |
|
15 |
1 |
72 |
| rs600_init |
|
53 |
11 |
258 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r520d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv770.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rv770_page_flip |
|
28 |
4 |
207 |
| rv770_get_temp |
|
16 |
4 |
84 |
| rv770_pm_misc |
|
16 |
5 |
127 |
| rv770_pcie_gart_enable |
|
46 |
5 |
330 |
| rv770_pcie_gart_disable |
|
20 |
2 |
141 |
| rv770_pcie_gart_fini |
|
6 |
1 |
24 |
| rv770_agp_enable |
|
23 |
2 |
148 |
| rv770_mc_program |
|
58 |
7 |
455 |
| r700_cp_stop |
|
7 |
1 |
49 |
| rv770_cp_load_microcode |
|
28 |
6 |
196 |
| r700_cp_fini |
|
7 |
1 |
43 |
| rv770_gpu_init |
|
367 |
40 |
2920 |
| r700_vram_gtt_location |
|
36 |
6 |
244 |
| rv770_mc_init |
|
39 |
7 |
204 |
| rv770_copy_dma |
|
53 |
7 |
364 |
| rv770_startup |
|
88 |
22 |
473 |
| rv770_resume |
|
13 |
2 |
57 |
| rv770_suspend |
|
10 |
1 |
42 |
| rv770_init |
|
63 |
14 |
359 |
| rv770_fini |
|
19 |
1 |
92 |
| rv770_pcie_gen2_enable |
|
67 |
11 |
363 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| evergreen_tiling_fields |
|
30 |
13 |
218 |
| evergreen_fix_pci_max_read_req_size |
|
15 |
5 |
122 |
| dce4_is_in_vblank |
|
7 |
2 |
33 |
| dce4_is_counter_moving |
|
10 |
2 |
54 |
| dce4_wait_for_vblank |
|
20 |
9 |
115 |
| evergreen_pre_page_flip |
|
4 |
1 |
19 |
| evergreen_post_page_flip |
|
4 |
1 |
19 |
| evergreen_page_flip |
|
25 |
3 |
184 |
| evergreen_get_temp |
|
30 |
6 |
168 |
| sumo_get_temp |
|
6 |
1 |
31 |
| sumo_pm_init_profile |
|
39 |
2 |
448 |
| btc_pm_init_profile |
|
36 |
2 |
415 |
| evergreen_pm_misc |
|
30 |
13 |
263 |
| evergreen_pm_prepare |
|
15 |
2 |
87 |
| evergreen_pm_finish |
|
15 |
2 |
87 |
| evergreen_hpd_sense |
|
33 |
13 |
139 |
| evergreen_hpd_set_polarity |
|
58 |
13 |
228 |
| evergreen_hpd_init |
|
40 |
9 |
201 |
| evergreen_hpd_fini |
|
33 |
7 |
157 |
| evergreen_line_buffer_adjust |
|
63 |
23 |
291 |
| evergreen_get_number_of_dram_channels |
|
15 |
5 |
56 |
| evergreen_dram_bandwidth |
|
16 |
1 |
123 |
| evergreen_dram_bandwidth_for_display |
|
16 |
1 |
123 |
| evergreen_data_return_bandwidth |
|
16 |
1 |
117 |
| evergreen_dmif_request_bandwidth |
|
16 |
1 |
117 |
| evergreen_available_bandwidth |
|
7 |
1 |
46 |
| evergreen_average_bandwidth |
|
17 |
1 |
122 |
| evergreen_latency_watermark |
|
43 |
9 |
389 |
| evergreen_average_bandwidth_vs_dram_bandwidth_for_display |
|
8 |
2 |
34 |
| evergreen_average_bandwidth_vs_available_bandwidth |
|
8 |
2 |
34 |
| evergreen_check_latency_hiding |
|
22 |
4 |
117 |
| evergreen_program_watermarks |
|
89 |
10 |
711 |
| evergreen_bandwidth_update |
|
20 |
4 |
205 |
| evergreen_mc_wait_for_idle |
|
12 |
3 |
58 |
| evergreen_pcie_gart_tlb_flush |
|
19 |
4 |
96 |
| evergreen_pcie_gart_enable |
|
54 |
8 |
369 |
| evergreen_pcie_gart_disable |
|
19 |
1 |
126 |
| evergreen_pcie_gart_fini |
|
6 |
1 |
24 |
| evergreen_agp_enable |
|
22 |
1 |
133 |
| evergreen_mc_stop |
|
68 |
13 |
511 |
| evergreen_mc_resume |
|
72 |
14 |
569 |
| evergreen_mc_program |
|
66 |
10 |
546 |
| evergreen_ring_ib_execute |
|
27 |
4 |
242 |
| evergreen_cp_load_microcode |
|
24 |
6 |
172 |
| evergreen_cp_start |
|
49 |
4 |
350 |
| evergreen_cp_resume |
|
51 |
4 |
342 |
| evergreen_gpu_init |
|
483 |
50 |
4059 |
| evergreen_mc_init |
|
51 |
13 |
299 |
| evergreen_gpu_is_lockup |
|
16 |
2 |
87 |
| evergreen_gpu_soft_reset_gfx |
|
57 |
2 |
335 |
| evergreen_gpu_soft_reset_dma |
|
17 |
2 |
93 |
| evergreen_gpu_soft_reset |
|
22 |
7 |
137 |
| evergreen_asic_reset |
|
6 |
1 |
23 |
| evergreen_get_vblank_counter |
|
7 |
2 |
35 |
| evergreen_disable_interrupt_state |
|
51 |
7 |
366 |
| evergreen_irq_set |
|
185 |
41 |
1287 |
| evergreen_irq_ack |
|
126 |
35 |
1192 |
| evergreen_irq_disable |
|
7 |
1 |
29 |
| evergreen_irq_suspend |
|
5 |
1 |
19 |
| evergreen_get_ih_wptr |
|
17 |
3 |
130 |
| evergreen_irq_process |
|
343 |
91 |
2002 |
| evergreen_dma_fence_ring_emit |
|
14 |
1 |
149 |
| evergreen_dma_ring_ib_execute |
|
20 |
4 |
195 |
| evergreen_copy_dma |
|
53 |
7 |
364 |
| evergreen_startup |
|
102 |
29 |
549 |
| evergreen_resume |
|
15 |
3 |
73 |
| evergreen_suspend |
|
10 |
1 |
42 |
| evergreen_init |
|
71 |
18 |
411 |
| evergreen_fini |
|
20 |
1 |
97 |
| evergreen_pcie_gen2_enable |
|
49 |
11 |
253 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs600_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r300.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rv370_pcie_gart_tlb_flush |
|
12 |
2 |
65 |
| rv370_pcie_gart_set_page |
|
13 |
3 |
91 |
| rv370_pcie_gart_init |
|
18 |
4 |
104 |
| rv370_pcie_gart_enable |
|
36 |
3 |
219 |
| rv370_pcie_gart_disable |
|
12 |
1 |
65 |
| rv370_pcie_gart_fini |
|
6 |
1 |
24 |
| r300_fence_ring_emit |
|
26 |
1 |
231 |
| r300_ring_start |
|
86 |
6 |
552 |
| r300_errata |
|
8 |
3 |
42 |
| r300_mc_wait_for_idle |
|
13 |
3 |
59 |
| r300_gpu_init |
|
47 |
12 |
218 |
| r300_asic_reset |
|
45 |
6 |
303 |
| r300_mc_init |
|
23 |
6 |
172 |
| rv370_set_pcie_lanes |
|
47 |
12 |
189 |
| rv370_get_pcie_lanes |
|
24 |
9 |
95 |
| rv370_debugfs_pcie_gart_info |
|
22 |
1 |
165 |
| rv370_debugfs_pcie_gart_info_init |
|
5 |
2 |
22 |
| r300_packet0_check |
|
501 |
210 |
2742 |
| r300_packet3_check |
|
99 |
26 |
554 |
| r300_cs_parse |
|
38 |
8 |
206 |
| r300_set_reg_safe |
|
5 |
1 |
32 |
| r300_mc_program |
|
28 |
4 |
188 |
| r300_clock_startup |
|
11 |
5 |
79 |
| r300_startup |
|
48 |
14 |
252 |
| r300_resume |
|
23 |
5 |
116 |
| r300_suspend |
|
11 |
3 |
53 |
| r300_fini |
|
18 |
3 |
93 |
| r300_init |
|
70 |
18 |
346 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_audio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_dig_encoder |
|
19 |
12 |
66 |
| r600_audio_chipset_supported |
|
7 |
5 |
42 |
| r600_audio_status |
|
38 |
7 |
209 |
| r600_audio_update_hdmi |
|
22 |
9 |
146 |
| r600_audio_engine_enable |
|
16 |
5 |
80 |
| r600_audio_init |
|
12 |
3 |
76 |
| r600_audio_set_clock |
|
49 |
10 |
262 |
| r600_audio_fini |
|
6 |
2 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rv6xx_get_temp |
|
9 |
2 |
46 |
| r600_pm_get_dynpm_state |
|
158 |
39 |
1069 |
| rs780_pm_init_profile |
|
91 |
3 |
1153 |
| r600_pm_init_profile |
|
104 |
5 |
1288 |
| r600_pm_misc |
|
16 |
5 |
127 |
| r600_gui_idle |
|
7 |
2 |
25 |
| r600_hpd_sense |
|
52 |
20 |
215 |
| r600_hpd_set_polarity |
|
89 |
20 |
346 |
| r600_hpd_init |
|
57 |
14 |
272 |
| r600_hpd_fini |
|
49 |
11 |
219 |
| r600_pcie_gart_tlb_flush |
|
28 |
7 |
184 |
| r600_pcie_gart_init |
|
13 |
3 |
66 |
| r600_pcie_gart_enable |
|
51 |
4 |
370 |
| r600_pcie_gart_disable |
|
27 |
2 |
185 |
| r600_pcie_gart_fini |
|
6 |
1 |
24 |
| r600_agp_enable |
|
30 |
2 |
203 |
| r600_mc_wait_for_idle |
|
12 |
3 |
58 |
| r600_mc_program |
|
56 |
7 |
455 |
| r600_vram_gtt_location |
|
41 |
7 |
273 |
| r600_mc_init |
|
43 |
8 |
230 |
| r600_vram_scratch_init |
|
27 |
6 |
167 |
| r600_vram_scratch_fini |
|
14 |
3 |
87 |
| r600_gpu_soft_reset_gfx |
|
78 |
4 |
559 |
| r600_gpu_soft_reset_dma |
|
20 |
3 |
109 |
| r600_gpu_soft_reset |
|
22 |
7 |
137 |
| r600_gpu_is_lockup |
|
15 |
2 |
77 |
| r600_dma_is_lockup |
|
11 |
2 |
55 |
| r600_asic_reset |
|
6 |
1 |
23 |
| r6xx_remap_render_backend |
|
39 |
7 |
227 |
| r600_count_pipe_bits |
|
4 |
1 |
13 |
| r600_gpu_init |
|
367 |
57 |
2718 |
| r600_pciep_rreg |
|
8 |
1 |
46 |
| r600_pciep_wreg |
|
7 |
1 |
53 |
| r600_cp_stop |
|
7 |
1 |
48 |
| r600_init_microcode |
|
154 |
36 |
701 |
| r600_cp_load_microcode |
|
30 |
6 |
198 |
| r600_cp_start |
|
27 |
3 |
176 |
| r600_cp_resume |
|
44 |
4 |
318 |
| r600_ring_init |
|
16 |
3 |
103 |
| r600_cp_fini |
|
7 |
1 |
43 |
| r600_dma_stop |
|
8 |
1 |
50 |
| r600_dma_resume |
|
49 |
7 |
328 |
| r600_dma_fini |
|
5 |
1 |
27 |
| r600_scratch_init |
|
10 |
2 |
79 |
| r600_ring_test |
|
38 |
6 |
230 |
| r600_dma_ring_test |
|
38 |
6 |
227 |
| r600_fence_ring_emit |
|
39 |
3 |
360 |
| r600_semaphore_ring_emit |
|
13 |
3 |
87 |
| r600_dma_fence_ring_emit |
|
11 |
1 |
110 |
| r600_dma_semaphore_ring_emit |
|
11 |
2 |
75 |
| r600_copy_blit |
|
17 |
2 |
93 |
| r600_copy_dma |
|
53 |
7 |
370 |
| r600_set_surface_reg |
|
6 |
1 |
27 |
| r600_clear_surface_reg |
|
3 |
1 |
12 |
| r600_startup |
|
88 |
22 |
473 |
| r600_vga_set_state |
|
12 |
2 |
67 |
| r600_resume |
|
13 |
2 |
57 |
| r600_suspend |
|
10 |
1 |
42 |
| r600_init |
|
66 |
15 |
373 |
| r600_fini |
|
20 |
1 |
97 |
| r600_ring_ib_execute |
|
25 |
4 |
223 |
| r600_ib_test |
|
51 |
8 |
300 |
| r600_dma_ib_test |
|
49 |
8 |
312 |
| r600_dma_ring_ib_execute |
|
19 |
4 |
195 |
| r600_ih_ring_init |
|
9 |
1 |
65 |
| r600_ih_ring_alloc |
|
33 |
6 |
188 |
| r600_ih_ring_fini |
|
15 |
3 |
99 |
| r600_rlc_stop |
|
12 |
3 |
65 |
| r600_rlc_start |
|
4 |
1 |
16 |
| r600_rlc_init |
|
54 |
14 |
384 |
| r600_enable_interrupts |
|
10 |
1 |
55 |
| r600_disable_interrupts |
|
13 |
1 |
77 |
| r600_disable_interrupt_state |
|
51 |
3 |
365 |
| r600_irq_init |
|
43 |
7 |
273 |
| r600_irq_suspend |
|
5 |
1 |
19 |
| r600_irq_fini |
|
5 |
1 |
19 |
| r600_irq_set |
|
120 |
21 |
760 |
| r600_irq_ack |
|
113 |
24 |
853 |
| r600_irq_disable |
|
7 |
1 |
29 |
| r600_get_ih_wptr |
|
17 |
3 |
130 |
| r600_irq_process |
|
185 |
48 |
1060 |
| r600_debugfs_mc_info |
|
9 |
1 |
68 |
| r600_debugfs_mc_info_init |
|
5 |
2 |
25 |
| r600_ioctl_wait_idle |
|
11 |
5 |
83 |
| r600_set_pcie_lanes |
|
59 |
16 |
242 |
| r600_get_pcie_lanes |
|
26 |
10 |
105 |
| r600_pcie_gen2_enable |
|
94 |
23 |
525 |
| r600_get_gpu_clock |
|
10 |
1 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_combios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| combios_get_table_offset |
|
231 |
76 |
866 |
| radeon_combios_check_hardcoded_edid |
|
22 |
4 |
133 |
| radeon_bios_get_hardcoded_edid |
|
14 |
3 |
76 |
| combios_setup_i2c_bus |
|
192 |
53 |
851 |
| radeon_combios_get_i2c_info_from_table |
|
24 |
4 |
169 |
| radeon_combios_i2c_init |
|
34 |
9 |
336 |
| radeon_combios_get_clock_info |
|
65 |
8 |
483 |
| radeon_combios_sideport_present |
|
13 |
4 |
62 |
| radeon_legacy_get_primary_dac_info_from_table |
|
6 |
1 |
27 |
| radeon_combios_get_primary_dac_info |
|
43 |
13 |
296 |
| radeon_combios_get_tv_info |
|
59 |
13 |
230 |
| radeon_legacy_get_tv_dac_info_from_table |
|
10 |
3 |
67 |
| radeon_combios_get_tv_dac_info |
|
75 |
13 |
599 |
| radeon_legacy_get_lvds_info_from_regs |
|
56 |
9 |
378 |
| radeon_combios_get_lvds_info |
|
93 |
20 |
774 |
| radeon_legacy_get_tmds_info_from_table |
|
13 |
2 |
97 |
| radeon_legacy_get_tmds_info_from_combios |
|
50 |
9 |
319 |
| radeon_legacy_get_ext_tmds_info_from_table |
|
18 |
3 |
101 |
| radeon_legacy_get_ext_tmds_info_from_combios |
|
39 |
5 |
245 |
| radeon_get_legacy_connector_info_from_table |
|
694 |
57 |
3149 |
| radeon_apply_legacy_quirks |
|
21 |
10 |
108 |
| radeon_apply_legacy_tv_quirks |
|
16 |
10 |
99 |
| combios_check_dl_dvi |
|
33 |
9 |
132 |
| radeon_get_legacy_connector_info_from_bios |
|
302 |
37 |
1204 |
| radeon_combios_get_power_modes |
|
175 |
37 |
1661 |
| radeon_external_tmds_setup |
|
30 |
4 |
132 |
| radeon_combios_external_tmds_setup |
|
128 |
18 |
660 |
| combios_parse_mmio_table |
|
76 |
15 |
331 |
| combios_parse_pll_table |
|
84 |
18 |
336 |
| combios_parse_ram_reset_table |
|
41 |
7 |
175 |
| combios_detect_ram |
|
23 |
4 |
133 |
| combios_write_ram_size |
|
54 |
14 |
275 |
| radeon_combios_asic_init |
|
45 |
19 |
267 |
| radeon_combios_initialize_bios_scratch_regs |
|
15 |
1 |
83 |
| radeon_combios_output_lock |
|
12 |
2 |
60 |
| radeon_combios_connected_scratch_regs |
|
98 |
19 |
463 |
| radeon_combios_encoder_crtc_scratch_regs |
|
32 |
7 |
193 |
| radeon_combios_encoder_dpms_scratch_regs |
|
32 |
9 |
155 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/ni.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ni_mc_load_microcode |
|
60 |
14 |
366 |
| ni_init_microcode |
|
120 |
21 |
643 |
| cayman_gpu_init |
|
278 |
50 |
2353 |
| cayman_pcie_gart_tlb_flush |
|
5 |
1 |
23 |
| cayman_pcie_gart_enable |
|
66 |
4 |
401 |
| cayman_pcie_gart_disable |
|
16 |
1 |
77 |
| cayman_pcie_gart_fini |
|
6 |
1 |
24 |
| cayman_cp_int_cntl_setup |
|
7 |
1 |
45 |
| cayman_fence_ring_emit |
|
19 |
1 |
170 |
| cayman_ring_ib_execute |
|
27 |
5 |
250 |
| cayman_cp_enable |
|
11 |
2 |
66 |
| cayman_cp_load_microcode |
|
21 |
5 |
155 |
| cayman_cp_start |
|
47 |
4 |
343 |
| cayman_cp_fini |
|
7 |
1 |
45 |
| cayman_cp_resume |
|
83 |
6 |
538 |
| cayman_dma_ring_ib_execute |
|
20 |
5 |
203 |
| cayman_dma_stop |
|
13 |
1 |
89 |
| cayman_dma_resume |
|
56 |
7 |
392 |
| cayman_dma_fini |
|
6 |
1 |
40 |
| cayman_gpu_soft_reset_gfx |
|
58 |
2 |
337 |
| cayman_gpu_soft_reset_dma |
|
20 |
2 |
121 |
| cayman_gpu_soft_reset |
|
30 |
7 |
193 |
| cayman_asic_reset |
|
6 |
1 |
23 |
| cayman_dma_is_lockup |
|
14 |
3 |
75 |
| cayman_startup |
|
131 |
35 |
729 |
| cayman_resume |
|
13 |
2 |
57 |
| cayman_suspend |
|
11 |
1 |
49 |
| cayman_init |
|
70 |
15 |
406 |
| cayman_fini |
|
21 |
2 |
105 |
| cayman_vm_init |
|
11 |
2 |
60 |
| cayman_vm_fini |
|
3 |
1 |
9 |
| cayman_vm_page_flags |
|
12 |
6 |
80 |
| cayman_vm_set_page |
|
56 |
12 |
360 |
| cayman_vm_flush |
|
14 |
2 |
133 |
| cayman_dma_vm_flush |
|
15 |
2 |
185 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_ring.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_ib_get |
|
28 |
5 |
186 |
| radeon_ib_free |
|
6 |
1 |
50 |
| radeon_ib_schedule |
|
50 |
13 |
356 |
| radeon_ib_pool_init |
|
23 |
5 |
102 |
| radeon_ib_pool_fini |
|
8 |
2 |
43 |
| radeon_ib_ring_tests |
|
22 |
5 |
114 |
| radeon_ring_write |
|
10 |
3 |
57 |
| radeon_ring_supports_scratch_reg |
|
12 |
4 |
39 |
| radeon_ring_free_size |
|
15 |
3 |
123 |
| radeon_ring_alloc |
|
23 |
6 |
146 |
| radeon_ring_lock |
|
11 |
2 |
59 |
| radeon_ring_commit |
|
9 |
2 |
71 |
| radeon_ring_unlock_commit |
|
5 |
1 |
29 |
| radeon_ring_undo |
|
4 |
1 |
17 |
| radeon_ring_unlock_undo |
|
5 |
1 |
27 |
| radeon_ring_force_activity |
|
12 |
3 |
70 |
| radeon_ring_lockup_update |
|
5 |
1 |
23 |
| radeon_ring_test_lockup |
|
22 |
5 |
133 |
| radeon_ring_backup |
|
41 |
8 |
257 |
| radeon_ring_restore |
|
16 |
5 |
95 |
| radeon_ring_init |
|
51 |
8 |
344 |
| radeon_ring_fini |
|
20 |
3 |
109 |
| radeon_debugfs_ring_info |
|
34 |
4 |
339 |
| radeon_debugfs_sa_info |
|
8 |
1 |
60 |
| radeon_debugfs_ring_init |
|
15 |
5 |
99 |
| radeon_debugfs_sa_init |
|
5 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs100d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/avivod.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_object.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_bo_clear_va |
|
7 |
1 |
41 |
| radeon_ttm_bo_destroy |
|
12 |
1 |
90 |
| radeon_ttm_bo_is_radeon_bo |
|
6 |
2 |
24 |
| radeon_ttm_placement_from_domain |
|
29 |
7 |
200 |
| radeon_bo_create |
|
46 |
7 |
324 |
| radeon_bo_kmap |
|
21 |
5 |
115 |
| radeon_bo_kunmap |
|
8 |
2 |
42 |
| radeon_bo_unref |
|
14 |
3 |
88 |
| radeon_bo_pin_restricted |
|
42 |
13 |
295 |
| radeon_bo_pin |
|
4 |
1 |
28 |
| radeon_bo_unpin |
|
17 |
5 |
123 |
| radeon_bo_evict_vram |
|
8 |
4 |
49 |
| radeon_bo_force_delete |
|
19 |
3 |
160 |
| radeon_bo_init |
|
15 |
3 |
144 |
| radeon_bo_fini |
|
4 |
1 |
14 |
| radeon_bo_list_add_object |
|
9 |
2 |
49 |
| radeon_bo_list_validate |
|
31 |
7 |
167 |
| radeon_bo_fbdev_mmap |
|
5 |
1 |
25 |
| radeon_bo_get_surface_reg |
|
42 |
8 |
256 |
| radeon_bo_clear_surface_reg |
|
11 |
2 |
68 |
| radeon_bo_set_tiling_flags |
|
57 |
20 |
255 |
| radeon_bo_get_tiling_flags |
|
10 |
3 |
48 |
| radeon_bo_check_tiling |
|
21 |
9 |
115 |
| radeon_bo_move_notify |
|
10 |
2 |
59 |
| radeon_bo_fault_reserve_notify |
|
31 |
7 |
237 |
| radeon_bo_wait |
|
15 |
4 |
123 |
| radeon_bo_reserve |
|
11 |
3 |
71 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_kms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeondrm_probe |
|
8 |
3 |
39 |
| radeondrm_detach_kms |
|
17 |
4 |
115 |
| radeondrm_wsioctl |
|
19 |
3 |
106 |
| radeondrm_wsmmap |
|
4 |
1 |
20 |
| radeondrm_alloc_screen |
|
5 |
1 |
44 |
| radeondrm_free_screen |
|
4 |
1 |
20 |
| radeondrm_show_screen |
|
17 |
3 |
111 |
| radeondrm_doswitch |
|
20 |
5 |
195 |
| radeondrm_enter_ddb |
|
10 |
2 |
73 |
| radeondrm_setcolor |
|
16 |
2 |
148 |
| radeondrm_attach_kms |
|
137 |
34 |
1108 |
| radeondrm_forcedetach |
|
9 |
3 |
64 |
| radeondrm_attachhook |
|
57 |
8 |
405 |
| radeondrm_activate_kms |
|
22 |
6 |
105 |
| radeon_set_filp_rights |
|
16 |
6 |
93 |
| radeon_info_ioctl |
|
210 |
68 |
1281 |
| radeon_driver_firstopen_kms |
|
4 |
1 |
12 |
| radeon_driver_lastclose_kms |
|
9 |
4 |
60 |
| radeon_driver_open_kms |
|
36 |
6 |
209 |
| radeon_driver_postclose_kms |
|
23 |
6 |
139 |
| radeon_driver_preclose_kms |
|
9 |
3 |
51 |
| radeon_get_vblank_counter_kms |
|
9 |
3 |
55 |
| radeon_enable_vblank_kms |
|
15 |
3 |
99 |
| radeon_disable_vblank_kms |
|
13 |
3 |
89 |
| radeon_get_vblank_timestamp_kms |
|
18 |
4 |
106 |
| radeon_dma_ioctl_kms |
|
5 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/mkregtable.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| INIT_LIST_HEAD |
|
5 |
1 |
21 |
| __list_add |
|
8 |
1 |
43 |
| list_add |
|
4 |
1 |
25 |
| list_add_tail |
|
4 |
1 |
25 |
| __list_del |
|
5 |
1 |
26 |
| list_del |
|
6 |
1 |
40 |
| list_replace |
|
7 |
1 |
46 |
| list_replace_init |
|
6 |
1 |
26 |
| list_del_init |
|
5 |
1 |
25 |
| list_move |
|
5 |
1 |
32 |
| list_move_tail |
|
6 |
1 |
32 |
| list_is_last |
|
5 |
1 |
23 |
| list_empty |
|
4 |
1 |
17 |
| list_empty_careful |
|
5 |
2 |
34 |
| list_is_singular |
|
4 |
2 |
27 |
| __list_cut_position |
|
12 |
1 |
68 |
| list_cut_position |
|
13 |
6 |
70 |
| __list_splice |
|
10 |
1 |
62 |
| list_splice |
|
6 |
2 |
34 |
| list_splice_tail |
|
6 |
2 |
33 |
| list_splice_init |
|
8 |
2 |
40 |
| list_splice_tail_init |
|
8 |
2 |
40 |
| offset_new |
|
10 |
2 |
51 |
| table_offset_add |
|
4 |
1 |
27 |
| table_init |
|
7 |
1 |
35 |
| table_print |
|
23 |
5 |
145 |
| table_build |
|
17 |
2 |
146 |
| parser_auth |
|
68 |
12 |
418 |
| main |
|
15 |
3 |
88 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_dp_auxch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_dp_aux_transfer_native |
|
115 |
21 |
749 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv250d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_acpi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_fence.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_fence_write |
|
9 |
3 |
68 |
| radeon_fence_read |
|
11 |
3 |
73 |
| radeon_fence_emit |
|
16 |
2 |
124 |
| radeon_fence_process |
|
28 |
7 |
174 |
| radeon_fence_destroy |
|
6 |
1 |
31 |
| radeon_fence_seq_signaled |
|
12 |
3 |
69 |
| radeon_fence_signaled |
|
14 |
4 |
63 |
| radeon_fence_wait_seq |
|
75 |
20 |
460 |
| radeon_fence_wait |
|
15 |
3 |
75 |
| radeon_fence_any_seq_signaled |
|
10 |
4 |
58 |
| radeon_fence_wait_any_seq |
|
86 |
25 |
530 |
| radeon_fence_wait_any |
|
23 |
5 |
114 |
| radeon_fence_wait_next_locked |
|
9 |
2 |
68 |
| radeon_fence_wait_empty_locked |
|
14 |
3 |
80 |
| radeon_fence_ref |
|
5 |
1 |
20 |
| radeon_fence_unref |
|
8 |
2 |
38 |
| radeon_fence_count_emitted |
|
11 |
2 |
67 |
| radeon_fence_need_sync |
|
15 |
4 |
75 |
| radeon_fence_note_sync |
|
19 |
5 |
119 |
| radeon_fence_driver_start_ring |
|
26 |
5 |
233 |
| radeon_fence_driver_init_ring |
|
12 |
2 |
113 |
| radeon_fence_driver_init |
|
12 |
3 |
63 |
| radeon_fence_driver_fini |
|
17 |
4 |
112 |
| radeon_fence_driver_force_completion |
|
9 |
3 |
60 |
| radeon_debugfs_fence_info |
|
22 |
6 |
188 |
| radeon_debugfs_fence_init |
|
5 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_atombios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_lookup_i2c_gpio_quirks |
|
32 |
15 |
211 |
| radeon_get_bus_rec_for_i2c_gpio |
|
35 |
4 |
312 |
| radeon_lookup_i2c_gpio |
|
27 |
4 |
186 |
| radeon_atombios_i2c_init |
|
25 |
4 |
195 |
| radeon_lookup_gpio |
|
29 |
4 |
208 |
| radeon_atom_get_hpd_info_from_gpio |
|
41 |
10 |
204 |
| radeon_atom_apply_quirks |
|
124 |
71 |
861 |
| radeon_get_atom_connector_info_from_object_table |
|
293 |
41 |
1592 |
| atombios_get_connector_object_id |
|
38 |
9 |
200 |
| radeon_get_atom_connector_info_from_supported_devices_table |
|
169 |
37 |
1093 |
| radeon_atom_get_clock_info |
|
121 |
18 |
779 |
| radeon_atombios_sideport_present |
|
29 |
7 |
154 |
| radeon_atombios_get_tmds_info |
|
44 |
4 |
311 |
| radeon_atombios_get_ppll_ss_info |
|
32 |
4 |
245 |
| radeon_atombios_get_igp_ss_overrides |
|
57 |
12 |
326 |
| radeon_atombios_get_asic_ss_info |
|
67 |
15 |
535 |
| radeon_atombios_get_lvds_info |
|
124 |
23 |
869 |
| radeon_atombios_get_primary_dac_info |
|
24 |
3 |
166 |
| radeon_atom_get_tv_timings |
|
82 |
17 |
650 |
| radeon_atombios_get_tv_info |
|
53 |
10 |
225 |
| radeon_atombios_get_tv_dac_info |
|
31 |
3 |
238 |
| radeon_atombios_parse_misc_flags_1_3 |
|
38 |
9 |
255 |
| radeon_atombios_parse_power_table_1_3 |
|
172 |
34 |
1659 |
| radeon_atombios_add_pplib_thermal_controller |
|
66 |
22 |
448 |
| radeon_atombios_get_default_voltages |
|
20 |
4 |
139 |
| radeon_atombios_parse_pplib_non_clock_info |
|
61 |
12 |
480 |
| radeon_atombios_parse_pplib_clock_info |
|
77 |
14 |
765 |
| radeon_atombios_parse_power_table_4_5 |
|
82 |
14 |
629 |
| radeon_atombios_parse_power_table_6 |
|
90 |
14 |
675 |
| radeon_atombios_get_power_modes |
|
57 |
12 |
432 |
| radeon_atom_set_clock_gating |
|
7 |
1 |
49 |
| radeon_atom_get_engine_clock |
|
7 |
1 |
48 |
| radeon_atom_get_memory_clock |
|
7 |
1 |
48 |
| radeon_atom_set_engine_clock |
|
8 |
1 |
52 |
| radeon_atom_set_memory_clock |
|
10 |
2 |
62 |
| radeon_atom_set_voltage |
|
31 |
6 |
198 |
| radeon_atom_get_max_vddc |
|
31 |
5 |
214 |
| radeon_atom_initialize_bios_scratch_regs |
|
23 |
4 |
124 |
| radeon_save_bios_scratch_regs |
|
11 |
3 |
63 |
| radeon_restore_bios_scratch_regs |
|
11 |
3 |
63 |
| radeon_atom_output_lock |
|
21 |
4 |
104 |
| radeon_atombios_connected_scratch_regs |
|
181 |
36 |
857 |
| radeon_atombios_encoder_crtc_scratch_regs |
|
49 |
12 |
282 |
| radeon_atombios_encoder_dpms_scratch_regs |
|
77 |
24 |
328 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r300_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs400.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rs400_gart_adjust_size |
|
20 |
8 |
93 |
| rs400_gart_tlb_flush |
|
14 |
3 |
71 |
| rs400_gart_init |
|
27 |
11 |
123 |
| rs400_gart_enable |
|
76 |
14 |
456 |
| rs400_gart_disable |
|
8 |
1 |
37 |
| rs400_gart_fini |
|
6 |
1 |
24 |
| rs400_gart_set_page |
|
14 |
3 |
94 |
| rs400_mc_wait_for_idle |
|
13 |
3 |
59 |
| rs400_gpu_init |
|
8 |
2 |
35 |
| rs400_mc_init |
|
14 |
1 |
104 |
| rs400_mc_rreg |
|
8 |
1 |
41 |
| rs400_mc_wreg |
|
6 |
1 |
46 |
| rs400_debugfs_gart_info |
|
67 |
3 |
522 |
| rs400_debugfs_pcie_gart_info_init |
|
5 |
2 |
22 |
| rs400_mc_program |
|
11 |
2 |
74 |
| rs400_startup |
|
38 |
8 |
198 |
| rs400_resume |
|
21 |
3 |
100 |
| rs400_suspend |
|
8 |
1 |
32 |
| rs400_fini |
|
14 |
1 |
67 |
| rs400_init |
|
52 |
11 |
253 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_trace.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rn50_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_devlist.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_encoders.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_encoder_clones |
|
29 |
7 |
159 |
| radeon_setup_encoder_clones |
|
7 |
1 |
38 |
| radeon_get_encoder_enum |
|
69 |
29 |
294 |
| radeon_link_encoder_connector |
|
24 |
4 |
142 |
| radeon_encoder_set_active_device |
|
15 |
2 |
101 |
| radeon_get_connector_for_encoder |
|
13 |
2 |
76 |
| radeon_get_connector_for_encoder_init |
|
13 |
2 |
76 |
| radeon_get_external_encoder |
|
18 |
5 |
99 |
| radeon_encoder_get_dp_bridge_encoder_id |
|
15 |
4 |
62 |
| radeon_panel_mode_fixup |
|
37 |
3 |
311 |
| radeon_dig_monitor_is_duallink |
|
53 |
18 |
231 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_cs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_cs_parser_relocs |
|
55 |
9 |
470 |
| radeon_cs_get_ring |
|
34 |
9 |
163 |
| radeon_cs_sync_to |
|
9 |
2 |
57 |
| radeon_cs_sync_rings |
|
9 |
3 |
61 |
| radeon_cs_parser_init |
|
130 |
35 |
1159 |
| radeon_cs_parser_fini |
|
30 |
7 |
229 |
| radeon_cs_ib_chunk |
|
34 |
8 |
190 |
| radeon_bo_vm_update_pte |
|
20 |
3 |
124 |
| radeon_cs_ib_vm_chunk |
|
83 |
18 |
558 |
| radeon_cs_handle_lockup |
|
9 |
3 |
41 |
| radeon_cs_ioctl |
|
46 |
8 |
278 |
| radeon_cs_finish_pages |
|
18 |
5 |
125 |
| radeon_cs_update_pages |
|
36 |
11 |
297 |
| radeon_get_ib_value |
|
20 |
4 |
151 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r420_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atom-names.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_device.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_surface_init |
|
13 |
4 |
75 |
| radeon_scratch_init |
|
14 |
3 |
100 |
| radeon_scratch_get |
|
12 |
3 |
78 |
| radeon_scratch_free |
|
10 |
3 |
62 |
| radeon_wb_disable |
|
13 |
3 |
81 |
| radeon_wb_fini |
|
9 |
2 |
50 |
| radeon_wb_init |
|
54 |
13 |
368 |
| radeon_vram_location |
|
22 |
7 |
201 |
| radeon_gtt_location |
|
22 |
4 |
186 |
| radeon_card_posted |
|
40 |
13 |
208 |
| radeon_update_bandwidth_info |
|
15 |
2 |
141 |
| radeon_boot_test_post_card |
|
16 |
4 |
73 |
| radeon_dummy_page_init |
|
11 |
3 |
85 |
| radeon_dummy_page_fini |
|
8 |
2 |
50 |
| cail_pll_read |
|
7 |
1 |
40 |
| cail_pll_write |
|
5 |
1 |
37 |
| cail_mc_read |
|
7 |
1 |
40 |
| cail_mc_write |
|
5 |
1 |
37 |
| cail_reg_write |
|
5 |
1 |
35 |
| cail_reg_read |
|
7 |
1 |
38 |
| cail_ioreg_write |
|
5 |
1 |
35 |
| cail_ioreg_read |
|
7 |
1 |
38 |
| radeon_atombios_init |
|
28 |
3 |
176 |
| radeon_atombios_fini |
|
8 |
2 |
48 |
| radeon_combios_init |
|
5 |
1 |
19 |
| radeon_combios_fini |
|
3 |
1 |
9 |
| radeon_vga_set_decode |
|
10 |
2 |
44 |
| radeon_check_pot_argument |
|
4 |
1 |
20 |
| radeon_check_arguments |
|
32 |
10 |
144 |
| radeon_switcheroo_quirk_long_wakeup |
|
9 |
3 |
37 |
| radeon_switcheroo_set_state |
|
22 |
4 |
138 |
| radeon_switcheroo_can_switch |
|
9 |
1 |
51 |
| radeon_device_init |
|
116 |
32 |
814 |
| radeon_device_fini |
|
15 |
3 |
91 |
| radeon_suspend_kms |
|
65 |
17 |
363 |
| radeon_resume_kms |
|
41 |
8 |
220 |
| radeon_gpu_reset |
|
57 |
10 |
346 |
| radeon_debugfs_add_files |
|
28 |
5 |
163 |
| radeon_debugfs_remove_files |
|
12 |
3 |
83 |
| radeon_debugfs_init |
|
4 |
1 |
12 |
| radeon_debugfs_cleanup |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv350d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_irq_kms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_driver_irq_handler_kms |
|
8 |
2 |
44 |
| radeon_hotplug_work_func |
|
12 |
2 |
68 |
| radeon_driver_irq_preinstall_kms |
|
19 |
4 |
163 |
| radeon_driver_irq_postinstall_kms |
|
5 |
1 |
18 |
| radeon_driver_irq_uninstall_kms |
|
21 |
5 |
168 |
| radeon_msi_ok |
|
37 |
21 |
239 |
| radeon_irq_kms_init |
|
27 |
6 |
169 |
| radeon_irq_kms_fini |
|
11 |
5 |
62 |
| radeon_irq_kms_sw_irq_get |
|
11 |
3 |
75 |
| radeon_irq_kms_sw_irq_put |
|
11 |
3 |
73 |
| radeon_irq_kms_pflip_irq_get |
|
13 |
5 |
89 |
| radeon_irq_kms_pflip_irq_put |
|
13 |
5 |
87 |
| radeon_irq_kms_enable_afmt |
|
10 |
2 |
67 |
| radeon_irq_kms_disable_afmt |
|
10 |
2 |
67 |
| radeon_irq_kms_enable_hpd |
|
12 |
3 |
94 |
| radeon_irq_kms_disable_hpd |
|
12 |
3 |
93 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/nid.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r100.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| r100_is_in_vblank |
|
14 |
4 |
55 |
| r100_is_counter_moving |
|
15 |
3 |
97 |
| r100_wait_for_vblank |
|
25 |
11 |
135 |
| r100_pre_page_flip |
|
4 |
1 |
19 |
| r100_post_page_flip |
|
4 |
1 |
19 |
| r100_page_flip |
|
16 |
3 |
124 |
| r100_pm_get_dynpm_state |
|
77 |
18 |
515 |
| r100_pm_init_profile |
|
31 |
1 |
397 |
| r100_pm_misc |
|
83 |
23 |
508 |
| r100_pm_prepare |
|
21 |
3 |
108 |
| r100_pm_finish |
|
21 |
3 |
108 |
| r100_gui_idle |
|
7 |
2 |
25 |
| r100_hpd_sense |
|
17 |
5 |
67 |
| r100_hpd_set_polarity |
|
26 |
5 |
100 |
| r100_hpd_init |
|
12 |
1 |
82 |
| r100_hpd_fini |
|
11 |
1 |
71 |
| r100_pci_gart_tlb_flush |
|
3 |
1 |
9 |
| r100_pci_gart_init |
|
15 |
3 |
88 |
| r100_pci_gart_enable |
|
18 |
1 |
128 |
| r100_pci_gart_disable |
|
8 |
1 |
44 |
| r100_pci_gart_set_page |
|
9 |
3 |
61 |
| r100_pci_gart_fini |
|
6 |
1 |
24 |
| r100_irq_set |
|
28 |
9 |
168 |
| r100_irq_disable |
|
8 |
1 |
38 |
| r100_irq_ack |
|
11 |
2 |
48 |
| r100_irq_process |
|
60 |
17 |
326 |
| r100_get_vblank_counter |
|
7 |
2 |
31 |
| r100_fence_ring_emit |
|
20 |
1 |
189 |
| r100_semaphore_ring_emit |
|
7 |
1 |
26 |
| r100_copy_blit |
|
65 |
5 |
372 |
| r100_cp_wait_for_idle |
|
13 |
3 |
61 |
| r100_ring_start |
|
15 |
2 |
68 |
| r100_cp_init_microcode |
|
61 |
30 |
425 |
| r100_cp_load_microcode |
|
20 |
4 |
119 |
| r100_cp_init |
|
87 |
12 |
536 |
| r100_cp_fini |
|
10 |
2 |
60 |
| r100_cp_disable |
|
12 |
2 |
68 |
| r100_reloc_pitch_offset |
|
37 |
6 |
216 |
| r100_packet3_load_vbpntr |
|
61 |
7 |
481 |
| r100_cs_parse_packet0 |
|
39 |
9 |
223 |
| r100_cs_dump_packet |
|
12 |
2 |
75 |
| r100_cs_packet_parse |
|
37 |
6 |
215 |
| r100_cs_packet_parse_vline |
|
62 |
11 |
373 |
| r100_cs_packet_next_reloc |
|
34 |
6 |
199 |
| r100_get_vtx_size |
|
50 |
23 |
236 |
| r100_packet0_check |
|
333 |
107 |
2085 |
| r100_cs_track_check_pkt3_indx_buffer |
|
17 |
2 |
81 |
| r100_packet3_check |
|
109 |
27 |
702 |
| r100_cs_parse |
|
45 |
9 |
249 |
| r100_cs_track_texture_print |
|
16 |
1 |
126 |
| r100_track_compress_size |
|
26 |
4 |
118 |
| r100_cs_track_cube |
|
26 |
4 |
200 |
| r100_cs_track_texture_check |
|
77 |
21 |
558 |
| r100_cs_track_check |
|
129 |
29 |
897 |
| r100_cs_track_clear |
|
72 |
9 |
603 |
| r100_errata |
|
12 |
6 |
65 |
| r100_rbbm_fifo_wait_for_entry |
|
13 |
3 |
64 |
| r100_gui_wait_for_idle |
|
17 |
4 |
80 |
| r100_mc_wait_for_idle |
|
13 |
3 |
59 |
| r100_gpu_is_lockup |
|
11 |
2 |
57 |
| r100_enable_bm |
|
6 |
1 |
28 |
| r100_bm_disable |
|
14 |
2 |
92 |
| r100_asic_reset |
|
48 |
8 |
323 |
| r100_set_common_regs |
|
59 |
17 |
339 |
| r100_vram_get_type |
|
32 |
10 |
198 |
| r100_get_accessible_vram |
|
22 |
5 |
111 |
| r100_vram_init_sizes |
|
29 |
6 |
243 |
| r100_vga_set_state |
|
12 |
2 |
52 |
| r100_mc_init |
|
14 |
3 |
98 |
| r100_pll_errata_after_index |
|
7 |
2 |
35 |
| r100_pll_errata_after_data |
|
14 |
3 |
77 |
| r100_pll_rreg |
|
9 |
1 |
44 |
| r100_pll_wreg |
|
7 |
1 |
47 |
| r100_set_safe_registers |
|
12 |
3 |
83 |
| r100_debugfs_rbbm_info |
|
19 |
2 |
159 |
| r100_debugfs_cp_ring_info |
|
25 |
3 |
213 |
| r100_debugfs_cp_csq_fifo |
|
46 |
4 |
399 |
| r100_debugfs_mc_info |
|
28 |
1 |
213 |
| r100_debugfs_rbbm_init |
|
5 |
2 |
22 |
| r100_debugfs_cp_init |
|
5 |
2 |
22 |
| r100_debugfs_mc_info_init |
|
5 |
2 |
22 |
| r100_set_surface_reg |
|
40 |
13 |
248 |
| r100_clear_surface_reg |
|
5 |
1 |
28 |
| r100_bandwidth_update |
|
384 |
75 |
2743 |
| r100_ring_test |
|
38 |
6 |
204 |
| r100_ring_ib_execute |
|
12 |
2 |
97 |
| r100_ib_test |
|
57 |
8 |
348 |
| r100_mc_stop |
|
33 |
3 |
240 |
| r100_mc_resume |
|
13 |
3 |
98 |
| r100_vga_render_disable |
|
6 |
1 |
28 |
| r100_debugfs |
|
7 |
2 |
32 |
| r100_mc_program |
|
25 |
5 |
185 |
| r100_clock_startup |
|
11 |
5 |
84 |
| r100_startup |
|
39 |
9 |
203 |
| r100_resume |
|
21 |
4 |
103 |
| r100_suspend |
|
9 |
2 |
40 |
| r100_fini |
|
16 |
2 |
80 |
| r100_restore_sanity |
|
16 |
4 |
72 |
| r100_init |
|
63 |
15 |
309 |
| r100_mm_rreg |
|
17 |
3 |
103 |
| r100_mm_wreg |
|
15 |
3 |
101 |
| r100_io_rreg |
|
11 |
2 |
66 |
| r100_io_wreg |
|
11 |
2 |
71 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_cs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| r600_fmt_is_valid_color |
|
8 |
3 |
34 |
| r600_fmt_is_valid_texture |
|
10 |
4 |
54 |
| r600_fmt_get_blocksize |
|
6 |
2 |
27 |
| r600_fmt_get_nblocksx |
|
10 |
3 |
54 |
| r600_fmt_get_nblocksy |
|
10 |
3 |
54 |
| r600_get_array_mode_alignment |
|
47 |
5 |
298 |
| r600_cs_track_init |
|
45 |
3 |
322 |
| r600_cs_track_validate_cb |
|
142 |
27 |
966 |
| r600_cs_track_validate_db |
|
164 |
29 |
1063 |
| r600_cs_track_check |
|
60 |
21 |
372 |
| r600_cs_packet_parse |
|
37 |
6 |
212 |
| r600_cs_packet_next_reloc_mm |
|
32 |
6 |
183 |
| r600_cs_packet_next_reloc_nomm |
|
34 |
6 |
218 |
| r600_cs_packet_next_is_pkt3_nop |
|
13 |
4 |
61 |
| r600_cs_packet_parse_vline |
|
76 |
13 |
508 |
| r600_packet0_check |
|
21 |
3 |
78 |
| r600_cs_parse_packet0 |
|
16 |
3 |
88 |
| r600_cs_check_reg |
|
410 |
186 |
2395 |
| r600_mip_minify |
|
8 |
2 |
41 |
| r600_texture_size |
|
40 |
8 |
292 |
| r600_check_texture_resource |
|
123 |
23 |
809 |
| r600_is_safe_reg |
|
14 |
3 |
103 |
| r600_packet3_check |
|
584 |
141 |
3828 |
| r600_cs_parse |
|
58 |
13 |
391 |
| r600_cs_parser_relocs_legacy |
|
11 |
3 |
55 |
| r600_cs_parser_fini |
|
14 |
4 |
113 |
| r600_cs_legacy |
|
49 |
7 |
310 |
| r600_cs_legacy_init |
|
4 |
1 |
11 |
| r600_dma_cs_next_reloc |
|
21 |
3 |
108 |
| r600_dma_cs_parse |
|
145 |
22 |
1352 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_connectors.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_connector_hotplug |
|
28 |
8 |
177 |
| radeon_property_change_mode |
|
8 |
3 |
52 |
| radeon_get_monitor_bpc |
|
52 |
22 |
295 |
| radeon_connector_update_scratch_regs |
|
30 |
7 |
183 |
| radeon_find_encoder |
|
17 |
5 |
99 |
| radeon_best_single_encoder |
|
14 |
3 |
69 |
| radeon_connector_analog_encoder_conflict_solve |
|
37 |
8 |
205 |
| radeon_fp_native_mode |
|
21 |
6 |
158 |
| radeon_add_common_modes |
|
48 |
12 |
341 |
| radeon_connector_set_property |
|
105 |
30 |
601 |
| radeon_fixup_lvds_native_mode |
|
29 |
8 |
182 |
| radeon_lvds_get_modes |
|
30 |
6 |
156 |
| radeon_lvds_mode_valid |
|
20 |
9 |
134 |
| radeon_lvds_detect |
|
24 |
7 |
142 |
| radeon_connector_destroy |
|
10 |
2 |
54 |
| radeon_lvds_set_property |
|
29 |
8 |
165 |
| radeon_vga_get_modes |
|
7 |
1 |
32 |
| radeon_vga_mode_valid |
|
9 |
2 |
54 |
| radeon_vga_detect |
|
58 |
17 |
340 |
| radeon_tv_get_modes |
|
18 |
3 |
107 |
| radeon_tv_mode_valid |
|
7 |
3 |
38 |
| radeon_tv_detect |
|
20 |
4 |
114 |
| radeon_dvi_get_modes |
|
7 |
1 |
32 |
| radeon_check_hpd_status_unchanged |
|
17 |
5 |
95 |
| radeon_dvi_detect |
|
123 |
43 |
748 |
| radeon_dvi_encoder |
|
32 |
10 |
183 |
| radeon_dvi_force |
|
8 |
3 |
47 |
| radeon_dvi_mode_valid |
|
30 |
13 |
177 |
| radeon_dp_connector_destroy |
|
13 |
3 |
76 |
| radeon_dp_get_modes |
|
52 |
14 |
264 |
| radeon_connector_encoder_get_dp_bridge_encoder_id |
|
24 |
6 |
120 |
| radeon_connector_encoder_is_hbr2 |
|
20 |
5 |
114 |
| radeon_connector_is_dp12_capable |
|
11 |
4 |
57 |
| radeon_dp_detect |
|
63 |
21 |
381 |
| radeon_dp_mode_valid |
|
31 |
13 |
206 |
| radeon_add_atom_connector |
|
364 |
75 |
2082 |
| radeon_add_legacy_connector |
|
132 |
30 |
799 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_i2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_ddc_probe |
|
33 |
5 |
163 |
| pre_xfer |
|
48 |
10 |
358 |
| post_xfer |
|
13 |
1 |
101 |
| get_clock |
|
10 |
1 |
61 |
| get_data |
|
10 |
1 |
61 |
| set_clock |
|
10 |
2 |
74 |
| set_data |
|
10 |
2 |
74 |
| radeon_bb_set_bits |
|
5 |
1 |
29 |
| radeon_bb_set_dir |
|
3 |
1 |
11 |
| radeon_bb_read_bits |
|
9 |
3 |
38 |
| radeon_acquire_bus |
|
5 |
1 |
21 |
| radeon_release_bus |
|
4 |
1 |
16 |
| radeon_send_start |
|
4 |
1 |
24 |
| radeon_send_stop |
|
4 |
1 |
24 |
| radeon_initiate_xfer |
|
4 |
1 |
29 |
| radeon_read_byte |
|
4 |
1 |
30 |
| radeon_write_byte |
|
4 |
1 |
29 |
| radeon_get_i2c_prescale |
|
80 |
48 |
362 |
| r100_hw_i2c_xfer |
|
230 |
47 |
1145 |
| r500_hw_i2c_xfer |
|
204 |
26 |
1278 |
| radeon_hw_i2c_xfer |
|
70 |
46 |
262 |
| radeon_hw_i2c_func |
|
4 |
1 |
14 |
| radeon_i2c_create |
|
74 |
18 |
553 |
| radeon_i2c_destroy |
|
9 |
3 |
43 |
| radeon_i2c_init |
|
9 |
3 |
35 |
| radeon_i2c_fini |
|
10 |
3 |
57 |
| radeon_i2c_add |
|
13 |
3 |
76 |
| radeon_i2c_lookup |
|
12 |
4 |
71 |
| radeon_best_encoder |
|
4 |
1 |
12 |
| radeon_i2c_get_byte |
|
31 |
2 |
146 |
| radeon_i2c_put_byte |
|
18 |
2 |
91 |
| radeon_router_select_ddc_port |
|
23 |
3 |
126 |
| radeon_router_select_cd_port |
|
23 |
3 |
126 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/cayman_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/cayman_blit_shaders.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/cayman_blit_shaders.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen_cs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| evergreen_cs_get_aray_mode |
|
9 |
3 |
30 |
| evergreen_cs_get_num_banks |
|
14 |
5 |
39 |
| evergreen_cs_track_init |
|
47 |
4 |
321 |
| evergreen_surface_check_linear |
|
10 |
1 |
62 |
| evergreen_surface_check_linear_aligned |
|
20 |
3 |
134 |
| evergreen_surface_check_1d |
|
29 |
5 |
201 |
| evergreen_surface_check_2d |
|
38 |
6 |
293 |
| evergreen_surface_check |
|
21 |
5 |
119 |
| evergreen_surface_value_conv_check |
|
71 |
28 |
490 |
| evergreen_cs_track_validate_cb |
|
87 |
13 |
710 |
| evergreen_cs_track_validate_htile |
|
49 |
8 |
324 |
| evergreen_cs_track_validate_stencil |
|
82 |
11 |
592 |
| evergreen_cs_track_validate_depth |
|
85 |
12 |
579 |
| evergreen_cs_track_validate_texture |
|
161 |
28 |
1169 |
| evergreen_cs_track_check |
|
69 |
23 |
436 |
| evergreen_cs_packet_parse |
|
37 |
6 |
212 |
| evergreen_cs_packet_next_reloc |
|
32 |
6 |
183 |
| evergreen_cs_packet_next_is_pkt3_nop |
|
13 |
4 |
61 |
| evergreen_cs_packet_parse_vline |
|
76 |
12 |
514 |
| evergreen_packet0_check |
|
21 |
3 |
78 |
| evergreen_cs_parse_packet0 |
|
16 |
3 |
88 |
| evergreen_cs_check_reg |
|
656 |
308 |
3648 |
| evergreen_is_safe_reg |
|
23 |
6 |
157 |
| evergreen_packet3_check |
|
699 |
167 |
4545 |
| evergreen_cs_parse |
|
102 |
24 |
507 |
| evergreen_dma_cs_parse |
|
397 |
62 |
3728 |
| evergreen_vm_reg_valid |
|
118 |
109 |
358 |
| evergreen_vm_packet3_check |
|
140 |
75 |
718 |
| evergreen_ib_parse |
|
33 |
6 |
188 |
| evergreen_dma_ib_parse |
|
88 |
20 |
335 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_legacy_tv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_legacy_tv_get_std_mode |
|
31 |
8 |
185 |
| radeon_wait_pll_lock |
|
20 |
4 |
153 |
| radeon_legacy_tv_write_fifo |
|
18 |
3 |
105 |
| radeon_legacy_tv_read_fifo |
|
17 |
3 |
101 |
| radeon_get_htiming_tables_addr |
|
19 |
4 |
83 |
| radeon_get_vtiming_tables_addr |
|
19 |
4 |
100 |
| radeon_restore_tv_timing_tables |
|
24 |
7 |
264 |
| radeon_legacy_write_tv_restarts |
|
9 |
1 |
71 |
| radeon_legacy_tv_init_restarts |
|
82 |
18 |
677 |
| radeon_legacy_tv_mode_set |
|
242 |
41 |
1643 |
| radeon_legacy_tv_adjust_crtc_reg |
|
24 |
2 |
200 |
| get_post_div |
|
16 |
9 |
93 |
| radeon_legacy_tv_adjust_pll1 |
|
15 |
2 |
114 |
| radeon_legacy_tv_adjust_pll2 |
|
15 |
2 |
110 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_legacy_crtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_overscan_setup |
|
10 |
1 |
75 |
| radeon_legacy_rmx_mode_set |
|
137 |
26 |
1009 |
| radeon_pll_wait_for_read_update_complete |
|
9 |
3 |
46 |
| radeon_pll_write_update |
|
8 |
2 |
39 |
| radeon_pll2_wait_for_read_update_complete |
|
9 |
3 |
46 |
| radeon_pll2_write_update |
|
8 |
2 |
39 |
| radeon_compute_pll_gain |
|
14 |
4 |
61 |
| radeon_crtc_dpms |
|
48 |
9 |
252 |
| radeon_crtc_set_base |
|
5 |
1 |
34 |
| radeon_crtc_set_base_atomic |
|
6 |
1 |
38 |
| radeon_crtc_do_set_base |
|
167 |
34 |
936 |
| radeon_set_crtc_timing |
|
135 |
24 |
773 |
| radeon_set_pll |
|
228 |
28 |
1121 |
| radeon_crtc_mode_fixup |
|
8 |
2 |
38 |
| radeon_crtc_mode_set |
|
19 |
3 |
110 |
| radeon_crtc_prepare |
|
9 |
1 |
59 |
| radeon_crtc_commit |
|
11 |
2 |
67 |
| radeon_legacy_init_crtc |
|
7 |
2 |
41 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_fb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_align_pitch |
|
21 |
9 |
101 |
| radeonfb_destroy_pinned_object |
|
12 |
2 |
62 |
| radeonfb_create_pinned_object |
|
72 |
14 |
385 |
| radeonfb_create |
|
107 |
19 |
758 |
| radeon_fb_find_or_create_single |
|
14 |
3 |
66 |
| radeon_fb_output_poll_changed |
|
4 |
1 |
21 |
| radeon_fbdev_destroy |
|
21 |
5 |
124 |
| radeon_fbdev_init |
|
43 |
7 |
276 |
| radeon_fbdev_fini |
|
9 |
2 |
60 |
| radeon_fbdev_set_suspend |
|
4 |
2 |
27 |
| radeon_fbdev_total_size |
|
8 |
1 |
44 |
| radeon_fbdev_robj_is_fb |
|
6 |
2 |
37 |
| radeondrm_burner |
|
15 |
3 |
82 |
| radeondrm_burner_cb |
|
6 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_object.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_mem_type_to_domain |
|
14 |
4 |
38 |
| radeon_bo_unreserve |
|
4 |
1 |
17 |
| radeon_bo_gpu_offset |
|
4 |
1 |
16 |
| radeon_bo_size |
|
4 |
1 |
19 |
| radeon_bo_is_reserved |
|
4 |
1 |
18 |
| radeon_bo_ngpu_pages |
|
4 |
1 |
23 |
| radeon_bo_gpu_page_alignment |
|
4 |
1 |
25 |
| radeon_bo_mmap_offset |
|
4 |
1 |
20 |
| radeon_sa_bo_gpu_addr |
|
4 |
1 |
20 |
| radeon_sa_bo_cpu_addr |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv515d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen_hdmi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| evergreen_hdmi_update_ACR |
|
15 |
1 |
142 |
| evergreen_hdmi_infoframe_checksum |
|
11 |
2 |
66 |
| evergreen_hdmi_videoinfoframe |
|
63 |
1 |
520 |
| evergreen_hdmi_setmode |
|
48 |
4 |
298 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv770d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_trace_points.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_pm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_pm_get_type_index |
|
15 |
4 |
80 |
| radeon_pm_acpi_event_handler |
|
11 |
3 |
63 |
| radeon_pm_update_profile |
|
50 |
13 |
299 |
| radeon_unmap_vram_bos |
|
10 |
3 |
68 |
| radeon_sync_with_vblank |
|
8 |
2 |
46 |
| radeon_set_power_state |
|
56 |
19 |
434 |
| radeon_pm_set_clocks |
|
48 |
13 |
354 |
| radeon_pm_print_states |
|
32 |
8 |
221 |
| radeon_get_pm_profile |
|
13 |
5 |
93 |
| radeon_set_pm_profile |
|
31 |
7 |
232 |
| radeon_get_pm_method |
|
10 |
2 |
69 |
| radeon_set_pm_method |
|
28 |
3 |
200 |
| radeon_hwmon_show_temp |
|
30 |
7 |
136 |
| radeon_hwmon_show_name |
|
6 |
1 |
26 |
| radeon_hwmon_init |
|
34 |
11 |
174 |
| radeon_hwmon_fini |
|
8 |
3 |
50 |
| radeon_pm_suspend |
|
10 |
3 |
69 |
| radeon_pm_resume |
|
34 |
11 |
291 |
| radeon_pm_init |
|
54 |
17 |
357 |
| radeon_pm_fini |
|
22 |
6 |
157 |
| radeon_pm_compute_clocks |
|
59 |
12 |
398 |
| radeon_pm_in_vbl |
|
17 |
6 |
120 |
| radeon_pm_debug_check_in_vbl |
|
9 |
4 |
47 |
| radeon_dynpm_idle_work_handler |
|
51 |
15 |
332 |
| radeon_debugfs_pm_info |
|
19 |
6 |
185 |
| radeon_debugfs_pm_init |
|
5 |
2 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_blit_common.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_bios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_read_platform_bios |
|
31 |
11 |
182 |
| igp_read_bios_from_vram |
|
30 |
9 |
203 |
| radeon_read_bios |
|
37 |
7 |
258 |
| radeon_atrm_call |
|
24 |
2 |
186 |
| radeon_atrm_get_bios |
|
54 |
16 |
309 |
| radeon_atrm_get_bios |
|
4 |
1 |
12 |
| ni_read_disabled_bios |
|
31 |
1 |
168 |
| r700_read_disabled_bios |
|
52 |
5 |
303 |
| r600_read_disabled_bios |
|
66 |
1 |
377 |
| avivo_read_disabled_bios |
|
49 |
1 |
279 |
| legacy_read_disabled_bios |
|
67 |
10 |
382 |
| radeon_read_disabled_bios |
|
15 |
6 |
90 |
| radeon_acpi_vfct_bios |
|
41 |
10 |
289 |
| radeon_acpi_vfct_bios |
|
4 |
1 |
12 |
| radeon_get_bios |
|
48 |
15 |
299 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/sid.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_semaphore.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_semaphore_create |
|
20 |
3 |
138 |
| radeon_semaphore_emit_signal |
|
7 |
1 |
48 |
| radeon_semaphore_emit_wait |
|
7 |
1 |
48 |
| radeon_semaphore_sync_rings |
|
23 |
4 |
147 |
| radeon_semaphore_free |
|
15 |
4 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_family.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen_blit_kms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| set_render_target |
|
32 |
2 |
251 |
| cp_set_surface_sync |
|
21 |
3 |
144 |
| set_shaders |
|
20 |
1 |
185 |
| set_vtx_resource |
|
32 |
7 |
223 |
| set_tex_resource |
|
33 |
2 |
239 |
| set_scissors |
|
25 |
6 |
288 |
| draw_auto |
|
16 |
2 |
126 |
| set_default_state |
|
307 |
18 |
1503 |
| evergreen_blit_init |
|
104 |
19 |
865 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_agp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_agp_init |
|
119 |
34 |
733 |
| radeon_agp_resume |
|
9 |
4 |
42 |
| radeon_agp_fini |
|
6 |
4 |
34 |
| radeon_agp_suspend |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/atom.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_blit_kms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| set_render_target |
|
40 |
4 |
386 |
| cp_set_surface_sync |
|
16 |
2 |
101 |
| set_shaders |
|
32 |
1 |
334 |
| set_vtx_resource |
|
27 |
7 |
195 |
| set_tex_resource |
|
31 |
2 |
221 |
| set_scissors |
|
17 |
1 |
240 |
| draw_auto |
|
16 |
2 |
126 |
| set_default_state |
|
167 |
19 |
803 |
| r600_blit_init |
|
89 |
15 |
711 |
| r600_blit_fini |
|
13 |
3 |
83 |
| r600_blit_create_rect |
|
37 |
7 |
197 |
| r600_blit_prepare_copy |
|
44 |
6 |
274 |
| r600_blit_done_copy |
|
14 |
2 |
95 |
| r600_kms_blit_copy |
|
48 |
2 |
336 |
| int2float |
|
9 |
2 |
62 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/ni_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen_blit_shaders.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r200.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| r200_get_vtx_size_0 |
|
41 |
19 |
222 |
| r200_copy_dma |
|
41 |
5 |
259 |
| r200_get_vtx_size_1 |
|
12 |
3 |
63 |
| r200_packet0_check |
|
388 |
162 |
2203 |
| r200_set_safe_registers |
|
5 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_clocks.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_legacy_get_engine_clock |
|
22 |
5 |
130 |
| radeon_legacy_get_memory_clock |
|
22 |
5 |
130 |
| radeon_read_clocks_OF |
|
60 |
10 |
410 |
| radeon_read_clocks_OF |
|
4 |
1 |
12 |
| radeon_read_clocks_OF |
|
53 |
9 |
402 |
| radeon_read_clocks_OF |
|
4 |
1 |
12 |
| radeon_get_clock_info |
|
148 |
20 |
909 |
| calc_eng_mem_clock |
|
31 |
5 |
168 |
| radeon_legacy_set_engine_clock |
|
64 |
6 |
339 |
| radeon_legacy_set_clock_gating |
|
383 |
38 |
1705 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_acpi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_atif_call |
|
28 |
4 |
192 |
| radeon_atif_parse_notification |
|
12 |
1 |
84 |
| radeon_atif_parse_functions |
|
13 |
1 |
92 |
| radeon_atif_verify_interface |
|
26 |
3 |
167 |
| radeon_atif_get_notification_params |
|
44 |
7 |
263 |
| radeon_atif_get_sbios_requests |
|
23 |
3 |
141 |
| radeon_atif_handler |
|
38 |
9 |
218 |
| radeon_atcs_call |
|
28 |
4 |
192 |
| radeon_atcs_parse_functions |
|
7 |
1 |
44 |
| radeon_atcs_verify_interface |
|
25 |
3 |
155 |
| radeon_acpi_event |
|
15 |
3 |
91 |
| radeon_acpi_init |
|
63 |
17 |
344 |
| radeon_acpi_fini |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_blit_shaders.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_ttm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_get_rdev |
|
8 |
1 |
46 |
| radeon_ttm_mem_global_init |
|
4 |
1 |
17 |
| radeon_ttm_mem_global_release |
|
4 |
1 |
16 |
| radeon_ttm_global_init |
|
32 |
3 |
189 |
| radeon_ttm_global_fini |
|
8 |
2 |
49 |
| radeon_invalidate_caches |
|
4 |
1 |
15 |
| radeon_init_mem_type |
|
44 |
10 |
238 |
| radeon_evict_flags |
|
28 |
5 |
153 |
| radeon_verify_access |
|
4 |
1 |
17 |
| radeon_move_null |
|
8 |
1 |
45 |
| radeon_move_blit |
|
49 |
6 |
269 |
| radeon_move_vram_ram |
|
43 |
5 |
248 |
| radeon_move_ram_vram |
|
38 |
4 |
211 |
| radeon_bo_move |
|
41 |
14 |
253 |
| radeon_ttm_io_mem_reserve |
|
43 |
10 |
328 |
| radeon_ttm_io_mem_free |
|
3 |
1 |
14 |
| radeon_sync_obj_wait |
|
4 |
1 |
27 |
| radeon_sync_obj_flush |
|
4 |
1 |
11 |
| radeon_sync_obj_unref |
|
4 |
1 |
18 |
| radeon_sync_obj_ref |
|
4 |
1 |
19 |
| radeon_sync_obj_signaled |
|
4 |
1 |
19 |
| radeon_ttm_backend_bind |
|
19 |
3 |
124 |
| radeon_ttm_backend_unbind |
|
6 |
1 |
38 |
| radeon_ttm_backend_destroy |
|
8 |
1 |
57 |
| radeon_ttm_tt_create |
|
32 |
6 |
232 |
| radeon_ttm_tt_populate |
|
47 |
14 |
328 |
| radeon_ttm_tt_unpopulate |
|
22 |
7 |
137 |
| radeon_ttm_init |
|
62 |
11 |
398 |
| radeon_ttm_fini |
|
21 |
4 |
129 |
| radeon_ttm_set_active_vram_size |
|
8 |
2 |
51 |
| radeon_ttm_fault |
|
15 |
1 |
114 |
| radeon_mmap |
|
23 |
6 |
138 |
| radeon_mm_dump_table |
|
13 |
1 |
107 |
| radeon_ttm_debugfs_init |
|
33 |
7 |
277 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_gem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_gem_object_free |
|
9 |
4 |
53 |
| radeon_gem_object_create |
|
37 |
6 |
221 |
| radeon_gem_set_domain |
|
24 |
5 |
101 |
| radeon_gem_init |
|
5 |
1 |
22 |
| radeon_gem_fini |
|
4 |
1 |
14 |
| radeon_gem_object_open |
|
24 |
4 |
134 |
| radeon_gem_object_close |
|
26 |
5 |
139 |
| radeon_gem_handle_lockup |
|
9 |
3 |
41 |
| radeon_gem_info_ioctl |
|
18 |
3 |
153 |
| radeon_gem_pread_ioctl |
|
6 |
1 |
29 |
| radeon_gem_pwrite_ioctl |
|
6 |
1 |
29 |
| radeon_gem_create_ioctl |
|
29 |
3 |
178 |
| radeon_gem_set_domain_ioctl |
|
21 |
2 |
137 |
| radeon_mode_dumb_mmap |
|
15 |
2 |
77 |
| radeon_gem_mmap_ioctl |
|
6 |
1 |
42 |
| radeon_gem_busy_ioctl |
|
31 |
5 |
154 |
| radeon_gem_wait_idle_ioctl |
|
20 |
3 |
128 |
| radeon_gem_set_tiling_ioctl |
|
16 |
2 |
102 |
| radeon_gem_get_tiling_ioctl |
|
21 |
3 |
126 |
| radeon_gem_va_ioctl |
|
91 |
15 |
483 |
| radeon_mode_dumb_create |
|
25 |
3 |
158 |
| radeon_mode_dumb_destroy |
|
6 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rv515_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r520.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| r520_mc_wait_for_idle |
|
13 |
3 |
59 |
| r520_gpu_init |
|
19 |
3 |
116 |
| r520_vram_get_type |
|
26 |
6 |
126 |
| r520_mc_init |
|
10 |
2 |
65 |
| r520_mc_program |
|
26 |
3 |
196 |
| r520_startup |
|
38 |
9 |
198 |
| r520_resume |
|
21 |
4 |
105 |
| r520_init |
|
63 |
15 |
314 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_test.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_do_test_moves |
|
185 |
36 |
1091 |
| radeon_test_moves |
|
7 |
3 |
43 |
| radeon_test_ring_sync |
|
75 |
14 |
417 |
| radeon_test_ring_sync2 |
|
98 |
23 |
553 |
| radeon_test_syncing |
|
35 |
7 |
295 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r100_track.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs690d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r420.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| r420_pm_init_profile |
|
31 |
1 |
397 |
| r420_set_reg_safe |
|
5 |
1 |
32 |
| r420_pipes_init |
|
62 |
12 |
332 |
| r420_mc_rreg |
|
7 |
1 |
35 |
| r420_mc_wreg |
|
6 |
1 |
37 |
| r420_debugfs |
|
9 |
3 |
37 |
| r420_clock_resume |
|
11 |
4 |
74 |
| r420_cp_errata_init |
|
10 |
1 |
84 |
| r420_cp_errata_fini |
|
9 |
1 |
70 |
| r420_startup |
|
45 |
11 |
232 |
| r420_resume |
|
27 |
6 |
136 |
| r420_suspend |
|
12 |
3 |
58 |
| r420_fini |
|
22 |
4 |
109 |
| r420_init |
|
76 |
20 |
363 |
| r420_debugfs_pipes_info |
|
14 |
1 |
101 |
| r420_debugfs_pipes_info_init |
|
5 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/rs400d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600_reg_safe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/r600d.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/evergreen_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon/radeon_sa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeon_sa_bo_manager_init |
|
23 |
3 |
148 |
| radeon_sa_bo_manager_fini |
|
17 |
3 |
105 |
| radeon_sa_bo_manager_start |
|
23 |
4 |
140 |
| radeon_sa_bo_manager_suspend |
|
16 |
3 |
82 |
| radeon_sa_bo_remove_locked |
|
11 |
2 |
70 |
| radeon_sa_bo_try_free |
|
13 |
4 |
88 |
| radeon_sa_bo_hole_soffset |
|
8 |
2 |
45 |
| radeon_sa_bo_hole_eoffset |
|
8 |
2 |
51 |
| radeon_sa_bo_try_alloc |
|
20 |
2 |
130 |
| radeon_sa_event |
|
18 |
4 |
109 |
| radeon_sa_bo_next_hole |
|
44 |
9 |
244 |
| radeon_sa_bo_new |
|
55 |
12 |
379 |
| radeon_sa_bo_free |
|
20 |
5 |
135 |
| radeon_sa_bo_dump_debug_info |
|
21 |
3 |
139 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_edid.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_eld_mnl |
|
4 |
1 |
22 |
| drm_eld_sad |
|
11 |
4 |
68 |
| drm_eld_sad_count |
|
5 |
1 |
22 |
| drm_eld_calc_baseline_block_size |
|
5 |
1 |
26 |
| drm_eld_size |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_modes.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_mode_debug_printmodeline |
|
10 |
1 |
74 |
| drm_mode_create |
|
12 |
3 |
62 |
| drm_mode_destroy |
|
7 |
2 |
36 |
| drm_mode_probed_add |
|
6 |
1 |
43 |
| drm_cvt_mode |
|
112 |
24 |
771 |
| drm_gtf_mode_complex |
|
97 |
13 |
587 |
| drm_gtf_mode |
|
7 |
1 |
52 |
| drm_display_mode_from_videomode |
|
29 |
8 |
224 |
| drm_display_mode_to_videomode |
|
28 |
8 |
219 |
| of_get_drm_display_mode |
|
14 |
2 |
81 |
| drm_mode_set_name |
|
7 |
2 |
47 |
| drm_mode_hsync |
|
12 |
3 |
61 |
| drm_mode_vrefresh |
|
21 |
7 |
128 |
| drm_mode_set_crtcinfo |
|
55 |
11 |
381 |
| drm_mode_copy |
|
8 |
1 |
52 |
| drm_mode_duplicate |
|
10 |
2 |
45 |
| drm_mode_equal |
|
16 |
10 |
112 |
| drm_mode_equal_no_clocks_no_stereo |
|
18 |
12 |
120 |
| drm_mode_validate_basic |
|
16 |
10 |
94 |
| drm_mode_validate_size |
|
9 |
5 |
49 |
| drm_get_mode_status_name |
|
7 |
3 |
40 |
| drm_mode_prune_invalid |
|
17 |
3 |
89 |
| drm_mode_compare |
|
18 |
4 |
139 |
| drm_mode_sort |
|
4 |
1 |
18 |
| drm_mode_connector_list_update |
|
28 |
4 |
159 |
| drm_mode_parse_command_line_for_connector |
|
136 |
70 |
702 |
| drm_mode_create_from_cmdline_mode |
|
28 |
7 |
157 |
| drm_mode_convert_to_umode |
|
26 |
10 |
216 |
| drm_mode_convert_umode |
|
34 |
5 |
232 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_trace.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_mipi_dsi.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| to_mipi_dsi_device |
|
4 |
1 |
20 |
| to_mipi_dsi_driver |
|
4 |
1 |
20 |
| mipi_dsi_get_drvdata |
|
4 |
1 |
19 |
| mipi_dsi_set_drvdata |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_global.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_pciids.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_dp_helper.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_dp_max_link_rate |
|
4 |
1 |
20 |
| drm_dp_max_lane_count |
|
4 |
1 |
19 |
| drm_dp_enhanced_frame_cap |
|
5 |
2 |
28 |
| drm_dp_tps3_supported |
|
5 |
2 |
26 |
| drm_dp_dpcd_readb |
|
5 |
1 |
29 |
| drm_dp_dpcd_writeb |
|
5 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_modes.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_mode_is_stereo |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_fourcc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_irq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| store_vblank |
|
14 |
1 |
88 |
| drm_reset_vblank_timestamp |
|
16 |
4 |
126 |
| drm_update_vblank_count |
|
52 |
16 |
388 |
| vblank_disable_and_save |
|
12 |
2 |
84 |
| vblank_disable_fn |
|
15 |
4 |
101 |
| drm_vblank_cleanup |
|
14 |
4 |
88 |
| drm_vblank_init |
|
34 |
6 |
213 |
| drm_irq_vgaarb_nokms |
|
19 |
8 |
110 |
| drm_irq_install |
|
38 |
12 |
251 |
| drm_irq_uninstall |
|
31 |
8 |
207 |
| drm_control |
|
30 |
8 |
176 |
| drm_calc_timestamping_constants |
|
29 |
5 |
209 |
| drm_calc_vbltimestamp_from_scanoutpos |
|
63 |
11 |
377 |
| get_drm_timestamp |
|
6 |
2 |
27 |
| drm_get_last_vbltimestamp |
|
14 |
4 |
89 |
| drm_vblank_count |
|
7 |
2 |
45 |
| drm_crtc_vblank_count |
|
4 |
1 |
22 |
| drm_vblank_count_and_time |
|
16 |
4 |
99 |
| drm_crtc_vblank_count_and_time |
|
6 |
1 |
29 |
| send_vblank_event |
|
15 |
2 |
121 |
| drm_arm_vblank_event |
|
8 |
1 |
60 |
| drm_crtc_arm_vblank_event |
|
5 |
1 |
28 |
| drm_send_vblank_event |
|
14 |
2 |
79 |
| drm_crtc_send_vblank_event |
|
5 |
1 |
28 |
| drm_vblank_enable |
|
19 |
3 |
119 |
| drm_vblank_get |
|
21 |
5 |
134 |
| drm_crtc_vblank_get |
|
4 |
1 |
22 |
| drm_vblank_put |
|
17 |
7 |
117 |
| drm_crtc_vblank_put |
|
4 |
1 |
21 |
| drm_wait_one_vblank |
|
17 |
4 |
121 |
| drm_crtc_wait_one_vblank |
|
4 |
1 |
21 |
| drm_vblank_off |
|
34 |
6 |
244 |
| drm_crtc_vblank_off |
|
4 |
1 |
21 |
| drm_crtc_vblank_reset |
|
14 |
2 |
99 |
| drm_vblank_on |
|
18 |
5 |
133 |
| drm_crtc_vblank_on |
|
4 |
1 |
21 |
| drm_vblank_pre_modeset |
|
13 |
5 |
80 |
| drm_vblank_post_modeset |
|
18 |
5 |
114 |
| drm_modeset_ctl |
|
24 |
6 |
110 |
| drm_queue_vblank_event |
|
64 |
9 |
495 |
| drm_wait_vblank |
|
74 |
16 |
464 |
| drm_handle_vblank_events |
|
20 |
3 |
146 |
| drm_handle_vblank |
|
22 |
4 |
150 |
| drm_crtc_handle_vblank |
|
4 |
1 |
22 |
| drm_vblank_no_hw_counter |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_plane_helper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_connectors_for_crtc |
|
17 |
5 |
98 |
| drm_plane_helper_check_update |
|
40 |
10 |
209 |
| drm_primary_helper_update |
|
55 |
4 |
323 |
| drm_primary_helper_disable |
|
4 |
1 |
13 |
| drm_primary_helper_destroy |
|
5 |
1 |
19 |
| create_primary_plane |
|
21 |
3 |
93 |
| drm_crtc_init |
|
7 |
1 |
46 |
| drm_plane_helper_commit |
|
64 |
26 |
459 |
| drm_plane_helper_update |
|
30 |
4 |
179 |
| drm_plane_helper_disable |
|
19 |
5 |
105 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_crtc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| U642I64 |
|
4 |
1 |
21 |
| I642U64 |
|
4 |
1 |
21 |
| drm_crtc_mask |
|
4 |
1 |
18 |
| drm_encoder_crtc_ok |
|
5 |
1 |
28 |
| drm_property_type_is |
|
7 |
2 |
38 |
| drm_property_type_valid |
|
6 |
2 |
38 |
| drm_plane_find |
|
7 |
2 |
38 |
| drm_crtc_find |
|
7 |
2 |
38 |
| drm_encoder_find |
|
7 |
2 |
38 |
| drm_connector_find |
|
7 |
2 |
38 |
| drm_property_find |
|
7 |
2 |
38 |
| assert_drm_connector_list_read_locked |
|
5 |
2 |
30 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/linux_types.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_fb_helper.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_fb_helper_prepare |
|
5 |
1 |
20 |
| drm_fb_helper_init |
|
6 |
1 |
23 |
| drm_fb_helper_fini |
|
3 |
1 |
9 |
| drm_fb_helper_blank |
|
4 |
1 |
15 |
| drm_fb_helper_pan_display |
|
5 |
1 |
17 |
| drm_fb_helper_set_par |
|
4 |
1 |
12 |
| drm_fb_helper_check_var |
|
5 |
1 |
17 |
| drm_fb_helper_restore_fbdev_mode_unlocked |
|
4 |
1 |
12 |
| drm_fb_helper_alloc_fbi |
|
4 |
1 |
12 |
| drm_fb_helper_unregister_fbi |
|
3 |
1 |
9 |
| drm_fb_helper_release_fbi |
|
3 |
1 |
9 |
| drm_fb_helper_fill_var |
|
5 |
1 |
20 |
| drm_fb_helper_fill_fix |
|
4 |
1 |
15 |
| drm_fb_helper_setcmap |
|
5 |
1 |
17 |
| drm_fb_helper_unlink_fbi |
|
3 |
1 |
9 |
| drm_fb_helper_sys_read |
|
6 |
1 |
25 |
| drm_fb_helper_sys_write |
|
6 |
1 |
26 |
| drm_fb_helper_sys_fillrect |
|
4 |
1 |
15 |
| drm_fb_helper_sys_copyarea |
|
4 |
1 |
15 |
| drm_fb_helper_sys_imageblit |
|
4 |
1 |
15 |
| drm_fb_helper_cfb_fillrect |
|
4 |
1 |
15 |
| drm_fb_helper_cfb_copyarea |
|
4 |
1 |
15 |
| drm_fb_helper_cfb_imageblit |
|
4 |
1 |
15 |
| drm_fb_helper_set_suspend |
|
4 |
1 |
12 |
| drm_fb_helper_hotplug_event |
|
4 |
1 |
12 |
| drm_fb_helper_initial_config |
|
5 |
1 |
15 |
| drm_fb_helper_single_add_all_connectors |
|
4 |
1 |
12 |
| drm_fb_helper_debug_enter |
|
4 |
1 |
12 |
| drm_fb_helper_debug_leave |
|
4 |
1 |
12 |
| drm_has_preferred_mode |
|
5 |
1 |
18 |
| drm_pick_cmdline_mode |
|
5 |
1 |
18 |
| drm_fb_helper_add_one_connector |
|
5 |
1 |
17 |
| drm_fb_helper_remove_one_connector |
|
5 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_modeset_lock.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_modeset_lock_init |
|
5 |
1 |
28 |
| drm_modeset_lock_fini |
|
4 |
1 |
21 |
| drm_modeset_is_locked |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_linux_rbtree.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rb_link_node |
|
8 |
1 |
52 |
| rb_replace_node |
|
18 |
5 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_modeset_lock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_modeset_lock_all |
|
28 |
5 |
146 |
| drm_modeset_unlock_all |
|
12 |
2 |
69 |
| drm_modeset_lock_crtc |
|
32 |
8 |
161 |
| drm_modeset_legacy_acquire_ctx |
|
7 |
2 |
41 |
| drm_modeset_unlock_crtc |
|
10 |
2 |
49 |
| drm_warn_on_modeset_not_all_locked |
|
10 |
2 |
66 |
| drm_modeset_acquire_init |
|
7 |
1 |
44 |
| drm_modeset_acquire_fini |
|
4 |
1 |
17 |
| drm_modeset_drop_locks |
|
10 |
2 |
54 |
| modeset_lock |
|
32 |
10 |
218 |
| modeset_backoff |
|
10 |
2 |
55 |
| drm_modeset_backoff |
|
4 |
1 |
16 |
| drm_modeset_backoff_interruptible |
|
4 |
1 |
17 |
| drm_modeset_lock |
|
8 |
2 |
43 |
| drm_modeset_lock_interruptible |
|
7 |
2 |
41 |
| drm_modeset_unlock |
|
5 |
1 |
25 |
| drm_modeset_lock_all_crtcs |
|
18 |
3 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915_pciids.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_rect.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_rect_adjust_size |
|
7 |
1 |
59 |
| drm_rect_translate |
|
7 |
1 |
39 |
| drm_rect_downscale |
|
7 |
1 |
39 |
| drm_rect_width |
|
4 |
1 |
19 |
| drm_rect_height |
|
4 |
1 |
19 |
| drm_rect_visible |
|
4 |
2 |
25 |
| drm_rect_equals |
|
6 |
4 |
49 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_linux.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hweight8 |
|
7 |
1 |
65 |
| hweight16 |
|
8 |
1 |
80 |
| hweight32 |
|
9 |
1 |
91 |
| hweight64 |
|
10 |
1 |
104 |
| bitmap_set |
|
6 |
2 |
38 |
| bitmap_zero |
|
7 |
2 |
44 |
| bitmap_or |
|
9 |
2 |
78 |
| bitmap_weight |
|
9 |
2 |
55 |
| __hash_init |
|
6 |
2 |
37 |
| __hash_empty |
|
9 |
3 |
48 |
| ERR_PTR |
|
4 |
1 |
14 |
| PTR_ERR |
|
4 |
1 |
15 |
| IS_ERR |
|
4 |
1 |
19 |
| IS_ERR_OR_NULL |
|
4 |
2 |
22 |
| ERR_CAST |
|
4 |
1 |
16 |
| PTR_ERR_OR_ZERO |
|
4 |
2 |
22 |
| _spin_lock_irqsave |
|
5 |
1 |
21 |
| _spin_unlock_irqrestore |
|
5 |
1 |
21 |
| init_waitqueue_head |
|
5 |
1 |
24 |
| init_completion |
|
5 |
1 |
27 |
| _wait_for_completion_interruptible_timeout |
|
14 |
4 |
89 |
| _complete_all |
|
7 |
1 |
43 |
| alloc_ordered_workqueue |
|
5 |
1 |
36 |
| destroy_workqueue |
|
4 |
1 |
19 |
| INIT_WORK |
|
5 |
1 |
40 |
| queue_work |
|
5 |
1 |
38 |
| cancel_work_sync |
|
4 |
1 |
21 |
| to_delayed_work |
|
4 |
1 |
20 |
| __delayed_work_tick |
|
5 |
1 |
29 |
| INIT_DELAYED_WORK |
|
5 |
1 |
37 |
| schedule_work |
|
4 |
1 |
22 |
| schedule_delayed_work |
|
5 |
1 |
29 |
| queue_delayed_work |
|
6 |
1 |
39 |
| mod_delayed_work |
|
6 |
1 |
43 |
| cancel_delayed_work |
|
6 |
2 |
37 |
| cancel_delayed_work_sync |
|
6 |
2 |
37 |
| timespec_sub |
|
6 |
1 |
31 |
| round_jiffies_up |
|
4 |
1 |
16 |
| round_jiffies_up_relative |
|
4 |
1 |
16 |
| set_normalized_timespec |
|
9 |
2 |
42 |
| timespec_to_ns |
|
4 |
1 |
25 |
| timespec_to_jiffies |
|
8 |
2 |
54 |
| timespec_valid |
|
7 |
5 |
46 |
| ktime_get |
|
6 |
1 |
19 |
| ktime_get_monotonic_offset |
|
5 |
1 |
19 |
| ktime_to_us |
|
4 |
1 |
15 |
| ktime_to_ns |
|
4 |
1 |
15 |
| ktime_get_raw_ns |
|
4 |
1 |
14 |
| ktime_sub |
|
6 |
1 |
31 |
| ktime_add_ns |
|
4 |
1 |
23 |
| ktime_sub_ns |
|
4 |
1 |
23 |
| ktime_us_delta |
|
4 |
1 |
23 |
| kmalloc |
|
4 |
1 |
20 |
| kmalloc_array |
|
6 |
3 |
40 |
| kcalloc |
|
6 |
3 |
42 |
| kzalloc |
|
4 |
1 |
22 |
| kfree |
|
4 |
1 |
22 |
| kmemdup |
|
7 |
2 |
46 |
| kasprintf |
|
16 |
2 |
90 |
| vzalloc |
|
4 |
1 |
22 |
| vfree |
|
4 |
1 |
17 |
| kref_init |
|
4 |
1 |
15 |
| kref_get |
|
4 |
1 |
17 |
| kref_get_unless_zero |
|
9 |
2 |
40 |
| kref_put |
|
5 |
2 |
38 |
| kref_sub |
|
5 |
2 |
44 |
| kref_put_mutex |
|
14 |
3 |
83 |
| kobject_init |
|
5 |
1 |
28 |
| kobject_init_and_add |
|
6 |
1 |
38 |
| kobject_get |
|
6 |
2 |
28 |
| kobject_release |
|
6 |
3 |
45 |
| kobject_put |
|
5 |
2 |
25 |
| kobject_del |
|
3 |
1 |
9 |
| prepare_to_wait |
|
7 |
2 |
37 |
| finish_wait |
|
5 |
2 |
25 |
| schedule_timeout |
|
4 |
1 |
33 |
| div_u64 |
|
4 |
1 |
17 |
| div_s64 |
|
4 |
1 |
17 |
| div64_u64 |
|
4 |
1 |
17 |
| div64_u64_rem |
|
5 |
1 |
28 |
| div64_s64 |
|
4 |
1 |
17 |
| abs64 |
|
4 |
2 |
19 |
| __copy_to_user |
|
6 |
2 |
33 |
| copy_to_user |
|
4 |
1 |
26 |
| __copy_from_user |
|
6 |
2 |
33 |
| copy_from_user |
|
4 |
1 |
26 |
| pci_read_config_dword |
|
5 |
1 |
35 |
| pci_read_config_word |
|
7 |
1 |
59 |
| pci_read_config_byte |
|
7 |
1 |
59 |
| pci_write_config_dword |
|
5 |
1 |
33 |
| pci_write_config_word |
|
9 |
1 |
93 |
| pci_write_config_byte |
|
9 |
1 |
93 |
| pci_bus_read_config_word |
|
10 |
1 |
85 |
| pci_bus_read_config_byte |
|
10 |
1 |
85 |
| vga_client_register |
|
4 |
1 |
25 |
| pci_map_page |
|
4 |
1 |
30 |
| pci_unmap_page |
|
3 |
1 |
18 |
| pci_dma_mapping_error |
|
4 |
1 |
15 |
| i2c_get_adapdata |
|
4 |
1 |
14 |
| i2c_set_adapdata |
|
4 |
1 |
19 |
| ioread32 |
|
4 |
1 |
22 |
| ioread64 |
|
4 |
1 |
22 |
| iowrite32 |
|
4 |
1 |
23 |
| access_ok |
|
4 |
1 |
19 |
| capable |
|
5 |
1 |
22 |
| roundup_pow_of_two |
|
4 |
1 |
21 |
| udelay |
|
4 |
1 |
13 |
| ndelay |
|
4 |
1 |
20 |
| usleep_range |
|
4 |
1 |
17 |
| mdelay |
|
6 |
2 |
23 |
| cpu_relax |
|
8 |
2 |
24 |
| ror32 |
|
4 |
1 |
30 |
| irqs_disabled |
|
4 |
1 |
11 |
| in_dbg_master |
|
5 |
2 |
16 |
| power_supply_is_system_supplied |
|
4 |
1 |
11 |
| isascii |
|
4 |
1 |
18 |
| isprint |
|
8 |
4 |
47 |
| of_machine_is_compatible |
|
5 |
1 |
26 |
| alloc_page |
|
4 |
1 |
16 |
| __free_page |
|
4 |
1 |
17 |
| get_order |
|
4 |
1 |
20 |
| pagefault_disable |
|
5 |
1 |
25 |
| pagefault_enable |
|
5 |
1 |
25 |
| pagefault_disabled |
|
4 |
1 |
13 |
| kmap_atomic |
|
8 |
2 |
43 |
| kunmap_atomic |
|
6 |
2 |
27 |
| __copy_to_user_inatomic |
|
10 |
2 |
67 |
| __copy_from_user_inatomic |
|
10 |
2 |
67 |
| __copy_from_user_inatomic_nocache |
|
4 |
1 |
26 |
| backlight_update_status |
|
4 |
1 |
18 |
| pwm_get |
|
4 |
1 |
21 |
| pwm_put |
|
3 |
1 |
9 |
| pwm_get_duty_cycle |
|
4 |
1 |
13 |
| pwm_config |
|
4 |
1 |
19 |
| pwm_enable |
|
4 |
1 |
13 |
| pwm_disable |
|
3 |
1 |
9 |
| __sg_page_iter_start |
|
7 |
1 |
42 |
| __sg_page_iter_next |
|
11 |
3 |
71 |
| sg_page_iter_dma_address |
|
4 |
1 |
25 |
| sg_page_iter_page |
|
4 |
1 |
18 |
| sg_page |
|
4 |
1 |
17 |
| request_firmware |
|
5 |
1 |
24 |
| release_firmware |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_agpsupport.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_agp_info |
|
18 |
3 |
137 |
| drm_agp_acquire |
|
11 |
4 |
64 |
| drm_agp_release |
|
8 |
3 |
51 |
| drm_agp_enable |
|
10 |
4 |
81 |
| drm_agp_takedown |
|
7 |
2 |
32 |
| drm_agp_init |
|
21 |
4 |
128 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_hashtab.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_ht_create |
|
17 |
4 |
117 |
| drm_ht_verbose_list |
|
13 |
2 |
89 |
| drm_ht_find_key |
|
18 |
4 |
95 |
| drm_ht_find_key_rcu |
|
18 |
4 |
95 |
| drm_ht_insert_item |
|
26 |
5 |
148 |
| drm_ht_just_insert_please |
|
23 |
6 |
142 |
| drm_ht_find_item |
|
12 |
3 |
68 |
| drm_ht_remove_key |
|
12 |
3 |
56 |
| drm_ht_remove_item |
|
7 |
2 |
36 |
| drm_ht_remove |
|
11 |
4 |
64 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/nouveau_drm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_displayid.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drmP.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_can_sleep |
|
7 |
7 |
36 |
| drm_crtc_vblank_waitqueue |
|
4 |
1 |
25 |
| drm_sysfs_connector_add |
|
4 |
1 |
12 |
| drm_sysfs_connector_remove |
|
3 |
1 |
9 |
| drm_sysfs_hotplug_event |
|
3 |
1 |
9 |
| drm_gem_object_reference |
|
4 |
1 |
17 |
| drm_gem_object_unreference |
|
5 |
2 |
25 |
| drm_gem_object_unreference_unlocked |
|
10 |
4 |
79 |
| drm_core_check_feature |
|
5 |
2 |
29 |
| drm_is_render_client |
|
5 |
2 |
22 |
| drm_is_control_client |
|
5 |
2 |
22 |
| drm_is_primary_client |
|
5 |
2 |
22 |
| drm_dev_to_irq |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_crtc_helper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_helper_move_panel_connectors_to_head |
|
13 |
3 |
82 |
| drm_helper_encoder_in_use |
|
13 |
3 |
78 |
| drm_helper_crtc_in_use |
|
11 |
4 |
67 |
| drm_encoder_disable |
|
10 |
2 |
62 |
| __drm_helper_disable_unused_functions |
|
23 |
4 |
126 |
| drm_helper_disable_unused_functions |
|
6 |
1 |
24 |
| drm_crtc_prepare_encoders |
|
13 |
4 |
72 |
| drm_crtc_helper_set_mode |
|
96 |
12 |
568 |
| drm_crtc_helper_disable |
|
17 |
3 |
81 |
| drm_crtc_helper_set_config |
|
194 |
40 |
1274 |
| drm_helper_choose_encoder_dpms |
|
11 |
3 |
59 |
| drm_helper_encoder_dpms |
|
16 |
4 |
82 |
| drm_helper_choose_crtc_dpms |
|
11 |
4 |
65 |
| drm_helper_connector_dpms |
|
33 |
12 |
190 |
| drm_helper_mode_fill_fb_struct |
|
16 |
2 |
123 |
| drm_helper_resume_force_mode |
|
32 |
6 |
170 |
| drm_helper_crtc_mode_set |
|
39 |
9 |
229 |
| drm_helper_crtc_mode_set_base |
|
26 |
4 |
199 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_memory.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_alloc |
|
4 |
1 |
19 |
| drm_calloc |
|
7 |
3 |
42 |
| drm_realloc |
|
12 |
4 |
72 |
| drm_free |
|
5 |
2 |
23 |
| drm_mtrr_add |
|
12 |
1 |
72 |
| drm_mtrr_del |
|
12 |
1 |
75 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_sarea.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/linux_hdmi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hdmi_infoframe_checksum |
|
9 |
2 |
54 |
| hdmi_avi_infoframe_init |
|
8 |
1 |
43 |
| hdmi_avi_infoframe_pack |
|
44 |
8 |
436 |
| hdmi_spd_infoframe_init |
|
11 |
1 |
85 |
| hdmi_spd_infoframe_pack |
|
20 |
2 |
143 |
| hdmi_audio_infoframe_init |
|
8 |
1 |
43 |
| hdmi_audio_infoframe_pack |
|
30 |
4 |
227 |
| hdmi_vendor_infoframe_init |
|
9 |
1 |
49 |
| hdmi_vendor_infoframe_pack |
|
36 |
9 |
254 |
| hdmi_vendor_any_infoframe_pack |
|
7 |
2 |
43 |
| hdmi_infoframe_pack |
|
23 |
5 |
128 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_mm.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_mm_node_allocated |
|
4 |
1 |
14 |
| drm_mm_initialized |
|
4 |
1 |
16 |
| __drm_mm_hole_node_start |
|
4 |
1 |
18 |
| drm_mm_hole_node_start |
|
5 |
1 |
23 |
| __drm_mm_hole_node_end |
|
4 |
1 |
19 |
| drm_mm_hole_node_end |
|
4 |
1 |
15 |
| drm_mm_insert_node |
|
9 |
1 |
42 |
| drm_mm_insert_node_in_range |
|
12 |
1 |
52 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/linux_hdmi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_dp_mst_topology.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_dp_msg_header_crc4 |
|
30 |
6 |
147 |
| drm_dp_msg_data_crc4 |
|
30 |
6 |
149 |
| drm_dp_calc_sb_hdr_size |
|
6 |
1 |
27 |
| drm_dp_encode_sideband_msg_hdr |
|
16 |
2 |
185 |
| drm_dp_decode_sideband_msg_hdr |
|
34 |
5 |
298 |
| drm_dp_encode_sideband_req |
|
96 |
11 |
971 |
| drm_dp_crc_sideband_chunk_req |
|
6 |
1 |
30 |
| drm_dp_encode_sideband_reply |
|
8 |
1 |
58 |
| drm_dp_sideband_msg_build |
|
38 |
10 |
296 |
| drm_dp_sideband_parse_link_address |
|
47 |
11 |
482 |
| drm_dp_sideband_parse_remote_dpcd_read |
|
17 |
3 |
122 |
| drm_dp_sideband_parse_remote_dpcd_write |
|
13 |
2 |
69 |
| drm_dp_sideband_parse_remote_i2c_read_ack |
|
16 |
2 |
116 |
| drm_dp_sideband_parse_enum_path_resources_ack |
|
21 |
4 |
166 |
| drm_dp_sideband_parse_allocate_payload_ack |
|
21 |
4 |
149 |
| drm_dp_sideband_parse_query_payload_ack |
|
17 |
3 |
120 |
| drm_dp_sideband_parse_reply |
|
32 |
9 |
221 |
| drm_dp_sideband_parse_connection_status_notify |
|
23 |
3 |
220 |
| drm_dp_sideband_parse_resource_status_notify |
|
19 |
3 |
144 |
| drm_dp_sideband_parse_req |
|
15 |
3 |
86 |
| build_dpcd_write |
|
11 |
1 |
83 |
| build_link_address |
|
7 |
1 |
30 |
| build_enum_path_resources |
|
9 |
1 |
49 |
| build_allocate_payload |
|
13 |
1 |
88 |
| drm_dp_mst_assign_payload_id |
|
25 |
3 |
161 |
| drm_dp_mst_put_payload_id |
|
18 |
5 |
120 |
| check_txmsg_state |
|
8 |
2 |
36 |
| drm_dp_mst_wait_tx_reply |
|
30 |
7 |
171 |
| drm_dp_add_mst_branch_device |
|
13 |
3 |
81 |
| drm_dp_free_mst_branch_device |
|
9 |
3 |
61 |
| drm_dp_destroy_mst_branch_device |
|
28 |
6 |
207 |
| drm_dp_put_mst_branch_device |
|
4 |
1 |
19 |
| drm_dp_port_teardown_pdt |
|
15 |
4 |
61 |
| drm_dp_destroy_port |
|
20 |
3 |
134 |
| drm_dp_put_port |
|
4 |
1 |
19 |
| drm_dp_mst_get_validated_mstb_ref_locked |
|
17 |
4 |
85 |
| drm_dp_get_validated_mstb_ref |
|
9 |
2 |
57 |
| drm_dp_mst_get_port_ref_locked |
|
16 |
4 |
83 |
| drm_dp_get_validated_port_ref |
|
9 |
2 |
57 |
| drm_dp_get_port |
|
11 |
2 |
54 |
| drm_dp_calculate_rad |
|
14 |
3 |
98 |
| drm_dp_port_setup_pdt |
|
20 |
4 |
101 |
| drm_dp_check_mstb_guid |
|
21 |
3 |
94 |
| build_mst_prop_path |
|
17 |
3 |
143 |
| drm_dp_add_port |
|
75 |
16 |
521 |
| drm_dp_update_port |
|
32 |
8 |
177 |
| drm_dp_get_mst_branch_device |
|
27 |
5 |
164 |
| get_mst_branch_device_by_guid_helper |
|
17 |
4 |
84 |
| drm_dp_get_mst_branch_device_by_guid |
|
12 |
2 |
60 |
| drm_dp_check_and_send_link_address |
|
23 |
7 |
121 |
| drm_dp_mst_link_probe_work |
|
15 |
3 |
83 |
| drm_dp_validate_guid |
|
12 |
2 |
81 |
| build_dpcd_read |
|
10 |
1 |
69 |
| drm_dp_send_sideband_msg |
|
28 |
6 |
148 |
| set_hdr_from_dst_qlock |
|
33 |
10 |
234 |
| process_single_tx_qlock |
|
40 |
7 |
266 |
| process_single_down_tx_qlock |
|
27 |
6 |
175 |
| process_single_up_tx_qlock |
|
9 |
2 |
54 |
| drm_dp_queue_down_tx |
|
9 |
2 |
55 |
| drm_dp_send_link_address |
|
44 |
6 |
383 |
| drm_dp_send_enum_path_resources |
|
28 |
5 |
189 |
| drm_dp_get_last_connected_port_to_mstb |
|
8 |
3 |
44 |
| drm_dp_get_last_connected_port_and_mstb |
|
18 |
3 |
91 |
| drm_dp_payload_send_msg |
|
43 |
7 |
222 |
| drm_dp_create_payload_step1 |
|
13 |
2 |
57 |
| drm_dp_create_payload_step2 |
|
12 |
2 |
60 |
| drm_dp_destroy_payload_step1 |
|
13 |
2 |
62 |
| drm_dp_destroy_payload_step2 |
|
7 |
1 |
26 |
| drm_dp_update_payload_part1 |
|
60 |
14 |
534 |
| drm_dp_update_payload_part2 |
|
24 |
6 |
201 |
| drm_dp_send_dpcd_read |
|
14 |
2 |
83 |
| drm_dp_send_dpcd_write |
|
31 |
5 |
172 |
| drm_dp_encode_up_ack_reply |
|
8 |
1 |
39 |
| drm_dp_send_up_ack_reply |
|
17 |
2 |
100 |
| drm_dp_get_vc_payload_bw |
|
21 |
4 |
73 |
| drm_dp_mst_topology_mgr_set_mst |
|
61 |
8 |
371 |
| drm_dp_mst_topology_mgr_suspend |
|
9 |
1 |
54 |
| drm_dp_mst_topology_mgr_resume |
|
34 |
5 |
183 |
| drm_dp_get_one_sb_msg |
|
44 |
8 |
257 |
| drm_dp_mst_handle_down_rep |
|
49 |
6 |
361 |
| drm_dp_mst_handle_up_req |
|
53 |
12 |
464 |
| drm_dp_mst_hpd_irq |
|
21 |
4 |
114 |
| drm_dp_mst_detect_port |
|
28 |
10 |
133 |
| drm_dp_mst_get_edid |
|
15 |
3 |
88 |
| drm_dp_find_vcpi_slots |
|
9 |
2 |
41 |
| drm_dp_init_vcpi |
|
16 |
3 |
89 |
| drm_dp_mst_allocate_vcpi |
|
26 |
5 |
179 |
| drm_dp_mst_get_vcpi_slots |
|
10 |
2 |
52 |
| drm_dp_mst_reset_vcpi_slots |
|
8 |
2 |
43 |
| drm_dp_mst_deallocate_vcpi |
|
12 |
2 |
78 |
| drm_dp_dpcd_write_payload |
|
36 |
5 |
192 |
| drm_dp_check_act_status |
|
25 |
5 |
114 |
| drm_dp_calc_pbn_mode |
|
13 |
1 |
63 |
| test_calc_pbn_mode |
|
23 |
4 |
114 |
| drm_dp_mst_kick_tx |
|
4 |
1 |
19 |
| drm_dp_mst_dump_mstb |
|
17 |
3 |
132 |
| dump_dp_payload_table |
|
14 |
4 |
81 |
| drm_dp_mst_dump_topology |
|
65 |
13 |
589 |
| drm_dp_tx_work |
|
8 |
2 |
51 |
| drm_dp_free_mst_port |
|
6 |
1 |
41 |
| drm_dp_destroy_connector_work |
|
30 |
6 |
211 |
| drm_dp_mst_topology_mgr_init |
|
30 |
3 |
226 |
| drm_dp_mst_topology_mgr_destroy |
|
13 |
1 |
79 |
| drm_dp_mst_i2c_xfer |
|
59 |
10 |
464 |
| drm_dp_mst_i2c_functionality |
|
7 |
1 |
20 |
| drm_dp_mst_register_i2c_bus |
|
13 |
3 |
118 |
| drm_dp_mst_unregister_i2c_bus |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/linux_list_sort.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| list_sort |
|
26 |
5 |
233 |
| list_sort_merge |
|
14 |
5 |
128 |
| list_sort_merge_into |
|
23 |
6 |
179 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_linux_list.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| INIT_LIST_HEAD |
|
4 |
1 |
25 |
| list_empty |
|
3 |
1 |
19 |
| list_is_singular |
|
3 |
2 |
31 |
| list_add |
|
6 |
1 |
52 |
| list_add_tail |
|
6 |
1 |
52 |
| list_del |
|
4 |
1 |
37 |
| list_replace |
|
8 |
1 |
46 |
| list_replace_init |
|
6 |
1 |
26 |
| list_move |
|
5 |
1 |
26 |
| list_move_tail |
|
6 |
1 |
26 |
| list_del_init |
|
5 |
1 |
42 |
| __list_splice |
|
10 |
1 |
62 |
| list_splice |
|
6 |
2 |
35 |
| list_splice_tail |
|
6 |
2 |
35 |
| INIT_HLIST_HEAD |
|
3 |
1 |
15 |
| hlist_empty |
|
3 |
1 |
17 |
| hlist_add_head |
|
7 |
2 |
54 |
| hlist_del_init |
|
8 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_dp_helper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dp_link_status |
|
4 |
1 |
22 |
| dp_get_lane_status |
|
8 |
1 |
57 |
| drm_dp_channel_eq_ok |
|
17 |
4 |
85 |
| drm_dp_clock_recovery_ok |
|
12 |
3 |
60 |
| drm_dp_get_adjust_request_voltage |
|
10 |
2 |
66 |
| drm_dp_get_adjust_request_pre_emphasis |
|
10 |
2 |
66 |
| drm_dp_link_train_clock_recovery_delay |
|
6 |
2 |
36 |
| drm_dp_link_train_channel_eq_delay |
|
6 |
2 |
36 |
| drm_dp_link_rate_to_bw_code |
|
12 |
4 |
33 |
| drm_dp_bw_code_to_link_rate |
|
12 |
4 |
33 |
| drm_dp_dpcd_access |
|
38 |
8 |
203 |
| drm_dp_dpcd_read |
|
6 |
1 |
34 |
| drm_dp_dpcd_write |
|
6 |
1 |
34 |
| drm_dp_dpcd_read_link_status |
|
6 |
1 |
27 |
| drm_dp_link_probe |
|
15 |
3 |
111 |
| drm_dp_link_power_up |
|
17 |
4 |
90 |
| drm_dp_link_power_down |
|
16 |
4 |
83 |
| drm_dp_link_configure |
|
13 |
3 |
87 |
| drm_dp_i2c_functionality |
|
7 |
1 |
20 |
| drm_dp_i2c_msg_write_status_update |
|
7 |
2 |
35 |
| drm_dp_aux_req_duration |
|
8 |
2 |
48 |
| drm_dp_aux_reply_duration |
|
8 |
2 |
42 |
| drm_dp_i2c_msg_duration |
|
7 |
1 |
35 |
| drm_dp_i2c_retry_count |
|
8 |
1 |
46 |
| drm_dp_i2c_do_msg |
|
52 |
12 |
280 |
| drm_dp_i2c_msg_set_request |
|
7 |
2 |
37 |
| drm_dp_i2c_drain_msg |
|
18 |
6 |
110 |
| drm_dp_i2c_xfer |
|
42 |
7 |
306 |
| drm_dp_aux_register |
|
14 |
3 |
128 |
| drm_dp_aux_unregister |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_global.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_global_init |
|
10 |
2 |
57 |
| drm_global_release |
|
9 |
2 |
53 |
| drm_global_item_ref |
|
25 |
4 |
149 |
| drm_global_item_unref |
|
12 |
2 |
82 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915_drm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_edid_modes.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_mm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_mm_insert_helper |
|
47 |
8 |
285 |
| drm_mm_reserve_node |
|
28 |
5 |
168 |
| drm_mm_insert_node_generic |
|
14 |
2 |
79 |
| drm_mm_insert_helper_range |
|
53 |
11 |
333 |
| drm_mm_insert_node_in_range_generic |
|
18 |
2 |
93 |
| drm_mm_remove_node |
|
25 |
6 |
165 |
| check_free_hole |
|
13 |
4 |
67 |
| drm_mm_search_free_generic |
|
33 |
6 |
159 |
| drm_mm_search_free_in_range_generic |
|
39 |
8 |
185 |
| drm_mm_replace_node |
|
12 |
1 |
92 |
| drm_mm_init_scan |
|
14 |
1 |
67 |
| drm_mm_init_scan_with_range |
|
18 |
1 |
85 |
| drm_mm_scan_add_block |
|
36 |
6 |
233 |
| drm_mm_scan_remove_block |
|
14 |
2 |
99 |
| drm_mm_clean |
|
5 |
1 |
32 |
| drm_mm_init |
|
16 |
1 |
134 |
| drm_mm_takedown |
|
5 |
1 |
25 |
| drm_mm_debug_hole |
|
14 |
2 |
68 |
| drm_mm_debug_table |
|
15 |
1 |
109 |
| drm_mm_dump_hole |
|
13 |
2 |
68 |
| drm_mm_dump_table |
|
16 |
1 |
112 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_panel.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_panel_init |
|
4 |
1 |
17 |
| drm_panel_add |
|
7 |
1 |
35 |
| drm_panel_remove |
|
6 |
1 |
29 |
| drm_panel_attach |
|
8 |
2 |
41 |
| drm_panel_detach |
|
6 |
1 |
24 |
| of_drm_find_panel |
|
13 |
2 |
61 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_mode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_cache.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_fixed.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dfixed_floor |
|
5 |
1 |
21 |
| dfixed_ceil |
|
8 |
2 |
41 |
| dfixed_div |
|
8 |
1 |
48 |
| drm_int2fixp |
|
4 |
1 |
18 |
| drm_fixp2int |
|
4 |
1 |
18 |
| drm_fixp2int_ceil |
|
7 |
2 |
30 |
| drm_fixp_msbset |
|
8 |
3 |
55 |
| drm_fixp_mul |
|
17 |
4 |
110 |
| drm_fixp_div |
|
12 |
3 |
71 |
| drm_fixp_from_fraction |
|
29 |
6 |
146 |
| drm_fixp_exp |
|
17 |
4 |
102 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_gem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_ref |
|
6 |
1 |
29 |
| drm_unref |
|
6 |
1 |
29 |
| drm_fault |
|
38 |
6 |
294 |
| drm_flush |
|
4 |
1 |
23 |
| udv_attach_drm |
|
35 |
7 |
234 |
| drm_gem_init |
|
16 |
2 |
79 |
| drm_gem_destroy |
|
6 |
1 |
29 |
| drm_gem_object_init |
|
11 |
2 |
64 |
| drm_gem_object_init |
|
11 |
1 |
85 |
| drm_gem_private_object_init |
|
11 |
1 |
72 |
| drm_gem_remove_prime_handles |
|
9 |
3 |
54 |
| drm_gem_object_handle_free |
|
8 |
2 |
44 |
| drm_gem_object_exported_dma_buf_free |
|
7 |
3 |
30 |
| drm_gem_object_handle_unreference_unlocked |
|
12 |
3 |
68 |
| drm_gem_handle_delete |
|
21 |
4 |
141 |
| drm_gem_dumb_destroy |
|
6 |
1 |
25 |
| drm_gem_handle_create_tail |
|
37 |
5 |
224 |
| drm_gem_handle_create |
|
7 |
1 |
38 |
| drm_gem_free_mmap_offset |
|
5 |
1 |
30 |
| drm_gem_create_mmap_offset_size |
|
6 |
1 |
38 |
| drm_gem_create_mmap_offset |
|
4 |
1 |
19 |
| drm_gem_get_pages |
|
29 |
6 |
200 |
| drm_gem_put_pages |
|
15 |
4 |
103 |
| drm_gem_object_lookup |
|
14 |
2 |
77 |
| drm_gem_close_ioctl |
|
10 |
2 |
59 |
| drm_gem_flink_ioctl |
|
31 |
6 |
183 |
| drm_gem_open_ioctl |
|
25 |
4 |
145 |
| drm_gem_open |
|
5 |
1 |
32 |
| drm_gem_object_release_handle |
|
13 |
3 |
93 |
| drm_gem_release |
|
6 |
1 |
35 |
| drm_gem_object_release |
|
6 |
2 |
29 |
| drm_gem_object_release |
|
8 |
2 |
51 |
| drm_gem_object_free |
|
8 |
2 |
61 |
| drm_gem_vm_open |
|
8 |
1 |
52 |
| drm_gem_vm_close |
|
9 |
1 |
57 |
| drm_gem_mmap_obj |
|
17 |
3 |
121 |
| drm_gem_mmap |
|
25 |
4 |
174 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_hashtab.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_atomic_helper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_atomic_helper_plane_changed |
|
19 |
5 |
104 |
| get_current_crtc_for_encoder |
|
13 |
2 |
71 |
| steal_encoder |
|
30 |
4 |
178 |
| update_connector_routing |
|
88 |
13 |
482 |
| mode_fixup |
|
68 |
15 |
384 |
| drm_atomic_helper_check_modeset |
|
55 |
11 |
314 |
| drm_atomic_helper_check_planes |
|
35 |
7 |
192 |
| drm_atomic_helper_check |
|
12 |
3 |
52 |
| disable_outputs |
|
49 |
13 |
300 |
| drm_atomic_helper_update_legacy_modeset_state |
|
49 |
13 |
326 |
| crtc_set_mode |
|
39 |
7 |
241 |
| drm_atomic_helper_commit_modeset_disables |
|
7 |
1 |
35 |
| drm_atomic_helper_commit_modeset_enables |
|
44 |
9 |
251 |
| wait_for_fences |
|
15 |
2 |
88 |
| framebuffer_changed |
|
16 |
4 |
80 |
| drm_atomic_helper_wait_for_vblanks |
|
34 |
7 |
177 |
| drm_atomic_helper_commit |
|
20 |
3 |
103 |
| drm_atomic_helper_prepare_planes |
|
32 |
8 |
192 |
| plane_crtc_active |
|
4 |
2 |
22 |
| drm_atomic_helper_commit_planes |
|
46 |
19 |
269 |
| drm_atomic_helper_commit_planes_on_crtc |
|
30 |
12 |
205 |
| drm_atomic_helper_cleanup_planes |
|
13 |
2 |
66 |
| drm_atomic_helper_swap_state |
|
29 |
7 |
221 |
| drm_atomic_helper_update_plane |
|
50 |
7 |
266 |
| drm_atomic_helper_disable_plane |
|
37 |
9 |
197 |
| __drm_atomic_helper_disable_plane |
|
18 |
2 |
93 |
| update_output_state |
|
54 |
13 |
298 |
| drm_atomic_helper_set_config |
|
28 |
5 |
141 |
| __drm_atomic_helper_set_config |
|
57 |
10 |
370 |
| drm_atomic_helper_crtc_set_property |
|
35 |
6 |
166 |
| drm_atomic_helper_plane_set_property |
|
35 |
6 |
166 |
| drm_atomic_helper_connector_set_property |
|
35 |
6 |
166 |
| drm_atomic_helper_page_flip |
|
47 |
8 |
239 |
| drm_atomic_helper_connector_dpms |
|
52 |
9 |
264 |
| drm_atomic_helper_crtc_reset |
|
9 |
4 |
68 |
| __drm_atomic_helper_crtc_duplicate_state |
|
12 |
2 |
72 |
| drm_atomic_helper_crtc_duplicate_state |
|
10 |
3 |
54 |
| __drm_atomic_helper_crtc_destroy_state |
|
6 |
2 |
27 |
| drm_atomic_helper_crtc_destroy_state |
|
6 |
1 |
26 |
| drm_atomic_helper_plane_reset |
|
9 |
4 |
68 |
| __drm_atomic_helper_plane_duplicate_state |
|
7 |
2 |
42 |
| drm_atomic_helper_plane_duplicate_state |
|
10 |
3 |
54 |
| __drm_atomic_helper_plane_destroy_state |
|
6 |
2 |
27 |
| drm_atomic_helper_plane_destroy_state |
|
6 |
1 |
26 |
| drm_atomic_helper_connector_reset |
|
7 |
2 |
47 |
| __drm_atomic_helper_connector_duplicate_state |
|
5 |
1 |
29 |
| drm_atomic_helper_connector_duplicate_state |
|
10 |
3 |
54 |
| drm_atomic_helper_duplicate_state |
|
44 |
6 |
218 |
| __drm_atomic_helper_connector_destroy_state |
|
4 |
1 |
14 |
| drm_atomic_helper_connector_destroy_state |
|
6 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_atomic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_atomic_state_default_release |
|
9 |
1 |
51 |
| drm_atomic_state_init |
|
37 |
7 |
254 |
| drm_atomic_state_alloc |
|
16 |
4 |
90 |
| drm_atomic_state_default_clear |
|
35 |
8 |
264 |
| drm_atomic_state_clear |
|
9 |
2 |
51 |
| drm_atomic_state_free |
|
17 |
3 |
83 |
| drm_atomic_get_crtc_state |
|
21 |
4 |
134 |
| drm_atomic_set_mode_for_crtc |
|
29 |
6 |
177 |
| drm_atomic_set_mode_prop_for_crtc |
|
26 |
6 |
148 |
| drm_atomic_crtc_set_property |
|
23 |
5 |
135 |
| drm_atomic_crtc_get_property |
|
16 |
5 |
119 |
| drm_atomic_crtc_check |
|
22 |
9 |
125 |
| drm_atomic_get_plane_state |
|
28 |
6 |
171 |
| drm_atomic_plane_set_property |
|
40 |
14 |
306 |
| drm_atomic_plane_get_property |
|
35 |
15 |
307 |
| plane_switching_crtc |
|
10 |
4 |
54 |
| drm_atomic_plane_check |
|
54 |
17 |
403 |
| drm_atomic_get_connector_state |
|
33 |
7 |
208 |
| drm_atomic_connector_set_property |
|
18 |
4 |
120 |
| drm_atomic_connector_get_property |
|
18 |
5 |
127 |
| drm_atomic_get_property |
|
33 |
4 |
184 |
| drm_atomic_set_crtc_for_plane |
|
28 |
6 |
157 |
| drm_atomic_set_fb_for_plane |
|
15 |
4 |
67 |
| drm_atomic_set_crtc_for_connector |
|
18 |
4 |
83 |
| drm_atomic_add_affected_connectors |
|
21 |
4 |
120 |
| drm_atomic_add_affected_planes |
|
13 |
2 |
74 |
| drm_atomic_connectors_for_crtc |
|
14 |
2 |
72 |
| drm_atomic_legacy_backoff |
|
14 |
3 |
66 |
| drm_atomic_check_only |
|
41 |
7 |
222 |
| drm_atomic_commit |
|
10 |
2 |
61 |
| drm_atomic_async_commit |
|
10 |
2 |
61 |
| create_vblank_event |
|
28 |
3 |
210 |
| destroy_vblank_event |
|
9 |
1 |
57 |
| atomic_set_prop |
|
52 |
8 |
260 |
| drm_atomic_clean_old_fb |
|
18 |
4 |
93 |
| drm_mode_atomic_ioctl |
|
128 |
33 |
784 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_mem_util.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_calloc_large |
|
10 |
5 |
67 |
| drm_malloc_ab |
|
10 |
5 |
73 |
| drm_free_large |
|
7 |
3 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_crtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_connector_ida_init |
|
6 |
2 |
36 |
| drm_connector_ida_destroy |
|
6 |
2 |
36 |
| drm_get_connector_status_name |
|
9 |
3 |
31 |
| drm_get_subpixel_order_name |
|
4 |
1 |
16 |
| printable_char |
|
4 |
3 |
22 |
| drm_get_format_name |
|
13 |
2 |
82 |
| drm_mode_object_get_reg |
|
15 |
4 |
96 |
| drm_mode_object_get |
|
5 |
1 |
29 |
| drm_mode_object_register |
|
7 |
1 |
50 |
| drm_mode_object_put |
|
7 |
1 |
48 |
| _object_find |
|
17 |
9 |
113 |
| drm_mode_object_find |
|
8 |
2 |
47 |
| drm_framebuffer_init |
|
18 |
2 |
119 |
| __drm_framebuffer_unregister |
|
8 |
1 |
58 |
| drm_framebuffer_free |
|
12 |
2 |
79 |
| __drm_framebuffer_lookup |
|
14 |
4 |
94 |
| drm_framebuffer_lookup |
|
13 |
3 |
70 |
| drm_framebuffer_unreference |
|
5 |
1 |
42 |
| drm_framebuffer_reference |
|
5 |
1 |
40 |
| drm_framebuffer_unregister_private |
|
10 |
2 |
54 |
| drm_framebuffer_cleanup |
|
8 |
1 |
53 |
| drm_framebuffer_remove |
|
31 |
6 |
173 |
| drm_crtc_init_with_planes |
|
30 |
7 |
221 |
| drm_crtc_cleanup |
|
14 |
4 |
116 |
| drm_crtc_index |
|
11 |
2 |
46 |
| drm_mode_remove |
|
6 |
1 |
31 |
| drm_display_info_set_bus_formats |
|
18 |
6 |
91 |
| drm_connector_get_cmdline_mode |
|
35 |
12 |
173 |
| drm_connector_init |
|
55 |
7 |
321 |
| drm_connector_cleanup |
|
26 |
5 |
205 |
| drm_connector_index |
|
13 |
2 |
70 |
| drm_connector_register |
|
14 |
3 |
62 |
| drm_connector_unregister |
|
5 |
1 |
19 |
| drm_connector_unplug_all |
|
6 |
1 |
32 |
| drm_encoder_init |
|
29 |
4 |
159 |
| drm_encoder_cleanup |
|
11 |
1 |
73 |
| drm_universal_plane_init |
|
47 |
5 |
381 |
| drm_plane_init |
|
11 |
2 |
66 |
| drm_plane_cleanup |
|
17 |
5 |
138 |
| drm_plane_index |
|
11 |
2 |
46 |
| drm_plane_from_index |
|
11 |
2 |
46 |
| drm_plane_force_disable |
|
17 |
3 |
84 |
| drm_mode_create_standard_properties |
|
98 |
18 |
559 |
| drm_mode_create_dvi_i_properties |
|
19 |
2 |
85 |
| drm_mode_create_tv_properties |
|
76 |
16 |
493 |
| drm_mode_create_scaling_mode_property |
|
12 |
2 |
54 |
| drm_mode_create_aspect_ratio_property |
|
12 |
3 |
59 |
| drm_mode_create_dirty_info_property |
|
13 |
2 |
54 |
| drm_mode_create_suggested_offset_properties |
|
13 |
5 |
89 |
| drm_mode_getresources |
|
98 |
10 |
585 |
| drm_mode_getcrtc |
|
38 |
7 |
251 |
| drm_mode_expose_to_userspace |
|
7 |
3 |
34 |
| drm_connector_get_encoder |
|
6 |
2 |
27 |
| get_properties |
|
28 |
10 |
185 |
| drm_mode_getconnector |
|
92 |
18 |
620 |
| drm_encoder_get_crtc |
|
17 |
4 |
80 |
| drm_mode_getencoder |
|
24 |
4 |
156 |
| drm_mode_getplane_res |
|
31 |
8 |
171 |
| drm_mode_getplane |
|
36 |
8 |
231 |
| drm_plane_check_pixel_format |
|
9 |
3 |
52 |
| check_src_coords |
|
21 |
5 |
155 |
| __setplane_internal |
|
62 |
13 |
343 |
| setplane_internal |
|
16 |
1 |
90 |
| drm_mode_setplane |
|
35 |
6 |
201 |
| drm_mode_set_config_internal |
|
23 |
4 |
147 |
| drm_crtc_get_hv_timing |
|
9 |
1 |
52 |
| drm_crtc_check_viewport |
|
14 |
3 |
103 |
| drm_mode_setcrtc |
|
126 |
26 |
696 |
| drm_mode_cursor_universal |
|
56 |
10 |
348 |
| drm_mode_cursor_common |
|
44 |
12 |
287 |
| drm_mode_cursor_ioctl |
|
9 |
1 |
64 |
| drm_mode_cursor2_ioctl |
|
6 |
1 |
35 |
| drm_mode_legacy_fb_format |
|
31 |
8 |
104 |
| drm_mode_addfb |
|
18 |
2 |
126 |
| format_check |
|
71 |
61 |
226 |
| framebuffer_check |
|
76 |
26 |
511 |
| internal_framebuffer_create |
|
36 |
10 |
246 |
| drm_mode_addfb2 |
|
17 |
3 |
121 |
| drm_mode_rmfb_work_fn |
|
10 |
2 |
74 |
| drm_mode_rmfb |
|
38 |
6 |
256 |
| drm_mode_getfb |
|
31 |
7 |
185 |
| drm_mode_dirtyfb_ioctl |
|
55 |
13 |
303 |
| drm_fb_release |
|
20 |
3 |
136 |
| drm_property_create |
|
33 |
6 |
202 |
| drm_property_create_enum |
|
22 |
4 |
118 |
| drm_property_create_bitmask |
|
30 |
6 |
176 |
| property_create_range |
|
12 |
2 |
70 |
| drm_property_create_range |
|
7 |
1 |
39 |
| drm_property_create_signed_range |
|
7 |
1 |
45 |
| drm_property_create_object |
|
13 |
3 |
77 |
| drm_property_create_bool |
|
5 |
1 |
31 |
| drm_property_add_enum |
|
29 |
8 |
203 |
| drm_property_destroy |
|
13 |
2 |
86 |
| drm_object_attach_property |
|
18 |
3 |
93 |
| drm_object_property_set_value |
|
12 |
3 |
72 |
| drm_object_property_get_value |
|
27 |
9 |
178 |
| drm_mode_getproperty_ioctl |
|
65 |
16 |
425 |
| drm_property_create_blob |
|
28 |
6 |
197 |
| drm_property_free_blob |
|
10 |
1 |
73 |
| drm_property_unreference_blob |
|
13 |
3 |
90 |
| drm_property_unreference_blob_locked |
|
7 |
2 |
49 |
| drm_property_destroy_user_blobs |
|
11 |
1 |
70 |
| drm_property_reference_blob |
|
6 |
1 |
43 |
| __drm_property_lookup_blob |
|
15 |
4 |
108 |
| drm_property_lookup_blob |
|
13 |
3 |
70 |
| drm_property_replace_global_blob |
|
32 |
7 |
150 |
| drm_mode_getblob_ioctl |
|
29 |
5 |
175 |
| drm_mode_createblob_ioctl |
|
26 |
4 |
176 |
| drm_mode_destroyblob_ioctl |
|
33 |
5 |
178 |
| drm_mode_connector_set_path_property |
|
13 |
1 |
61 |
| drm_mode_connector_set_tile_property |
|
27 |
2 |
144 |
| drm_mode_connector_update_edid_property |
|
18 |
3 |
87 |
| drm_property_change_valid_get |
|
54 |
19 |
366 |
| drm_property_change_valid_put |
|
11 |
5 |
69 |
| drm_mode_connector_property_set_ioctl |
|
12 |
1 |
68 |
| drm_mode_connector_set_obj_prop |
|
20 |
7 |
154 |
| drm_mode_crtc_set_obj_prop |
|
12 |
3 |
73 |
| drm_mode_plane_set_obj_prop |
|
12 |
3 |
73 |
| drm_mode_obj_get_properties_ioctl |
|
26 |
4 |
157 |
| drm_mode_obj_set_property_ioctl |
|
51 |
12 |
298 |
| drm_mode_connector_attach_encoder |
|
12 |
3 |
65 |
| drm_mode_crtc_set_gamma_size |
|
12 |
2 |
58 |
| drm_mode_gamma_set_ioctl |
|
45 |
8 |
291 |
| drm_mode_gamma_get_ioctl |
|
40 |
7 |
250 |
| drm_mode_page_flip_ioctl |
|
92 |
20 |
653 |
| drm_mode_config_reset |
|
21 |
5 |
141 |
| drm_mode_create_dumb_ioctl |
|
23 |
9 |
169 |
| drm_mode_mmap_dumb_ioctl |
|
8 |
2 |
59 |
| drm_mode_destroy_dumb_ioctl |
|
8 |
2 |
54 |
| drm_fb_get_bpp_depth |
|
64 |
32 |
223 |
| drm_format_num_planes |
|
25 |
17 |
72 |
| drm_format_plane_cpp |
|
35 |
23 |
127 |
| drm_format_horz_chroma_subsampling |
|
25 |
17 |
72 |
| drm_format_vert_chroma_subsampling |
|
15 |
7 |
42 |
| drm_rotation_simplify |
|
10 |
2 |
59 |
| drm_mode_config_init |
|
26 |
1 |
220 |
| drm_mode_config_cleanup |
|
40 |
1 |
284 |
| drm_mode_create_rotation_property |
|
15 |
1 |
79 |
| drm_tile_group_free |
|
9 |
1 |
72 |
| drm_mode_put_tile_group |
|
5 |
1 |
24 |
| drm_mode_get_tile_group |
|
17 |
3 |
105 |
| drm_mode_create_tile_group |
|
22 |
3 |
145 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_internal.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_debugfs_init |
|
5 |
1 |
20 |
| drm_debugfs_cleanup |
|
4 |
1 |
12 |
| drm_debugfs_connector_add |
|
4 |
1 |
12 |
| drm_debugfs_connector_remove |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_plane_helper.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_plane_helper_add |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/radeon_drm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/linux_ww_mutex.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ww_acquire_init |
|
4 |
1 |
34 |
| ww_acquire_done |
|
2 |
1 |
10 |
| ww_acquire_fini |
|
2 |
1 |
10 |
| ww_mutex_init |
|
6 |
1 |
42 |
| ww_mutex_is_locked |
|
7 |
2 |
45 |
| ww_mutex_trylock |
|
12 |
2 |
68 |
| __ww_mutex_lock |
|
35 |
12 |
197 |
| ww_mutex_lock |
|
3 |
1 |
26 |
| ww_mutex_lock_slow |
|
3 |
1 |
28 |
| ww_mutex_lock_interruptible |
|
3 |
1 |
26 |
| ww_mutex_lock_slow_interruptible |
|
3 |
1 |
26 |
| ww_mutex_unlock |
|
10 |
1 |
66 |
| ww_mutex_destroy |
|
5 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_vma_manager.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_vma_offset_exact_lookup |
|
8 |
3 |
50 |
| drm_vma_offset_lock_lookup |
|
4 |
1 |
17 |
| drm_vma_offset_unlock_lookup |
|
4 |
1 |
17 |
| drm_vma_node_reset |
|
6 |
1 |
38 |
| drm_vma_node_start |
|
4 |
1 |
16 |
| drm_vma_node_size |
|
4 |
1 |
16 |
| drm_vma_node_has_offset |
|
4 |
1 |
18 |
| drm_vma_node_offset_addr |
|
4 |
1 |
24 |
| drm_vma_node_unmap |
|
8 |
3 |
43 |
| drm_vma_node_verify_access |
|
5 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_rect.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_rect_intersect |
|
8 |
1 |
81 |
| drm_rect_clip_scaled |
|
27 |
5 |
225 |
| drm_calc_scale |
|
10 |
4 |
47 |
| drm_rect_calc_hscale |
|
13 |
5 |
78 |
| drm_rect_calc_vscale |
|
13 |
5 |
78 |
| drm_rect_calc_hscale_relaxed |
|
21 |
5 |
120 |
| drm_rect_calc_vscale_relaxed |
|
21 |
5 |
120 |
| drm_rect_debug_print |
|
13 |
3 |
136 |
| drm_rect_rotate |
|
44 |
8 |
279 |
| drm_rect_rotate_inv |
|
44 |
8 |
279 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_crtc_helper.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_crtc_helper_add |
|
5 |
1 |
21 |
| drm_encoder_helper_add |
|
5 |
1 |
21 |
| drm_connector_helper_add |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_atomic_helper.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_atomic_plane_disabling |
|
7 |
6 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_bridge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_bridge_mode_fixup |
|
6 |
1 |
23 |
| drm_bridge_mode_set |
|
4 |
1 |
19 |
| drm_bridge_pre_enable |
|
3 |
1 |
9 |
| drm_bridge_enable |
|
3 |
1 |
9 |
| drm_bridge_disable |
|
3 |
1 |
9 |
| drm_bridge_post_disable |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_vma_manager.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_vma_offset_manager_init |
|
7 |
1 |
45 |
| drm_vma_offset_manager_destroy |
|
6 |
1 |
33 |
| drm_vma_offset_lookup |
|
10 |
1 |
52 |
| drm_vma_offset_lookup_locked |
|
28 |
6 |
145 |
| _drm_vma_offset_add_rb |
|
19 |
4 |
145 |
| drm_vma_offset_add |
|
18 |
3 |
96 |
| drm_vma_offset_remove |
|
11 |
2 |
80 |
| drm_vma_node_allow |
|
35 |
5 |
223 |
| drm_vma_node_revoke |
|
22 |
5 |
135 |
| drm_vma_node_is_allowed |
|
19 |
4 |
104 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_drv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pledge_ioctl_drm |
|
24 |
11 |
143 |
| drm_setunique |
|
5 |
1 |
24 |
| drm_noop |
|
5 |
1 |
21 |
| drm_attach_pci |
|
30 |
2 |
253 |
| drmprint |
|
6 |
2 |
31 |
| drmsubmatch |
|
8 |
2 |
62 |
| drm_pciprobe |
|
9 |
2 |
54 |
| drm_probe |
|
12 |
4 |
71 |
| drm_attach |
|
61 |
9 |
503 |
| drm_detach |
|
21 |
6 |
142 |
| drm_quiesce |
|
10 |
2 |
60 |
| drm_wakeup |
|
7 |
1 |
39 |
| drm_activate |
|
13 |
3 |
55 |
| drm_find_description |
|
12 |
6 |
97 |
| drm_file_cmp |
|
4 |
2 |
36 |
| drm_find_file_by_minor |
|
6 |
1 |
38 |
| drm_get_device_from_kdev |
|
7 |
2 |
45 |
| drm_firstopen |
|
12 |
3 |
68 |
| drm_lastclose |
|
11 |
6 |
70 |
| drmopen |
|
58 |
12 |
394 |
| drmclose |
|
54 |
10 |
411 |
| drm_do_ioctl |
|
66 |
24 |
460 |
| drmioctl |
|
21 |
7 |
171 |
| drmread |
|
37 |
9 |
254 |
| drm_dequeue_event |
|
21 |
3 |
130 |
| drmpoll |
|
22 |
5 |
150 |
| drmmmap |
|
4 |
1 |
17 |
| drm_getunique |
|
10 |
3 |
69 |
| drm_getcap |
|
45 |
16 |
227 |
| drm_setclientcap |
|
14 |
3 |
67 |
| drm_version |
|
12 |
1 |
100 |
| drm_setversion |
|
25 |
9 |
176 |
| drm_dmamem_alloc |
|
33 |
6 |
265 |
| drm_dmamem_free |
|
10 |
2 |
73 |
| drm_pci_alloc |
|
15 |
2 |
124 |
| drm_pci_free |
|
7 |
2 |
46 |
| drm_getmagic |
|
16 |
3 |
108 |
| drm_authmagic |
|
20 |
3 |
118 |
| drm_order |
|
10 |
3 |
51 |
| drm_pcie_get_speed_cap_mask |
|
41 |
12 |
258 |
| drm_getpciinfo |
|
14 |
1 |
118 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_edid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_edid_header_is_valid |
|
8 |
3 |
50 |
| drm_edid_block_checksum |
|
8 |
2 |
40 |
| drm_edid_is_zero |
|
6 |
2 |
29 |
| drm_edid_block_valid |
|
60 |
19 |
300 |
| drm_edid_is_valid |
|
11 |
4 |
69 |
| drm_do_probe_ddc_edid |
|
35 |
6 |
199 |
| drm_do_get_edid |
|
73 |
20 |
471 |
| drm_probe_ddc |
|
5 |
1 |
30 |
| drm_get_edid |
|
11 |
3 |
55 |
| drm_edid_duplicate |
|
4 |
1 |
28 |
| edid_vendor |
|
9 |
1 |
112 |
| edid_get_quirks |
|
12 |
4 |
73 |
| edid_fixup_preferred |
|
32 |
10 |
195 |
| mode_is_rb |
|
7 |
4 |
59 |
| drm_mode_find_dmt |
|
19 |
6 |
107 |
| cea_for_each_detailed_block |
|
9 |
2 |
80 |
| vtb_for_each_detailed_block |
|
9 |
3 |
85 |
| drm_for_each_detailed_block |
|
22 |
6 |
136 |
| is_rb |
|
7 |
3 |
50 |
| drm_monitor_supports_rb |
|
9 |
2 |
54 |
| find_gtf2 |
|
6 |
3 |
48 |
| drm_gtf2_hbreak |
|
6 |
2 |
43 |
| drm_gtf2_2c |
|
6 |
2 |
39 |
| drm_gtf2_m |
|
6 |
2 |
49 |
| drm_gtf2_k |
|
6 |
2 |
39 |
| drm_gtf2_2j |
|
6 |
2 |
39 |
| standard_timing_level |
|
11 |
5 |
54 |
| bad_std_timing |
|
6 |
6 |
41 |
| drm_mode_std |
|
81 |
26 |
528 |
| drm_mode_do_interlace_quirk |
|
29 |
5 |
175 |
| drm_mode_detailed |
|
77 |
18 |
617 |
| mode_in_hsync_range |
|
13 |
6 |
108 |
| mode_in_vsync_range |
|
13 |
6 |
108 |
| range_pixel_clock |
|
8 |
5 |
81 |
| mode_in_range |
|
19 |
11 |
157 |
| valid_inferred_mode |
|
16 |
6 |
96 |
| drm_dmt_modes_for_range |
|
18 |
5 |
114 |
| fixup_mode_1366x768 |
|
9 |
3 |
46 |
| drm_gtf_modes_for_range |
|
22 |
5 |
150 |
| drm_cvt_modes_for_range |
|
23 |
5 |
160 |
| do_inferred_modes |
|
31 |
8 |
165 |
| add_inferred_modes |
|
11 |
2 |
61 |
| drm_est3_modes |
|
25 |
6 |
171 |
| do_established_modes |
|
7 |
2 |
53 |
| add_established_modes |
|
26 |
5 |
177 |
| do_standard_modes |
|
20 |
4 |
129 |
| add_standard_modes |
|
21 |
4 |
123 |
| drm_cvt_modes |
|
43 |
10 |
304 |
| do_cvt_mode |
|
7 |
2 |
53 |
| add_cvt_modes |
|
10 |
2 |
61 |
| do_detailed_mode |
|
18 |
4 |
98 |
| add_detailed_modes |
|
15 |
3 |
91 |
| drm_find_edid_extension |
|
15 |
6 |
94 |
| drm_find_cea_extension |
|
4 |
1 |
17 |
| drm_find_displayid_extension |
|
4 |
1 |
17 |
| cea_mode_alternate_clock |
|
11 |
4 |
71 |
| drm_match_cea_mode |
|
17 |
6 |
115 |
| drm_get_cea_aspect_ratio |
|
4 |
1 |
18 |
| hdmi_mode_alternate_clock |
|
6 |
3 |
35 |
| drm_match_hdmi_mode |
|
17 |
6 |
115 |
| add_alternate_cea_modes |
|
47 |
10 |
287 |
| drm_display_mode_from_vic_index |
|
18 |
5 |
105 |
| do_cea_modes |
|
13 |
3 |
76 |
| stereo_match_mandatory |
|
9 |
4 |
62 |
| add_hdmi_mandatory_stereo_modes |
|
26 |
4 |
159 |
| add_hdmi_mode |
|
15 |
3 |
81 |
| add_3d_struct_modes |
|
37 |
7 |
180 |
| do_hdmi_vsdb_modes |
|
94 |
28 |
623 |
| cea_db_payload_len |
|
4 |
1 |
17 |
| cea_db_tag |
|
4 |
1 |
18 |
| cea_revision |
|
4 |
1 |
15 |
| cea_db_offsets |
|
10 |
4 |
61 |
| cea_db_is_hdmi_vsdb |
|
10 |
3 |
68 |
| add_cea_modes |
|
29 |
7 |
188 |
| fixup_detailed_cea_mode_clock |
|
33 |
5 |
190 |
| parse_hdmi_vsdb |
|
35 |
8 |
257 |
| monitor_name |
|
5 |
2 |
44 |
| drm_edid_to_eld |
|
63 |
13 |
414 |
| drm_edid_to_sad |
|
39 |
7 |
279 |
| drm_edid_to_speaker_allocation |
|
33 |
7 |
183 |
| drm_av_sync_delay |
|
19 |
7 |
139 |
| drm_select_eld |
|
11 |
3 |
78 |
| drm_detect_hdmi_monitor |
|
16 |
4 |
81 |
| drm_detect_monitor_audio |
|
28 |
6 |
169 |
| drm_rgb_quant_range_selectable |
|
18 |
5 |
114 |
| drm_assign_hdmi_deep_color_info |
|
61 |
11 |
310 |
| drm_add_display_info |
|
57 |
16 |
291 |
| drm_add_edid_modes |
|
34 |
9 |
229 |
| drm_add_modes_noedid |
|
28 |
10 |
155 |
| drm_set_preferred_mode |
|
10 |
3 |
53 |
| drm_hdmi_avi_infoframe_from_display_mode |
|
23 |
8 |
132 |
| s3d_structure_from_display_mode |
|
24 |
9 |
78 |
| drm_hdmi_vendor_infoframe_from_display_mode |
|
23 |
9 |
112 |
| drm_parse_display_id |
|
74 |
11 |
610 |
| drm_get_displayid |
|
23 |
5 |
109 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_dp_mst_helper.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_probe_helper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_mode_validate_flag |
|
14 |
7 |
76 |
| drm_helper_probe_add_cmdline_mode |
|
12 |
3 |
59 |
| drm_kms_helper_poll_enable_locked |
|
15 |
5 |
87 |
| drm_helper_probe_single_connector_modes_merge_bits |
|
96 |
24 |
641 |
| drm_helper_probe_single_connector_modes |
|
5 |
1 |
27 |
| drm_helper_probe_single_connector_modes_nomerge |
|
5 |
1 |
27 |
| drm_kms_helper_hotplug_event |
|
6 |
2 |
35 |
| output_poll_execute |
|
46 |
11 |
267 |
| drm_kms_helper_poll_disable |
|
6 |
2 |
30 |
| drm_kms_helper_poll_enable |
|
6 |
1 |
34 |
| drm_kms_helper_poll_init |
|
6 |
1 |
34 |
| drm_kms_helper_poll_fini |
|
4 |
1 |
14 |
| drm_helper_hpd_irq_event |
|
26 |
5 |
148 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_cache.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_clflush_page |
|
9 |
2 |
43 |
| drm_clflush_pages |
|
6 |
2 |
39 |
| drm_clflush_sg |
|
6 |
1 |
37 |
| drm_clflush_virt_range |
|
4 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_panel.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_panel_unprepare |
|
6 |
5 |
42 |
| drm_panel_disable |
|
6 |
5 |
42 |
| drm_panel_prepare |
|
6 |
5 |
42 |
| drm_panel_enable |
|
6 |
5 |
42 |
| drm_panel_get_modes |
|
6 |
5 |
42 |
| of_drm_find_panel |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_fb_helper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_fb_helper_single_add_all_connectors |
|
27 |
4 |
167 |
| drm_fb_helper_add_one_connector |
|
24 |
5 |
179 |
| remove_from_modeset |
|
20 |
6 |
132 |
| drm_fb_helper_remove_one_connector |
|
24 |
7 |
179 |
| drm_fb_helper_save_lut_atomic |
|
12 |
3 |
105 |
| drm_fb_helper_restore_lut_atomic |
|
10 |
2 |
74 |
| drm_fb_helper_debug_enter |
|
22 |
3 |
124 |
| drm_mode_config_fb |
|
10 |
2 |
55 |
| drm_fb_helper_debug_leave |
|
24 |
4 |
142 |
| restore_fbdev_mode_atomic |
|
48 |
9 |
271 |
| restore_fbdev_mode |
|
36 |
10 |
228 |
| drm_fb_helper_restore_fbdev_mode_unlocked |
|
17 |
4 |
78 |
| drm_fb_helper_is_bound |
|
17 |
6 |
89 |
| drm_fb_helper_force_kernel_mode |
|
18 |
4 |
87 |
| drm_fb_helper_restore_work_fn |
|
7 |
2 |
29 |
| drm_fb_helper_sysrq |
|
4 |
1 |
13 |
| drm_fb_helper_dpms |
|
25 |
5 |
166 |
| drm_fb_helper_blank |
|
23 |
7 |
89 |
| drm_fb_helper_crtc_free |
|
13 |
4 |
113 |
| drm_fb_helper_prepare |
|
7 |
1 |
40 |
| drm_fb_helper_init |
|
41 |
7 |
262 |
| drm_fb_helper_alloc_fbi |
|
24 |
8 |
128 |
| drm_fb_helper_unregister_fbi |
|
5 |
3 |
24 |
| drm_fb_helper_release_fbi |
|
12 |
4 |
57 |
| drm_fb_helper_fini |
|
12 |
5 |
60 |
| drm_fb_helper_unlink_fbi |
|
5 |
3 |
24 |
| drm_fb_helper_sys_read |
|
5 |
1 |
33 |
| drm_fb_helper_sys_write |
|
5 |
1 |
34 |
| drm_fb_helper_sys_fillrect |
|
5 |
1 |
22 |
| drm_fb_helper_sys_copyarea |
|
5 |
1 |
22 |
| drm_fb_helper_sys_imageblit |
|
5 |
1 |
22 |
| drm_fb_helper_cfb_fillrect |
|
5 |
1 |
22 |
| drm_fb_helper_cfb_copyarea |
|
5 |
1 |
22 |
| drm_fb_helper_cfb_imageblit |
|
5 |
1 |
22 |
| drm_fb_helper_set_suspend |
|
5 |
3 |
29 |
| setcolreg |
|
57 |
16 |
453 |
| drm_fb_helper_setcmap |
|
42 |
8 |
270 |
| drm_fb_helper_check_var |
|
85 |
17 |
557 |
| drm_fb_helper_set_par |
|
13 |
3 |
63 |
| pan_display_atomic |
|
44 |
7 |
259 |
| drm_fb_helper_pan_display |
|
35 |
7 |
194 |
| drm_fb_helper_single_fb_probe |
|
96 |
25 |
717 |
| drm_fb_helper_fill_fix |
|
16 |
2 |
103 |
| drm_fb_helper_fill_var |
|
70 |
6 |
560 |
| drm_fb_helper_probe_connector_modes |
|
13 |
2 |
74 |
| drm_has_preferred_mode |
|
12 |
4 |
65 |
| drm_has_cmdline_mode |
|
4 |
1 |
18 |
| drm_pick_cmdline_mode |
|
40 |
13 |
212 |
| drm_connector_enabled |
|
9 |
2 |
39 |
| drm_enable_connectors |
|
20 |
5 |
141 |
| drm_target_cloned |
|
59 |
17 |
356 |
| drm_get_tile_offsets |
|
28 |
8 |
187 |
| drm_target_preferred |
|
54 |
17 |
385 |
| drm_pick_crtcs |
|
63 |
16 |
411 |
| drm_setup_crtcs |
|
83 |
17 |
652 |
| drm_fb_helper_initial_config |
|
16 |
3 |
103 |
| drm_fb_helper_hotplug_event |
|
23 |
4 |
146 |
| drm_fb_helper_modinit |
|
11 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_crtc_internal.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/i915_powerwell.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_linux.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| flush_barrier |
|
6 |
1 |
24 |
| flush_workqueue |
|
14 |
3 |
81 |
| flush_work |
|
14 |
3 |
78 |
| flush_delayed_work |
|
16 |
4 |
100 |
| ns_to_timespec |
|
18 |
3 |
82 |
| timeval_to_ns |
|
5 |
1 |
28 |
| ns_to_timeval |
|
18 |
3 |
84 |
| timeval_to_us |
|
4 |
1 |
26 |
| dmi_found |
|
28 |
11 |
131 |
| dmi_check_system |
|
13 |
5 |
75 |
| alloc_pages |
|
14 |
5 |
91 |
| __free_pages |
|
9 |
2 |
64 |
| kmap |
|
9 |
2 |
56 |
| kunmap |
|
8 |
2 |
44 |
| vmap |
|
18 |
3 |
117 |
| vunmap |
|
7 |
1 |
48 |
| print_hex_dump |
|
15 |
4 |
111 |
| memchr_inv |
|
11 |
4 |
72 |
| panic_cmp |
|
4 |
1 |
19 |
| idr_init |
|
10 |
2 |
54 |
| idr_destroy |
|
8 |
2 |
52 |
| idr_preload |
|
7 |
3 |
41 |
| idr_alloc |
|
30 |
9 |
182 |
| idr_replace |
|
12 |
2 |
76 |
| idr_remove |
|
10 |
2 |
66 |
| idr_find |
|
9 |
2 |
54 |
| idr_get_next |
|
13 |
3 |
82 |
| idr_for_each |
|
11 |
2 |
74 |
| idr_cmp |
|
4 |
2 |
36 |
| ida_init |
|
4 |
1 |
15 |
| ida_destroy |
|
3 |
1 |
9 |
| ida_remove |
|
3 |
1 |
12 |
| ida_simple_get |
|
11 |
4 |
62 |
| sg_alloc_table |
|
9 |
2 |
60 |
| sg_free_table |
|
5 |
1 |
28 |
| sg_copy_from_buffer |
|
5 |
1 |
28 |
| i2c_transfer |
|
40 |
8 |
251 |
| vga_disable_bridge |
|
17 |
4 |
112 |
| vga_get_uninterruptible |
|
5 |
1 |
34 |
| vga_put |
|
10 |
2 |
56 |
| acpi_get_table_with_size |
|
15 |
2 |
96 |
| backlight_do_update_status |
|
4 |
1 |
13 |
| backlight_device_register |
|
11 |
1 |
82 |
| backlight_device_unregister |
|
4 |
1 |
22 |
| backlight_schedule_update_status |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_mipi_dsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mipi_dsi_device_match |
|
4 |
1 |
22 |
| of_device_match |
|
4 |
1 |
20 |
| of_find_mipi_dsi_device_by_node |
|
6 |
2 |
38 |
| mipi_dsi_dev_release |
|
6 |
1 |
31 |
| mipi_dsi_device_alloc |
|
13 |
2 |
84 |
| mipi_dsi_device_add |
|
6 |
1 |
48 |
| of_mipi_dsi_device_add |
|
34 |
5 |
192 |
| mipi_dsi_host_register |
|
10 |
2 |
50 |
| mipi_dsi_remove_device_fn |
|
6 |
1 |
34 |
| mipi_dsi_host_unregister |
|
4 |
1 |
20 |
| mipi_dsi_attach |
|
7 |
3 |
47 |
| mipi_dsi_detach |
|
7 |
3 |
47 |
| mipi_dsi_device_transfer |
|
10 |
4 |
66 |
| mipi_dsi_packet_format_is_short |
|
26 |
20 |
76 |
| mipi_dsi_packet_format_is_long |
|
21 |
15 |
61 |
| mipi_dsi_create_packet |
|
25 |
9 |
239 |
| mipi_dsi_set_maximum_return_packet_size |
|
12 |
1 |
70 |
| mipi_dsi_generic_write |
|
24 |
4 |
98 |
| mipi_dsi_generic_read |
|
25 |
4 |
111 |
| mipi_dsi_dcs_write_buffer |
|
23 |
4 |
94 |
| mipi_dsi_dcs_write |
|
22 |
4 |
119 |
| mipi_dsi_dcs_read |
|
13 |
1 |
67 |
| mipi_dsi_dcs_nop |
|
8 |
2 |
37 |
| mipi_dsi_dcs_soft_reset |
|
8 |
2 |
37 |
| mipi_dsi_dcs_get_power_mode |
|
12 |
3 |
58 |
| mipi_dsi_dcs_get_pixel_format |
|
12 |
3 |
58 |
| mipi_dsi_dcs_enter_sleep_mode |
|
8 |
2 |
37 |
| mipi_dsi_dcs_exit_sleep_mode |
|
8 |
2 |
37 |
| mipi_dsi_dcs_set_display_off |
|
8 |
2 |
37 |
| mipi_dsi_dcs_set_display_on |
|
8 |
2 |
37 |
| mipi_dsi_dcs_set_column_address |
|
11 |
2 |
72 |
| mipi_dsi_dcs_set_page_address |
|
11 |
2 |
72 |
| mipi_dsi_dcs_set_tear_off |
|
8 |
2 |
37 |
| mipi_dsi_dcs_set_tear_on |
|
11 |
2 |
50 |
| mipi_dsi_dcs_set_pixel_format |
|
9 |
2 |
44 |
| mipi_dsi_drv_probe |
|
6 |
1 |
39 |
| mipi_dsi_drv_remove |
|
6 |
1 |
39 |
| mipi_dsi_drv_shutdown |
|
6 |
1 |
38 |
| mipi_dsi_driver_register_full |
|
13 |
4 |
82 |
| mipi_dsi_driver_unregister |
|
4 |
1 |
17 |
| mipi_dsi_bus_init |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| drm_atomic_get_existing_crtc_state |
|
5 |
1 |
25 |
| drm_atomic_get_existing_plane_state |
|
5 |
1 |
25 |
| drm_atomic_get_existing_connector_state |
|
8 |
2 |
41 |
| drm_atomic_crtc_needs_modeset |
|
5 |
3 |
22 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/drm/drm_linux_atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atomic_xchg |
|
5 |
1 |
24 |
| atomic_add_unless |
|
10 |
3 |
57 |
| atomic64_xchg |
|
5 |
1 |
24 |
| atomic64_set |
|
5 |
1 |
27 |
| atomic64_read |
|
8 |
1 |
36 |
| atomic64_xchg |
|
9 |
1 |
45 |
| atomic_inc_not_zero |
|
7 |
2 |
33 |
| atomic_cmpset_int |
|
16 |
1 |
56 |
| atomic_cmpset_int |
|
11 |
2 |
52 |
| test_and_set_bit |
|
9 |
1 |
60 |
| clear_bit |
|
4 |
1 |
40 |
| set_bit |
|
4 |
1 |
40 |
| __clear_bit |
|
5 |
1 |
43 |
| __set_bit |
|
5 |
1 |
43 |
| test_bit |
|
4 |
1 |
43 |
| __test_and_clear_bit |
|
7 |
1 |
72 |
| find_first_zero_bit |
|
15 |
5 |
98 |
| find_first_bit |
|
15 |
5 |
94 |
| find_next_bit |
|
14 |
5 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ix.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgbe_probe |
|
6 |
1 |
42 |
| ixgbe_attach |
|
75 |
13 |
484 |
| ixgbe_detach |
|
21 |
1 |
136 |
| ixgbe_start |
|
39 |
11 |
244 |
| ixgbe_ioctl |
|
47 |
12 |
256 |
| ixgbe_rxrinfo |
|
24 |
5 |
203 |
| ixgbe_watchdog |
|
35 |
8 |
245 |
| ixgbe_init |
|
106 |
15 |
846 |
| ixgbe_config_gpie |
|
26 |
8 |
154 |
| ixgbe_config_delay_values |
|
33 |
7 |
191 |
| ixgbe_enable_queue |
|
16 |
4 |
115 |
| ixgbe_disable_queue |
|
16 |
4 |
115 |
| ixgbe_intr |
|
87 |
22 |
537 |
| ixgbe_media_status |
|
48 |
10 |
220 |
| ixgbe_media_change |
|
38 |
14 |
183 |
| ixgbe_encap |
|
66 |
9 |
466 |
| ixgbe_iff |
|
38 |
6 |
241 |
| ixgbe_mc_array_itr |
|
9 |
1 |
47 |
| ixgbe_local_timer |
|
13 |
4 |
81 |
| ixgbe_update_link_status |
|
29 |
7 |
162 |
| ixgbe_stop |
|
24 |
3 |
223 |
| ixgbe_identify_hardware |
|
17 |
2 |
157 |
| ixgbe_setup_optics |
|
29 |
13 |
170 |
| ixgbe_allocate_legacy |
|
29 |
6 |
212 |
| ixgbe_allocate_pci_resources |
|
21 |
4 |
166 |
| ixgbe_free_pci_resources |
|
18 |
5 |
136 |
| ixgbe_setup_interface |
|
25 |
3 |
173 |
| ixgbe_add_media_types |
|
42 |
16 |
394 |
| ixgbe_config_link |
|
29 |
10 |
240 |
| ixgbe_dma_malloc |
|
48 |
5 |
328 |
| ixgbe_dma_free |
|
15 |
3 |
116 |
| ixgbe_allocate_queues |
|
74 |
11 |
593 |
| ixgbe_allocate_transmit_buffers |
|
29 |
4 |
181 |
| ixgbe_setup_transmit_ring |
|
16 |
2 |
116 |
| ixgbe_setup_transmit_structures |
|
13 |
3 |
76 |
| ixgbe_initialize_transmit_units |
|
57 |
9 |
373 |
| ixgbe_free_transmit_structures |
|
7 |
2 |
44 |
| ixgbe_free_transmit_buffers |
|
33 |
8 |
212 |
| ixgbe_tx_ctx_setup |
|
103 |
27 |
706 |
| ixgbe_txeof |
|
74 |
14 |
502 |
| ixgbe_get_buf |
|
36 |
4 |
275 |
| ixgbe_allocate_receive_buffers |
|
30 |
4 |
201 |
| ixgbe_setup_receive_ring |
|
22 |
3 |
165 |
| ixgbe_rxfill |
|
19 |
4 |
111 |
| ixgbe_rxrefill |
|
13 |
2 |
83 |
| ixgbe_setup_receive_structures |
|
12 |
3 |
66 |
| ixgbe_initialize_receive_units |
|
48 |
6 |
349 |
| ixgbe_initialize_rss_mapping |
|
45 |
9 |
273 |
| ixgbe_free_receive_structures |
|
9 |
3 |
82 |
| ixgbe_free_receive_buffers |
|
26 |
4 |
168 |
| ixgbe_rxeof |
|
99 |
15 |
676 |
| ixgbe_rx_checksum |
|
16 |
5 |
99 |
| ixgbe_setup_vlan_hw_support |
|
25 |
8 |
184 |
| ixgbe_enable_intr |
|
43 |
11 |
225 |
| ixgbe_disable_intr |
|
13 |
3 |
108 |
| ixgbe_read_pci_cfg |
|
15 |
3 |
88 |
| ixgbe_write_pci_cfg |
|
17 |
3 |
124 |
| ixgbe_set_ivar |
|
38 |
8 |
284 |
| ixgbe_configure_ivars |
|
17 |
4 |
122 |
| ixgbe_handle_mod |
|
19 |
3 |
100 |
| ixgbe_handle_msf |
|
16 |
5 |
125 |
| ixgbe_handle_phy |
|
13 |
3 |
71 |
| ixgbe_update_stats_counters |
|
74 |
7 |
788 |
| ixgbe_print_hw_stats |
|
23 |
1 |
159 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_et.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| et_match |
|
5 |
1 |
43 |
| et_attach |
|
79 |
8 |
587 |
| et_detach |
|
20 |
2 |
139 |
| et_miibus_readreg |
|
28 |
4 |
185 |
| et_miibus_writereg |
|
23 |
4 |
166 |
| et_miibus_statchg |
|
25 |
3 |
156 |
| et_ifmedia_upd |
|
12 |
2 |
67 |
| et_ifmedia_sts |
|
8 |
1 |
54 |
| et_stop |
|
17 |
1 |
99 |
| et_bus_config |
|
47 |
6 |
293 |
| et_get_eaddr |
|
12 |
1 |
121 |
| et_reset |
|
15 |
1 |
73 |
| et_disable_intrs |
|
4 |
1 |
18 |
| et_enable_intrs |
|
4 |
1 |
21 |
| et_dma_alloc |
|
58 |
8 |
397 |
| et_dma_free |
|
19 |
3 |
179 |
| et_dma_mbuf_create |
|
44 |
7 |
303 |
| et_dma_mbuf_destroy |
|
21 |
4 |
182 |
| et_dma_mem_create |
|
32 |
5 |
239 |
| et_dma_mem_destroy |
|
5 |
1 |
41 |
| et_chip_attach |
|
18 |
1 |
110 |
| et_intr |
|
24 |
8 |
146 |
| et_init |
|
39 |
9 |
230 |
| et_ioctl |
|
43 |
13 |
254 |
| et_start |
|
31 |
10 |
182 |
| et_watchdog |
|
7 |
1 |
39 |
| et_stop_rxdma |
|
11 |
2 |
59 |
| et_stop_txdma |
|
6 |
1 |
23 |
| et_free_tx_ring |
|
17 |
3 |
124 |
| et_free_rx_ring |
|
20 |
4 |
148 |
| et_setmulti |
|
52 |
11 |
373 |
| et_chip_init |
|
30 |
5 |
177 |
| et_init_tx_ring |
|
16 |
1 |
123 |
| et_init_rx_ring |
|
25 |
4 |
187 |
| et_init_rxdma |
|
40 |
2 |
374 |
| et_init_txdma |
|
20 |
2 |
150 |
| et_init_mac |
|
28 |
1 |
243 |
| et_init_rxmac |
|
40 |
4 |
327 |
| et_init_txmac |
|
7 |
1 |
38 |
| et_start_rxdma |
|
17 |
2 |
94 |
| et_start_txdma |
|
5 |
1 |
21 |
| et_enable_txrx |
|
24 |
4 |
140 |
| et_rxeof |
|
85 |
13 |
571 |
| et_encap |
|
96 |
17 |
653 |
| et_txeof |
|
40 |
9 |
289 |
| et_txtick |
|
8 |
1 |
34 |
| et_tick |
|
9 |
1 |
47 |
| et_newbuf_cluster |
|
4 |
1 |
27 |
| et_newbuf_hdr |
|
4 |
1 |
27 |
| et_newbuf |
|
71 |
14 |
442 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pwdog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pwdog_probe |
|
5 |
1 |
43 |
| pwdog_attach |
|
18 |
3 |
144 |
| pwdog_activate |
|
9 |
2 |
33 |
| pwdog_set_timeout |
|
12 |
2 |
75 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgb_hw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgb_mac_reset |
|
30 |
5 |
124 |
| ixgb_adapter_stop |
|
22 |
2 |
135 |
| ixgb_identify_xpak_vendor |
|
23 |
7 |
114 |
| ixgb_identify_phy |
|
44 |
8 |
173 |
| ixgb_init_hw |
|
33 |
5 |
191 |
| ixgb_init_rx_addrs |
|
27 |
3 |
219 |
| ixgb_mc_addr_list_update |
|
47 |
5 |
311 |
| ixgb_hash_mc_addr |
|
28 |
5 |
187 |
| ixgb_mta_set |
|
11 |
1 |
70 |
| ixgb_rar_set |
|
15 |
1 |
142 |
| ixgb_write_vfta |
|
5 |
1 |
28 |
| ixgb_clear_vfta |
|
7 |
2 |
38 |
| ixgb_setup_fc |
|
46 |
8 |
253 |
| ixgb_read_phy_reg |
|
37 |
5 |
256 |
| ixgb_write_phy_reg |
|
34 |
5 |
246 |
| ixgb_check_for_link |
|
18 |
5 |
104 |
| ixgb_check_for_bad_link |
|
16 |
4 |
95 |
| ixgb_clear_hw_cntrs |
|
70 |
2 |
575 |
| ixgb_led_on |
|
7 |
1 |
34 |
| ixgb_led_off |
|
7 |
1 |
34 |
| ixgb_get_bus_info |
|
32 |
8 |
145 |
| mac_addr_valid |
|
23 |
9 |
116 |
| ixgb_link_reset |
|
18 |
7 |
102 |
| ixgb_optics_reset |
|
16 |
2 |
50 |
| ixgb_optics_reset_bcm |
|
36 |
1 |
118 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_wpireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iwm_is_mimo_ht_plcp |
|
5 |
2 |
20 |
| iwm_is_mimo_mcs |
|
5 |
1 |
26 |
| iwm_store_cscheme |
|
8 |
3 |
64 |
| iwm_firmware_store_section |
|
20 |
4 |
139 |
| iwm_set_default_calib |
|
12 |
2 |
74 |
| iwm_fw_info_free |
|
7 |
1 |
50 |
| iwm_read_firmware |
|
228 |
56 |
1240 |
| iwm_read_prph |
|
8 |
1 |
52 |
| iwm_write_prph |
|
8 |
1 |
56 |
| iwm_read_mem |
|
14 |
3 |
90 |
| iwm_write_mem |
|
16 |
4 |
98 |
| iwm_write_mem32 |
|
4 |
1 |
28 |
| iwm_poll_bit |
|
14 |
4 |
72 |
| iwm_nic_lock |
|
21 |
4 |
94 |
| iwm_nic_assert_locked |
|
10 |
4 |
77 |
| iwm_nic_unlock |
|
9 |
3 |
48 |
| iwm_set_bits_mask_prph |
|
11 |
2 |
59 |
| iwm_set_bits_prph |
|
4 |
1 |
26 |
| iwm_clear_bits_prph |
|
4 |
1 |
26 |
| iwm_dma_contig_alloc |
|
31 |
5 |
215 |
| iwm_dma_contig_free |
|
15 |
3 |
113 |
| iwm_alloc_rx_ring |
|
40 |
6 |
256 |
| iwm_disable_rx_dma |
|
14 |
4 |
68 |
| iwm_reset_rx_ring |
|
9 |
1 |
83 |
| iwm_free_rx_ring |
|
18 |
4 |
135 |
| iwm_alloc_tx_ring |
|
52 |
7 |
338 |
| iwm_reset_tx_ring |
|
24 |
6 |
192 |
| iwm_free_tx_ring |
|
18 |
4 |
135 |
| iwm_enable_rfkill_int |
|
5 |
1 |
26 |
| iwm_check_rfkill |
|
16 |
2 |
72 |
| iwm_enable_interrupts |
|
5 |
1 |
26 |
| iwm_restore_interrupts |
|
4 |
1 |
20 |
| iwm_disable_interrupts |
|
8 |
1 |
48 |
| iwm_ict_reset |
|
14 |
1 |
75 |
| iwm_set_hw_ready |
|
14 |
2 |
52 |
| iwm_prepare_card_hw |
|
16 |
4 |
70 |
| iwm_apm_config |
|
13 |
2 |
60 |
| iwm_apm_init |
|
57 |
12 |
296 |
| iwm_apm_stop |
|
8 |
2 |
44 |
| iwm_start_hw |
|
15 |
3 |
67 |
| iwm_stop_device |
|
44 |
8 |
261 |
| iwm_nic_config |
|
23 |
2 |
133 |
| iwm_nic_rx_init |
|
29 |
3 |
188 |
| iwm_nic_tx_init |
|
16 |
3 |
117 |
| iwm_nic_init |
|
18 |
4 |
81 |
| iwm_enable_txq |
|
44 |
3 |
289 |
| iwm_post_alive |
|
37 |
6 |
201 |
| iwm_phy_db_get_section |
|
23 |
8 |
108 |
| iwm_phy_db_set_section |
|
24 |
6 |
159 |
| iwm_is_valid_channel |
|
9 |
11 |
67 |
| iwm_ch_id_to_ch_index |
|
12 |
5 |
68 |
| iwm_channel_id_to_papd |
|
12 |
8 |
60 |
| iwm_channel_id_to_txp |
|
17 |
5 |
102 |
| iwm_phy_db_get_section_data |
|
16 |
4 |
98 |
| iwm_send_phy_db_cmd |
|
16 |
1 |
108 |
| iwm_phy_db_send_all_channel_groups |
|
19 |
5 |
101 |
| iwm_send_phy_db_data |
|
28 |
7 |
150 |
| iwm_te_v2_get_notify |
|
4 |
1 |
15 |
| iwm_te_v2_get_dep_policy |
|
5 |
1 |
20 |
| iwm_te_v2_get_absence |
|
4 |
1 |
20 |
| iwm_te_v2_to_v1 |
|
21 |
2 |
168 |
| iwm_send_time_event_cmd |
|
43 |
7 |
255 |
| iwm_protect_session |
|
25 |
3 |
167 |
| iwm_unprotect_session |
|
14 |
3 |
106 |
| iwm_nvm_read_chunk |
|
55 |
7 |
302 |
| iwm_nvm_read_section |
|
16 |
4 |
91 |
| iwm_fw_valid_tx_ant |
|
9 |
2 |
46 |
| iwm_fw_valid_rx_ant |
|
9 |
2 |
46 |
| iwm_init_channel_map |
|
39 |
8 |
209 |
| iwm_setup_ht_rates |
|
13 |
4 |
81 |
| iwm_sta_rx_agg |
|
39 |
10 |
260 |
| iwm_htprot_task |
|
18 |
3 |
114 |
| iwm_update_htprot |
|
5 |
1 |
35 |
| iwm_ba_task |
|
18 |
3 |
118 |
| iwm_ampdu_rx_start |
|
13 |
2 |
91 |
| iwm_ampdu_rx_stop |
|
8 |
1 |
53 |
| iwm_set_hw_address_8000 |
|
40 |
8 |
312 |
| iwm_parse_nvm_data |
|
51 |
4 |
424 |
| iwm_parse_nvm_sections |
|
40 |
10 |
275 |
| iwm_nvm_init |
|
37 |
8 |
261 |
| iwm_firmware_load_sect |
|
18 |
3 |
110 |
| iwm_firmware_load_chunk |
|
49 |
9 |
284 |
| iwm_load_firmware_7000 |
|
25 |
4 |
160 |
| iwm_load_cpu_sections_8000 |
|
61 |
11 |
350 |
| iwm_load_firmware_8000 |
|
16 |
3 |
95 |
| iwm_load_firmware |
|
17 |
7 |
124 |
| iwm_start_fw |
|
18 |
2 |
109 |
| iwm_send_tx_ant_cfg |
|
8 |
1 |
45 |
| iwm_send_phy_cfg_cmd |
|
12 |
1 |
80 |
| iwm_load_ucode_wait_alive |
|
16 |
3 |
76 |
| iwm_run_init_mvm_ucode |
|
45 |
13 |
254 |
| iwm_rx_addbuf |
|
39 |
7 |
280 |
| iwm_calc_rssi |
|
16 |
1 |
129 |
| iwm_get_signal_strength |
|
18 |
4 |
122 |
| iwm_rx_rx_phy_cmd |
|
8 |
1 |
74 |
| iwm_get_noise |
|
13 |
4 |
87 |
| iwm_rx_rx_mpdu |
|
109 |
27 |
829 |
| iwm_rx_tx_cmd_single |
|
33 |
10 |
272 |
| iwm_rx_tx_cmd |
|
35 |
5 |
281 |
| iwm_rx_bmiss |
|
17 |
5 |
128 |
| iwm_binding_cmd |
|
28 |
9 |
234 |
| iwm_phy_ctxt_cmd_hdr |
|
9 |
1 |
74 |
| iwm_phy_ctxt_cmd_data |
|
20 |
2 |
143 |
| iwm_phy_ctxt_cmd |
|
11 |
1 |
79 |
| iwm_send_cmd |
|
145 |
22 |
1100 |
| iwm_send_cmd_pdu |
|
11 |
1 |
65 |
| iwm_send_cmd_status |
|
25 |
5 |
168 |
| iwm_send_cmd_pdu_status |
|
10 |
1 |
63 |
| iwm_free_resp |
|
6 |
1 |
48 |
| iwm_cmd_done |
|
24 |
6 |
192 |
| iwm_update_sched |
|
22 |
3 |
198 |
| iwm_tx_fill_cmd |
|
52 |
13 |
352 |
| iwm_tx |
|
169 |
32 |
1376 |
| iwm_flush_tx_path |
|
13 |
2 |
76 |
| iwm_led_enable |
|
4 |
1 |
18 |
| iwm_led_disable |
|
4 |
1 |
18 |
| iwm_led_is_enabled |
|
4 |
1 |
21 |
| iwm_led_blink_timeout |
|
9 |
2 |
43 |
| iwm_led_blink_start |
|
4 |
1 |
19 |
| iwm_led_blink_stop |
|
5 |
1 |
22 |
| iwm_beacon_filter_send_cmd |
|
6 |
1 |
32 |
| iwm_beacon_filter_set_cqm_params |
|
5 |
1 |
32 |
| iwm_update_beacon_abort |
|
13 |
2 |
81 |
| iwm_power_build_cmd |
|
19 |
3 |
133 |
| iwm_power_mac_update_mode |
|
15 |
2 |
100 |
| iwm_power_update_device |
|
11 |
3 |
65 |
| iwm_enable_beacon_filter |
|
13 |
2 |
71 |
| iwm_disable_beacon_filter |
|
12 |
3 |
71 |
| iwm_add_sta_cmd |
|
60 |
14 |
331 |
| iwm_add_aux_sta |
|
21 |
4 |
134 |
| iwm_rm_sta_cmd |
|
12 |
2 |
79 |
| iwm_scan_rx_chain |
|
11 |
1 |
56 |
| iwm_scan_rate_n_flags |
|
19 |
5 |
122 |
| iwm_lmac_scan_fill_channels |
|
23 |
6 |
149 |
| iwm_umac_scan_fill_channels |
|
22 |
6 |
137 |
| iwm_fill_probe_req |
|
72 |
15 |
616 |
| iwm_lmac_scan |
|
83 |
8 |
595 |
| iwm_config_umac_scan |
|
62 |
5 |
375 |
| iwm_umac_scan |
|
65 |
6 |
438 |
| iwm_ridx2rate |
|
11 |
3 |
70 |
| iwm_rval2ridx |
|
9 |
3 |
44 |
| iwm_ack_rates |
|
42 |
16 |
310 |
| iwm_mac_ctxt_cmd_common |
|
61 |
12 |
441 |
| iwm_mac_ctxt_cmd_fill_sta |
|
20 |
1 |
190 |
| iwm_mac_ctxt_cmd |
|
18 |
8 |
156 |
| iwm_update_quotas |
|
44 |
9 |
367 |
| iwm_add_task |
|
12 |
3 |
74 |
| iwm_del_task |
|
5 |
2 |
36 |
| iwm_scan |
|
20 |
4 |
106 |
| iwm_auth |
|
55 |
8 |
338 |
| iwm_deauth |
|
45 |
9 |
258 |
| iwm_assoc |
|
15 |
3 |
92 |
| iwm_disassoc |
|
17 |
3 |
89 |
| iwm_run |
|
66 |
12 |
371 |
| iwm_run_stop |
|
32 |
7 |
191 |
| iwm_node_alloc |
|
4 |
1 |
25 |
| iwm_calib_timeout |
|
19 |
7 |
160 |
| iwm_setrates_task |
|
15 |
2 |
89 |
| iwm_setrates |
|
81 |
26 |
566 |
| iwm_media_change |
|
26 |
7 |
173 |
| iwm_newstate_task |
|
72 |
24 |
357 |
| iwm_newstate |
|
17 |
2 |
139 |
| iwm_endscan |
|
8 |
2 |
47 |
| iwm_fill_sf_command |
|
32 |
7 |
182 |
| iwm_sf_config |
|
24 |
5 |
127 |
| iwm_send_bt_init_conf |
|
8 |
1 |
49 |
| iwm_send_update_mcc_cmd |
|
33 |
5 |
218 |
| iwm_tt_tx_backoff |
|
9 |
1 |
52 |
| iwm_init_hw |
|
111 |
23 |
594 |
| iwm_allow_mcast |
|
21 |
2 |
136 |
| iwm_init |
|
27 |
6 |
164 |
| iwm_start |
|
52 |
16 |
312 |
| iwm_stop |
|
43 |
4 |
352 |
| iwm_watchdog |
|
17 |
5 |
100 |
| iwm_ioctl |
|
40 |
11 |
230 |
| iwm_nic_umac_error |
|
38 |
4 |
325 |
| iwm_desc_lookup |
|
8 |
3 |
55 |
| iwm_nic_error |
|
67 |
6 |
649 |
| iwm_notif_intr |
|
222 |
63 |
1305 |
| iwm_intr |
|
103 |
25 |
649 |
| iwm_match |
|
5 |
1 |
35 |
| iwm_preinit |
|
42 |
8 |
260 |
| iwm_attach_hook |
|
6 |
1 |
31 |
| iwm_attach |
|
247 |
39 |
1641 |
| iwm_radiotap_attach |
|
11 |
1 |
108 |
| iwm_init_task |
|
22 |
5 |
146 |
| iwm_resume |
|
7 |
1 |
50 |
| iwm_activate |
|
26 |
7 |
134 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ohci_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ohci_pci_match |
|
9 |
4 |
68 |
| ohci_pci_attach |
|
63 |
8 |
540 |
| ohci_pci_attach_deferred |
|
19 |
2 |
136 |
| ohci_pci_detach |
|
17 |
4 |
116 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_cas.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cas_match |
|
5 |
1 |
37 |
| cas_pci_enaddr |
|
77 |
18 |
595 |
| cas_attach |
|
48 |
12 |
341 |
| cas_config |
|
160 |
23 |
1222 |
| cas_tick |
|
32 |
1 |
254 |
| cas_bitwait |
|
12 |
4 |
84 |
| cas_reset |
|
15 |
2 |
106 |
| cas_rxdrain |
|
3 |
1 |
9 |
| cas_stop |
|
29 |
4 |
218 |
| cas_reset_rx |
|
16 |
3 |
121 |
| cas_reset_tx |
|
17 |
3 |
121 |
| cas_disable_rx |
|
10 |
1 |
68 |
| cas_disable_tx |
|
10 |
1 |
68 |
| cas_meminit |
|
25 |
4 |
202 |
| cas_ringsize |
|
26 |
10 |
79 |
| cas_cringsize |
|
9 |
3 |
47 |
| cas_init |
|
79 |
4 |
715 |
| cas_init_regs |
|
52 |
4 |
561 |
| cas_rint |
|
77 |
12 |
668 |
| cas_add_rxbuf |
|
11 |
3 |
82 |
| cas_eint |
|
9 |
3 |
60 |
| cas_pint |
|
11 |
3 |
68 |
| cas_intr |
|
48 |
15 |
337 |
| cas_watchdog |
|
12 |
1 |
90 |
| cas_mifinit |
|
8 |
1 |
55 |
| cas_mii_readreg |
|
21 |
5 |
150 |
| cas_mii_writereg |
|
23 |
5 |
151 |
| cas_mii_statchg |
|
34 |
8 |
209 |
| cas_pcs_readreg |
|
29 |
9 |
135 |
| cas_pcs_writereg |
|
37 |
12 |
191 |
| cas_mediachange |
|
11 |
2 |
68 |
| cas_mediastatus |
|
7 |
1 |
51 |
| cas_ioctl |
|
39 |
13 |
229 |
| cas_iff |
|
40 |
7 |
269 |
| cas_encap |
|
42 |
9 |
341 |
| cas_tint |
|
35 |
7 |
228 |
| cas_start |
|
29 |
10 |
183 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_skreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ahd_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahd_compose_id |
|
9 |
1 |
55 |
| ahd_find_pci_device |
|
17 |
4 |
104 |
| ahd_pci_probe |
|
9 |
2 |
68 |
| ahd_pci_attach |
|
138 |
30 |
1024 |
| ahd_activate |
|
11 |
2 |
47 |
| ahd_pci_test_register_access |
|
51 |
7 |
370 |
| ahd_check_extport |
|
100 |
33 |
687 |
| ahd_configure_termination |
|
76 |
22 |
501 |
| ahd_pci_intr |
|
48 |
11 |
320 |
| ahd_pci_split_intr |
|
48 |
8 |
376 |
| ahd_aic7901_setup |
|
6 |
1 |
36 |
| ahd_aic7901A_setup |
|
6 |
1 |
36 |
| ahd_aic7902_setup |
|
6 |
1 |
36 |
| ahd_aic790X_setup |
|
44 |
7 |
295 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_apollo_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe_type.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vge_eeprom_getword |
|
22 |
4 |
146 |
| vge_read_eeprom |
|
16 |
5 |
120 |
| vge_miipoll_stop |
|
12 |
4 |
71 |
| vge_miipoll_start |
|
23 |
7 |
147 |
| vge_miibus_readreg |
|
24 |
5 |
165 |
| vge_miibus_writereg |
|
22 |
5 |
156 |
| vge_cam_clear |
|
16 |
3 |
133 |
| vge_cam_set |
|
32 |
6 |
246 |
| vge_iff |
|
44 |
9 |
307 |
| vge_reset |
|
23 |
6 |
151 |
| vge_probe |
|
5 |
1 |
37 |
| vge_allocmem |
|
90 |
13 |
696 |
| vge_freemem |
|
20 |
3 |
190 |
| vge_attach |
|
73 |
10 |
562 |
| vge_detach |
|
14 |
1 |
110 |
| vge_newbuf |
|
51 |
10 |
390 |
| vge_tx_list_init |
|
14 |
1 |
95 |
| vge_rx_list_init |
|
20 |
3 |
139 |
| vge_rxeof |
|
112 |
21 |
743 |
| vge_txeof |
|
34 |
7 |
228 |
| vge_tick |
|
30 |
7 |
174 |
| vge_intr |
|
45 |
12 |
277 |
| vge_encap |
|
66 |
13 |
528 |
| vge_start |
|
46 |
12 |
284 |
| vge_init |
|
76 |
7 |
600 |
| vge_ifmedia_upd |
|
5 |
1 |
29 |
| vge_ifmedia_sts |
|
7 |
1 |
51 |
| vge_miibus_statchg |
|
37 |
8 |
236 |
| vge_ioctl |
|
38 |
11 |
210 |
| vge_watchdog |
|
12 |
1 |
63 |
| vge_stop |
|
36 |
6 |
273 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/rtsx_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtsx_pci_match |
|
18 |
12 |
136 |
| rtsx_pci_attach |
|
57 |
12 |
375 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_em_osdep.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/vga_pci_common.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vga_aperture_needed |
|
8 |
5 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_msk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sk_win_read_4 |
|
4 |
1 |
20 |
| sk_win_read_2 |
|
4 |
1 |
20 |
| sk_win_read_1 |
|
4 |
1 |
20 |
| sk_win_write_4 |
|
4 |
1 |
24 |
| sk_win_write_2 |
|
4 |
1 |
24 |
| sk_win_write_1 |
|
4 |
1 |
24 |
| msk_miibus_readreg |
|
25 |
4 |
155 |
| msk_miibus_writereg |
|
17 |
4 |
129 |
| msk_miibus_statchg |
|
32 |
9 |
193 |
| msk_iff |
|
40 |
6 |
303 |
| msk_init_rx_ring |
|
20 |
3 |
160 |
| msk_init_tx_ring |
|
36 |
5 |
272 |
| msk_newbuf |
|
74 |
4 |
606 |
| msk_ifmedia_upd |
|
6 |
1 |
31 |
| msk_ifmedia_sts |
|
7 |
1 |
51 |
| msk_ioctl |
|
44 |
12 |
254 |
| mskc_probe |
|
5 |
1 |
37 |
| mskc_reset |
|
118 |
24 |
855 |
| msk_probe |
|
21 |
14 |
94 |
| msk_reset |
|
9 |
1 |
62 |
| msk_attach |
|
122 |
16 |
954 |
| msk_detach |
|
21 |
3 |
181 |
| msk_activate |
|
17 |
3 |
87 |
| mskcprint |
|
10 |
4 |
66 |
| mskc_attach |
|
266 |
61 |
1384 |
| mskc_detach |
|
20 |
5 |
151 |
| mskc_activate |
|
15 |
2 |
71 |
| msk_encap |
|
79 |
12 |
544 |
| msk_start |
|
29 |
8 |
169 |
| msk_watchdog |
|
12 |
2 |
68 |
| msk_rxvalid |
|
10 |
4 |
62 |
| msk_rxeof |
|
37 |
6 |
285 |
| msk_txeof |
|
39 |
8 |
304 |
| msk_fill_rx_ring |
|
12 |
3 |
69 |
| msk_tick |
|
10 |
1 |
54 |
| msk_intr_yukon |
|
14 |
3 |
80 |
| msk_intr |
|
78 |
23 |
511 |
| msk_init_yukon |
|
69 |
6 |
551 |
| msk_init |
|
82 |
5 |
703 |
| msk_stop |
|
53 |
8 |
470 |
| msk_dump_txdesc |
|
7 |
1 |
46 |
| msk_dump_bytes |
|
24 |
11 |
183 |
| msk_dump_mbuf |
|
12 |
3 |
83 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_stge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| stge_match |
|
5 |
1 |
45 |
| stge_attach |
|
185 |
27 |
1432 |
| stge_dma_wait |
|
11 |
4 |
66 |
| stge_start |
|
81 |
21 |
563 |
| stge_watchdog |
|
11 |
2 |
62 |
| stge_ioctl |
|
38 |
11 |
212 |
| stge_intr |
|
58 |
16 |
316 |
| stge_txintr |
|
25 |
4 |
180 |
| stge_rxintr |
|
90 |
22 |
600 |
| stge_tick |
|
10 |
1 |
52 |
| stge_stats_update |
|
15 |
1 |
104 |
| stge_reset |
|
19 |
5 |
123 |
| stge_init |
|
99 |
11 |
878 |
| stge_rxdrain |
|
14 |
3 |
84 |
| stge_stop |
|
29 |
4 |
196 |
| stge_eeprom_wait |
|
10 |
3 |
57 |
| stge_read_eeprom |
|
12 |
3 |
79 |
| stge_add_rxbuf |
|
30 |
5 |
217 |
| stge_iff |
|
32 |
5 |
218 |
| stge_mii_readreg |
|
4 |
1 |
30 |
| stge_mii_writereg |
|
4 |
1 |
32 |
| stge_mii_statchg |
|
14 |
4 |
120 |
| stge_mii_bitbang_read |
|
5 |
1 |
30 |
| stge_mii_bitbang_write |
|
5 |
1 |
36 |
| stge_mediastatus |
|
7 |
1 |
51 |
| stge_mediachange |
|
7 |
2 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_lgereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_dc_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dc_pci_match |
|
19 |
9 |
150 |
| dc_pci_attach |
|
279 |
78 |
1752 |
| dc_pci_detach |
|
10 |
2 |
77 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ichwdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ichwdt_unlock_write |
|
6 |
1 |
60 |
| ichwdt_match |
|
5 |
1 |
45 |
| ichwdt_attach |
|
31 |
5 |
248 |
| ichwdt_activate |
|
9 |
2 |
33 |
| ichwdt_cb |
|
40 |
6 |
246 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_em.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_jmereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iwn_match |
|
5 |
1 |
35 |
| iwn_attach |
|
186 |
34 |
1294 |
| iwn4965_attach |
|
32 |
1 |
188 |
| iwn5000_attach |
|
93 |
17 |
465 |
| iwn_radiotap_attach |
|
11 |
1 |
108 |
| iwn_detach |
|
22 |
4 |
170 |
| iwn_activate |
|
15 |
4 |
75 |
| iwn_wakeup |
|
8 |
2 |
55 |
| iwn_init_task |
|
12 |
2 |
78 |
| iwn_nic_lock |
|
13 |
3 |
66 |
| iwn_nic_unlock |
|
4 |
1 |
18 |
| iwn_prph_read |
|
6 |
1 |
36 |
| iwn_prph_write |
|
6 |
1 |
40 |
| iwn_prph_setbits |
|
4 |
1 |
31 |
| iwn_prph_clrbits |
|
4 |
1 |
31 |
| iwn_prph_write_region_4 |
|
6 |
2 |
47 |
| iwn_mem_read |
|
6 |
1 |
34 |
| iwn_mem_write |
|
6 |
1 |
38 |
| iwn_mem_write_2 |
|
10 |
2 |
70 |
| iwn_mem_read_region_4 |
|
6 |
2 |
44 |
| iwn_mem_set_region_4 |
|
6 |
2 |
41 |
| iwn_eeprom_lock |
|
15 |
4 |
75 |
| iwn_eeprom_unlock |
|
4 |
1 |
18 |
| iwn_init_otprom |
|
37 |
10 |
224 |
| iwn_read_prom_data |
|
37 |
9 |
215 |
| iwn_dma_contig_alloc |
|
30 |
6 |
227 |
| iwn_dma_contig_free |
|
15 |
3 |
113 |
| iwn_alloc_sched |
|
5 |
1 |
37 |
| iwn_free_sched |
|
4 |
1 |
17 |
| iwn_alloc_kw |
|
5 |
1 |
28 |
| iwn_free_kw |
|
4 |
1 |
17 |
| iwn_alloc_ict |
|
5 |
1 |
35 |
| iwn_free_ict |
|
4 |
1 |
17 |
| iwn_alloc_fwmem |
|
5 |
1 |
30 |
| iwn_free_fwmem |
|
4 |
1 |
17 |
| iwn_alloc_rx_ring |
|
53 |
7 |
371 |
| iwn_reset_rx_ring |
|
16 |
4 |
87 |
| iwn_free_rx_ring |
|
17 |
4 |
129 |
| iwn_alloc_tx_ring |
|
45 |
6 |
294 |
| iwn_reset_tx_ring |
|
20 |
3 |
163 |
| iwn_free_tx_ring |
|
17 |
4 |
129 |
| iwn5000_ict_reset |
|
13 |
1 |
94 |
| iwn_read_eeprom |
|
49 |
12 |
351 |
| iwn4965_read_eeprom |
|
28 |
9 |
225 |
| iwn4965_print_power_group |
|
30 |
5 |
283 |
| iwn5000_read_eeprom |
|
48 |
8 |
376 |
| iwn_read_eeprom_channels |
|
38 |
7 |
279 |
| iwn_read_eeprom_enhinfo |
|
30 |
9 |
262 |
| iwn_node_alloc |
|
4 |
1 |
25 |
| iwn_newassoc |
|
20 |
6 |
162 |
| iwn_media_change |
|
27 |
8 |
183 |
| iwn_newstate |
|
47 |
12 |
285 |
| iwn_iter_func |
|
7 |
2 |
58 |
| iwn_calib_timeout |
|
22 |
4 |
136 |
| iwn_ccmp_decap |
|
56 |
10 |
398 |
| iwn_rx_phy |
|
12 |
2 |
108 |
| iwn_rx_done |
|
190 |
46 |
1403 |
| iwn_rx_compressed_ba |
|
9 |
1 |
80 |
| iwn5000_rx_calib_results |
|
49 |
17 |
312 |
| iwn_rx_statistics |
|
35 |
9 |
280 |
| iwn4965_tx_done |
|
12 |
1 |
127 |
| iwn5000_tx_done |
|
10 |
2 |
106 |
| iwn_tx_done |
|
45 |
11 |
366 |
| iwn_cmd_done |
|
16 |
3 |
126 |
| iwn_notif_intr |
|
129 |
30 |
903 |
| iwn_wakeup_intr |
|
10 |
2 |
80 |
| iwn_fatal_intr |
|
47 |
7 |
333 |
| iwn_intr |
|
79 |
27 |
543 |
| iwn4965_update_sched |
|
15 |
2 |
131 |
| iwn5000_update_sched |
|
15 |
2 |
138 |
| iwn5000_reset_sched |
|
14 |
2 |
133 |
| iwn_rval2ridx |
|
9 |
3 |
44 |
| iwn_tx |
|
251 |
56 |
1895 |
| iwn_start |
|
39 |
14 |
244 |
| iwn_watchdog |
|
15 |
3 |
81 |
| iwn_ioctl |
|
50 |
14 |
295 |
| iwn_cmd |
|
62 |
10 |
500 |
| iwn4965_add_node |
|
10 |
1 |
79 |
| iwn5000_add_node |
|
4 |
1 |
35 |
| iwn_set_link_quality |
|
49 |
8 |
401 |
| iwn_add_broadcast_node |
|
32 |
3 |
281 |
| iwn_updateedca |
|
18 |
2 |
162 |
| iwn_set_led |
|
10 |
1 |
76 |
| iwn_set_critical_temp |
|
16 |
3 |
115 |
| iwn_set_timing |
|
15 |
1 |
152 |
| iwn4965_power_calibration |
|
8 |
2 |
56 |
| iwn4965_set_txpower |
|
105 |
28 |
896 |
| iwn5000_set_txpower |
|
10 |
1 |
70 |
| iwn4965_get_rssi |
|
16 |
4 |
134 |
| iwn5000_get_rssi |
|
11 |
1 |
100 |
| iwn_get_noise |
|
12 |
4 |
87 |
| iwn4965_get_temperature |
|
16 |
2 |
154 |
| iwn5000_get_temperature |
|
10 |
2 |
54 |
| iwn_init_sensitivity |
|
24 |
3 |
189 |
| iwn_collect_noise |
|
30 |
8 |
302 |
| iwn4965_init_gains |
|
8 |
1 |
53 |
| iwn5000_init_gains |
|
10 |
1 |
67 |
| iwn4965_set_gains |
|
23 |
6 |
222 |
| iwn5000_set_gains |
|
24 |
5 |
224 |
| iwn_tune_sensitivity |
|
90 |
18 |
888 |
| iwn_send_sensitivity |
|
33 |
2 |
279 |
| iwn_set_pslevel |
|
43 |
11 |
341 |
| iwn_send_btcoex |
|
10 |
1 |
69 |
| iwn_send_advanced_btcoex |
|
77 |
9 |
557 |
| iwn5000_runtime_calib |
|
9 |
1 |
69 |
| iwn_config |
|
129 |
26 |
862 |
| iwn_get_active_dwell_time |
|
10 |
2 |
49 |
| iwn_limit_dwell |
|
12 |
3 |
79 |
| iwn_get_passive_dwell_time |
|
10 |
2 |
48 |
| iwn_scan |
|
118 |
17 |
913 |
| iwn_auth |
|
56 |
13 |
438 |
| iwn_run |
|
98 |
16 |
742 |
| iwn_set_key |
|
25 |
5 |
210 |
| iwn_delete_key |
|
24 |
5 |
176 |
| iwn_update_htprot |
|
39 |
5 |
327 |
| iwn_ampdu_rx_start |
|
18 |
1 |
142 |
| iwn_ampdu_rx_stop |
|
15 |
1 |
116 |
| iwn_ampdu_tx_start |
|
24 |
3 |
182 |
| iwn_ampdu_tx_stop |
|
11 |
2 |
78 |
| iwn4965_ampdu_tx_start |
|
21 |
1 |
186 |
| iwn4965_ampdu_tx_stop |
|
11 |
1 |
96 |
| iwn5000_ampdu_tx_start |
|
19 |
1 |
179 |
| iwn5000_ampdu_tx_stop |
|
12 |
1 |
105 |
| iwn5000_query_calibration |
|
17 |
3 |
127 |
| iwn5000_send_calibration |
|
18 |
4 |
116 |
| iwn5000_send_wimax_coex |
|
19 |
3 |
93 |
| iwn5000_crystal_calib |
|
13 |
1 |
116 |
| iwn6000_temp_offset_calib |
|
14 |
2 |
101 |
| iwn2000_temp_offset_calib |
|
20 |
2 |
150 |
| iwn4965_post_alive |
|
30 |
4 |
256 |
| iwn5000_post_alive |
|
57 |
9 |
401 |
| iwn4965_load_bootcode |
|
28 |
5 |
177 |
| iwn4965_load_firmware |
|
52 |
5 |
468 |
| iwn5000_load_firmware_section |
|
25 |
2 |
195 |
| iwn5000_load_firmware |
|
23 |
4 |
135 |
| iwn_read_firmware_leg |
|
39 |
5 |
329 |
| iwn_read_firmware_tlv |
|
98 |
22 |
609 |
| iwn_read_firmware |
|
41 |
11 |
302 |
| iwn_clock_wait |
|
13 |
3 |
69 |
| iwn_apm_init |
|
34 |
7 |
205 |
| iwn_apm_stop_master |
|
11 |
3 |
65 |
| iwn_apm_stop |
|
7 |
1 |
37 |
| iwn4965_nic_config |
|
12 |
2 |
64 |
| iwn5000_nic_config |
|
38 |
13 |
240 |
| iwn_hw_prepare |
|
28 |
8 |
155 |
| iwn_hw_init |
|
66 |
11 |
513 |
| iwn_hw_stop |
|
33 |
7 |
228 |
| iwn_init |
|
43 |
7 |
263 |
| iwn_stop |
|
14 |
2 |
100 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ixgb_osdep.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ixgb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgb_probe |
|
6 |
1 |
42 |
| ixgb_attach |
|
61 |
5 |
431 |
| ixgb_start |
|
33 |
10 |
227 |
| ixgb_ioctl |
|
50 |
13 |
282 |
| ixgb_watchdog |
|
11 |
2 |
63 |
| ixgb_init |
|
49 |
5 |
279 |
| ixgb_intr |
|
34 |
10 |
210 |
| ixgb_media_status |
|
20 |
4 |
119 |
| ixgb_media_change |
|
9 |
2 |
54 |
| ixgb_encap |
|
54 |
9 |
377 |
| ixgb_set_promisc |
|
15 |
3 |
96 |
| ixgb_set_multi |
|
32 |
5 |
191 |
| ixgb_local_timer |
|
15 |
4 |
86 |
| ixgb_update_link_status |
|
19 |
4 |
100 |
| ixgb_stop |
|
15 |
1 |
87 |
| ixgb_identify_hardware |
|
26 |
5 |
194 |
| ixgb_allocate_pci_resources |
|
36 |
6 |
250 |
| ixgb_free_pci_resources |
|
12 |
3 |
86 |
| ixgb_hardware_init |
|
18 |
3 |
105 |
| ixgb_setup_interface |
|
32 |
5 |
236 |
| ixgb_dma_malloc |
|
49 |
5 |
332 |
| ixgb_dma_free |
|
14 |
3 |
110 |
| ixgb_allocate_transmit_structures |
|
10 |
2 |
60 |
| ixgb_setup_transmit_structures |
|
32 |
4 |
212 |
| ixgb_initialize_transmit_unit |
|
23 |
2 |
202 |
| ixgb_free_transmit_structures |
|
35 |
9 |
201 |
| ixgb_transmit_checksum_setup |
|
51 |
9 |
289 |
| ixgb_txeof |
|
44 |
9 |
310 |
| ixgb_get_buf |
|
40 |
6 |
286 |
| ixgb_allocate_receive_structures |
|
36 |
6 |
235 |
| ixgb_setup_receive_structures |
|
10 |
2 |
61 |
| ixgb_initialize_receive_unit |
|
60 |
6 |
400 |
| ixgb_free_receive_structures |
|
34 |
9 |
199 |
| ixgb_rxeof |
|
110 |
21 |
712 |
| ixgb_receive_checksum |
|
22 |
6 |
114 |
| ixgb_enable_hw_vlans |
|
7 |
1 |
40 |
| ixgb_enable_intr |
|
9 |
2 |
50 |
| ixgb_disable_intr |
|
4 |
1 |
21 |
| ixgb_write_pci_cfg |
|
8 |
1 |
56 |
| ixgb_update_stats_counters |
|
73 |
1 |
1013 |
| ixgb_print_hw_stats |
|
59 |
7 |
412 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cmpci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cmpci_mixerreg_read |
|
9 |
1 |
58 |
| cmpci_mixerreg_write |
|
7 |
1 |
55 |
| cmpci_reg_partial_write_1 |
|
8 |
1 |
68 |
| cmpci_reg_partial_write_4 |
|
8 |
1 |
68 |
| cmpci_reg_set_1 |
|
6 |
1 |
50 |
| cmpci_reg_clear_1 |
|
6 |
1 |
50 |
| cmpci_reg_set_4 |
|
7 |
1 |
57 |
| cmpci_reg_clear_4 |
|
7 |
1 |
57 |
| cmpci_reg_set_reg_misc |
|
7 |
1 |
40 |
| cmpci_reg_clear_reg_misc |
|
7 |
1 |
40 |
| cmpci_rate_to_index |
|
9 |
3 |
55 |
| cmpci_index_to_rate |
|
4 |
1 |
15 |
| cmpci_index_to_divider |
|
4 |
1 |
15 |
| cmpci_match |
|
5 |
1 |
37 |
| cmpci_attach |
|
129 |
43 |
741 |
| cmpci_activate |
|
15 |
2 |
72 |
| cmpci_resume |
|
8 |
2 |
44 |
| cmpci_intr |
|
69 |
19 |
420 |
| cmpci_open |
|
4 |
1 |
14 |
| cmpci_close |
|
3 |
1 |
8 |
| cmpci_set_params |
|
177 |
26 |
770 |
| cmpci_round_blocksize |
|
4 |
1 |
23 |
| cmpci_halt_output |
|
24 |
2 |
131 |
| cmpci_halt_input |
|
13 |
1 |
79 |
| cmpci_query_devinfo |
|
237 |
36 |
2427 |
| cmpci_alloc_dmamem |
|
47 |
7 |
328 |
| cmpci_free_dmamem |
|
17 |
3 |
136 |
| cmpci_find_dmamem |
|
9 |
3 |
53 |
| cmpci_print_dmamem |
|
6 |
1 |
54 |
| cmpci_malloc |
|
8 |
2 |
45 |
| cmpci_free |
|
4 |
1 |
24 |
| cmpci_adjust |
|
7 |
2 |
38 |
| cmpci_set_mixer_gain |
|
159 |
45 |
772 |
| cmpci_set_out_ports |
|
94 |
23 |
502 |
| cmpci_set_in_ports |
|
42 |
9 |
204 |
| cmpci_set_port |
|
97 |
44 |
468 |
| cmpci_get_port |
|
58 |
32 |
264 |
| cmpci_round_buffersize |
|
6 |
2 |
27 |
| cmpci_get_props |
|
4 |
1 |
15 |
| cmpci_trigger_output |
|
54 |
5 |
384 |
| cmpci_trigger_input |
|
34 |
3 |
282 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agpdev_print |
|
7 |
2 |
31 |
| agpbus_probe |
|
9 |
4 |
61 |
| agpvga_match |
|
10 |
4 |
60 |
| agp_attach_bus |
|
11 |
1 |
72 |
| agp_probe |
|
4 |
1 |
22 |
| agp_attach |
|
38 |
4 |
297 |
| agp_alloc_gatt |
|
24 |
4 |
189 |
| agp_free_gatt |
|
6 |
1 |
57 |
| agp_generic_enable |
|
45 |
7 |
323 |
| agp_alloc_dmamem |
|
29 |
6 |
187 |
| agp_free_dmamem |
|
7 |
1 |
40 |
| agp_find_device |
|
6 |
3 |
34 |
| agp_state |
|
5 |
1 |
27 |
| agp_get_info |
|
14 |
2 |
101 |
| agp_acquire |
|
10 |
3 |
57 |
| agp_release |
|
10 |
3 |
57 |
| agp_enable |
|
11 |
2 |
65 |
| agp_mmap |
|
10 |
4 |
75 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ale.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ale_miibus_readreg |
|
25 |
7 |
172 |
| ale_miibus_writereg |
|
20 |
5 |
141 |
| ale_miibus_statchg |
|
32 |
8 |
188 |
| ale_mediastatus |
|
10 |
2 |
68 |
| ale_mediachange |
|
13 |
2 |
74 |
| ale_match |
|
5 |
1 |
43 |
| ale_get_macaddr |
|
36 |
7 |
308 |
| ale_phy_reset |
|
32 |
1 |
216 |
| ale_attach |
|
125 |
20 |
885 |
| ale_detach |
|
19 |
2 |
126 |
| ale_activate |
|
21 |
5 |
110 |
| ale_dma_alloc |
|
151 |
22 |
1134 |
| ale_dma_free |
|
50 |
17 |
475 |
| ale_encap |
|
64 |
10 |
462 |
| ale_start |
|
37 |
13 |
211 |
| ale_watchdog |
|
15 |
2 |
81 |
| ale_ioctl |
|
40 |
11 |
220 |
| ale_mac_config |
|
26 |
7 |
145 |
| ale_stats_clear |
|
14 |
3 |
102 |
| ale_stats_update |
|
76 |
3 |
608 |
| ale_intr |
|
33 |
7 |
188 |
| ale_txeof |
|
40 |
8 |
290 |
| ale_rx_update_page |
|
27 |
2 |
190 |
| ale_rxcsum |
|
30 |
13 |
208 |
| ale_rxeof |
|
60 |
11 |
422 |
| ale_tick |
|
11 |
1 |
59 |
| ale_reset |
|
22 |
7 |
150 |
| ale_init |
|
145 |
10 |
1151 |
| ale_stop |
|
37 |
3 |
260 |
| ale_stop_mac |
|
19 |
5 |
113 |
| ale_init_tx_ring |
|
21 |
2 |
159 |
| ale_init_rx_pages |
|
20 |
2 |
139 |
| ale_rxvlan |
|
10 |
2 |
58 |
| ale_iff |
|
33 |
5 |
233 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_piix_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_mskvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cs4281reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/tga.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tgamatch |
|
10 |
2 |
61 |
| tga_getdevconfig |
|
150 |
26 |
974 |
| tgaattach |
|
114 |
21 |
721 |
| tga_config_interrupts |
|
6 |
1 |
31 |
| tga_ioctl |
|
64 |
15 |
366 |
| if |
|
4 |
1 |
23 |
| tga_intr |
|
24 |
4 |
138 |
| tga_mmap |
|
15 |
5 |
91 |
| tga_alloc_screen |
|
20 |
2 |
126 |
| tga_free_screen |
|
9 |
2 |
42 |
| tga_load_font |
|
31 |
6 |
203 |
| tga_list_font |
|
7 |
1 |
47 |
| tga_cnattach |
|
35 |
6 |
225 |
| tga_burner |
|
11 |
2 |
49 |
| tga_blank |
|
8 |
2 |
42 |
| tga_unblank |
|
8 |
2 |
41 |
| tga_builtin_set_cursor |
|
44 |
13 |
329 |
| tga_builtin_get_cursor |
|
26 |
3 |
217 |
| tga_builtin_set_curpos |
|
8 |
1 |
51 |
| tga_builtin_get_curpos |
|
8 |
1 |
54 |
| tga_builtin_get_curmax |
|
7 |
1 |
33 |
| tga_copycols |
|
13 |
1 |
109 |
| tga_copyrows |
|
12 |
1 |
91 |
| tga_rop |
|
38 |
13 |
235 |
| tga_rop_vtov |
|
114 |
27 |
1184 |
| tga_putchar |
|
41 |
4 |
377 |
| tga_eraserows |
|
39 |
4 |
304 |
| tga_erasecols |
|
39 |
4 |
318 |
| tga_ramdac_wr |
|
11 |
2 |
72 |
| tga2_ramdac_wr |
|
14 |
2 |
105 |
| tga_bt463_rd |
|
16 |
1 |
134 |
| tga_bt463_wr |
|
13 |
1 |
108 |
| tga_ramdac_rd |
|
13 |
2 |
82 |
| tga2_ramdac_rd |
|
15 |
2 |
106 |
| tga2_init |
|
31 |
3 |
271 |
| tga2_ics9110_wr |
|
66 |
20 |
680 |
| tga_getmonitor |
|
5 |
1 |
30 |
| tga_getdotclock |
|
5 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgbe_init_ops_generic |
|
56 |
2 |
414 |
| ixgbe_device_supports_autoneg_fc |
|
44 |
16 |
162 |
| ixgbe_setup_fc_generic |
|
90 |
26 |
504 |
| ixgbe_start_hw_generic |
|
21 |
3 |
133 |
| ixgbe_start_hw_gen2 |
|
22 |
4 |
158 |
| ixgbe_init_hw_generic |
|
10 |
2 |
54 |
| ixgbe_clear_hw_cntrs_generic |
|
100 |
14 |
765 |
| ixgbe_get_mac_addr_generic |
|
18 |
5 |
154 |
| ixgbe_set_pci_config_data_generic |
|
38 |
8 |
170 |
| ixgbe_get_bus_info_generic |
|
8 |
1 |
36 |
| ixgbe_set_lan_id_multi_port_pcie |
|
12 |
2 |
78 |
| ixgbe_stop_adapter_generic |
|
21 |
3 |
143 |
| ixgbe_led_on_generic |
|
10 |
1 |
61 |
| ixgbe_led_off_generic |
|
10 |
1 |
61 |
| ixgbe_init_eeprom_params_generic |
|
28 |
4 |
150 |
| ixgbe_write_eeprom_buffer_bit_bang |
|
48 |
10 |
278 |
| ixgbe_write_eeprom_generic |
|
13 |
2 |
72 |
| ixgbe_read_eeprom_buffer_bit_bang |
|
32 |
7 |
196 |
| ixgbe_read_eeprom_bit_bang_generic |
|
14 |
2 |
72 |
| ixgbe_read_eerd_buffer_generic |
|
34 |
5 |
183 |
| ixgbe_read_eerd_generic |
|
4 |
1 |
28 |
| ixgbe_write_eewr_buffer_generic |
|
37 |
6 |
198 |
| ixgbe_write_eewr_generic |
|
4 |
1 |
28 |
| ixgbe_poll_eerd_eewr_done |
|
22 |
5 |
103 |
| ixgbe_acquire_eeprom |
|
35 |
7 |
197 |
| ixgbe_get_eeprom_semaphore |
|
47 |
9 |
227 |
| ixgbe_release_eeprom_semaphore |
|
9 |
1 |
48 |
| ixgbe_ready_eeprom |
|
21 |
4 |
103 |
| ixgbe_standby_eeprom |
|
14 |
1 |
72 |
| ixgbe_shift_out_eeprom_bits |
|
25 |
3 |
139 |
| ixgbe_shift_in_eeprom_bits |
|
19 |
3 |
111 |
| ixgbe_raise_eeprom_clk |
|
8 |
1 |
46 |
| ixgbe_lower_eeprom_clk |
|
8 |
1 |
46 |
| ixgbe_release_eeprom |
|
15 |
1 |
88 |
| ixgbe_calc_eeprom_checksum_generic |
|
40 |
12 |
248 |
| ixgbe_validate_eeprom_checksum_generic |
|
27 |
6 |
148 |
| ixgbe_update_eeprom_checksum_generic |
|
17 |
3 |
105 |
| ixgbe_validate_mac_addr |
|
17 |
9 |
114 |
| ixgbe_set_rar_generic |
|
25 |
3 |
209 |
| ixgbe_clear_rar_generic |
|
17 |
2 |
111 |
| ixgbe_init_rx_addrs_generic |
|
38 |
4 |
359 |
| ixgbe_add_uc_addr |
|
17 |
2 |
136 |
| ixgbe_mta_vector |
|
25 |
5 |
187 |
| ixgbe_set_mta |
|
13 |
1 |
83 |
| ixgbe_update_mc_addr_list_generic |
|
26 |
5 |
188 |
| ixgbe_enable_mc_generic |
|
9 |
2 |
50 |
| ixgbe_disable_mc_generic |
|
8 |
2 |
48 |
| ixgbe_fc_enable_generic |
|
70 |
15 |
446 |
| ixgbe_negotiate_fc |
|
34 |
14 |
222 |
| ixgbe_fc_autoneg_fiber |
|
20 |
3 |
108 |
| ixgbe_fc_autoneg_backplane |
|
24 |
4 |
135 |
| ixgbe_fc_autoneg_copper |
|
15 |
1 |
79 |
| ixgbe_fc_autoneg |
|
41 |
11 |
191 |
| ixgbe_pcie_timeout_poll |
|
32 |
10 |
108 |
| ixgbe_disable_pcie_master |
|
30 |
7 |
173 |
| ixgbe_acquire_swfw_sync |
|
27 |
5 |
157 |
| ixgbe_release_swfw_sync |
|
11 |
1 |
57 |
| ixgbe_disable_sec_rx_path_generic |
|
20 |
4 |
95 |
| prot_autoc_read_generic |
|
7 |
1 |
35 |
| prot_autoc_write_generic |
|
6 |
1 |
27 |
| ixgbe_enable_sec_rx_path_generic |
|
10 |
1 |
47 |
| ixgbe_enable_rx_dma_generic |
|
9 |
2 |
37 |
| ixgbe_blink_led_start_generic |
|
29 |
4 |
183 |
| ixgbe_blink_led_stop_generic |
|
23 |
3 |
147 |
| ixgbe_get_pcie_msix_count_generic |
|
28 |
7 |
104 |
| ixgbe_insert_mac_addr_generic |
|
38 |
11 |
300 |
| ixgbe_clear_vmdq_generic |
|
35 |
11 |
231 |
| ixgbe_set_vmdq_generic |
|
21 |
3 |
132 |
| ixgbe_init_uta_tables_generic |
|
9 |
2 |
50 |
| ixgbe_find_vlvf_slot |
|
25 |
8 |
121 |
| ixgbe_set_vfta_generic |
|
35 |
7 |
182 |
| ixgbe_set_vlvf_generic |
|
62 |
10 |
373 |
| ixgbe_clear_vfta_generic |
|
13 |
3 |
108 |
| ixgbe_check_mac_link_generic |
|
52 |
13 |
244 |
| ixgbe_get_device_caps_generic |
|
6 |
1 |
36 |
| ixgbe_host_interface_command |
|
61 |
16 |
399 |
| ixgbe_clear_tx_pending |
|
26 |
4 |
164 |
| ixgbe_disable_rx_generic |
|
9 |
2 |
42 |
| ixgbe_enable_rx_generic |
|
6 |
1 |
34 |
| ixgbe_mng_present |
|
9 |
2 |
43 |
| ixgbe_mng_enabled |
|
16 |
5 |
92 |
| ixgbe_setup_mac_link_multispeed_fiber |
|
107 |
32 |
563 |
| ixgbe_set_soft_rate_select_speed |
|
49 |
7 |
211 |
| ixgbe_init_shared_code |
|
28 |
6 |
111 |
| ixgbe_set_mac_type |
|
78 |
49 |
280 |
| ixgbe_init_hw |
|
7 |
2 |
35 |
| ixgbe_get_media_type |
|
7 |
2 |
35 |
| ixgbe_identify_phy |
|
11 |
3 |
57 |
| ixgbe_check_link |
|
9 |
2 |
52 |
| ixgbe_flap_tx_laser |
|
5 |
2 |
30 |
| ixgbe_set_rar |
|
8 |
2 |
56 |
| ixgbe_set_vmdq |
|
7 |
2 |
45 |
| ixgbe_clear_vmdq |
|
7 |
2 |
45 |
| ixgbe_init_uta_tables |
|
7 |
2 |
35 |
| ixgbe_disable_rx |
|
5 |
2 |
30 |
| ixgbe_enable_rx |
|
5 |
2 |
30 |
| ixgbe_read_mbx |
|
11 |
3 |
81 |
| ixgbe_write_mbx |
|
11 |
3 |
80 |
| ixgbe_check_for_msg |
|
9 |
2 |
56 |
| ixgbe_check_for_ack |
|
9 |
2 |
56 |
| ixgbe_check_for_rst |
|
9 |
2 |
56 |
| ixgbe_poll_for_msg |
|
16 |
7 |
92 |
| ixgbe_poll_for_ack |
|
16 |
7 |
92 |
| ixgbe_read_posted_mbx |
|
13 |
3 |
87 |
| ixgbe_write_posted_mbx |
|
14 |
4 |
92 |
| ixgbe_init_mbx_ops_generic |
|
6 |
1 |
35 |
| ixgbe_read_v2p_mailbox |
|
7 |
1 |
40 |
| ixgbe_check_for_bit_pf |
|
10 |
2 |
60 |
| ixgbe_check_for_msg_pf |
|
13 |
2 |
70 |
| ixgbe_check_for_ack_pf |
|
13 |
2 |
70 |
| ixgbe_check_for_rst_pf |
|
26 |
7 |
147 |
| ixgbe_obtain_mbx_lock_pf |
|
11 |
2 |
62 |
| ixgbe_write_mbx_pf |
|
18 |
3 |
116 |
| ixgbe_read_mbx_pf |
|
16 |
3 |
102 |
| ixgbe_init_mbx_params_pf |
|
24 |
5 |
169 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ichreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_hme_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hmematch_pci |
|
11 |
3 |
60 |
| hme_pci_enaddr |
|
53 |
17 |
463 |
| hmeattach_pci |
|
77 |
14 |
551 |
| hmedetach_pci |
|
10 |
1 |
77 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/hifn7751reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pcscpreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agpreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciidevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cy82c693.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cy82c693_init |
|
18 |
4 |
96 |
| cy82c693_read |
|
9 |
2 |
62 |
| cy82c693_write |
|
7 |
2 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/hifn7751var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cs4280reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/amdpm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amdpm_match |
|
5 |
1 |
40 |
| amdpm_attach |
|
88 |
22 |
612 |
| amdpm_activate |
|
21 |
3 |
114 |
| amdpm_rnd_callout |
|
11 |
2 |
71 |
| amdpm_get_timecount |
|
14 |
5 |
98 |
| amdpm_i2c_acquire_bus |
|
7 |
4 |
52 |
| amdpm_i2c_release_bus |
|
7 |
4 |
42 |
| amdpm_i2c_exec |
|
92 |
26 |
649 |
| amdpm_intr |
|
38 |
9 |
252 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/virtio_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| virtio_pci_read_queue_size |
|
8 |
1 |
53 |
| virtio_pci_setup_queue |
|
15 |
3 |
99 |
| virtio_pci_set_status |
|
10 |
2 |
67 |
| virtio_pci_match |
|
14 |
7 |
98 |
| virtio_pci_attach |
|
78 |
12 |
541 |
| virtio_pci_detach |
|
18 |
6 |
130 |
| virtio_pci_negotiate_features |
|
25 |
6 |
154 |
| virtio_pci_read_device_config_1 |
|
6 |
1 |
42 |
| virtio_pci_read_device_config_2 |
|
6 |
1 |
42 |
| virtio_pci_read_device_config_4 |
|
6 |
1 |
42 |
| virtio_pci_read_device_config_8 |
|
11 |
1 |
78 |
| virtio_pci_write_device_config_1 |
|
7 |
1 |
46 |
| virtio_pci_write_device_config_2 |
|
7 |
1 |
46 |
| virtio_pci_write_device_config_4 |
|
7 |
1 |
46 |
| virtio_pci_write_device_config_8 |
|
9 |
1 |
75 |
| virtio_pci_msix_establish |
|
19 |
4 |
138 |
| virtio_pci_free_irqs |
|
20 |
5 |
134 |
| virtio_pci_setup_msix |
|
37 |
7 |
235 |
| virtio_pci_legacy_intr |
|
18 |
4 |
103 |
| virtio_pci_legacy_intr_mpsafe |
|
16 |
4 |
95 |
| virtio_pci_config_intr |
|
7 |
2 |
34 |
| virtio_pci_queue_intr |
|
7 |
2 |
34 |
| virtio_pci_shared_queue_intr |
|
5 |
1 |
21 |
| virtio_pci_poll_intr |
|
10 |
2 |
59 |
| virtio_pci_kick |
|
6 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/fmsreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe_x540.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgbe_init_ops_X540 |
|
52 |
1 |
362 |
| ixgbe_get_media_type_X540 |
|
4 |
1 |
12 |
| ixgbe_setup_mac_link_X540 |
|
8 |
1 |
36 |
| ixgbe_reset_hw_X540 |
|
36 |
6 |
219 |
| ixgbe_start_hw_X540 |
|
11 |
2 |
47 |
| ixgbe_get_supported_physical_layer_X540 |
|
15 |
4 |
75 |
| ixgbe_init_eeprom_params_X540 |
|
19 |
2 |
106 |
| ixgbe_read_eerd_X540 |
|
13 |
2 |
79 |
| ixgbe_write_eewr_X540 |
|
13 |
2 |
78 |
| ixgbe_calc_eeprom_checksum_X540 |
|
46 |
17 |
271 |
| ixgbe_validate_eeprom_checksum_X540 |
|
32 |
7 |
175 |
| ixgbe_update_eeprom_checksum_X540 |
|
24 |
5 |
146 |
| ixgbe_update_flash_X540 |
|
32 |
7 |
164 |
| ixgbe_poll_flash_update_done_X540 |
|
16 |
3 |
71 |
| ixgbe_acquire_swfw_sync_X540 |
|
55 |
11 |
291 |
| ixgbe_release_swfw_sync_X540 |
|
14 |
2 |
80 |
| ixgbe_get_swfw_sync_semaphore |
|
34 |
7 |
159 |
| ixgbe_release_swfw_sync_semaphore |
|
12 |
1 |
66 |
| ixgbe_blink_led_start_X540 |
|
20 |
2 |
122 |
| ixgbe_blink_led_stop_X540 |
|
16 |
1 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_bnxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/autrireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/autrivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_rtw_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtw_pci_match |
|
5 |
1 |
37 |
| rtw_pci_enable |
|
12 |
2 |
78 |
| rtw_pci_disable |
|
6 |
1 |
37 |
| rtw_pci_attach |
|
55 |
6 |
379 |
| rtw_pci_detach |
|
14 |
3 |
101 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_txpreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ubsecvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_ixp_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pci_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_findvendor |
|
13 |
4 |
60 |
| pci_findproduct |
|
14 |
5 |
72 |
| pci_devinfo |
|
70 |
18 |
437 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/vga_pcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_em_hw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_gem_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gem_match_pci |
|
5 |
1 |
37 |
| gem_pci_enaddr |
|
46 |
12 |
397 |
| gem_attach_pci |
|
77 |
17 |
508 |
| gem_detach_pci |
|
11 |
1 |
85 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/i82365_pcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_sereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ix.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_liireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auixpvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_sf_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sf_pci_match |
|
5 |
1 |
37 |
| sf_pci_attach |
|
64 |
11 |
404 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vgevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgb_hw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/sli_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sli_pci_match |
|
5 |
1 |
45 |
| sli_pci_attach |
|
53 |
6 |
366 |
| sli_pci_detach |
|
10 |
2 |
62 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pccbbvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp_sis.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_sis_probe |
|
10 |
5 |
79 |
| agp_sis_attach |
|
35 |
5 |
266 |
| agp_sis_activate |
|
13 |
3 |
55 |
| agp_sis_save |
|
5 |
1 |
26 |
| agp_sis_restore |
|
7 |
1 |
45 |
| agp_sis_get_aperture |
|
8 |
1 |
54 |
| agp_sis_set_aperture |
|
16 |
4 |
116 |
| agp_sis_bind_page |
|
6 |
1 |
44 |
| agp_sis_unbind_page |
|
5 |
1 |
38 |
| agp_sis_flush_tlb |
|
9 |
1 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/mmuagp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmuagp_probe |
|
48 |
17 |
213 |
| mmuagp_nvidia_match |
|
14 |
5 |
95 |
| mmuagp_via_match |
|
15 |
5 |
92 |
| mmuagp_attach |
|
86 |
17 |
576 |
| mmuagp_get_aperture |
|
10 |
2 |
58 |
| mmuagp_set_aperture |
|
19 |
5 |
133 |
| mmuagp_bind_page |
|
6 |
1 |
61 |
| mmuagp_unbind_page |
|
5 |
1 |
38 |
| mmuagp_flush_tlb |
|
13 |
2 |
76 |
| mmuagp_apbase_fixup |
|
12 |
2 |
91 |
| mmuagp_uli_init |
|
12 |
1 |
78 |
| mmuagp_uli_set_aperture |
|
16 |
5 |
67 |
| mmuagp_nvidia_init |
|
14 |
1 |
95 |
| mmuagp_nvidia_set_aperture |
|
32 |
6 |
158 |
| mmuagp_via_init |
|
10 |
1 |
67 |
| mmuagp_via_set_aperture |
|
12 |
2 |
106 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_txp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| txp_probe |
|
5 |
1 |
37 |
| txp_attachhook |
|
68 |
6 |
611 |
| txp_attach |
|
32 |
5 |
210 |
| txp_chip_init |
|
26 |
2 |
173 |
| txp_reset_adapter |
|
19 |
4 |
104 |
| txp_download_fw |
|
73 |
12 |
534 |
| txp_download_fw_wait |
|
21 |
5 |
115 |
| txp_download_fw_section |
|
57 |
7 |
435 |
| txp_intr |
|
37 |
9 |
359 |
| txp_rx_reclaim |
|
90 |
16 |
642 |
| txp_rxbuf_reclaim |
|
57 |
9 |
439 |
| txp_tx_reclaim |
|
44 |
7 |
276 |
| txp_alloc_rings |
|
224 |
28 |
2046 |
| txp_dma_malloc |
|
27 |
5 |
237 |
| txp_dma_free |
|
7 |
1 |
69 |
| txp_ioctl |
|
34 |
9 |
184 |
| txp_init |
|
21 |
2 |
170 |
| txp_tick |
|
30 |
5 |
265 |
| txp_start |
|
112 |
25 |
745 |
| txp_command |
|
18 |
6 |
145 |
| txp_command2 |
|
63 |
13 |
524 |
| txp_response |
|
39 |
9 |
279 |
| txp_rsp_fixup |
|
21 |
4 |
150 |
| txp_cmd_desc_numfree |
|
18 |
3 |
128 |
| txp_stop |
|
10 |
1 |
91 |
| txp_watchdog |
|
3 |
1 |
9 |
| txp_ifmedia_upd |
|
28 |
8 |
185 |
| txp_ifmedia_sts |
|
56 |
16 |
375 |
| txp_show_descriptor |
|
38 |
5 |
278 |
| txp_set_filter |
|
40 |
7 |
257 |
| txp_capabilities |
|
45 |
14 |
317 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pcidevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/viapm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| viapm_match |
|
4 |
1 |
32 |
| viapm_attach |
|
148 |
33 |
1122 |
| viapm_i2c_acquire_bus |
|
7 |
4 |
52 |
| viapm_i2c_release_bus |
|
7 |
4 |
42 |
| viapm_i2c_exec |
|
82 |
23 |
580 |
| viapm_intr |
|
35 |
9 |
237 |
| val_to_uK |
|
10 |
4 |
76 |
| val_to_rpm |
|
6 |
2 |
27 |
| val_to_uV |
|
7 |
2 |
57 |
| viapm_refresh_sensor_data |
|
29 |
3 |
400 |
| viapm_refresh |
|
6 |
1 |
33 |
| viapm_get_timecount |
|
13 |
3 |
97 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cz.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cz_match |
|
10 |
3 |
59 |
| cz_attach |
|
106 |
15 |
761 |
| cz_reset_board |
|
13 |
1 |
85 |
| cz_load_firmware |
|
129 |
30 |
885 |
| cz_poll |
|
8 |
1 |
42 |
| cz_intr |
|
91 |
33 |
466 |
| cz_wait_pci_doorbell |
|
10 |
4 |
73 |
| cztty_getttysoftc |
|
20 |
6 |
127 |
| cztty_findmajor |
|
9 |
4 |
48 |
| czttytty |
|
7 |
3 |
35 |
| cztty_shutdown |
|
21 |
5 |
159 |
| czttyopen |
|
61 |
15 |
425 |
| czttyclose |
|
13 |
3 |
102 |
| czttyread |
|
6 |
1 |
56 |
| czttywrite |
|
6 |
1 |
56 |
| czttypoll |
|
6 |
1 |
56 |
| czttyioctl |
|
50 |
14 |
278 |
| cztty_break |
|
8 |
2 |
53 |
| cztty_modem |
|
14 |
3 |
91 |
| tiocm_to_cztty |
|
26 |
6 |
161 |
| cztty_to_tiocm |
|
24 |
8 |
171 |
| czttyparam |
|
82 |
18 |
555 |
| czttystart |
|
14 |
3 |
80 |
| czttystop |
|
4 |
1 |
17 |
| cztty_diag |
|
22 |
3 |
127 |
| cztty_transmit |
|
34 |
8 |
262 |
| cztty_receive |
|
20 |
6 |
174 |
| if |
|
3 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pcireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ips.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ips_match |
|
5 |
1 |
40 |
| ips_attach |
|
198 |
32 |
1602 |
| ips_scsi_cmd |
|
116 |
21 |
795 |
| ips_scsi_pt_cmd |
|
68 |
11 |
544 |
| ips_scsi_ioctl |
|
5 |
2 |
37 |
| ips_ioctl |
|
18 |
5 |
129 |
| ips_ioctl_inq |
|
12 |
2 |
117 |
| ips_ioctl_vol |
|
61 |
16 |
469 |
| ips_ioctl_disk |
|
60 |
17 |
469 |
| ips_ioctl_setstate |
|
29 |
8 |
187 |
| ips_sensors |
|
39 |
7 |
281 |
| ips_load_xs |
|
30 |
8 |
275 |
| ips_start_xs |
|
11 |
2 |
80 |
| ips_cmd |
|
18 |
2 |
146 |
| ips_poll |
|
31 |
6 |
214 |
| ips_done |
|
8 |
1 |
66 |
| ips_done_xs |
|
15 |
4 |
118 |
| ips_done_pt |
|
31 |
10 |
261 |
| ips_done_mgmt |
|
9 |
3 |
69 |
| ips_error |
|
55 |
19 |
377 |
| ips_error_xs |
|
34 |
14 |
163 |
| ips_intr |
|
40 |
6 |
244 |
| ips_timeout |
|
16 |
2 |
88 |
| ips_getadapterinfo |
|
15 |
2 |
104 |
| ips_getdriveinfo |
|
15 |
2 |
104 |
| ips_getconf |
|
15 |
2 |
104 |
| ips_getpg5 |
|
16 |
2 |
110 |
| ips_getrblstat |
|
15 |
2 |
104 |
| ips_setstate |
|
16 |
2 |
108 |
| ips_rebuild |
|
17 |
2 |
119 |
| ips_copperhead_exec |
|
17 |
4 |
118 |
| ips_copperhead_intren |
|
4 |
1 |
24 |
| ips_copperhead_isintr |
|
9 |
3 |
64 |
| ips_copperhead_status |
|
18 |
4 |
149 |
| ips_morpheus_exec |
|
4 |
1 |
31 |
| ips_morpheus_intren |
|
7 |
1 |
46 |
| ips_morpheus_isintr |
|
5 |
1 |
27 |
| ips_morpheus_status |
|
7 |
1 |
49 |
| ips_ccb_alloc |
|
26 |
5 |
214 |
| ips_ccb_free |
|
7 |
2 |
64 |
| ips_ccb_get |
|
14 |
2 |
94 |
| ips_ccb_put |
|
9 |
1 |
60 |
| ips_dmamem_alloc |
|
26 |
5 |
189 |
| ips_dmamem_free |
|
7 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/sti_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sti_pci_match |
|
6 |
1 |
47 |
| sti_pci_attach |
|
18 |
4 |
151 |
| sti_check_rom |
|
133 |
26 |
821 |
| sti_readbar |
|
33 |
7 |
212 |
| sti_pci_enable_rom |
|
11 |
2 |
81 |
| sti_pci_disable_rom |
|
11 |
2 |
80 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/plx9060var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgb_ee.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ehci_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ehci_pci_match |
|
9 |
4 |
68 |
| ehci_pci_attach |
|
107 |
20 |
726 |
| ehci_pci_activate |
|
17 |
4 |
75 |
| ehci_pci_detach |
|
17 |
4 |
116 |
| ehci_pci_givecontroller |
|
15 |
3 |
100 |
| ehci_pci_takecontroller |
|
29 |
8 |
204 |
| ehci_sb700_match |
|
9 |
5 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/neoreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_de.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tulip_timeout_callback |
|
12 |
1 |
65 |
| tulip_timeout |
|
7 |
2 |
43 |
| tulip_txprobe |
|
25 |
3 |
224 |
| tulip_media_set |
|
88 |
26 |
789 |
| tulip_linkup |
|
25 |
9 |
180 |
| tulip_media_print |
|
14 |
6 |
83 |
| tulip_media_link_monitor |
|
61 |
24 |
443 |
| tulip_media_poll |
|
171 |
56 |
908 |
| tulip_media_select |
|
15 |
4 |
103 |
| tulip_21040_mediainfo_init |
|
15 |
6 |
134 |
| tulip_21040_media_probe |
|
4 |
1 |
16 |
| tulip_21040_10baset_only_media_probe |
|
6 |
1 |
29 |
| tulip_21040_10baset_only_media_select |
|
12 |
2 |
61 |
| tulip_21040_auibnc_only_media_probe |
|
7 |
1 |
37 |
| tulip_21040_auibnc_only_media_select |
|
5 |
1 |
22 |
| tulip_21041_mediainfo_init |
|
8 |
1 |
78 |
| tulip_21041_media_probe |
|
8 |
1 |
42 |
| tulip_21041_media_poll |
|
95 |
27 |
542 |
| tulip_mii_phy_readspecific |
|
53 |
16 |
427 |
| tulip_mii_get_phyaddr |
|
19 |
10 |
121 |
| tulip_mii_map_abilities |
|
20 |
6 |
107 |
| tulip_mii_autonegotiate |
|
84 |
20 |
518 |
| tulip_2114x_media_preset |
|
70 |
25 |
370 |
| tulip_null_media_poll |
|
6 |
3 |
32 |
| tulip_21140_mediainit |
|
8 |
1 |
51 |
| tulip_21140_evalboard_media_probe |
|
32 |
2 |
186 |
| tulip_21140_accton_media_probe |
|
41 |
3 |
226 |
| tulip_21140_smc9332_media_probe |
|
41 |
6 |
258 |
| tulip_21140_cogent_em100_media_probe |
|
33 |
2 |
193 |
| tulip_21140_znyx_zx34x_media_probe |
|
44 |
7 |
277 |
| tulip_2114x_media_probe |
|
5 |
1 |
19 |
| tulip_delay_300ns |
|
6 |
2 |
41 |
| tulip_srom_idle |
|
15 |
2 |
89 |
| tulip_srom_read |
|
40 |
6 |
293 |
| tulip_mii_writebits |
|
15 |
4 |
117 |
| tulip_mii_turnaround |
|
13 |
2 |
81 |
| tulip_mii_readbits |
|
15 |
3 |
95 |
| tulip_mii_readreg |
|
15 |
2 |
128 |
| tulip_mii_writereg |
|
15 |
2 |
127 |
| tulip_identify_dec_nic |
|
11 |
4 |
99 |
| tulip_identify_znyx_nic |
|
84 |
30 |
714 |
| tulip_identify_smc_nic |
|
43 |
14 |
383 |
| tulip_identify_cogent_nic |
|
22 |
10 |
213 |
| tulip_identify_accton_nic |
|
27 |
7 |
174 |
| tulip_identify_asante_nic |
|
42 |
8 |
329 |
| tulip_identify_compex_nic |
|
26 |
9 |
192 |
| tulip_srom_decode |
|
304 |
64 |
2274 |
| tulip_read_macaddr |
|
131 |
50 |
1153 |
| tulip_ifmedia_add |
|
24 |
5 |
179 |
| tulip_ifmedia_change |
|
23 |
5 |
144 |
| tulip_ifmedia_status |
|
10 |
3 |
65 |
| tulip_alloc_rxmap |
|
4 |
1 |
21 |
| tulip_free_rxmap |
|
4 |
1 |
23 |
| tulip_alloc_txmap |
|
4 |
1 |
21 |
| tulip_free_txmap |
|
4 |
1 |
23 |
| tulip_addr_filter |
|
84 |
20 |
842 |
| tulip_reset |
|
83 |
16 |
602 |
| tulip_init |
|
38 |
7 |
241 |
| tulip_rx_intr |
|
178 |
50 |
1225 |
| tulip_tx_intr |
|
96 |
31 |
652 |
| tulip_print_abnormal_interrupt |
|
25 |
8 |
184 |
| tulip_intr_handler |
|
81 |
24 |
516 |
| tulip_intr_shared |
|
10 |
3 |
54 |
| tulip_intr_normal |
|
8 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/wdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdt_probe |
|
5 |
1 |
37 |
| wdt_attach |
|
28 |
5 |
172 |
| wdt_activate |
|
9 |
2 |
33 |
| wdt_is501 |
|
7 |
3 |
45 |
| wdt_8254_count |
|
6 |
1 |
54 |
| wdt_8254_mode |
|
5 |
1 |
44 |
| wdt_set_timeout |
|
20 |
4 |
123 |
| wdt_timer_disable |
|
4 |
1 |
25 |
| wdt_init_timer |
|
6 |
1 |
36 |
| wdt_buzzer_off |
|
4 |
1 |
24 |
| wdt_buzzer_enable |
|
5 |
1 |
33 |
| wdt_buzzer_disable |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/adv_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adv_pci_match |
|
7 |
1 |
42 |
| adv_pci_attach |
|
63 |
10 |
394 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/puc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| puc_pci_match |
|
15 |
3 |
124 |
| puc_pci_intr_string |
|
5 |
1 |
32 |
| puc_pci_intr_establish |
|
9 |
1 |
93 |
| puc_pci_attach |
|
48 |
8 |
427 |
| puc_common_attach |
|
37 |
8 |
329 |
| puc_pci_detach |
|
20 |
7 |
170 |
| puc_print |
|
8 |
2 |
52 |
| puc_submatch |
|
8 |
3 |
81 |
| puc_find_description |
|
12 |
6 |
144 |
| puc_port_type_name |
|
8 |
3 |
32 |
| puc_print_ports |
|
19 |
7 |
114 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/eapreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/glxpcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| glxpcib_match |
|
8 |
2 |
44 |
| glxpcib_attach |
|
107 |
15 |
750 |
| glxpcib_activate |
|
34 |
9 |
218 |
| glxpcib_get_timecount |
|
4 |
1 |
15 |
| glxpcib_wdogctl_cb |
|
17 |
3 |
107 |
| glxpcib_gpio_pin_read |
|
19 |
4 |
118 |
| glxpcib_gpio_pin_write |
|
16 |
3 |
87 |
| glxpcib_gpio_pin_ctl |
|
47 |
10 |
386 |
| glxpcib_smb_acquire_bus |
|
7 |
3 |
46 |
| glxpcib_smb_release_bus |
|
7 |
3 |
36 |
| glxpcib_smb_send_start |
|
10 |
1 |
58 |
| glxpcib_smb_send_stop |
|
10 |
1 |
58 |
| glxpcib_smb_send_ack |
|
9 |
1 |
53 |
| glxpcib_smb_initiate_xfer |
|
13 |
3 |
96 |
| glxpcib_smb_read_byte |
|
12 |
3 |
79 |
| glxpcib_print |
|
7 |
2 |
45 |
| glxpcib_search |
|
19 |
5 |
169 |
| glxpcib_smb_write_byte |
|
12 |
3 |
77 |
| glxpcib_smb_reset |
|
12 |
1 |
87 |
| glxpcib_smb_wait |
|
31 |
8 |
177 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_em_soc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ipwvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_wpi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wpi_match |
|
5 |
1 |
35 |
| wpi_attach |
|
119 |
17 |
812 |
| wpi_radiotap_attach |
|
11 |
1 |
108 |
| wpi_detach |
|
19 |
3 |
150 |
| wpi_activate |
|
15 |
4 |
75 |
| wpi_wakeup |
|
8 |
1 |
51 |
| wpi_init_task |
|
12 |
2 |
78 |
| wpi_nic_lock |
|
13 |
3 |
66 |
| wpi_nic_unlock |
|
4 |
1 |
18 |
| wpi_prph_read |
|
6 |
1 |
36 |
| wpi_prph_write |
|
6 |
1 |
40 |
| wpi_prph_setbits |
|
4 |
1 |
31 |
| wpi_prph_clrbits |
|
4 |
1 |
31 |
| wpi_prph_write_region_4 |
|
6 |
2 |
47 |
| wpi_mem_read |
|
6 |
1 |
34 |
| wpi_mem_write |
|
6 |
1 |
38 |
| wpi_mem_read_region_4 |
|
6 |
2 |
44 |
| wpi_read_prom_data |
|
28 |
7 |
177 |
| wpi_dma_contig_alloc |
|
30 |
6 |
227 |
| wpi_dma_contig_free |
|
15 |
3 |
113 |
| wpi_alloc_shared |
|
5 |
1 |
39 |
| wpi_free_shared |
|
4 |
1 |
17 |
| wpi_alloc_fwmem |
|
5 |
1 |
30 |
| wpi_free_fwmem |
|
4 |
1 |
17 |
| wpi_alloc_rx_ring |
|
45 |
6 |
315 |
| wpi_reset_rx_ring |
|
15 |
4 |
81 |
| wpi_free_rx_ring |
|
16 |
4 |
121 |
| wpi_alloc_tx_ring |
|
47 |
6 |
329 |
| wpi_reset_tx_ring |
|
18 |
3 |
140 |
| wpi_free_tx_ring |
|
17 |
4 |
129 |
| wpi_read_eeprom |
|
25 |
4 |
218 |
| wpi_read_eeprom_channels |
|
35 |
6 |
258 |
| wpi_read_eeprom_group |
|
19 |
2 |
178 |
| wpi_node_alloc |
|
4 |
1 |
25 |
| wpi_newassoc |
|
16 |
4 |
133 |
| wpi_media_change |
|
24 |
6 |
154 |
| wpi_newstate |
|
40 |
10 |
223 |
| wpi_iter_func |
|
6 |
1 |
47 |
| wpi_calib_timeout |
|
19 |
4 |
109 |
| wpi_ccmp_decap |
|
34 |
4 |
250 |
| wpi_rx_done |
|
140 |
29 |
1116 |
| wpi_tx_done |
|
29 |
6 |
264 |
| wpi_cmd_done |
|
16 |
3 |
126 |
| wpi_notif_intr |
|
91 |
17 |
666 |
| wpi_fatal_intr |
|
51 |
9 |
360 |
| wpi_intr |
|
33 |
12 |
228 |
| wpi_tx |
|
190 |
37 |
1498 |
| wpi_start |
|
39 |
14 |
244 |
| wpi_watchdog |
|
15 |
3 |
81 |
| wpi_ioctl |
|
49 |
13 |
287 |
| wpi_cmd |
|
61 |
9 |
484 |
| wpi_mrr_setup |
|
37 |
8 |
287 |
| wpi_updateedca |
|
18 |
2 |
162 |
| wpi_set_led |
|
9 |
1 |
67 |
| wpi_set_timing |
|
15 |
1 |
152 |
| wpi_power_calibration |
|
14 |
4 |
92 |
| wpi_set_txpower |
|
35 |
7 |
305 |
| wpi_get_power_index |
|
35 |
12 |
251 |
| wpi_set_pslevel |
|
39 |
9 |
308 |
| wpi_config |
|
73 |
10 |
519 |
| wpi_scan |
|
87 |
10 |
705 |
| wpi_auth |
|
55 |
10 |
417 |
| wpi_run |
|
54 |
10 |
453 |
| wpi_set_key |
|
20 |
3 |
169 |
| wpi_delete_key |
|
21 |
4 |
148 |
| wpi_post_alive |
|
25 |
6 |
148 |
| wpi_load_bootcode |
|
28 |
5 |
177 |
| wpi_load_firmware |
|
50 |
5 |
428 |
| wpi_read_firmware |
|
47 |
10 |
450 |
| wpi_clock_wait |
|
13 |
3 |
69 |
| wpi_apm_init |
|
16 |
3 |
95 |
| wpi_apm_stop_master |
|
14 |
4 |
82 |
| wpi_apm_stop |
|
5 |
1 |
23 |
| wpi_nic_config |
|
19 |
6 |
143 |
| wpi_hw_init |
|
76 |
11 |
556 |
| wpi_hw_stop |
|
34 |
7 |
239 |
| wpi_init |
|
37 |
7 |
222 |
| wpi_stop |
|
11 |
1 |
76 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/mpi_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpi_pci_match |
|
4 |
1 |
32 |
| mpi_pci_attach |
|
68 |
16 |
477 |
| mpi_pci_detach |
|
15 |
3 |
102 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_tht.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| thtc_lookup |
|
12 |
4 |
78 |
| thtc_match |
|
7 |
2 |
43 |
| thtc_attach |
|
39 |
5 |
281 |
| thtc_print |
|
8 |
2 |
51 |
| tht_match |
|
4 |
1 |
22 |
| tht_attach |
|
40 |
3 |
321 |
| tht_mountroot |
|
12 |
3 |
90 |
| tht_intr |
|
34 |
8 |
243 |
| tht_ioctl |
|
37 |
10 |
206 |
| tht_up |
|
61 |
8 |
464 |
| tht_iff |
|
48 |
9 |
369 |
| tht_down |
|
22 |
4 |
188 |
| tht_start |
|
53 |
11 |
411 |
| tht_load_pkt |
|
34 |
7 |
219 |
| tht_txf |
|
24 |
3 |
199 |
| tht_rxf_fill |
|
46 |
11 |
342 |
| tht_rxf_drain |
|
14 |
2 |
89 |
| tht_rxd |
|
38 |
4 |
295 |
| tht_watchdog |
|
3 |
1 |
9 |
| tht_media_change |
|
4 |
1 |
14 |
| tht_media_status |
|
9 |
2 |
57 |
| tht_fifo_alloc |
|
17 |
2 |
155 |
| tht_fifo_free |
|
6 |
1 |
52 |
| tht_fifo_readable |
|
11 |
2 |
94 |
| tht_fifo_writable |
|
11 |
2 |
94 |
| tht_fifo_pre |
|
5 |
1 |
43 |
| tht_fifo_read |
|
19 |
2 |
135 |
| tht_fifo_write |
|
20 |
2 |
144 |
| tht_fifo_write_dmap |
|
14 |
2 |
107 |
| tht_fifo_write_pad |
|
6 |
2 |
49 |
| tht_fifo_post |
|
11 |
2 |
102 |
| tht_lladdr_read |
|
6 |
2 |
48 |
| tht_lladdr_write |
|
6 |
2 |
48 |
| tht_sw_reset |
|
37 |
4 |
304 |
| tht_fw_load |
|
40 |
9 |
269 |
| tht_fw_tick |
|
5 |
1 |
20 |
| tht_link_state |
|
18 |
5 |
115 |
| tht_read |
|
6 |
1 |
49 |
| tht_write |
|
6 |
1 |
51 |
| tht_write_region |
|
7 |
1 |
57 |
| tht_wait_eq |
|
11 |
3 |
62 |
| tht_wait_ne |
|
11 |
3 |
62 |
| tht_dmamem_alloc |
|
30 |
5 |
229 |
| tht_dmamem_free |
|
9 |
1 |
75 |
| tht_pkt_alloc |
|
23 |
3 |
162 |
| tht_pkt_free |
|
9 |
2 |
67 |
| tht_pkt_put |
|
5 |
1 |
38 |
| tht_pkt_get |
|
10 |
2 |
61 |
| tht_pkt_used |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agpvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_wi_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wi_pci_lookup |
|
10 |
4 |
66 |
| wi_pci_match |
|
4 |
1 |
27 |
| wi_pci_attach |
|
11 |
2 |
78 |
| wi_pci_activate |
|
16 |
5 |
83 |
| wi_pci_wakeup |
|
12 |
2 |
70 |
| wi_pci_acex_attach |
|
72 |
12 |
544 |
| wi_pci_plx_attach |
|
76 |
14 |
504 |
| wi_pci_tmd_attach |
|
30 |
4 |
205 |
| wi_pci_native_attach |
|
26 |
3 |
171 |
| wi_pci_common_attach |
|
24 |
4 |
151 |
| wi_pci_plx_print_cis |
|
26 |
7 |
212 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pci_map.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| obsd_pci_io_find |
|
37 |
14 |
247 |
| obsd_pci_mem_find |
|
82 |
35 |
548 |
| pci_io_find |
|
5 |
1 |
41 |
| pci_mem_find |
|
6 |
1 |
46 |
| pci_mapreg_type |
|
4 |
1 |
28 |
| pci_mapreg_probe |
|
22 |
5 |
169 |
| pci_mapreg_info |
|
10 |
2 |
78 |
| pci_mapreg_map |
|
70 |
22 |
488 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auviavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ahc_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_compose_id |
|
9 |
1 |
55 |
| ahc_find_pci_device |
|
21 |
6 |
149 |
| ahc_pci_probe |
|
11 |
3 |
85 |
| ahc_pci_attach |
|
235 |
43 |
1654 |
| ahc_9005_subdevinfo_valid |
|
25 |
10 |
95 |
| ahc_ext_scbram_present |
|
21 |
7 |
138 |
| ahc_scbram_config |
|
43 |
10 |
217 |
| ahc_probe_ext_scbram |
|
60 |
16 |
393 |
| ahc_pci_test_register_access |
|
35 |
5 |
259 |
| ahc_pci_intr |
|
40 |
9 |
264 |
| ahc_pci_chip_init |
|
20 |
4 |
194 |
| ahc_aic785X_setup |
|
13 |
2 |
74 |
| ahc_aic7860_setup |
|
13 |
2 |
74 |
| ahc_apa1480_setup |
|
9 |
2 |
41 |
| ahc_aic7870_setup |
|
9 |
1 |
48 |
| ahc_aha394X_setup |
|
8 |
2 |
37 |
| ahc_aha398X_setup |
|
8 |
2 |
37 |
| ahc_aha494X_setup |
|
8 |
2 |
37 |
| ahc_aic7880_setup |
|
16 |
2 |
83 |
| ahc_aha2940Pro_setup |
|
5 |
1 |
23 |
| ahc_aha394XU_setup |
|
8 |
2 |
37 |
| ahc_aha398XU_setup |
|
8 |
2 |
37 |
| ahc_aic7890_setup |
|
13 |
2 |
72 |
| ahc_aic7892_setup |
|
10 |
1 |
50 |
| ahc_aic7895_setup |
|
28 |
4 |
218 |
| ahc_aic7896_setup |
|
10 |
2 |
62 |
| ahc_aic7899_setup |
|
10 |
2 |
62 |
| ahc_aha29160C_setup |
|
9 |
2 |
41 |
| ahc_raid_setup |
|
5 |
1 |
19 |
| ahc_aha394XX_setup |
|
17 |
3 |
66 |
| ahc_aha398XX_setup |
|
22 |
4 |
85 |
| ahc_aha494XX_setup |
|
24 |
5 |
94 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/fmsvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_natsemi_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/esavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_oce.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ilog2 |
|
7 |
2 |
28 |
| oce_match |
|
4 |
1 |
32 |
| oce_attach |
|
101 |
26 |
624 |
| oce_pci_alloc |
|
53 |
11 |
396 |
| oce_read_cfg |
|
6 |
1 |
45 |
| oce_read_csr |
|
6 |
1 |
45 |
| oce_read_db |
|
6 |
1 |
45 |
| oce_write_cfg |
|
6 |
1 |
47 |
| oce_write_csr |
|
6 |
1 |
47 |
| oce_write_db |
|
6 |
1 |
47 |
| oce_intr_enable |
|
6 |
1 |
32 |
| oce_intr_disable |
|
6 |
1 |
32 |
| oce_attachhook |
|
9 |
1 |
65 |
| oce_attach_ifp |
|
24 |
4 |
178 |
| oce_ioctl |
|
42 |
12 |
231 |
| oce_rxrinfo |
|
23 |
4 |
184 |
| oce_iff |
|
23 |
5 |
155 |
| oce_link_status |
|
27 |
7 |
129 |
| oce_media_status |
|
31 |
9 |
164 |
| oce_media_change |
|
4 |
1 |
14 |
| oce_tick |
|
9 |
2 |
48 |
| oce_init |
|
56 |
9 |
354 |
| oce_stop |
|
27 |
1 |
176 |
| oce_watchdog |
|
6 |
1 |
30 |
| oce_start |
|
22 |
9 |
128 |
| oce_encap |
|
89 |
24 |
779 |
| oce_tso |
|
50 |
11 |
343 |
| oce_intr |
|
26 |
3 |
192 |
| oce_intr_wq |
|
26 |
5 |
186 |
| oce_txeof |
|
19 |
2 |
130 |
| oce_intr_rq |
|
37 |
13 |
258 |
| oce_rxeof |
|
78 |
24 |
569 |
| oce_rxeoc |
|
23 |
6 |
170 |
| oce_vtp_valid |
|
9 |
3 |
68 |
| oce_port_valid |
|
10 |
4 |
70 |
| oce_flush_lro |
|
14 |
3 |
96 |
| oce_init_lro |
|
16 |
3 |
99 |
| oce_free_lro |
|
10 |
3 |
59 |
| oce_get_buf |
|
33 |
5 |
280 |
| oce_alloc_rx_bufs |
|
22 |
6 |
155 |
| oce_refill_rx |
|
12 |
2 |
64 |
| oce_intr_mq |
|
35 |
7 |
227 |
| oce_link_event |
|
7 |
1 |
51 |
| oce_init_queues |
|
33 |
9 |
235 |
| oce_release_queues |
|
21 |
5 |
112 |
| oce_create_wq |
|
48 |
9 |
328 |
| oce_drain_wq |
|
13 |
1 |
84 |
| oce_destroy_wq |
|
19 |
5 |
148 |
| oce_create_rq |
|
46 |
7 |
318 |
| oce_drain_rq |
|
13 |
1 |
84 |
| oce_destroy_rq |
|
19 |
5 |
148 |
| oce_create_eq |
|
23 |
4 |
150 |
| oce_arm_eq |
|
5 |
1 |
54 |
| oce_drain_eq |
|
12 |
1 |
79 |
| oce_destroy_eq |
|
14 |
3 |
105 |
| oce_create_mq |
|
36 |
5 |
259 |
| oce_drain_mq |
|
13 |
1 |
84 |
| oce_destroy_mq |
|
16 |
4 |
120 |
| oce_create_cq |
|
26 |
4 |
188 |
| oce_destroy_cq |
|
14 |
3 |
105 |
| oce_arm_cq |
|
4 |
1 |
42 |
| oce_free_posted_rxbuf |
|
16 |
3 |
116 |
| oce_dma_alloc |
|
45 |
5 |
336 |
| oce_dma_free |
|
16 |
4 |
109 |
| oce_create_ring |
|
48 |
6 |
341 |
| oce_destroy_ring |
|
5 |
1 |
33 |
| oce_load_ring |
|
20 |
4 |
177 |
| oce_ring_get |
|
7 |
2 |
54 |
| oce_ring_first |
|
4 |
1 |
32 |
| oce_ring_next |
|
6 |
2 |
49 |
| oce_pkt_alloc |
|
12 |
3 |
90 |
| oce_pkt_free |
|
8 |
2 |
51 |
| oce_pkt_get |
|
9 |
2 |
44 |
| oce_pkt_put |
|
4 |
1 |
23 |
| oce_init_fw |
|
32 |
7 |
200 |
| oce_mbox_wait |
|
10 |
3 |
53 |
| oce_mbox_dispatch |
|
21 |
4 |
172 |
| oce_mbox_init |
|
16 |
2 |
107 |
| oce_cmd |
|
51 |
9 |
379 |
| oce_first_mcc |
|
21 |
1 |
164 |
| oce_get_fw_config |
|
13 |
2 |
88 |
| oce_check_native_mode |
|
16 |
3 |
107 |
| oce_create_iface |
|
33 |
6 |
241 |
| oce_config_vlan |
|
15 |
2 |
132 |
| oce_set_flow_control |
|
20 |
7 |
158 |
| oce_config_rss |
|
23 |
5 |
213 |
| oce_update_mcast |
|
11 |
1 |
109 |
| oce_set_promisc |
|
13 |
2 |
89 |
| oce_get_link_status |
|
17 |
3 |
114 |
| oce_macaddr_set |
|
12 |
3 |
85 |
| oce_macaddr_get |
|
14 |
2 |
106 |
| oce_macaddr_add |
|
13 |
2 |
113 |
| oce_macaddr_del |
|
9 |
1 |
79 |
| oce_new_rq |
|
30 |
5 |
276 |
| oce_new_wq |
|
26 |
5 |
229 |
| oce_new_mq |
|
25 |
3 |
207 |
| oce_new_eq |
|
24 |
4 |
237 |
| oce_new_cq |
|
47 |
7 |
402 |
| oce_init_stats |
|
15 |
2 |
77 |
| oce_update_stats |
|
21 |
6 |
166 |
| oce_stats_be2 |
|
31 |
3 |
226 |
| oce_stats_be3 |
|
27 |
2 |
209 |
| oce_stats_xe |
|
25 |
2 |
213 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/autri.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| autri_reg_set_1 |
|
5 |
1 |
45 |
| autri_reg_clear_1 |
|
5 |
1 |
45 |
| autri_reg_set_4 |
|
5 |
1 |
45 |
| autri_reg_clear_4 |
|
5 |
1 |
45 |
| autri_attach_codec |
|
7 |
1 |
36 |
| autri_read_codec |
|
60 |
12 |
307 |
| autri_write_codec |
|
47 |
9 |
232 |
| autri_reset_codec |
|
52 |
8 |
276 |
| autri_flags_codec |
|
5 |
1 |
22 |
| autri_match |
|
13 |
4 |
88 |
| autri_attach |
|
86 |
10 |
697 |
| autri_activate |
|
9 |
2 |
63 |
| autri_init |
|
86 |
8 |
687 |
| autri_enable_loop_interrupt |
|
9 |
3 |
43 |
| autri_disable_loop_interrupt |
|
7 |
1 |
35 |
| autri_intr |
|
53 |
17 |
405 |
| autri_allocmem |
|
30 |
5 |
234 |
| autri_freemem |
|
8 |
1 |
69 |
| autri_open |
|
9 |
1 |
63 |
| autri_close |
|
4 |
1 |
15 |
| autri_set_params |
|
22 |
8 |
146 |
| autri_round_blocksize |
|
4 |
1 |
23 |
| autri_halt_output |
|
11 |
1 |
73 |
| autri_halt_input |
|
11 |
1 |
73 |
| autri_mixer_set_port |
|
6 |
1 |
41 |
| autri_mixer_get_port |
|
6 |
1 |
41 |
| autri_query_devinfo |
|
6 |
1 |
41 |
| autri_get_portnum_by_name |
|
6 |
1 |
47 |
| autri_malloc |
|
18 |
4 |
122 |
| autri_free |
|
13 |
3 |
93 |
| autri_find_dma |
|
7 |
3 |
45 |
| autri_get_props |
|
5 |
1 |
17 |
| autri_setup_channel |
|
107 |
20 |
799 |
| autri_trigger_output |
|
26 |
2 |
219 |
| autri_trigger_input |
|
31 |
6 |
264 |
| autri_halt |
|
7 |
1 |
41 |
| autri_enable_interrupt |
|
7 |
2 |
43 |
| autri_disable_interrupt |
|
7 |
2 |
43 |
| autri_startch |
|
9 |
2 |
62 |
| autri_stopch |
|
9 |
2 |
62 |
| autri_midi_open |
|
16 |
3 |
136 |
| autri_midi_close |
|
8 |
1 |
47 |
| autri_midi_output |
|
9 |
2 |
50 |
| autri_midi_getinfo |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cs4281.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cs4281_match |
|
11 |
3 |
65 |
| cs4281_attach |
|
55 |
9 |
397 |
| cs4281_intr |
|
43 |
10 |
284 |
| cs4281_set_params |
|
47 |
14 |
276 |
| cs4281_halt_output |
|
8 |
2 |
44 |
| cs4281_halt_input |
|
8 |
2 |
44 |
| if |
|
5 |
2 |
34 |
| if |
|
5 |
1 |
26 |
| if |
|
5 |
2 |
34 |
| if |
|
4 |
1 |
19 |
| cs4281_sr2regval |
|
32 |
9 |
105 |
| cs4281_set_dac_rate |
|
6 |
1 |
28 |
| cs4281_set_adc_rate |
|
6 |
1 |
28 |
| cs4281_init |
|
137 |
23 |
948 |
| cs4281_activate |
|
19 |
3 |
98 |
| cs4281_reset_codec |
|
67 |
13 |
398 |
| cs4281_open |
|
4 |
1 |
16 |
| cs4281_close |
|
9 |
1 |
49 |
| cs4281_round_blocksize |
|
4 |
1 |
16 |
| cs4281_mixer_set_port |
|
9 |
1 |
57 |
| cs4281_mixer_get_port |
|
6 |
1 |
39 |
| cs4281_query_devinfo |
|
6 |
1 |
39 |
| cs4281_malloc |
|
18 |
3 |
119 |
| cs4281_free |
|
17 |
3 |
140 |
| cs4281_round_buffersize |
|
4 |
1 |
19 |
| cs4281_get_props |
|
7 |
2 |
26 |
| cs4281_attach_codec |
|
8 |
1 |
40 |
| cs4281_read_codec |
|
30 |
4 |
190 |
| cs4281_write_codec |
|
17 |
2 |
111 |
| cs4281_allocmem |
|
48 |
6 |
323 |
| cs4281_src_wait |
|
12 |
3 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_casvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ubsecreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/mfii.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mfii_dcmd_scrub |
|
4 |
1 |
26 |
| mfii_dcmd_frame |
|
5 |
1 |
38 |
| mfii_dcmd_sync |
|
5 |
1 |
45 |
| mfii_find_iop |
|
12 |
4 |
80 |
| mfii_match |
|
4 |
2 |
33 |
| mfii_attach |
|
109 |
17 |
866 |
| mfii_dev_handle |
|
9 |
1 |
55 |
| mfii_dev_handles_update |
|
27 |
3 |
201 |
| mfii_dev_handles_dtor |
|
5 |
1 |
33 |
| mfii_syspd |
|
26 |
3 |
200 |
| mfii_detach |
|
14 |
2 |
109 |
| mfii_read |
|
6 |
1 |
45 |
| mfii_write |
|
6 |
1 |
47 |
| mfii_dmamem_alloc |
|
31 |
6 |
246 |
| mfii_dmamem_free |
|
8 |
1 |
76 |
| mfii_dcmd_start |
|
14 |
1 |
141 |
| mfii_aen_register |
|
28 |
4 |
200 |
| mfii_aen_start |
|
30 |
1 |
278 |
| mfii_aen_done |
|
5 |
1 |
33 |
| mfii_aen |
|
34 |
8 |
226 |
| mfii_aen_pd_insert |
|
14 |
3 |
121 |
| mfii_aen_pd_remove |
|
14 |
2 |
133 |
| mfii_aen_pd_state_change |
|
15 |
5 |
113 |
| mfii_aen_unregister |
|
3 |
1 |
9 |
| mfii_transition_firmware |
|
49 |
13 |
218 |
| mfii_get_info |
|
132 |
7 |
914 |
| mfii_mfa_poll |
|
40 |
9 |
273 |
| mfii_poll |
|
18 |
2 |
108 |
| mfii_poll_done |
|
5 |
1 |
27 |
| mfii_exec |
|
13 |
5 |
94 |
| mfii_exec_done |
|
8 |
1 |
44 |
| mfii_mgmt |
|
54 |
9 |
354 |
| mfii_load_mfa |
|
25 |
6 |
193 |
| mfii_start |
|
16 |
2 |
153 |
| mfii_done |
|
19 |
4 |
133 |
| mfii_initialise_firmware |
|
51 |
2 |
394 |
| mfii_my_intr |
|
10 |
3 |
60 |
| mfii_intr |
|
8 |
2 |
38 |
| mfii_postq |
|
37 |
6 |
258 |
| mfii_scsi_cmd |
|
43 |
13 |
230 |
| mfii_scsi_cmd_done |
|
27 |
7 |
170 |
| mfii_scsi_cmd_io |
|
50 |
7 |
381 |
| mfii_scsi_cmd_cdb |
|
39 |
5 |
326 |
| mfii_pd_scsi_cmd |
|
29 |
4 |
180 |
| mfii_pd_scsi_probe |
|
21 |
4 |
154 |
| mfii_pd_scsi_cmd_cdb |
|
46 |
6 |
373 |
| mfii_load_ccb |
|
51 |
9 |
407 |
| mfii_scsi_cmd_tmo |
|
11 |
1 |
80 |
| mfii_abort_task |
|
31 |
4 |
201 |
| mfii_abort |
|
15 |
1 |
104 |
| mfii_scsi_cmd_abort_done |
|
8 |
2 |
59 |
| mfii_get_ccb |
|
11 |
2 |
67 |
| mfii_scrub_ccb |
|
13 |
1 |
85 |
| mfii_put_ccb |
|
8 |
1 |
54 |
| mfii_init_ccb |
|
44 |
4 |
339 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_sisreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ti_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ti_pci_match |
|
4 |
1 |
32 |
| ti_pci_attach |
|
42 |
10 |
286 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/envyvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/maestro.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| maestro_get_flags |
|
13 |
6 |
105 |
| maestro_match |
|
8 |
2 |
50 |
| maestro_attach |
|
120 |
17 |
918 |
| maestro_init |
|
46 |
3 |
386 |
| maestro_round_blocksize |
|
4 |
1 |
22 |
| maestro_malloc |
|
5 |
1 |
44 |
| maestro_free |
|
5 |
1 |
36 |
| maestro_get_props |
|
4 |
1 |
15 |
| maestro_set_port |
|
12 |
2 |
71 |
| maestro_get_port |
|
12 |
2 |
71 |
| maestro_query_devinfo |
|
12 |
2 |
71 |
| maestro_set_speed |
|
17 |
4 |
157 |
| maestro_calc_timer_freq |
|
7 |
2 |
39 |
| maestro_update_timer |
|
17 |
5 |
93 |
| maestro_set_params |
|
30 |
11 |
222 |
| maestro_open |
|
12 |
4 |
85 |
| maestro_close |
|
4 |
1 |
21 |
| maestro_channel_stop |
|
15 |
4 |
113 |
| maestro_halt_input |
|
10 |
1 |
56 |
| maestro_halt_output |
|
10 |
1 |
56 |
| maestro_trigger_input |
|
13 |
1 |
106 |
| maestro_channel_start |
|
76 |
8 |
682 |
| maestro_trigger_output |
|
30 |
2 |
284 |
| maestro_codec_flags |
|
4 |
1 |
11 |
| maestro_read_codec |
|
28 |
7 |
191 |
| maestro_write_codec |
|
20 |
4 |
129 |
| maestro_attach_codec |
|
6 |
1 |
34 |
| maestro_reset_codec |
|
3 |
1 |
9 |
| maestro_initcodec |
|
52 |
5 |
385 |
| maestro_activate |
|
35 |
8 |
254 |
| maestro_channel_advance_dma |
|
19 |
10 |
121 |
| maestro_channel_suppress_jitter |
|
9 |
3 |
78 |
| maestro_intr |
|
53 |
11 |
431 |
| ringbus_setdest |
|
8 |
1 |
68 |
| wp_reg_read |
|
5 |
1 |
41 |
| wp_reg_write |
|
5 |
1 |
45 |
| apu_setindex |
|
13 |
4 |
90 |
| wp_apu_read |
|
7 |
1 |
47 |
| wp_apu_write |
|
13 |
4 |
113 |
| wp_settimer |
|
18 |
8 |
161 |
| wp_starttimer |
|
4 |
1 |
18 |
| wp_stoptimer |
|
5 |
1 |
33 |
| wc_reg_read |
|
5 |
1 |
41 |
| wc_reg_write |
|
5 |
1 |
45 |
| wc_ctrl_read |
|
4 |
1 |
23 |
| wc_ctrl_write |
|
4 |
1 |
27 |
| salloc_new |
|
21 |
3 |
165 |
| salloc_destroy |
|
4 |
1 |
16 |
| salloc_insert |
|
24 |
9 |
177 |
| salloc_alloc |
|
24 |
5 |
153 |
| salloc_free |
|
11 |
4 |
75 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_bce.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bce_probe |
|
5 |
1 |
37 |
| bce_attach |
|
182 |
18 |
1536 |
| bce_activate |
|
18 |
5 |
90 |
| bce_ioctl |
|
38 |
11 |
208 |
| bce_start |
|
54 |
12 |
390 |
| bce_watchdog |
|
8 |
1 |
47 |
| bce_intr |
|
56 |
15 |
292 |
| bce_rxintr |
|
42 |
6 |
292 |
| bce_txintr |
|
19 |
4 |
139 |
| bce_init |
|
61 |
2 |
563 |
| bce_add_mac |
|
22 |
4 |
178 |
| bce_add_rxbuf |
|
17 |
2 |
145 |
| bce_stop |
|
25 |
3 |
182 |
| bce_reset |
|
131 |
23 |
943 |
| bce_iff |
|
21 |
4 |
170 |
| bce_mii_read |
|
25 |
4 |
188 |
| bce_mii_write |
|
24 |
4 |
185 |
| bce_statchg |
|
16 |
5 |
173 |
| bce_mediachange |
|
7 |
2 |
39 |
| bce_mediastatus |
|
7 |
1 |
51 |
| bce_tick |
|
9 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/esovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pci_quirks.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_lookup_quirkdata |
|
9 |
4 |
69 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_bnx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bnx_probe |
|
5 |
1 |
37 |
| nswaph |
|
7 |
2 |
34 |
| bnx_read_firmware |
|
141 |
5 |
1320 |
| bnx_read_rv2p |
|
32 |
5 |
236 |
| bnx_attach |
|
82 |
18 |
495 |
| bnx_attachhook |
|
117 |
13 |
764 |
| bnx_detach |
|
15 |
1 |
95 |
| bnx_reg_rd_ind |
|
15 |
2 |
94 |
| bnx_reg_wr_ind |
|
9 |
1 |
72 |
| bnx_ctx_wr |
|
24 |
6 |
149 |
| bnx_miibus_read_reg |
|
48 |
9 |
308 |
| bnx_miibus_write_reg |
|
43 |
9 |
275 |
| bnx_miibus_statchg |
|
65 |
13 |
382 |
| bnx_acquire_nvram_lock |
|
18 |
4 |
97 |
| bnx_release_nvram_lock |
|
18 |
4 |
100 |
| bnx_enable_nvram_write |
|
24 |
5 |
144 |
| bnx_disable_nvram_write |
|
7 |
1 |
41 |
| bnx_enable_nvram_access |
|
8 |
1 |
43 |
| bnx_disable_nvram_access |
|
8 |
1 |
45 |
| bnx_nvram_erase_page |
|
25 |
5 |
149 |
| bnx_nvram_read_dword |
|
32 |
5 |
209 |
| bnx_nvram_write_dword |
|
29 |
5 |
201 |
| bnx_init_nvram |
|
66 |
11 |
414 |
| bnx_nvram_read |
|
72 |
14 |
409 |
| bnx_nvram_write |
|
117 |
37 |
775 |
| bnx_nvram_test |
|
36 |
6 |
208 |
| bnx_get_media |
|
74 |
19 |
374 |
| bnx_init_media |
|
11 |
2 |
67 |
| bnx_dma_free |
|
84 |
17 |
685 |
| bnx_dma_alloc |
|
193 |
31 |
1365 |
| bnx_release_resources |
|
11 |
3 |
88 |
| bnx_fw_sync |
|
32 |
6 |
201 |
| bnx_load_rv2p_fw |
|
27 |
5 |
156 |
| bnx_load_cpu_fw |
|
47 |
11 |
451 |
| bnx_init_cpus |
|
170 |
3 |
1328 |
| bnx_init_context |
|
47 |
9 |
321 |
| bnx_get_mac_addr |
|
19 |
3 |
192 |
| bnx_set_mac_addr |
|
12 |
1 |
108 |
| bnx_stop |
|
34 |
1 |
226 |
| bnx_reset |
|
70 |
9 |
389 |
| bnx_chipinit |
|
59 |
13 |
389 |
| bnx_blockinit |
|
80 |
5 |
660 |
| bnx_get_buf |
|
58 |
6 |
494 |
| bnx_init_tx_context |
|
25 |
2 |
240 |
| bnx_init_tx_chain |
|
29 |
3 |
204 |
| bnx_free_tx_chain |
|
27 |
5 |
194 |
| bnx_init_rx_context |
|
28 |
5 |
203 |
| bnx_fill_rx_chain |
|
30 |
5 |
192 |
| bnx_init_rx_chain |
|
35 |
4 |
273 |
| bnx_free_rx_chain |
|
31 |
7 |
225 |
| bnx_rxrefill |
|
9 |
2 |
47 |
| bnx_ifmedia_upd |
|
16 |
2 |
82 |
| bnx_ifmedia_sts |
|
14 |
1 |
80 |
| bnx_phy_intr |
|
24 |
3 |
125 |
| bnx_rx_intr |
|
164 |
20 |
974 |
| bnx_tx_intr |
|
59 |
7 |
403 |
| bnx_disable_intr |
|
5 |
1 |
25 |
| bnx_enable_intr |
|
10 |
1 |
60 |
| bnx_init |
|
45 |
4 |
277 |
| bnx_mgmt_init |
|
19 |
2 |
103 |
| bnx_tx_encap |
|
78 |
13 |
535 |
| bnx_start |
|
55 |
9 |
326 |
| bnx_ioctl |
|
55 |
16 |
331 |
| bnx_watchdog |
|
12 |
2 |
65 |
| bnx_intr |
|
61 |
11 |
362 |
| bnx_iff |
|
52 |
9 |
383 |
| bnx_stats_update |
|
119 |
3 |
749 |
| bnx_tick |
|
24 |
7 |
155 |
| bnx_dump_mbuf |
|
21 |
6 |
111 |
| bnx_dump_tx_mbuf_chain |
|
18 |
2 |
90 |
| bnx_dump_rx_mbuf_chain |
|
18 |
2 |
90 |
| bnx_dump_txbd |
|
15 |
3 |
92 |
| bnx_dump_rxbd |
|
14 |
3 |
88 |
| bnx_dump_l2fhdr |
|
9 |
1 |
48 |
| bnx_dump_tx_chain |
|
29 |
2 |
150 |
| bnx_dump_rx_chain |
|
30 |
2 |
156 |
| bnx_dump_status_block |
|
67 |
21 |
331 |
| bnx_dump_stats_block |
|
181 |
45 |
918 |
| bnx_dump_driver_state |
|
72 |
1 |
301 |
| bnx_dump_hw_state |
|
46 |
2 |
279 |
| bnx_breakpoint |
|
20 |
3 |
118 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auvia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| auvia_match |
|
5 |
1 |
37 |
| auvia_activate |
|
7 |
2 |
45 |
| auvia_attach |
|
89 |
8 |
672 |
| auvia_attach_codec |
|
6 |
1 |
29 |
| auvia_reset_codec |
|
18 |
4 |
137 |
| auvia_waitready_codec |
|
12 |
4 |
74 |
| auvia_waitvalid_codec |
|
12 |
4 |
75 |
| auvia_write_codec |
|
9 |
2 |
56 |
| auvia_read_codec |
|
14 |
4 |
93 |
| auvia_spdif_event |
|
5 |
1 |
24 |
| auvia_open |
|
6 |
1 |
34 |
| auvia_close |
|
9 |
1 |
54 |
| auvia_set_params_sub |
|
34 |
8 |
238 |
| auvia_set_params |
|
90 |
35 |
546 |
| auvia_round_blocksize |
|
7 |
2 |
50 |
| auvia_halt_output |
|
8 |
1 |
47 |
| auvia_halt_input |
|
8 |
1 |
47 |
| auvia_set_port |
|
5 |
1 |
37 |
| auvia_get_port |
|
5 |
1 |
37 |
| auvia_query_devinfo |
|
5 |
1 |
37 |
| auvia_malloc |
|
47 |
6 |
341 |
| auvia_free |
|
16 |
3 |
141 |
| auvia_round_buffersize |
|
6 |
1 |
30 |
| auvia_get_props |
|
6 |
1 |
22 |
| auvia_build_dma_ops |
|
40 |
9 |
275 |
| auvia_trigger_output |
|
34 |
7 |
257 |
| auvia_trigger_input |
|
33 |
7 |
255 |
| auvia_intr |
|
26 |
6 |
171 |
| auvia_resume |
|
8 |
1 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_mtd_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mtd_pci_match |
|
5 |
1 |
45 |
| mtd_pci_attach |
|
49 |
9 |
358 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auixp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| auixp_open |
|
4 |
1 |
14 |
| auixp_close |
|
3 |
1 |
8 |
| auixp_commit_settings |
|
56 |
8 |
331 |
| auixp_set_params |
|
52 |
9 |
281 |
| auixp_round_blocksize |
|
7 |
2 |
34 |
| auixp_malloc |
|
25 |
3 |
165 |
| auixp_free |
|
17 |
2 |
101 |
| auixp_set_port |
|
6 |
1 |
42 |
| auixp_get_port |
|
6 |
1 |
42 |
| auixp_query_devinfo |
|
6 |
1 |
42 |
| auixp_round_buffersize |
|
4 |
1 |
17 |
| auixp_get_props |
|
4 |
1 |
15 |
| auixp_link_daisychain |
|
28 |
3 |
187 |
| auixp_allocate_dma_chain |
|
21 |
3 |
119 |
| auixp_program_dma_chain |
|
14 |
1 |
88 |
| auixp_dma_update |
|
8 |
3 |
48 |
| auixp_update_busbusy |
|
15 |
3 |
87 |
| auixp_trigger_output |
|
31 |
3 |
210 |
| auixp_halt_output |
|
15 |
1 |
77 |
| auixp_trigger_input |
|
31 |
3 |
210 |
| auixp_halt_input |
|
15 |
1 |
77 |
| auixp_intr |
|
44 |
7 |
257 |
| auixp_allocmem |
|
31 |
5 |
238 |
| auixp_freemem |
|
8 |
1 |
69 |
| auixp_match |
|
5 |
1 |
45 |
| auixp_activate |
|
19 |
3 |
98 |
| auixp_attach |
|
50 |
9 |
332 |
| auixp_post_config |
|
26 |
5 |
185 |
| auixp_enable_interrupts |
|
16 |
2 |
83 |
| auixp_disable_interrupts |
|
9 |
1 |
49 |
| auixp_detach |
|
12 |
3 |
84 |
| auixp_attach_codec |
|
7 |
1 |
31 |
| auixp_read_codec |
|
38 |
6 |
199 |
| auixp_write_codec |
|
21 |
2 |
125 |
| auixp_reset_codec |
|
3 |
1 |
8 |
| auixp_flags_codec |
|
6 |
1 |
22 |
| auixp_wait_for_codecs |
|
19 |
3 |
101 |
| auixp_autodetect_codecs |
|
67 |
15 |
384 |
| auixp_disable_dma |
|
13 |
2 |
73 |
| auixp_enable_dma |
|
13 |
2 |
76 |
| auixp_reset_aclink |
|
51 |
6 |
351 |
| auixp_init |
|
16 |
1 |
75 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/alipm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alipm_match |
|
8 |
3 |
56 |
| alipm_attach |
|
78 |
15 |
474 |
| alipm_smb_acquire_bus |
|
7 |
2 |
44 |
| alipm_smb_release_bus |
|
7 |
2 |
34 |
| alipm_smb_exec |
|
126 |
25 |
914 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pccbbreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_hpt_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_tl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tl_dio_read8 |
|
5 |
1 |
37 |
| tl_dio_read16 |
|
5 |
1 |
37 |
| tl_dio_read32 |
|
5 |
1 |
37 |
| tl_dio_write8 |
|
5 |
1 |
39 |
| tl_dio_write16 |
|
5 |
1 |
39 |
| tl_dio_write32 |
|
5 |
1 |
39 |
| tl_dio_setbit |
|
8 |
1 |
61 |
| tl_dio_clrbit |
|
8 |
1 |
61 |
| tl_dio_setbit16 |
|
8 |
1 |
61 |
| tl_dio_clrbit16 |
|
8 |
1 |
61 |
| tl_eeprom_putbyte |
|
20 |
3 |
139 |
| tl_eeprom_getbyte |
|
36 |
6 |
220 |
| tl_read_eeprom |
|
12 |
4 |
83 |
| tl_mii_sync |
|
9 |
2 |
54 |
| tl_mii_send |
|
12 |
3 |
85 |
| tl_mii_readreg |
|
49 |
9 |
345 |
| tl_mii_writereg |
|
27 |
3 |
198 |
| tl_miibus_readreg |
|
10 |
1 |
69 |
| tl_miibus_writereg |
|
10 |
1 |
71 |
| tl_miibus_statchg |
|
8 |
2 |
54 |
| tl_setmode |
|
15 |
4 |
101 |
| tl_calchash |
|
7 |
1 |
83 |
| tl_setfilt |
|
8 |
2 |
60 |
| tl_iff |
|
31 |
6 |
227 |
| tl_hardreset |
|
13 |
3 |
94 |
| tl_softreset |
|
26 |
6 |
211 |
| tl_list_tx_init |
|
19 |
3 |
141 |
| tl_list_rx_init |
|
25 |
4 |
203 |
| tl_newbuf |
|
22 |
4 |
148 |
| tl_intvec_rxeof |
|
42 |
5 |
280 |
| tl_intvec_rxeoc |
|
16 |
1 |
122 |
| tl_intvec_txeof |
|
21 |
4 |
125 |
| tl_intvec_txeoc |
|
25 |
2 |
151 |
| tl_intvec_adchk |
|
13 |
2 |
75 |
| tl_intvec_netsts |
|
10 |
1 |
59 |
| tl_intr |
|
57 |
12 |
333 |
| tl_stats_update |
|
38 |
4 |
263 |
| tl_encap |
|
55 |
9 |
395 |
| tl_start |
|
48 |
10 |
305 |
| tl_init |
|
35 |
3 |
255 |
| tl_ifmedia_upd |
|
9 |
2 |
49 |
| tl_ifmedia_sts |
|
23 |
4 |
129 |
| tl_ioctl |
|
42 |
12 |
233 |
| tl_watchdog |
|
9 |
1 |
48 |
| tl_stop |
|
32 |
5 |
274 |
| tl_probe |
|
35 |
18 |
161 |
| tl_attach |
|
150 |
23 |
1269 |
| tl_wait_up |
|
7 |
1 |
41 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_acx_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acx_pci_match |
|
5 |
1 |
45 |
| acx_pci_attach |
|
56 |
9 |
376 |
| acx_pci_detach |
|
8 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp_i810.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_i810_get_chiptype |
|
72 |
49 |
232 |
| intagp_gmch_match |
|
9 |
7 |
66 |
| agp_i810_probe |
|
8 |
3 |
59 |
| agp_i810_attach |
|
249 |
66 |
1470 |
| agp_i810_activate |
|
10 |
2 |
45 |
| agp_i810_configure |
|
16 |
3 |
93 |
| agp_i810_bind_page |
|
7 |
2 |
47 |
| agp_i810_unbind_page |
|
6 |
1 |
40 |
| agp_i810_flush_tlb |
|
3 |
1 |
8 |
| agp_i810_enable |
|
4 |
1 |
16 |
| intagp_write_gtt |
|
24 |
9 |
132 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_bwi_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bwi_pci_match |
|
11 |
5 |
97 |
| bwi_pci_attach |
|
41 |
5 |
313 |
| bwi_pci_detach |
|
8 |
1 |
55 |
| bwi_pci_activate |
|
16 |
4 |
87 |
| bwi_pci_wakeup |
|
6 |
2 |
34 |
| bwi_pci_conf_write |
|
5 |
1 |
41 |
| bwi_pci_conf_read |
|
5 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cmpcivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/tgavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cy_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cy_pci_match |
|
7 |
1 |
42 |
| cy_pci_attach |
|
71 |
16 |
423 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgb_ee.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgb_raise_clock |
|
7 |
1 |
38 |
| ixgb_lower_clock |
|
7 |
1 |
38 |
| ixgb_shift_out_bits |
|
21 |
3 |
123 |
| ixgb_shift_in_bits |
|
19 |
3 |
105 |
| ixgb_setup_eeprom |
|
10 |
1 |
53 |
| ixgb_standby_eeprom |
|
18 |
1 |
99 |
| ixgb_clock_eeprom |
|
12 |
1 |
59 |
| ixgb_cleanup_eeprom |
|
9 |
1 |
45 |
| ixgb_wait_eeprom_command |
|
14 |
3 |
70 |
| ixgb_validate_eeprom_checksum |
|
11 |
3 |
63 |
| ixgb_update_eeprom_checksum |
|
10 |
2 |
59 |
| ixgb_write_eeprom |
|
18 |
1 |
128 |
| ixgb_read_eeprom |
|
10 |
1 |
55 |
| ixgb_get_eeprom_data |
|
26 |
4 |
151 |
| ixgb_check_and_get_eeprom_data |
|
10 |
2 |
57 |
| ixgb_get_eeprom_word |
|
8 |
3 |
46 |
| ixgb_get_ee_mac_addr |
|
12 |
3 |
85 |
| ixgb_get_ee_pba_number |
|
7 |
2 |
51 |
| ixgb_get_ee_device_id |
|
7 |
2 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_stgereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/emuxki.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| emuxki_dmamem_delete |
|
5 |
1 |
32 |
| emuxki_dmamem_alloc |
|
47 |
8 |
403 |
| emuxki_dmamem_free |
|
8 |
1 |
71 |
| emuxki_pci_shutdown |
|
7 |
3 |
49 |
| emuxki_scinit |
|
43 |
8 |
297 |
| emuxki_ac97_init |
|
10 |
1 |
70 |
| emuxki_match |
|
5 |
1 |
37 |
| emuxki_attach |
|
55 |
15 |
420 |
| emuxki_detach |
|
13 |
2 |
90 |
| emuxki_activate |
|
16 |
2 |
86 |
| emuxki_rate_to_pitch |
|
56 |
4 |
638 |
| emuxki_read |
|
18 |
3 |
151 |
| emuxki_write |
|
21 |
5 |
178 |
| emuxki_write_micro |
|
7 |
2 |
38 |
| emuxki_dsp_addop |
|
22 |
2 |
189 |
| emuxki_initfx |
|
72 |
8 |
551 |
| emuxki_init |
|
109 |
11 |
1044 |
| emuxki_shutdown |
|
32 |
4 |
300 |
| emuxki_mem_new |
|
14 |
3 |
106 |
| emuxki_mem_delete |
|
5 |
1 |
30 |
| emuxki_pmem_alloc |
|
36 |
9 |
268 |
| emuxki_rmem_alloc |
|
11 |
2 |
85 |
| emuxki_chanparms_set_defaults |
|
49 |
2 |
439 |
| emuxki_channel_new |
|
13 |
2 |
80 |
| emuxki_channel_delete |
|
5 |
1 |
33 |
| emuxki_channel_set_fxsend |
|
20 |
1 |
238 |
| emuxki_channel_set_srate |
|
10 |
1 |
92 |
| emuxki_channel_set_bufparms |
|
6 |
1 |
35 |
| emuxki_channel_commit_fx |
|
34 |
2 |
363 |
| emuxki_channel_commit_parms |
|
54 |
3 |
476 |
| emuxki_channel_start |
|
39 |
5 |
313 |
| emuxki_channel_stop |
|
11 |
1 |
93 |
| emuxki_voice_channel_create |
|
27 |
9 |
194 |
| emuxki_voice_channel_destroy |
|
8 |
2 |
61 |
| emuxki_recsrc_reserve |
|
13 |
5 |
84 |
| emuxki_voice_recsrc_release |
|
4 |
1 |
21 |
| emuxki_voice_dataloc_create |
|
13 |
4 |
68 |
| emuxki_voice_dataloc_destroy |
|
13 |
4 |
73 |
| emuxki_voice_new |
|
36 |
5 |
232 |
| emuxki_voice_delete |
|
16 |
3 |
87 |
| emuxki_voice_set_stereo |
|
39 |
6 |
318 |
| emuxki_voice_set_srate |
|
25 |
8 |
138 |
| emuxki_voice_set_audioparms |
|
24 |
13 |
165 |
| emuxki_voice_set_bufparms |
|
62 |
12 |
403 |
| emuxki_voice_commit_parms |
|
8 |
3 |
49 |
| emuxki_voice_curaddr |
|
30 |
8 |
157 |
| emuxki_resched_timer |
|
27 |
8 |
193 |
| emuxki_voice_adc_rate |
|
47 |
15 |
168 |
| emuxki_voice_start |
|
45 |
11 |
262 |
| emuxki_voice_halt |
|
30 |
8 |
179 |
| emuxki_intr |
|
35 |
9 |
238 |
| emuxki_open |
|
20 |
7 |
123 |
| emuxki_close |
|
11 |
4 |
68 |
| emuxki_set_vparms |
|
33 |
10 |
177 |
| emuxki_set_params |
|
17 |
7 |
126 |
| emuxki_halt_output |
|
8 |
2 |
40 |
| emuxki_halt_input |
|
9 |
3 |
51 |
| emuxki_set_port |
|
5 |
1 |
35 |
| emuxki_get_port |
|
5 |
1 |
35 |
| emuxki_query_devinfo |
|
5 |
1 |
35 |
| emuxki_allocm |
|
8 |
2 |
58 |
| emuxki_freem |
|
27 |
5 |
184 |
| emuxki_round_blocksize |
|
7 |
2 |
29 |
| emuxki_round_buffersize |
|
25 |
8 |
134 |
| emuxki_get_props |
|
5 |
1 |
17 |
| emuxki_trigger_output |
|
18 |
4 |
135 |
| emuxki_trigger_input |
|
18 |
4 |
130 |
| emuxki_ac97_attach |
|
6 |
1 |
31 |
| emuxki_ac97_read |
|
9 |
1 |
70 |
| emuxki_ac97_write |
|
9 |
1 |
68 |
| emuxki_ac97_reset |
|
3 |
1 |
8 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_nforce_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_age.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| age_match |
|
5 |
1 |
43 |
| age_attach |
|
97 |
14 |
721 |
| age_detach |
|
19 |
2 |
126 |
| age_miibus_readreg |
|
22 |
5 |
151 |
| age_miibus_writereg |
|
21 |
5 |
143 |
| age_miibus_statchg |
|
31 |
7 |
183 |
| age_mediastatus |
|
8 |
1 |
54 |
| age_mediachange |
|
13 |
2 |
74 |
| age_intr |
|
50 |
11 |
348 |
| age_get_macaddr |
|
36 |
7 |
308 |
| age_phy_reset |
|
47 |
6 |
340 |
| age_dma_alloc |
|
183 |
26 |
1316 |
| age_dma_free |
|
64 |
21 |
543 |
| age_start |
|
34 |
12 |
188 |
| age_watchdog |
|
21 |
3 |
112 |
| age_ioctl |
|
40 |
11 |
220 |
| age_mac_config |
|
26 |
7 |
147 |
| age_encap |
|
68 |
12 |
498 |
| age_txintr |
|
36 |
6 |
268 |
| age_rxeof |
|
96 |
18 |
638 |
| age_rxintr |
|
37 |
6 |
272 |
| age_tick |
|
10 |
1 |
54 |
| age_reset |
|
18 |
4 |
117 |
| age_init |
|
178 |
14 |
1254 |
| age_stop |
|
55 |
9 |
404 |
| age_stats_update |
|
75 |
2 |
582 |
| age_stop_txmac |
|
23 |
6 |
141 |
| age_stop_rxmac |
|
23 |
6 |
141 |
| age_init_tx_ring |
|
19 |
2 |
134 |
| age_init_rx_ring |
|
19 |
3 |
139 |
| age_init_rr_ring |
|
11 |
1 |
70 |
| age_init_cmb_block |
|
9 |
1 |
57 |
| age_init_smb_block |
|
9 |
1 |
57 |
| age_newbuf |
|
41 |
5 |
294 |
| age_rxvlan |
|
10 |
2 |
58 |
| age_iff |
|
34 |
5 |
233 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_casreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/mpiireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/azalia.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/envy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| delta_init |
|
17 |
2 |
133 |
| delta_codec_write |
|
35 |
5 |
212 |
| ap192k_init |
|
18 |
2 |
125 |
| ap192k_codec_write |
|
23 |
3 |
152 |
| ewx_codec_write |
|
25 |
3 |
165 |
| revo51_init |
|
21 |
2 |
183 |
| revo51_codec_write |
|
43 |
5 |
282 |
| envy_ac97_init |
|
12 |
2 |
85 |
| dynex_sc51_init |
|
5 |
1 |
20 |
| julia_init |
|
10 |
2 |
73 |
| julia_codec_write |
|
4 |
1 |
29 |
| unkenvy_init |
|
3 |
1 |
9 |
| unkenvy_codec_write |
|
3 |
1 |
18 |
| unkenvy_codec_ndev |
|
4 |
1 |
12 |
| ak4358_dac_ndev |
|
4 |
1 |
16 |
| ak4358_dac_devinfo |
|
11 |
1 |
82 |
| ak4358_dac_get |
|
7 |
1 |
61 |
| ak4358_dac_set |
|
9 |
2 |
69 |
| ak4524_dac_ndev |
|
4 |
1 |
22 |
| ak4524_dac_devinfo |
|
28 |
2 |
229 |
| ak4524_dac_get |
|
15 |
3 |
116 |
| ak4524_dac_set |
|
19 |
5 |
137 |
| ak4524_adc_ndev |
|
4 |
1 |
16 |
| ak4524_adc_devinfo |
|
9 |
1 |
82 |
| ak4524_adc_get |
|
7 |
1 |
64 |
| ak4524_adc_set |
|
9 |
2 |
72 |
| ak5365_adc_ndev |
|
4 |
1 |
20 |
| ak5365_adc_devinfo |
|
26 |
3 |
196 |
| ak5365_adc_get |
|
12 |
2 |
95 |
| ak5365_adc_set |
|
17 |
4 |
122 |
| envy_ccs_read |
|
8 |
1 |
54 |
| envy_ccs_write |
|
6 |
1 |
51 |
| envy_mt_read_1 |
|
8 |
1 |
54 |
| envy_mt_write_1 |
|
6 |
1 |
51 |
| envy_mt_read_2 |
|
8 |
1 |
54 |
| envy_mt_write_2 |
|
6 |
1 |
51 |
| envy_mt_read_4 |
|
8 |
1 |
54 |
| envy_mt_write_4 |
|
6 |
1 |
51 |
| envy_cci_read |
|
5 |
1 |
31 |
| envy_cci_write |
|
5 |
1 |
33 |
| envy_gpio_getstate |
|
9 |
2 |
58 |
| envy_gpio_setstate |
|
9 |
2 |
73 |
| envy_gpio_getmask |
|
9 |
2 |
58 |
| envy_gpio_setmask |
|
9 |
2 |
73 |
| envy_gpio_getdir |
|
9 |
2 |
58 |
| envy_gpio_setdir |
|
9 |
2 |
73 |
| envy_gpio_i2c_start_bit |
|
14 |
1 |
77 |
| envy_gpio_i2c_stop_bit |
|
11 |
1 |
56 |
| envy_gpio_i2c_byte_out |
|
23 |
3 |
139 |
| envy_i2c_wait |
|
15 |
4 |
71 |
| envy_i2c_read |
|
9 |
1 |
59 |
| envy_i2c_write |
|
13 |
2 |
87 |
| envy_codec_read |
|
3 |
1 |
26 |
| envy_codec_write |
|
6 |
1 |
58 |
| envy_eeprom_gpioxxx |
|
10 |
2 |
61 |
| envy_ac97_wait |
|
18 |
5 |
83 |
| envy_ac97_attach_codec |
|
6 |
1 |
31 |
| envy_ac97_read_codec |
|
18 |
3 |
112 |
| envy_ac97_write_codec |
|
14 |
2 |
85 |
| envy_ac97_reset_codec |
|
12 |
2 |
64 |
| envy_ac97_flags_codec |
|
5 |
1 |
22 |
| envy_midi_wait |
|
14 |
4 |
74 |
| envy_reset |
|
67 |
10 |
527 |
| envy_lineout_getsrc |
|
32 |
8 |
239 |
| envy_lineout_setsrc |
|
49 |
11 |
355 |
| envy_spdout_getsrc |
|
19 |
6 |
130 |
| envy_spdout_setsrc |
|
28 |
6 |
189 |
| envy_mon_getvol |
|
7 |
1 |
53 |
| envy_mon_setvol |
|
8 |
1 |
63 |
| envymatch |
|
5 |
1 |
43 |
| envyattach |
|
58 |
14 |
475 |
| envydetach |
|
15 |
4 |
100 |
| envy_open |
|
4 |
1 |
14 |
| envy_close |
|
3 |
1 |
8 |
| envy_allocm |
|
56 |
9 |
404 |
| envy_freem |
|
21 |
3 |
154 |
| envy_set_params |
|
42 |
11 |
311 |
| envy_round_blocksize |
|
4 |
1 |
20 |
| envy_round_buffersize |
|
4 |
1 |
17 |
| envy_pintr |
|
22 |
4 |
168 |
| envy_intr |
|
110 |
27 |
821 |
| envy_trigger_output |
|
38 |
7 |
288 |
| envy_trigger_input |
|
38 |
7 |
290 |
| envy_halt_output |
|
16 |
5 |
99 |
| envy_halt_input |
|
16 |
5 |
99 |
| envy_query_devinfo |
|
70 |
13 |
549 |
| envy_get_port |
|
39 |
9 |
288 |
| envy_set_port |
|
42 |
13 |
332 |
| envy_get_props |
|
4 |
1 |
13 |
| envy_midi_open |
|
25 |
5 |
176 |
| envy_midi_close |
|
12 |
1 |
77 |
| envy_midi_output |
|
10 |
2 |
59 |
| envy_midi_getinfo |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_ite_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ocereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ami_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ami_pci_find_device |
|
13 |
5 |
86 |
| ami_pci_match |
|
21 |
7 |
137 |
| ami_pci_attach |
|
95 |
21 |
649 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/kate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kate_match |
|
24 |
8 |
212 |
| kate_attach |
|
43 |
13 |
396 |
| kate_refresh |
|
41 |
10 |
258 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/envyreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_athn_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| athn_pci_match |
|
5 |
1 |
32 |
| athn_pci_attach |
|
60 |
10 |
457 |
| athn_pci_detach |
|
12 |
3 |
88 |
| athn_pci_activate |
|
14 |
3 |
65 |
| athn_pci_wakeup |
|
12 |
2 |
79 |
| athn_pci_read |
|
5 |
1 |
40 |
| athn_pci_write |
|
5 |
1 |
42 |
| athn_pci_write_barrier |
|
6 |
1 |
40 |
| athn_pci_disable_aspm |
|
10 |
1 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ral_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ral_pci_match |
|
5 |
1 |
37 |
| ral_pci_attach |
|
52 |
10 |
336 |
| ral_pci_detach |
|
15 |
4 |
107 |
| ral_pci_activate |
|
14 |
3 |
70 |
| ral_pci_wakeup |
|
8 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_nfe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfe_match |
|
5 |
1 |
43 |
| nfe_activate |
|
21 |
5 |
112 |
| nfe_attach |
|
152 |
49 |
908 |
| nfe_miibus_statchg |
|
34 |
5 |
192 |
| nfe_miibus_readreg |
|
33 |
8 |
227 |
| nfe_miibus_writereg |
|
21 |
7 |
154 |
| nfe_intr |
|
20 |
4 |
130 |
| nfe_ioctl |
|
38 |
11 |
210 |
| nfe_txdesc32_sync |
|
6 |
1 |
52 |
| nfe_txdesc64_sync |
|
6 |
1 |
52 |
| nfe_txdesc32_rsync |
|
16 |
2 |
193 |
| nfe_txdesc64_rsync |
|
16 |
2 |
193 |
| nfe_rxdesc32_sync |
|
6 |
1 |
52 |
| nfe_rxdesc64_sync |
|
6 |
1 |
52 |
| nfe_rxeof |
|
105 |
25 |
749 |
| nfe_txeof |
|
56 |
13 |
406 |
| nfe_encap |
|
69 |
13 |
554 |
| nfe_start |
|
29 |
10 |
210 |
| nfe_watchdog |
|
7 |
1 |
39 |
| nfe_init |
|
60 |
9 |
507 |
| nfe_stop |
|
16 |
2 |
118 |
| nfe_alloc_rx_ring |
|
90 |
12 |
669 |
| nfe_reset_rx_ring |
|
16 |
3 |
136 |
| nfe_free_rx_ring |
|
31 |
5 |
224 |
| nfe_alloc_tx_ring |
|
57 |
8 |
390 |
| nfe_reset_tx_ring |
|
23 |
4 |
170 |
| nfe_free_tx_ring |
|
36 |
7 |
259 |
| nfe_ifmedia_upd |
|
11 |
2 |
65 |
| nfe_ifmedia_sts |
|
8 |
1 |
54 |
| nfe_iff |
|
45 |
7 |
359 |
| nfe_get_macaddr |
|
23 |
2 |
221 |
| nfe_set_macaddr |
|
7 |
1 |
70 |
| nfe_tick |
|
9 |
1 |
47 |
| nfe_wol |
|
12 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_amd_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pccbb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| delay_ms |
|
7 |
2 |
43 |
| pcicbbmatch |
|
13 |
4 |
72 |
| cb_chipset |
|
13 |
4 |
78 |
| pccbb_shutdown |
|
13 |
1 |
98 |
| pccbbattach |
|
69 |
11 |
536 |
| pccbb_pci_callback |
|
62 |
7 |
455 |
| pccbb_legacy_disable |
|
14 |
2 |
82 |
| pccbb_chipinit |
|
113 |
11 |
844 |
| pccbb_pcmcia_attach_setup |
|
32 |
2 |
225 |
| pccbb_pcmcia_attach_card |
|
8 |
2 |
37 |
| pccbb_pcmcia_detach_card |
|
8 |
2 |
45 |
| pccbb_checksockstat |
|
34 |
8 |
196 |
| pccbbintr |
|
20 |
5 |
117 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/xspd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xspd_match |
|
4 |
1 |
32 |
| xspd_attach |
|
42 |
8 |
288 |
| xspd_intr |
|
5 |
1 |
17 |
| xspd_attach |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_jme.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| jme_miibus_readreg |
|
21 |
6 |
154 |
| jme_miibus_writereg |
|
19 |
6 |
145 |
| jme_miibus_statchg |
|
72 |
11 |
477 |
| jme_mediastatus |
|
8 |
1 |
54 |
| jme_mediachange |
|
13 |
2 |
74 |
| jme_match |
|
5 |
1 |
43 |
| jme_eeprom_read_byte |
|
31 |
7 |
210 |
| jme_eeprom_macaddr |
|
37 |
15 |
228 |
| jme_reg_macaddr |
|
13 |
1 |
125 |
| jme_map_intr_vector |
|
61 |
1 |
493 |
| jme_attach |
|
116 |
23 |
839 |
| jme_detach |
|
19 |
2 |
126 |
| jme_dma_alloc |
|
148 |
23 |
1042 |
| jme_dma_free |
|
28 |
3 |
207 |
| jme_setlinkspeed |
|
50 |
11 |
272 |
| jme_setwol |
|
32 |
6 |
237 |
| jme_encap |
|
65 |
12 |
490 |
| jme_start |
|
36 |
13 |
215 |
| jme_watchdog |
|
22 |
3 |
117 |
| jme_ioctl |
|
39 |
11 |
218 |
| jme_mac_config |
|
77 |
16 |
468 |
| jme_intr |
|
36 |
11 |
237 |
| jme_txeof |
|
49 |
11 |
357 |
| jme_discard_rxbufs |
|
10 |
2 |
77 |
| jme_rxpkt |
|
85 |
17 |
585 |
| jme_rxeof |
|
29 |
6 |
203 |
| jme_tick |
|
10 |
1 |
54 |
| jme_reset |
|
8 |
2 |
42 |
| jme_init |
|
113 |
4 |
797 |
| jme_stop |
|
41 |
6 |
278 |
| jme_stop_tx |
|
18 |
5 |
103 |
| jme_stop_rx |
|
17 |
5 |
103 |
| jme_init_tx_ring |
|
19 |
2 |
138 |
| jme_init_ssb |
|
8 |
1 |
55 |
| jme_init_rx_ring |
|
24 |
5 |
169 |
| jme_newbuf |
|
40 |
5 |
296 |
| jme_set_vlan |
|
10 |
2 |
58 |
| jme_iff |
|
36 |
5 |
240 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/km.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| km_match |
|
5 |
1 |
45 |
| km_attach |
|
17 |
2 |
133 |
| km_refresh |
|
10 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/berkwdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| berkwdt_send_command |
|
27 |
4 |
215 |
| berkwdt_start |
|
10 |
2 |
66 |
| berkwdt_stop |
|
12 |
2 |
89 |
| berkwdt_reload |
|
4 |
1 |
24 |
| berkwdt_match |
|
5 |
1 |
45 |
| berkwdt_attach |
|
25 |
4 |
175 |
| berkwdt_activate |
|
9 |
2 |
33 |
| berkwdt_set_timeout |
|
21 |
4 |
98 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/yds.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| YREAD2 |
|
5 |
1 |
41 |
| YREAD4 |
|
5 |
1 |
41 |
| YWRITE1 |
|
5 |
1 |
51 |
| YWRITE2 |
|
5 |
1 |
51 |
| YWRITE4 |
|
5 |
1 |
51 |
| yds_dump_play_slot |
|
28 |
5 |
231 |
| yds_get_dstype |
|
9 |
3 |
54 |
| nswaph |
|
7 |
2 |
34 |
| yds_download_mcode |
|
53 |
6 |
401 |
| yds_allocate_slots |
|
73 |
8 |
618 |
| yds_enable_dsp |
|
4 |
1 |
18 |
| yds_disable_dsp |
|
14 |
4 |
78 |
| yds_match |
|
18 |
8 |
84 |
| yds_configure_legacy |
|
83 |
17 |
581 |
| yds_attach |
|
51 |
9 |
381 |
| yds_attachhook |
|
65 |
7 |
496 |
| yds_attach_codec |
|
6 |
1 |
29 |
| yds_ready_codec |
|
10 |
3 |
57 |
| yds_read_codec |
|
18 |
5 |
134 |
| yds_write_codec |
|
12 |
2 |
80 |
| yds_reset_codec |
|
17 |
2 |
111 |
| yds_intr |
|
89 |
22 |
620 |
| yds_allocmem |
|
30 |
5 |
234 |
| yds_freemem |
|
8 |
1 |
69 |
| yds_open |
|
11 |
1 |
59 |
| yds_close |
|
7 |
1 |
30 |
| yds_set_params |
|
36 |
14 |
204 |
| yds_round_blocksize |
|
6 |
2 |
26 |
| yds_get_lpfq |
|
22 |
4 |
117 |
| yds_get_lpfk |
|
22 |
4 |
117 |
| yds_trigger_output |
|
98 |
21 |
729 |
| yds_trigger_input |
|
65 |
7 |
514 |
| yds_halt |
|
13 |
1 |
93 |
| yds_halt_output |
|
22 |
2 |
154 |
| yds_halt_input |
|
20 |
2 |
128 |
| yds_mixer_set_port |
|
6 |
1 |
47 |
| yds_mixer_get_port |
|
6 |
1 |
47 |
| yds_query_devinfo |
|
6 |
1 |
47 |
| yds_get_portnum_by_name |
|
6 |
1 |
53 |
| yds_malloc |
|
17 |
3 |
117 |
| yds_free |
|
13 |
3 |
95 |
| yds_find_dma |
|
7 |
3 |
45 |
| yds_round_buffersize |
|
6 |
2 |
33 |
| yds_get_props |
|
5 |
1 |
17 |
| yds_activate |
|
28 |
7 |
166 |
| yds_init |
|
74 |
18 |
491 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/bt8370reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_myx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| myx_match |
|
4 |
1 |
32 |
| myx_attach |
|
45 |
7 |
382 |
| myx_pcie_dc |
|
18 |
3 |
139 |
| myx_ether_aton |
|
20 |
10 |
170 |
| myx_query |
|
35 |
10 |
295 |
| myx_loadfirmware |
|
44 |
9 |
333 |
| myx_attachhook |
|
59 |
8 |
407 |
| myx_probe_firmware |
|
63 |
8 |
531 |
| myx_read |
|
6 |
1 |
53 |
| myx_write |
|
6 |
1 |
53 |
| myx_dmamem_alloc |
|
27 |
5 |
221 |
| myx_dmamem_free |
|
7 |
1 |
65 |
| myx_cmd |
|
70 |
6 |
360 |
| myx_boot |
|
34 |
3 |
270 |
| myx_rdma |
|
35 |
4 |
288 |
| myx_media_change |
|
4 |
1 |
14 |
| myx_media_status |
|
23 |
3 |
159 |
| myx_link_state |
|
13 |
4 |
81 |
| myx_watchdog |
|
4 |
1 |
11 |
| myx_ioctl |
|
39 |
11 |
237 |
| myx_rxrinfo |
|
10 |
1 |
98 |
| myx_up |
|
216 |
31 |
1808 |
| myx_setlladdr |
|
13 |
2 |
128 |
| myx_iff |
|
45 |
10 |
358 |
| myx_down |
|
56 |
5 |
455 |
| myx_write_txd_tail |
|
26 |
3 |
236 |
| myx_start |
|
95 |
20 |
742 |
| myx_load_mbuf |
|
19 |
5 |
104 |
| myx_intr |
|
61 |
11 |
396 |
| myx_refill |
|
8 |
2 |
51 |
| myx_txeof |
|
26 |
6 |
186 |
| myx_rxeof |
|
45 |
8 |
385 |
| myx_rx_fill_slots |
|
33 |
7 |
277 |
| myx_rx_init |
|
33 |
5 |
268 |
| myx_rx_fill |
|
11 |
3 |
74 |
| myx_rx_empty |
|
14 |
3 |
115 |
| myx_rx_free |
|
10 |
2 |
79 |
| myx_mcl_small |
|
9 |
2 |
52 |
| myx_mcl_big |
|
16 |
3 |
94 |
| myx_buf_fill |
|
18 |
3 |
120 |
| myx_tx_init |
|
27 |
5 |
196 |
| myx_tx_empty |
|
16 |
3 |
104 |
| myx_tx_free |
|
10 |
2 |
74 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/amas.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_alcreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_pcn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcn_csr_read |
|
5 |
1 |
43 |
| pcn_csr_write |
|
5 |
1 |
45 |
| pcn_bcr_read |
|
5 |
1 |
43 |
| pcn_bcr_write |
|
5 |
1 |
45 |
| pcn_lookup_variant |
|
9 |
3 |
48 |
| pcn_match |
|
10 |
4 |
78 |
| pcn_attach |
|
161 |
24 |
1155 |
| pcn_start |
|
114 |
24 |
839 |
| pcn_watchdog |
|
12 |
2 |
70 |
| pcn_ioctl |
|
39 |
11 |
215 |
| pcn_intr |
|
50 |
13 |
268 |
| pcn_spnd |
|
12 |
3 |
69 |
| pcn_txintr |
|
74 |
15 |
472 |
| pcn_rxintr |
|
77 |
12 |
494 |
| pcn_tick |
|
9 |
1 |
47 |
| pcn_reset |
|
7 |
1 |
61 |
| pcn_init |
|
112 |
16 |
842 |
| pcn_rxdrain |
|
13 |
3 |
76 |
| pcn_stop |
|
24 |
5 |
152 |
| pcn_add_rxbuf |
|
29 |
5 |
199 |
| pcn_set_filter |
|
31 |
5 |
228 |
| pcn_79c970_mediainit |
|
21 |
4 |
183 |
| pcn_79c970_mediastatus |
|
5 |
1 |
35 |
| pcn_79c970_mediachange |
|
26 |
4 |
192 |
| pcn_79c971_mediainit |
|
18 |
2 |
159 |
| pcn_79c971_mediastatus |
|
7 |
1 |
51 |
| pcn_79c971_mediachange |
|
7 |
2 |
39 |
| pcn_mii_readreg |
|
10 |
2 |
72 |
| pcn_mii_writereg |
|
6 |
1 |
54 |
| pcn_mii_statchg |
|
8 |
2 |
53 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_bgereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_bge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bge_readmem_ind |
|
12 |
4 |
101 |
| bge_writemem_ind |
|
10 |
4 |
93 |
| bge_writereg_ind |
|
6 |
1 |
57 |
| bge_writembx |
|
6 |
2 |
41 |
| bge_ape_lock_init |
|
44 |
12 |
198 |
| bge_ape_read_fw_ver |
|
32 |
5 |
196 |
| bge_ape_lock |
|
63 |
17 |
336 |
| bge_ape_unlock |
|
44 |
14 |
211 |
| bge_ape_send_event |
|
25 |
6 |
143 |
| bge_ape_driver_state_change |
|
42 |
6 |
193 |
| bge_nvram_getbyte |
|
34 |
7 |
249 |
| bge_read_nvram |
|
14 |
5 |
99 |
| bge_eeprom_getbyte |
|
22 |
4 |
158 |
| bge_read_eeprom |
|
12 |
4 |
83 |
| bge_miibus_readreg |
|
40 |
8 |
257 |
| bge_miibus_writereg |
|
36 |
10 |
245 |
| bge_miibus_statchg |
|
41 |
15 |
297 |
| bge_newbuf |
|
37 |
4 |
276 |
| bge_newbuf_jumbo |
|
53 |
8 |
423 |
| bge_init_rx_ring_std |
|
28 |
5 |
186 |
| bge_rxtick |
|
7 |
3 |
41 |
| bge_rxtick_jumbo |
|
7 |
3 |
41 |
| bge_fill_rx_ring_std |
|
20 |
5 |
126 |
| bge_free_rx_ring_std |
|
24 |
4 |
169 |
| bge_init_rx_ring_jumbo |
|
33 |
5 |
221 |
| bge_fill_rx_ring_jumbo |
|
20 |
5 |
126 |
| bge_free_rx_ring_jumbo |
|
24 |
4 |
169 |
| bge_free_tx_ring |
|
17 |
4 |
128 |
| bge_init_tx_ring |
|
30 |
7 |
196 |
| bge_iff |
|
29 |
4 |
203 |
| bge_sig_pre_reset |
|
5 |
3 |
29 |
| bge_sig_post_reset |
|
5 |
2 |
25 |
| bge_sig_legacy |
|
3 |
1 |
12 |
| bge_stop_fw |
|
3 |
1 |
12 |
| bge_dma_swap_options |
|
10 |
2 |
42 |
| bge_phy_addr |
|
19 |
7 |
104 |
| bge_chipinit |
|
106 |
34 |
700 |
| bge_blockinit |
|
402 |
94 |
2909 |
| bge_lookup_rev |
|
13 |
5 |
81 |
| bge_can_use_msi |
|
18 |
7 |
80 |
| bge_probe |
|
4 |
1 |
32 |
| bge_attach |
|
447 |
161 |
3192 |
| bge_detach |
|
23 |
4 |
215 |
| bge_activate |
|
21 |
5 |
112 |
| bge_reset |
|
150 |
40 |
1113 |
| bge_rxeof |
|
90 |
14 |
600 |
| bge_rxcsum |
|
27 |
12 |
160 |
| bge_txeof |
|
54 |
7 |
381 |
| bge_intr |
|
46 |
10 |
279 |
| bge_tick |
|
20 |
4 |
111 |
| bge_stats_update_regs |
|
33 |
8 |
251 |
| bge_stats_update |
|
20 |
1 |
190 |
| bge_compact_dma_runt |
|
52 |
14 |
389 |
| bge_cksum_pad |
|
23 |
6 |
161 |
| bge_encap |
|
70 |
20 |
470 |
| bge_start |
|
38 |
10 |
213 |
| bge_init |
|
88 |
16 |
597 |
| bge_ifmedia_upd |
|
55 |
11 |
303 |
| bge_ifmedia_sts |
|
26 |
4 |
146 |
| bge_ioctl |
|
64 |
18 |
368 |
| bge_rxrinfo |
|
19 |
3 |
168 |
| bge_watchdog |
|
8 |
1 |
41 |
| bge_stop_block |
|
12 |
3 |
86 |
| bge_stop |
|
67 |
9 |
474 |
| bge_link_upd |
|
77 |
26 |
504 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/vmwpvs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vmwpvs_match |
|
8 |
3 |
54 |
| vmwpvs_attach |
|
160 |
22 |
1175 |
| vmwpvs_setup_rings |
|
17 |
3 |
145 |
| vmwpvs_setup_msg_ring |
|
12 |
2 |
89 |
| vmwpvs_get_config |
|
34 |
4 |
218 |
| vmwpvs_cmd |
|
9 |
2 |
70 |
| vmwpvs_intx |
|
10 |
2 |
59 |
| vmwpvs_intr |
|
39 |
6 |
292 |
| vmwpvs_msg_task |
|
69 |
8 |
488 |
| vmwpvs_scsi_cmd |
|
101 |
14 |
763 |
| vmwpvs_scsi_cmd_poll |
|
32 |
4 |
199 |
| vmwpvs_scsi_cmd_done |
|
48 |
11 |
314 |
| vmwpvs_ccb_get |
|
11 |
2 |
67 |
| vmwpvs_ccb_put |
|
8 |
1 |
54 |
| vmwpvs_dmamem_alloc |
|
31 |
6 |
244 |
| vmwpvs_dmamem_zalloc |
|
9 |
2 |
54 |
| vmwpvs_dmamem_free |
|
8 |
1 |
76 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_em_soc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| em_lookup_gcu |
|
6 |
2 |
30 |
| em_attach_miibus |
|
4 |
1 |
12 |
| gcu_miibus_readreg |
|
38 |
6 |
271 |
| gcu_miibus_writereg |
|
29 |
5 |
201 |
| gcu_miibus_statchg |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/emuxkireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_malo_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| malo_pci_match |
|
5 |
1 |
45 |
| malo_pci_attach |
|
41 |
6 |
278 |
| malo_pci_detach |
|
8 |
1 |
55 |
| malo_pci_activate |
|
16 |
4 |
85 |
| malo_pci_wakeup |
|
6 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_sii3112_reg.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ba5_read_4_ind |
|
10 |
1 |
64 |
| ba5_read_4 |
|
7 |
2 |
58 |
| ba5_write_4_ind |
|
8 |
1 |
59 |
| ba5_write_4 |
|
8 |
2 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_pgt_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pgt_pci_match |
|
5 |
1 |
45 |
| pgt_pci_attach |
|
39 |
6 |
284 |
| pgt_pci_detach |
|
13 |
3 |
88 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/amas.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amas_match |
|
7 |
2 |
44 |
| amas_attach |
|
33 |
10 |
192 |
| amas_intl_nodes |
|
11 |
3 |
88 |
| amas_get_pagerange |
|
40 |
8 |
269 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwmreg.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| IWM_SCD_QUEUE_WRPTR |
|
6 |
2 |
36 |
| IWM_SCD_QUEUE_RDPTR |
|
6 |
2 |
36 |
| IWM_SCD_QUEUE_STATUS_BITS |
|
6 |
2 |
36 |
| IWM_FH_MEM_CBBC_QUEUE |
|
8 |
3 |
49 |
| iwm_get_dma_hi_addr |
|
4 |
2 |
34 |
| iwm_reciprocal |
|
6 |
2 |
20 |
| iwm_get_scd_ssn |
|
5 |
1 |
28 |
| iwm_cmd_opcode |
|
4 |
1 |
12 |
| iwm_cmd_groupid |
|
4 |
1 |
19 |
| iwm_cmd_version |
|
4 |
1 |
19 |
| iwm_cmd_id |
|
4 |
1 |
30 |
| iwm_rx_packet_len |
|
4 |
1 |
20 |
| iwm_rx_packet_payload_len |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe_82598.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgbe_set_pcie_completion_timeout |
|
17 |
3 |
86 |
| ixgbe_init_ops_82598 |
|
37 |
1 |
251 |
| ixgbe_init_phy_ops_82598 |
|
43 |
7 |
213 |
| ixgbe_start_hw_82598 |
|
25 |
6 |
165 |
| ixgbe_get_link_capabilities_82598 |
|
39 |
9 |
162 |
| ixgbe_get_media_type_82598 |
|
40 |
15 |
126 |
| ixgbe_fc_enable_82598 |
|
85 |
19 |
520 |
| ixgbe_start_mac_link_82598 |
|
32 |
7 |
148 |
| ixgbe_validate_link_ready |
|
21 |
6 |
99 |
| ixgbe_check_mac_link_82598 |
|
67 |
17 |
389 |
| ixgbe_setup_mac_link_82598 |
|
31 |
8 |
154 |
| ixgbe_setup_copper_link_82598 |
|
11 |
1 |
50 |
| ixgbe_reset_hw_82598 |
|
80 |
13 |
547 |
| ixgbe_set_vmdq_82598 |
|
15 |
2 |
94 |
| ixgbe_clear_vmdq_82598 |
|
15 |
3 |
84 |
| ixgbe_set_vfta_82598 |
|
26 |
3 |
183 |
| ixgbe_clear_vfta_82598 |
|
13 |
4 |
96 |
| ixgbe_read_analog_reg8_82598 |
|
12 |
1 |
70 |
| ixgbe_write_analog_reg8_82598 |
|
10 |
1 |
56 |
| ixgbe_read_i2c_phy_82598 |
|
48 |
7 |
266 |
| ixgbe_read_i2c_eeprom_82598 |
|
6 |
1 |
28 |
| ixgbe_get_supported_physical_layer_82598 |
|
91 |
27 |
360 |
| ixgbe_set_lan_id_multi_port_pcie_82598 |
|
17 |
6 |
119 |
| ixgbe_enable_rx_dma_82598 |
|
6 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/eso.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eso_match |
|
8 |
3 |
54 |
| eso_attach |
|
82 |
11 |
604 |
| eso_setup |
|
93 |
22 |
531 |
| eso_defer |
|
23 |
3 |
163 |
| eso_write_cmd |
|
15 |
3 |
89 |
| eso_write_ctlreg |
|
5 |
1 |
29 |
| eso_read_rdr |
|
15 |
3 |
87 |
| eso_read_ctlreg |
|
6 |
1 |
34 |
| eso_write_mixreg |
|
5 |
1 |
45 |
| eso_read_mixreg |
|
7 |
1 |
50 |
| eso_intr |
|
35 |
10 |
225 |
| eso_reset |
|
23 |
4 |
159 |
| eso_open |
|
4 |
1 |
16 |
| eso_close |
|
3 |
1 |
8 |
| eso_set_params |
|
56 |
17 |
437 |
| eso_round_blocksize |
|
4 |
1 |
23 |
| eso_halt_output |
|
17 |
2 |
131 |
| eso_halt_input |
|
20 |
2 |
137 |
| eso_set_port |
|
165 |
48 |
938 |
| eso_get_port |
|
77 |
31 |
401 |
| eso_query_devinfo |
|
317 |
32 |
3010 |
| eso_allocmem |
|
34 |
7 |
279 |
| eso_freemem |
|
7 |
1 |
61 |
| eso_allocm |
|
28 |
8 |
182 |
| eso_freem |
|
13 |
3 |
91 |
| eso_round_buffersize |
|
8 |
3 |
44 |
| eso_get_props |
|
5 |
1 |
17 |
| eso_trigger_output |
|
58 |
8 |
445 |
| eso_trigger_input |
|
73 |
10 |
542 |
| eso_set_recsrc |
|
19 |
4 |
119 |
| eso_set_monooutsrc |
|
23 |
4 |
139 |
| eso_set_monoinbypass |
|
23 |
5 |
149 |
| eso_set_preamp |
|
23 |
5 |
149 |
| eso_reload_master_vol |
|
11 |
1 |
80 |
| eso_set_gain |
|
76 |
22 |
362 |
| eso_activate |
|
33 |
4 |
221 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_lii.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lii_match |
|
5 |
1 |
37 |
| lii_attach |
|
64 |
7 |
468 |
| lii_activate |
|
21 |
5 |
110 |
| lii_reset |
|
22 |
4 |
129 |
| lii_eeprom_present |
|
9 |
2 |
60 |
| lii_eeprom_read |
|
4 |
1 |
38 |
| lii_spi_configure |
|
28 |
1 |
249 |
| lii_spi_read |
|
22 |
4 |
139 |
| lii_read_macaddr |
|
42 |
12 |
294 |
| lii_mii_readreg |
|
22 |
4 |
144 |
| lii_mii_writereg |
|
21 |
4 |
147 |
| lii_mii_statchg |
|
12 |
2 |
72 |
| lii_media_change |
|
8 |
2 |
44 |
| lii_media_status |
|
8 |
1 |
58 |
| lii_init |
|
67 |
2 |
574 |
| lii_tx_put |
|
22 |
3 |
208 |
| lii_free_tx_space |
|
10 |
2 |
54 |
| lii_start |
|
30 |
10 |
224 |
| lii_stop |
|
11 |
1 |
68 |
| lii_intr |
|
28 |
9 |
176 |
| lii_rxintr |
|
41 |
7 |
270 |
| lii_txintr |
|
29 |
6 |
204 |
| lii_alloc_rings |
|
46 |
5 |
380 |
| lii_watchdog |
|
7 |
1 |
38 |
| lii_ioctl |
|
35 |
10 |
202 |
| lii_iff |
|
34 |
5 |
244 |
| lii_tick |
|
9 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/tcpcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcpcib_wdt_unlock |
|
5 |
1 |
39 |
| tcpcib_wdt_init |
|
16 |
1 |
104 |
| tcpcib_wdt_start |
|
5 |
1 |
24 |
| tcpcib_wdt_stop |
|
7 |
1 |
44 |
| tcpcib_match |
|
7 |
2 |
54 |
| tcpcib_attach |
|
58 |
10 |
401 |
| tcpcib_activate |
|
34 |
10 |
190 |
| tcpcib_wdt_cb |
|
22 |
6 |
116 |
| tcpcib_hpet_get_timecount |
|
6 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_fxp_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fxp_pci_match |
|
5 |
1 |
37 |
| fxp_pci_attach |
|
81 |
25 |
542 |
| fxp_pci_detach |
|
10 |
2 |
77 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/arc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arc_match_board |
|
12 |
4 |
86 |
| arc_match |
|
4 |
2 |
33 |
| arc_attach |
|
51 |
10 |
370 |
| arc_activate |
|
14 |
2 |
62 |
| arc_detach |
|
7 |
1 |
39 |
| arc_intr_A |
|
42 |
7 |
261 |
| arc_intr_C |
|
58 |
10 |
329 |
| arcmsr_get_doneq_index |
|
19 |
4 |
94 |
| arc_intr_D |
|
63 |
9 |
404 |
| arc_intr |
|
17 |
4 |
69 |
| arc_scsi_cmd |
|
96 |
16 |
636 |
| arc_load_xs |
|
38 |
7 |
319 |
| arc_scsi_cmd_done |
|
47 |
8 |
347 |
| arc_complete |
|
66 |
13 |
386 |
| arc_minphys |
|
6 |
2 |
33 |
| arc_enable_all_intr |
|
23 |
4 |
113 |
| arc_disable_all_intr |
|
21 |
4 |
101 |
| arc_map_pci_resources |
|
54 |
9 |
369 |
| arc_unmap_pci_resources |
|
6 |
1 |
41 |
| arc_chipA_firmware |
|
54 |
6 |
451 |
| arc_chipB_firmware |
|
10 |
2 |
46 |
| arc_chipC_firmware |
|
54 |
6 |
451 |
| arc_chipD_firmware |
|
56 |
7 |
475 |
| arc_stop_bgrb_proc |
|
20 |
7 |
95 |
| arc_flush_cache |
|
20 |
7 |
95 |
| arc_iop_set_conf |
|
29 |
4 |
182 |
| arc_bioctl |
|
27 |
6 |
156 |
| arc_bio_alarm |
|
38 |
9 |
200 |
| arc_bio_alarm_state |
|
18 |
2 |
118 |
| arc_bio_inq |
|
45 |
7 |
345 |
| arc_bio_blink |
|
27 |
4 |
170 |
| arc_bio_getvol |
|
38 |
12 |
260 |
| arc_bio_vol |
|
69 |
15 |
424 |
| arc_bio_disk |
|
67 |
7 |
548 |
| arc_msg_cksum |
|
10 |
2 |
65 |
| arc_msgbuf |
|
191 |
43 |
1235 |
| arc_lock |
|
23 |
4 |
123 |
| arc_unlock |
|
23 |
4 |
123 |
| arc_wait |
|
33 |
7 |
220 |
| arc_create_sensors |
|
44 |
5 |
348 |
| arc_refresh_sensors |
|
33 |
8 |
200 |
| arc_read |
|
9 |
1 |
68 |
| arc_read_region |
|
6 |
1 |
53 |
| arc_write |
|
7 |
1 |
63 |
| arc_write_region |
|
6 |
1 |
53 |
| arc_wait_eq |
|
13 |
3 |
84 |
| arc_wait_ne |
|
13 |
3 |
84 |
| arc_msg0 |
|
28 |
7 |
163 |
| arc_dmamem_alloc |
|
31 |
6 |
244 |
| arc_dmamem_free |
|
8 |
1 |
76 |
| arc_alloc_ccbs |
|
59 |
9 |
478 |
| arc_free_ccb_src |
|
8 |
2 |
58 |
| arc_get_ccb |
|
10 |
2 |
61 |
| arc_put_ccb |
|
8 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_sis_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ipw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| MEM_READ_1 |
|
5 |
1 |
29 |
| MEM_READ_4 |
|
5 |
1 |
29 |
| ipw_match |
|
8 |
3 |
50 |
| ipw_attach |
|
104 |
9 |
774 |
| ipw_activate |
|
15 |
4 |
75 |
| ipw_wakeup |
|
15 |
2 |
101 |
| ipw_dma_alloc |
|
170 |
24 |
1196 |
| ipw_release |
|
50 |
13 |
404 |
| ipw_media_change |
|
10 |
3 |
56 |
| ipw_media_status |
|
38 |
8 |
226 |
| ipw_newstate |
|
18 |
6 |
81 |
| ipw_read_prom_word |
|
35 |
3 |
268 |
| ipw_command_intr |
|
10 |
1 |
84 |
| ipw_newstate_intr |
|
32 |
9 |
179 |
| ipw_data_intr |
|
67 |
7 |
518 |
| ipw_notification_intr |
|
4 |
1 |
23 |
| ipw_rx_intr |
|
43 |
8 |
300 |
| ipw_release_sbd |
|
26 |
5 |
162 |
| ipw_tx_intr |
|
15 |
3 |
128 |
| ipw_intr |
|
23 |
7 |
148 |
| ipw_cmd |
|
39 |
3 |
341 |
| ipw_send_mgmt |
|
5 |
1 |
26 |
| ipw_tx_start |
|
120 |
15 |
996 |
| ipw_start |
|
33 |
12 |
200 |
| ipw_watchdog |
|
15 |
3 |
81 |
| ipw_ioctl |
|
38 |
11 |
223 |
| ipw_read_table1 |
|
4 |
1 |
29 |
| ipw_write_table1 |
|
4 |
1 |
33 |
| ipw_read_table2 |
|
18 |
2 |
116 |
| ipw_stop_master |
|
17 |
4 |
103 |
| ipw_reset |
|
21 |
4 |
130 |
| ipw_load_ucode |
|
35 |
4 |
259 |
| ipw_load_firmware |
|
34 |
5 |
223 |
| ipw_read_firmware |
|
37 |
7 |
227 |
| ipw_scan |
|
31 |
5 |
211 |
| ipw_auth_and_assoc |
|
91 |
20 |
641 |
| ipw_config |
|
101 |
22 |
736 |
| ipw_init |
|
61 |
7 |
477 |
| ipw_stop |
|
15 |
2 |
110 |
| ipw_read_mem_1 |
|
8 |
2 |
64 |
| ipw_write_mem_1 |
|
8 |
2 |
64 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/plx9060reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/gcu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gcu_probe |
|
5 |
1 |
37 |
| gcu_attach |
|
18 |
3 |
135 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_epic_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| epic_pci_subsys_lookup |
|
11 |
3 |
72 |
| epic_pci_match |
|
5 |
1 |
37 |
| epic_pci_attach |
|
49 |
7 |
321 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciidereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_jmicron_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/iha_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iha_pci_probe |
|
20 |
7 |
101 |
| iha_pci_attach |
|
44 |
7 |
283 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_acer_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/amdpcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amdpcib_match |
|
7 |
2 |
50 |
| amdpcib_attach |
|
31 |
4 |
226 |
| amdpcib_get_timecount |
|
6 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auich.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| auich_match |
|
10 |
4 |
76 |
| auich_attach |
|
139 |
29 |
1117 |
| auich_activate |
|
15 |
2 |
72 |
| auich_read_codec |
|
16 |
5 |
130 |
| auich_write_codec |
|
17 |
5 |
129 |
| auich_attach_codec |
|
6 |
1 |
29 |
| auich_reset_codec |
|
16 |
5 |
127 |
| auich_flags_codec |
|
5 |
1 |
22 |
| auich_spdif_event |
|
5 |
1 |
24 |
| auich_open |
|
8 |
2 |
52 |
| auich_close |
|
5 |
1 |
28 |
| auich_set_params |
|
100 |
23 |
591 |
| auich_round_blocksize |
|
4 |
1 |
20 |
| auich_halt_pipe |
|
23 |
5 |
166 |
| auich_halt_output |
|
10 |
1 |
65 |
| auich_halt_input |
|
12 |
1 |
77 |
| auich_set_port |
|
5 |
1 |
35 |
| auich_get_port |
|
5 |
1 |
35 |
| auich_query_devinfo |
|
5 |
1 |
35 |
| auich_allocm |
|
27 |
6 |
157 |
| auich_freem |
|
16 |
7 |
116 |
| auich_round_buffersize |
|
6 |
2 |
31 |
| auich_get_props |
|
4 |
1 |
15 |
| auich_intr |
|
82 |
13 |
584 |
| auich_trigger_pipe |
|
31 |
4 |
253 |
| auich_intr_pipe |
|
30 |
5 |
233 |
| auich_trigger_output |
|
31 |
3 |
259 |
| auich_allocmem |
|
46 |
5 |
299 |
| auich_freemem |
|
8 |
1 |
69 |
| auich_alloc_cdata |
|
43 |
5 |
329 |
| auich_resume |
|
11 |
3 |
76 |
| auich_calibrate |
|
87 |
11 |
656 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_sis.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sis_reverse |
|
8 |
1 |
108 |
| sis_delay |
|
6 |
2 |
38 |
| sis_eeprom_idle |
|
19 |
2 |
96 |
| sis_eeprom_putbyte |
|
16 |
3 |
80 |
| sis_eeprom_getword |
|
23 |
3 |
126 |
| sis_read_eeprom |
|
14 |
3 |
93 |
| sis_read_cmos |
|
13 |
2 |
126 |
| sis_read_mac |
|
18 |
1 |
179 |
| sis_read96x_mac |
|
14 |
3 |
81 |
| sis_mii_sync |
|
11 |
2 |
54 |
| sis_mii_send |
|
15 |
3 |
84 |
| sis_mii_readreg |
|
54 |
7 |
314 |
| sis_mii_writereg |
|
23 |
1 |
152 |
| sis_miibus_readreg |
|
40 |
11 |
275 |
| sis_miibus_writereg |
|
33 |
9 |
223 |
| sis_miibus_statchg |
|
57 |
16 |
397 |
| sis_mchash |
|
12 |
4 |
74 |
| sis_iff |
|
7 |
2 |
28 |
| sis_iff_ns |
|
46 |
8 |
313 |
| sis_iff_sis |
|
48 |
12 |
342 |
| sis_reset |
|
16 |
5 |
102 |
| sis_probe |
|
5 |
1 |
37 |
| sis_attach |
|
181 |
35 |
1319 |
| sis_activate |
|
21 |
5 |
110 |
| sis_ring_init |
|
37 |
5 |
299 |
| sis_fill_rx_ring |
|
15 |
3 |
96 |
| sis_newbuf |
|
27 |
4 |
217 |
| sis_rxeof |
|
56 |
10 |
345 |
| sis_txeof |
|
43 |
11 |
311 |
| sis_tick |
|
13 |
2 |
76 |
| sis_intr |
|
32 |
8 |
192 |
| sis_encap |
|
46 |
8 |
356 |
| sis_start |
|
31 |
9 |
191 |
| sis_init |
|
70 |
9 |
593 |
| sis_ifmedia_upd |
|
14 |
2 |
71 |
| sis_ifmedia_sts |
|
10 |
1 |
58 |
| sis_ioctl |
|
44 |
12 |
250 |
| sis_watchdog |
|
15 |
3 |
79 |
| sis_stop |
|
49 |
8 |
417 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/czreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ste.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ste_mii_sync |
|
11 |
2 |
54 |
| ste_mii_send |
|
16 |
3 |
88 |
| ste_mii_readreg |
|
55 |
7 |
323 |
| ste_mii_writereg |
|
23 |
1 |
152 |
| ste_miibus_readreg |
|
12 |
3 |
84 |
| ste_miibus_writereg |
|
10 |
1 |
71 |
| ste_miibus_statchg |
|
20 |
6 |
129 |
| ste_ifmedia_upd |
|
15 |
2 |
77 |
| ste_ifmedia_sts |
|
10 |
1 |
58 |
| ste_wait |
|
10 |
4 |
60 |
| ste_eeprom_wait |
|
17 |
4 |
80 |
| ste_read_eeprom |
|
20 |
6 |
143 |
| ste_iff |
|
39 |
6 |
290 |
| ste_intr |
|
37 |
12 |
207 |
| ste_rxeoc |
|
15 |
5 |
94 |
| ste_rxeof |
|
41 |
6 |
248 |
| ste_txeoc |
|
29 |
7 |
157 |
| ste_txeof |
|
20 |
4 |
132 |
| ste_stats_update |
|
26 |
5 |
156 |
| ste_probe |
|
5 |
1 |
37 |
| ste_attach |
|
86 |
13 |
647 |
| ste_newbuf |
|
25 |
4 |
185 |
| ste_init_rx_list |
|
27 |
4 |
218 |
| ste_init_tx_list |
|
21 |
3 |
164 |
| ste_init |
|
56 |
3 |
425 |
| ste_stop |
|
31 |
5 |
249 |
| ste_reset |
|
18 |
4 |
90 |
| ste_ioctl |
|
40 |
11 |
218 |
| ste_encap |
|
46 |
8 |
292 |
| ste_start |
|
48 |
10 |
312 |
| ste_watchdog |
|
14 |
2 |
77 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/i82365_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcic_pci_match |
|
11 |
3 |
65 |
| pcic_pci_attach |
|
72 |
10 |
492 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe_phy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgbe_out_i2c_byte_ack |
|
8 |
2 |
37 |
| ixgbe_in_i2c_byte_ack |
|
8 |
2 |
40 |
| ixgbe_ones_comp_byte_add |
|
6 |
1 |
37 |
| ixgbe_read_i2c_combined_generic_int |
|
57 |
17 |
339 |
| ixgbe_read_i2c_combined_generic |
|
5 |
1 |
33 |
| ixgbe_read_i2c_combined_generic_unlocked |
|
5 |
1 |
33 |
| ixgbe_write_i2c_combined_generic_int |
|
45 |
13 |
281 |
| ixgbe_write_i2c_combined_generic |
|
5 |
1 |
32 |
| ixgbe_write_i2c_combined_generic_unlocked |
|
5 |
1 |
32 |
| ixgbe_init_phy_ops_generic |
|
33 |
1 |
217 |
| ixgbe_identify_phy_generic |
|
45 |
9 |
218 |
| ixgbe_check_reset_blocked |
|
14 |
3 |
60 |
| ixgbe_validate_phy_addr |
|
12 |
3 |
70 |
| ixgbe_get_phy_id |
|
20 |
2 |
124 |
| ixgbe_get_phy_type_from_id |
|
30 |
9 |
94 |
| ixgbe_reset_phy_generic |
|
35 |
10 |
195 |
| ixgbe_read_phy_reg_mdi |
|
39 |
7 |
267 |
| ixgbe_read_phy_reg_generic |
|
15 |
2 |
91 |
| ixgbe_write_phy_reg_mdi |
|
37 |
7 |
252 |
| ixgbe_write_phy_reg_generic |
|
15 |
2 |
90 |
| ixgbe_setup_phy_link_generic |
|
83 |
13 |
416 |
| ixgbe_setup_phy_link_speed_generic |
|
19 |
6 |
112 |
| ixgbe_get_copper_speeds_supported |
|
28 |
7 |
135 |
| ixgbe_get_copper_link_capabilities_generic |
|
12 |
2 |
60 |
| ixgbe_check_phy_link_tnx |
|
31 |
4 |
141 |
| ixgbe_setup_phy_link_tnx |
|
50 |
8 |
278 |
| ixgbe_get_phy_firmware_version_tnx |
|
10 |
1 |
43 |
| ixgbe_get_phy_firmware_version_generic |
|
10 |
1 |
43 |
| ixgbe_reset_phy_nl |
|
95 |
16 |
494 |
| ixgbe_is_sfp |
|
18 |
11 |
57 |
| ixgbe_identify_module_generic |
|
18 |
3 |
77 |
| ixgbe_identify_sfp_module_generic |
|
195 |
51 |
1066 |
| ixgbe_get_supported_phy_sfp_layer_generic |
|
58 |
23 |
271 |
| ixgbe_identify_qsfp_module_generic |
|
127 |
27 |
738 |
| ixgbe_get_sfp_init_sequence_offsets |
|
67 |
26 |
399 |
| ixgbe_read_i2c_eeprom_generic |
|
8 |
1 |
39 |
| ixgbe_write_i2c_eeprom_generic |
|
8 |
1 |
38 |
| ixgbe_is_sfp_probe |
|
8 |
4 |
39 |
| ixgbe_read_i2c_byte_generic_int |
|
61 |
17 |
349 |
| ixgbe_read_i2c_byte_generic |
|
6 |
1 |
33 |
| ixgbe_read_i2c_byte_generic_unlocked |
|
6 |
1 |
33 |
| ixgbe_write_i2c_byte_generic_int |
|
47 |
13 |
259 |
| ixgbe_write_i2c_byte_generic |
|
6 |
1 |
32 |
| ixgbe_write_i2c_byte_generic_unlocked |
|
6 |
1 |
32 |
| ixgbe_i2c_start |
|
18 |
3 |
111 |
| ixgbe_i2c_stop |
|
23 |
5 |
136 |
| ixgbe_clock_in_i2c_byte |
|
12 |
2 |
65 |
| ixgbe_clock_out_i2c_byte |
|
26 |
5 |
151 |
| ixgbe_get_i2c_ack |
|
36 |
6 |
198 |
| ixgbe_clock_in_i2c_bit |
|
23 |
3 |
141 |
| ixgbe_clock_out_i2c_bit |
|
23 |
4 |
125 |
| ixgbe_raise_i2c_clk |
|
25 |
5 |
140 |
| ixgbe_lower_i2c_clk |
|
15 |
3 |
85 |
| ixgbe_set_i2c_data |
|
40 |
9 |
206 |
| ixgbe_get_i2c_data |
|
20 |
4 |
97 |
| ixgbe_i2c_bus_clear |
|
21 |
4 |
123 |
| ixgbe_tn_check_overtemp |
|
16 |
3 |
81 |
| ixgbe_set_copper_phy_power |
|
23 |
6 |
107 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/tga_conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tga_identify |
|
44 |
16 |
222 |
| tga_getconf |
|
7 |
3 |
31 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/esareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_wb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wb_eeprom_putbyte |
|
20 |
3 |
90 |
| wb_eeprom_getword |
|
22 |
3 |
125 |
| wb_read_eeprom |
|
19 |
3 |
105 |
| wb_mii_sync |
|
13 |
2 |
58 |
| wb_mii_send |
|
19 |
3 |
94 |
| wb_mii_readreg |
|
61 |
7 |
347 |
| wb_mii_writereg |
|
25 |
1 |
156 |
| wb_miibus_readreg |
|
12 |
1 |
74 |
| wb_miibus_writereg |
|
13 |
1 |
79 |
| wb_miibus_statchg |
|
6 |
1 |
34 |
| wb_setmulti |
|
43 |
7 |
285 |
| wb_setcfg |
|
30 |
9 |
195 |
| wb_reset |
|
25 |
5 |
165 |
| wb_fixmedia |
|
18 |
4 |
106 |
| wb_probe |
|
7 |
1 |
42 |
| wb_attach |
|
102 |
12 |
767 |
| wb_list_tx_init |
|
22 |
3 |
147 |
| wb_list_rx_init |
|
27 |
3 |
218 |
| wb_newbuf |
|
8 |
1 |
54 |
| wb_rxeof |
|
45 |
9 |
271 |
| wb_rxeoc |
|
11 |
2 |
76 |
| wb_txeof |
|
34 |
9 |
201 |
| wb_txeoc |
|
18 |
3 |
105 |
| wb_intr |
|
60 |
17 |
350 |
| wb_tick |
|
10 |
1 |
49 |
| wb_encap |
|
66 |
10 |
463 |
| wb_start |
|
40 |
9 |
252 |
| wb_init |
|
69 |
10 |
469 |
| wb_ifmedia_upd |
|
8 |
2 |
38 |
| wb_ifmedia_sts |
|
10 |
1 |
58 |
| wb_ioctl |
|
38 |
9 |
196 |
| wb_watchdog |
|
15 |
4 |
86 |
| wb_stop |
|
23 |
3 |
193 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ydsvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_atw_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atw_pci_match |
|
5 |
1 |
37 |
| atw_pci_enable |
|
12 |
2 |
78 |
| atw_pci_disable |
|
6 |
1 |
37 |
| atw_pci_attach |
|
62 |
9 |
429 |
| atw_pci_detach |
|
13 |
3 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/jmb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| jmb_match |
|
6 |
1 |
49 |
| jmb_attach |
|
56 |
18 |
346 |
| jmb_print |
|
11 |
2 |
68 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cac_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cac_pci_findtype |
|
31 |
8 |
195 |
| cac_pci_match |
|
6 |
1 |
32 |
| cac_pci_attach |
|
66 |
16 |
453 |
| cac_activate |
|
12 |
2 |
59 |
| cac_pci_l0_submit |
|
7 |
1 |
48 |
| cac_pci_l0_completed |
|
14 |
2 |
101 |
| cac_pci_l0_intr_pending |
|
4 |
1 |
25 |
| cac_pci_l0_intr_enable |
|
4 |
2 |
27 |
| cac_pci_l0_fifo_full |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_re_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| re_pci_probe |
|
17 |
7 |
130 |
| re_pci_attach |
|
67 |
13 |
507 |
| re_pci_detach |
|
16 |
3 |
141 |
| re_pci_activate |
|
17 |
5 |
93 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/glxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_se.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| se_read_eeprom |
|
21 |
4 |
123 |
| se_get_mac_addr_eeprom |
|
19 |
5 |
142 |
| se_pcib_match |
|
9 |
1 |
49 |
| se_get_mac_addr_apc |
|
31 |
6 |
258 |
| se_miibus_cmd |
|
14 |
3 |
77 |
| se_miibus_readreg |
|
14 |
2 |
99 |
| se_miibus_writereg |
|
12 |
2 |
96 |
| se_miibus_statchg |
|
57 |
21 |
352 |
| se_iff |
|
32 |
5 |
239 |
| se_reset |
|
14 |
1 |
102 |
| se_match |
|
5 |
1 |
42 |
| se_attach |
|
156 |
20 |
1182 |
| se_activate |
|
21 |
5 |
113 |
| se_list_tx_init |
|
13 |
1 |
94 |
| se_list_tx_free |
|
13 |
3 |
86 |
| se_list_rx_init |
|
15 |
3 |
98 |
| se_list_rx_free |
|
13 |
3 |
86 |
| se_newbuf |
|
37 |
7 |
324 |
| se_discard_rxbuf |
|
13 |
2 |
111 |
| se_rxeof |
|
43 |
8 |
313 |
| se_txeof |
|
43 |
7 |
324 |
| se_tick |
|
18 |
4 |
116 |
| se_intr |
|
34 |
11 |
234 |
| se_encap |
|
59 |
16 |
450 |
| se_start |
|
34 |
12 |
239 |
| se_init |
|
38 |
3 |
287 |
| se_ifmedia_upd |
|
13 |
2 |
71 |
| se_ifmedia_sts |
|
9 |
1 |
56 |
| se_ioctl |
|
39 |
11 |
215 |
| se_watchdog |
|
12 |
2 |
69 |
| se_stop |
|
20 |
1 |
139 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vtereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/safevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/tgareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vrreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcimatch |
|
13 |
6 |
96 |
| pciattach |
|
30 |
3 |
248 |
| pcidetach |
|
4 |
1 |
25 |
| pciactivate |
|
22 |
4 |
113 |
| pci_suspend |
|
35 |
5 |
269 |
| pci_powerdown |
|
16 |
3 |
99 |
| pci_resume |
|
41 |
6 |
326 |
| pciprint |
|
17 |
3 |
109 |
| pcisubmatch |
|
12 |
5 |
92 |
| pci_probe_device |
|
124 |
25 |
885 |
| pci_detach_devices |
|
14 |
3 |
101 |
| pci_get_capability |
|
36 |
11 |
199 |
| pci_get_ht_capability |
|
22 |
9 |
135 |
| pci_find_device |
|
15 |
4 |
91 |
| pci_get_powerstate |
|
10 |
2 |
59 |
| pci_set_powerstate |
|
26 |
6 |
177 |
| pci_enumerate_bus |
|
36 |
13 |
273 |
| pci_reserve_resources |
|
166 |
56 |
1171 |
| pci_vpd_read |
|
25 |
5 |
189 |
| pci_vpd_write |
|
25 |
5 |
185 |
| pci_matchbyid |
|
11 |
4 |
81 |
| pci_disable_legacy_vga |
|
14 |
3 |
80 |
| pciopen |
|
14 |
7 |
86 |
| pciclose |
|
6 |
1 |
34 |
| pciioctl |
|
223 |
63 |
1299 |
| pci_disable_vga |
|
7 |
1 |
43 |
| pci_enable_vga |
|
7 |
1 |
41 |
| pci_route_vga |
|
11 |
2 |
77 |
| pci_unroute_vga |
|
11 |
2 |
77 |
| pci_primary_vga |
|
16 |
7 |
114 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_nxe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nxe_match |
|
7 |
2 |
55 |
| nxe_attach |
|
58 |
7 |
392 |
| nxe_pci_map |
|
31 |
5 |
236 |
| nxe_pci_unmap |
|
7 |
1 |
51 |
| nxe_intr |
|
11 |
2 |
75 |
| nxe_ioctl |
|
42 |
10 |
250 |
| nxe_up |
|
107 |
13 |
825 |
| nxe_up_fw |
|
16 |
4 |
101 |
| nxe_lladdr |
|
10 |
1 |
112 |
| nxe_iff |
|
17 |
4 |
124 |
| nxe_down |
|
24 |
2 |
212 |
| nxe_start |
|
80 |
17 |
565 |
| nxe_complete |
|
34 |
5 |
229 |
| nxe_coalesce_m |
|
20 |
4 |
124 |
| nxe_load_pkt |
|
19 |
5 |
94 |
| nxe_rx_start |
|
47 |
8 |
339 |
| nxe_watchdog |
|
3 |
1 |
9 |
| nxe_media_change |
|
4 |
1 |
14 |
| nxe_media_status |
|
9 |
2 |
57 |
| nxe_link_state |
|
14 |
3 |
85 |
| nxe_board_info |
|
39 |
8 |
211 |
| nxe_user_info |
|
35 |
7 |
232 |
| nxe_init |
|
39 |
5 |
274 |
| nxe_uninit |
|
8 |
2 |
53 |
| nxe_mountroot |
|
24 |
3 |
195 |
| nxe_tick |
|
33 |
5 |
171 |
| nxe_ring_alloc |
|
15 |
2 |
108 |
| nxe_ring_sync |
|
5 |
1 |
42 |
| nxe_ring_free |
|
5 |
1 |
32 |
| nxe_ring_readable |
|
7 |
2 |
45 |
| nxe_ring_writeable |
|
7 |
2 |
45 |
| nxe_ring_cur |
|
4 |
1 |
21 |
| nxe_ring_next |
|
10 |
2 |
65 |
| nxe_pkt_alloc |
|
23 |
3 |
176 |
| nxe_pkt_free |
|
8 |
2 |
65 |
| nxe_pkt_get |
|
10 |
2 |
61 |
| nxe_pkt_put |
|
5 |
1 |
38 |
| nxe_pkt_used |
|
4 |
1 |
20 |
| nxe_dmamem_alloc |
|
29 |
5 |
236 |
| nxe_dmamem_free |
|
7 |
1 |
65 |
| nxe_read |
|
6 |
1 |
45 |
| nxe_write |
|
6 |
1 |
47 |
| nxe_wait |
|
11 |
3 |
62 |
| nxe_doorbell |
|
6 |
1 |
44 |
| nxe_crb_set |
|
13 |
4 |
91 |
| nxe_crb_read |
|
6 |
1 |
45 |
| nxe_crb_write |
|
6 |
1 |
47 |
| nxe_crb_wait |
|
11 |
3 |
62 |
| nxe_rom_lock |
|
8 |
2 |
44 |
| nxe_rom_unlock |
|
4 |
1 |
16 |
| nxe_rom_read |
|
23 |
3 |
153 |
| nxe_rom_read_region |
|
15 |
5 |
100 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auixpreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_xl_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xl_pci_match |
|
5 |
1 |
37 |
| xl_pci_attach |
|
120 |
24 |
720 |
| xl_pci_detach |
|
14 |
4 |
110 |
| xl_pci_intr_ack |
|
5 |
1 |
24 |
| xl_pci_wol_power |
|
8 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_rdc_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pcidevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ppbreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_nep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nep_match |
|
8 |
3 |
54 |
| nep_attach |
|
91 |
14 |
769 |
| nep_pci_enaddr |
|
85 |
18 |
624 |
| nep_read |
|
4 |
1 |
28 |
| nep_write |
|
4 |
1 |
30 |
| nep_mii_readreg |
|
17 |
3 |
122 |
| nep_mii_writereg |
|
18 |
3 |
125 |
| nep_mii_statchg |
|
8 |
2 |
40 |
| nep_xmac_mii_statchg |
|
24 |
5 |
132 |
| nep_bmac_mii_statchg |
|
21 |
5 |
120 |
| nep_media_change |
|
7 |
2 |
43 |
| nep_media_status |
|
9 |
2 |
65 |
| nep_intr |
|
25 |
5 |
185 |
| nep_rx_proc |
|
70 |
9 |
498 |
| nep_extfree |
|
4 |
1 |
21 |
| nep_tx_proc |
|
33 |
5 |
220 |
| nep_init_ipp |
|
29 |
6 |
213 |
| nep_ipp_clear_dfifo |
|
21 |
1 |
238 |
| nep_init_rx_mac |
|
7 |
2 |
28 |
| nep_init_rx_xmac |
|
33 |
6 |
341 |
| nep_init_rx_bmac |
|
41 |
6 |
395 |
| nep_init_rx_channel |
|
49 |
5 |
442 |
| nep_init_tx_mac |
|
7 |
2 |
28 |
| nep_init_tx_xmac |
|
37 |
4 |
267 |
| nep_init_tx_bmac |
|
19 |
4 |
140 |
| nep_init_tx_channel |
|
41 |
4 |
363 |
| nep_enable_rx_mac |
|
32 |
6 |
183 |
| nep_disable_rx_mac |
|
13 |
2 |
89 |
| nep_stop_dma |
|
27 |
7 |
167 |
| nep_up |
|
97 |
12 |
790 |
| nep_down |
|
46 |
5 |
396 |
| nep_iff |
|
31 |
6 |
230 |
| nep_encap |
|
70 |
9 |
578 |
| nep_start |
|
32 |
11 |
197 |
| nep_watchdog |
|
4 |
1 |
16 |
| nep_tick |
|
9 |
1 |
47 |
| nep_ioctl |
|
36 |
10 |
218 |
| nep_fill_rx_ring |
|
38 |
6 |
240 |
| nep_dmamem_alloc |
|
31 |
6 |
248 |
| nep_dmamem_free |
|
8 |
1 |
78 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/uhci_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uhci_pci_match |
|
9 |
4 |
68 |
| uhci_pci_activate |
|
14 |
2 |
104 |
| uhci_pci_attach |
|
70 |
9 |
540 |
| uhci_pci_attach_deferred |
|
21 |
2 |
147 |
| uhci_pci_detach |
|
17 |
4 |
116 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_cmd_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ep_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ep_pci_match |
|
7 |
1 |
42 |
| ep_pci_attach |
|
39 |
5 |
259 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/dwiic_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwiic_pci_match |
|
4 |
1 |
32 |
| dwiic_pci_attach |
|
64 |
7 |
511 |
| dwiic_pci_activate |
|
13 |
2 |
69 |
| dwiic_pci_bus_scan |
|
13 |
3 |
78 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_em.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| em_probe |
|
6 |
1 |
42 |
| em_defer_attach |
|
27 |
3 |
172 |
| em_attach |
|
161 |
42 |
943 |
| em_start |
|
59 |
14 |
343 |
| em_ioctl |
|
58 |
14 |
308 |
| em_watchdog |
|
14 |
2 |
90 |
| em_init |
|
97 |
26 |
465 |
| em_intr |
|
28 |
8 |
174 |
| em_media_status |
|
43 |
11 |
234 |
| em_media_change |
|
41 |
10 |
238 |
| em_flowstatus |
|
18 |
13 |
161 |
| em_encap |
|
89 |
20 |
632 |
| em_82547_move_tail_locked |
|
27 |
5 |
156 |
| em_82547_move_tail |
|
8 |
1 |
34 |
| em_82547_fifo_workaround |
|
15 |
4 |
83 |
| em_82547_update_fifo_head |
|
7 |
2 |
48 |
| em_82547_tx_fifo_reset |
|
24 |
5 |
220 |
| em_iff |
|
46 |
10 |
333 |
| em_local_timer |
|
14 |
4 |
82 |
| em_update_link_status |
|
41 |
12 |
267 |
| em_stop |
|
22 |
4 |
147 |
| em_identify_hardware |
|
23 |
7 |
219 |
| em_legacy_irq_quirk_spt |
|
15 |
3 |
92 |
| em_allocate_pci_resources |
|
103 |
23 |
733 |
| em_free_pci_resources |
|
20 |
5 |
160 |
| em_hardware_init |
|
59 |
17 |
406 |
| em_setup_interface |
|
53 |
15 |
448 |
| em_detach |
|
23 |
4 |
155 |
| em_activate |
|
21 |
5 |
112 |
| em_smartspeed |
|
46 |
17 |
308 |
| em_dma_malloc |
|
29 |
5 |
227 |
| em_dma_free |
|
7 |
1 |
67 |
| em_allocate_transmit_structures |
|
14 |
2 |
91 |
| em_setup_transmit_structures |
|
27 |
5 |
175 |
| em_initialize_transmit_unit |
|
67 |
15 |
506 |
| em_free_transmit_structures |
|
29 |
5 |
195 |
| em_transmit_checksum_setup |
|
45 |
7 |
334 |
| em_txeof |
|
42 |
8 |
282 |
| em_get_buf |
|
30 |
3 |
206 |
| em_allocate_receive_structures |
|
32 |
4 |
195 |
| em_setup_receive_structures |
|
18 |
3 |
134 |
| em_initialize_receive_unit |
|
61 |
17 |
467 |
| em_free_receive_structures |
|
32 |
5 |
220 |
| em_rxfill |
|
24 |
4 |
152 |
| em_rxeof |
|
113 |
20 |
713 |
| em_receive_checksum |
|
20 |
7 |
122 |
| em_enable_hw_vlans |
|
7 |
1 |
40 |
| em_enable_intr |
|
4 |
1 |
23 |
| em_disable_intr |
|
7 |
2 |
48 |
| em_write_pci_cfg |
|
14 |
2 |
106 |
| em_read_pci_cfg |
|
10 |
2 |
81 |
| em_pci_set_mwi |
|
6 |
1 |
49 |
| em_pci_clear_mwi |
|
6 |
1 |
49 |
| em_read_pcie_cap_reg |
|
4 |
1 |
20 |
| em_fill_descriptors |
|
28 |
7 |
207 |
| em_disable_aspm |
|
34 |
10 |
166 |
| em_flush_tx_ring |
|
22 |
2 |
208 |
| em_flush_rx_ring |
|
16 |
1 |
137 |
| em_flush_desc_rings |
|
17 |
4 |
129 |
| em_update_stats_counters |
|
83 |
6 |
1035 |
| em_print_hw_stats |
|
43 |
1 |
343 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_nfereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/piixreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ahci_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahci_lookup_device |
|
12 |
4 |
88 |
| ahci_no_match |
|
4 |
1 |
14 |
| ahci_vt8251_attach |
|
5 |
1 |
25 |
| ahci_ati_sb_idetoahci |
|
18 |
2 |
115 |
| ahci_ati_sb600_attach |
|
6 |
1 |
32 |
| ahci_ati_sb700_attach |
|
6 |
1 |
32 |
| ahci_amd_hudson2_attach |
|
6 |
1 |
32 |
| ahci_intel_attach |
|
5 |
1 |
25 |
| ahci_samsung_attach |
|
5 |
1 |
25 |
| ahci_pci_match |
|
16 |
6 |
107 |
| ahci_pci_attach |
|
37 |
10 |
235 |
| ahci_pci_detach |
|
9 |
1 |
56 |
| ahci_map_regs |
|
12 |
2 |
93 |
| ahci_unmap_regs |
|
6 |
1 |
40 |
| ahci_map_intr |
|
12 |
2 |
81 |
| ahci_unmap_intr |
|
5 |
1 |
30 |
| ahci_pci_activate |
|
6 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ipwreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_acard_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auacerreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_lge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lge_eeprom_getword |
|
19 |
5 |
130 |
| lge_read_eeprom |
|
14 |
3 |
93 |
| lge_miibus_readreg |
|
16 |
6 |
131 |
| lge_miibus_writereg |
|
13 |
4 |
106 |
| lge_miibus_statchg |
|
26 |
6 |
144 |
| lge_setmulti |
|
30 |
6 |
234 |
| lge_reset |
|
12 |
4 |
76 |
| lge_probe |
|
5 |
1 |
37 |
| lge_attach |
|
138 |
13 |
1073 |
| lge_list_tx_init |
|
14 |
2 |
87 |
| lge_list_rx_init |
|
18 |
4 |
118 |
| lge_newbuf |
|
23 |
3 |
177 |
| lge_rxeof |
|
54 |
11 |
346 |
| lge_txeof |
|
24 |
5 |
151 |
| lge_tick |
|
23 |
5 |
155 |
| lge_intr |
|
34 |
9 |
197 |
| lge_encap |
|
27 |
4 |
197 |
| lge_start |
|
33 |
10 |
198 |
| lge_init |
|
62 |
4 |
443 |
| lge_ifmedia_upd |
|
13 |
2 |
73 |
| lge_ifmedia_sts |
|
8 |
1 |
54 |
| lge_ioctl |
|
57 |
19 |
338 |
| lge_watchdog |
|
12 |
2 |
67 |
| lge_stop |
|
27 |
5 |
236 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/fms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fms_match |
|
8 |
3 |
59 |
| fms_attach |
|
96 |
10 |
749 |
| fms_read_codec |
|
23 |
7 |
162 |
| fms_write_codec |
|
15 |
4 |
106 |
| fms_attach_codec |
|
6 |
1 |
29 |
| fms_reset_codec |
|
8 |
1 |
55 |
| fms_intr |
|
37 |
11 |
240 |
| fms_open |
|
4 |
1 |
14 |
| fms_close |
|
3 |
1 |
8 |
| fms_set_params |
|
56 |
21 |
325 |
| fms_round_blocksize |
|
4 |
1 |
20 |
| fms_halt_output |
|
12 |
1 |
75 |
| fms_halt_input |
|
12 |
1 |
75 |
| fms_set_port |
|
5 |
1 |
37 |
| fms_get_port |
|
5 |
1 |
37 |
| fms_malloc |
|
47 |
6 |
345 |
| fms_free |
|
16 |
3 |
145 |
| fms_get_props |
|
5 |
1 |
15 |
| fms_query_devinfo |
|
5 |
1 |
37 |
| fms_trigger_output |
|
28 |
4 |
246 |
| fms_trigger_input |
|
28 |
4 |
246 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/qlw_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qlw_pci_match |
|
11 |
3 |
86 |
| qlw_pci_attach |
|
158 |
29 |
955 |
| qlw_pci_detach |
|
17 |
3 |
115 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe_x550.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgbe_init_ops_X550 |
|
20 |
2 |
133 |
| ixgbe_read_cs4227 |
|
5 |
1 |
34 |
| ixgbe_write_cs4227 |
|
5 |
1 |
33 |
| ixgbe_read_pe |
|
8 |
2 |
54 |
| ixgbe_write_pe |
|
8 |
2 |
53 |
| ixgbe_reset_cs4227 |
|
56 |
15 |
309 |
| ixgbe_check_cs4227 |
|
50 |
11 |
297 |
| ixgbe_setup_mux_ctl |
|
11 |
2 |
63 |
| ixgbe_identify_phy_x550em |
|
29 |
7 |
117 |
| ixgbe_read_phy_reg_x550em |
|
5 |
1 |
22 |
| ixgbe_write_phy_reg_x550em |
|
5 |
1 |
21 |
| ixgbe_init_ops_X550EM |
|
38 |
3 |
276 |
| ixgbe_init_eeprom_params_X550 |
|
19 |
2 |
106 |
| ixgbe_iosf_wait |
|
17 |
5 |
89 |
| ixgbe_write_iosf_sb_reg_x550 |
|
27 |
4 |
173 |
| ixgbe_read_iosf_sb_reg_x550 |
|
28 |
5 |
181 |
| ixgbe_get_media_type_X550em |
|
22 |
6 |
70 |
| ixgbe_supported_sfp_modules_X550em |
|
28 |
15 |
95 |
| ixgbe_identify_sfp_module_X550em |
|
11 |
2 |
49 |
| ixgbe_setup_sfp_modules_X550em |
|
12 |
2 |
57 |
| ixgbe_init_mac_link_ops_X550em |
|
22 |
3 |
117 |
| ixgbe_get_link_capabilities_X550em |
|
26 |
7 |
122 |
| ixgbe_get_lasi_ext_t_x550em |
|
50 |
14 |
282 |
| ixgbe_enable_lasi_ext_t_x550em |
|
49 |
8 |
270 |
| ixgbe_setup_kr_speed_x550em |
|
23 |
4 |
105 |
| ixgbe_init_phy_ops_X550em |
|
52 |
9 |
291 |
| ixgbe_reset_hw_X550em |
|
66 |
17 |
413 |
| ixgbe_init_ext_t_x550em |
|
27 |
5 |
116 |
| ixgbe_setup_kr_x550em |
|
4 |
1 |
21 |
| ixgbe_setup_mac_link_sfp_x550em |
|
51 |
7 |
345 |
| ixgbe_setup_ixfi_x550em |
|
88 |
14 |
453 |
| ixgbe_ext_phy_t_x550em_get_link |
|
18 |
3 |
96 |
| ixgbe_setup_internal_phy_t_x550em |
|
36 |
9 |
164 |
| ixgbe_setup_phy_loopback_x550em |
|
51 |
8 |
273 |
| ixgbe_read_ee_hostif_data_X550 |
|
21 |
2 |
139 |
| ixgbe_read_ee_hostif_X550 |
|
14 |
2 |
79 |
| ixgbe_read_ee_hostif_buffer_X550 |
|
53 |
7 |
312 |
| ixgbe_write_ee_hostif_data_X550 |
|
18 |
1 |
122 |
| ixgbe_write_ee_hostif_X550 |
|
15 |
2 |
83 |
| ixgbe_checksum_ptr_x550 |
|
50 |
15 |
278 |
| ixgbe_calc_checksum_X550 |
|
54 |
16 |
270 |
| ixgbe_calc_eeprom_checksum_X550 |
|
4 |
1 |
19 |
| ixgbe_validate_eeprom_checksum_X550 |
|
27 |
6 |
142 |
| ixgbe_update_eeprom_checksum_X550 |
|
21 |
4 |
103 |
| ixgbe_update_flash_X550 |
|
14 |
1 |
81 |
| ixgbe_get_supported_physical_layer_X550em |
|
31 |
7 |
139 |
| ixgbe_get_bus_info_X550em |
|
8 |
1 |
44 |
| ixgbe_disable_rx_x550 |
|
24 |
4 |
138 |
| ixgbe_get_lcd_t_x550em |
|
21 |
6 |
111 |
| ixgbe_setup_fc_X550em |
|
51 |
12 |
237 |
| ixgbe_set_mux |
|
13 |
3 |
62 |
| ixgbe_acquire_swfw_sync_X550em |
|
11 |
3 |
52 |
| ixgbe_release_swfw_sync_X550em |
|
7 |
2 |
37 |
| ixgbe_handle_lasi_ext_t_x550em |
|
11 |
4 |
61 |
| ixgbe_setup_mac_link_t_X550em |
|
18 |
4 |
91 |
| ixgbe_check_link_t_X550em |
|
25 |
7 |
147 |
| ixgbe_reset_phy_t_X550em |
|
8 |
2 |
34 |
| ixgbe_led_on_t_X550em |
|
13 |
2 |
75 |
| ixgbe_led_off_t_X550em |
|
13 |
2 |
75 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auglx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| auglx_match |
|
5 |
1 |
45 |
| auglx_attach |
|
43 |
6 |
315 |
| auglx_read_codec |
|
36 |
8 |
235 |
| auglx_write_codec |
|
22 |
4 |
147 |
| auglx_attach_codec |
|
6 |
1 |
29 |
| auglx_reset_codec |
|
17 |
4 |
103 |
| auglx_flags_codec |
|
4 |
1 |
11 |
| auglx_open |
|
4 |
1 |
14 |
| auglx_close |
|
3 |
1 |
8 |
| auglx_set_params |
|
42 |
7 |
242 |
| auglx_round_blocksize |
|
4 |
1 |
20 |
| auglx_halt_output |
|
8 |
1 |
56 |
| auglx_halt_input |
|
9 |
1 |
56 |
| auglx_set_port |
|
5 |
1 |
35 |
| auglx_get_port |
|
5 |
1 |
35 |
| auglx_query_devinfo |
|
5 |
1 |
35 |
| auglx_allocm |
|
25 |
4 |
158 |
| auglx_freem |
|
14 |
3 |
94 |
| auglx_round_buffersize |
|
6 |
2 |
27 |
| auglx_get_props |
|
4 |
1 |
15 |
| auglx_intr |
|
36 |
6 |
223 |
| auglx_trigger_output |
|
49 |
9 |
458 |
| auglx_trigger_input |
|
49 |
9 |
460 |
| auglx_allocmem |
|
46 |
5 |
299 |
| auglx_freemem |
|
7 |
1 |
66 |
| auglx_alloc_prd |
|
39 |
5 |
284 |
| auglx_free_prd |
|
7 |
1 |
70 |
| auglx_activate |
|
7 |
2 |
52 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/sv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sv_write |
|
4 |
1 |
30 |
| sv_read |
|
4 |
1 |
28 |
| sv_read_indirect |
|
9 |
2 |
56 |
| sv_write_indirect |
|
15 |
5 |
83 |
| sv_match |
|
8 |
3 |
54 |
| sv_attach |
|
86 |
9 |
611 |
| sv_dumpregs |
|
21 |
5 |
148 |
| sv_intr |
|
21 |
6 |
116 |
| sv_allocmem |
|
30 |
5 |
234 |
| sv_freemem |
|
8 |
1 |
71 |
| sv_open |
|
56 |
10 |
317 |
| sv_close |
|
8 |
1 |
37 |
| sv_set_params |
|
73 |
19 |
491 |
| sv_round_blocksize |
|
4 |
1 |
23 |
| sv_dma_init_input |
|
22 |
4 |
150 |
| sv_dma_init_output |
|
21 |
4 |
145 |
| sv_dma_output |
|
20 |
2 |
148 |
| sv_dma_input |
|
19 |
2 |
153 |
| sv_halt_out_dma |
|
13 |
1 |
70 |
| sv_halt_in_dma |
|
13 |
1 |
70 |
| sv_query_devinfo |
|
92 |
12 |
859 |
| sv_mixer_set_port |
|
125 |
28 |
881 |
| sv_mixer_get_port |
|
71 |
25 |
581 |
| sv_init_mixer |
|
18 |
3 |
115 |
| sv_malloc |
|
17 |
3 |
115 |
| sv_free |
|
13 |
3 |
93 |
| sv_get_props |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp_intel.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_intel_probe |
|
27 |
18 |
116 |
| agp_intel_attach |
|
118 |
26 |
705 |
| agp_intel_activate |
|
13 |
3 |
55 |
| agp_intel_save |
|
25 |
6 |
132 |
| agp_intel_restore |
|
53 |
10 |
278 |
| agp_intel_get_aperture |
|
8 |
1 |
68 |
| agp_intel_set_aperture |
|
11 |
2 |
95 |
| agp_intel_bind_page |
|
6 |
1 |
46 |
| agp_intel_unbind_page |
|
5 |
1 |
38 |
| agp_intel_flush_tlb |
|
26 |
6 |
128 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/gdt_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gdt_pci_probe |
|
15 |
9 |
121 |
| gdt_pci_attach |
|
330 |
85 |
2192 |
| gdt_pci_enable_intr |
|
26 |
4 |
162 |
| gdt_pci_copy_cmd |
|
3 |
1 |
14 |
| gdt_pci_get_status |
|
4 |
1 |
14 |
| gdt_pci_intr |
|
3 |
1 |
14 |
| gdt_pci_release_event |
|
3 |
1 |
14 |
| gdt_pci_set_sema0 |
|
4 |
1 |
24 |
| gdt_pci_test_busy |
|
4 |
1 |
14 |
| gdt_pcinew_copy_cmd |
|
3 |
1 |
14 |
| gdt_pcinew_get_status |
|
4 |
1 |
14 |
| gdt_pcinew_intr |
|
3 |
1 |
14 |
| gdt_pcinew_release_event |
|
3 |
1 |
14 |
| gdt_pcinew_set_sema0 |
|
4 |
1 |
24 |
| gdt_pcinew_test_busy |
|
4 |
1 |
14 |
| gdt_mpr_copy_cmd |
|
16 |
1 |
134 |
| gdt_mpr_get_status |
|
5 |
1 |
34 |
| gdt_mpr_intr |
|
23 |
4 |
187 |
| gdt_mpr_release_event |
|
7 |
2 |
59 |
| gdt_mpr_set_sema0 |
|
5 |
1 |
35 |
| gdt_mpr_test_busy |
|
6 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pcscp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcscp_match |
|
11 |
3 |
58 |
| pcscp_attach |
|
96 |
11 |
686 |
| pcscp_read_reg |
|
5 |
1 |
32 |
| pcscp_write_reg |
|
5 |
1 |
36 |
| pcscp_dma_isintr |
|
5 |
1 |
35 |
| pcscp_dma_reset |
|
6 |
1 |
36 |
| pcscp_dma_intr |
|
87 |
22 |
604 |
| pcscp_dma_setup |
|
40 |
9 |
303 |
| pcscp_dma_go |
|
18 |
5 |
154 |
| pcscp_dma_stop |
|
8 |
2 |
57 |
| pcscp_dma_isactive |
|
7 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_xge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pif_wcsr |
|
11 |
3 |
112 |
| pif_rcsr |
|
11 |
3 |
90 |
| txp_wcsr |
|
11 |
3 |
112 |
| pif_wkey |
|
17 |
7 |
157 |
| xge_match |
|
5 |
1 |
37 |
| xge_attach |
|
209 |
41 |
1520 |
| xge_ifmedia_status |
|
10 |
2 |
67 |
| xge_xgmii_mediachange |
|
4 |
1 |
14 |
| xge_enable |
|
11 |
2 |
55 |
| xge_init |
|
45 |
5 |
286 |
| xge_stop |
|
12 |
2 |
70 |
| xge_intr |
|
93 |
26 |
668 |
| xge_ioctl |
|
43 |
13 |
246 |
| xge_setmulti |
|
46 |
9 |
278 |
| xge_setpromisc |
|
11 |
2 |
55 |
| xge_start |
|
73 |
19 |
505 |
| xge_alloc_txmem |
|
41 |
9 |
274 |
| xge_alloc_rxmem |
|
44 |
10 |
335 |
| xge_add_rxbuf |
|
60 |
23 |
692 |
| xge_setup_xgxs_xena |
|
9 |
2 |
50 |
| xge_setup_xgxs_herc |
|
9 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp_via.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_via_probe |
|
13 |
7 |
97 |
| agp_via_attach |
|
59 |
8 |
439 |
| agp_via_activate |
|
13 |
3 |
55 |
| agp_via_save |
|
9 |
1 |
75 |
| agp_via_restore |
|
10 |
1 |
80 |
| agp_via_get_aperture |
|
8 |
1 |
69 |
| agp_via_set_aperture |
|
14 |
2 |
127 |
| agp_via_bind_page |
|
6 |
1 |
44 |
| agp_via_unbind_page |
|
5 |
1 |
38 |
| agp_via_flush_tlb |
|
18 |
2 |
138 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/siop_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siop_pci_match |
|
9 |
2 |
56 |
| siop_pci_attach |
|
9 |
2 |
70 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/siop_pci_common.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siop_lookup_product |
|
13 |
7 |
91 |
| siop_pci_attach_common |
|
108 |
18 |
662 |
| siop_pci_reset |
|
36 |
7 |
285 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ppb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ppbmatch |
|
11 |
5 |
79 |
| ppbattach |
|
148 |
32 |
1280 |
| ppbdetach |
|
30 |
6 |
190 |
| ppbactivate |
|
96 |
13 |
734 |
| ppb_alloc_busrange |
|
16 |
3 |
120 |
| ppb_alloc_resources |
|
129 |
29 |
951 |
| ppb_intr |
|
19 |
4 |
110 |
| ppb_hotplug_insert |
|
8 |
2 |
52 |
| ppb_hotplug_insert_finish |
|
5 |
1 |
25 |
| ppb_hotplug_fixup |
|
15 |
3 |
83 |
| ppb_hotplug_fixup_type0 |
|
16 |
3 |
109 |
| ppb_hotplug_fixup_type1 |
|
33 |
5 |
265 |
| ppb_hotplug_rescan |
|
9 |
2 |
53 |
| ppb_hotplug_remove |
|
29 |
5 |
216 |
| ppbprint |
|
8 |
2 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ne_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ne_pci_lookup |
|
12 |
4 |
71 |
| ne_pci_match |
|
7 |
2 |
43 |
| ne_pci_attach |
|
60 |
7 |
371 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_skvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_pdc202xx_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/xhci_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xhci_pci_match |
|
9 |
4 |
68 |
| xhci_pci_port_route |
|
19 |
1 |
184 |
| xhci_pci_attach |
|
64 |
12 |
513 |
| xhci_pci_detach |
|
17 |
4 |
116 |
| xhci_pci_activate |
|
13 |
3 |
65 |
| xhci_pci_takecontroller |
|
31 |
9 |
214 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/piixpm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| piixpm_match |
|
5 |
1 |
40 |
| piixpm_attach |
|
88 |
19 |
614 |
| piixpm_i2c_acquire_bus |
|
7 |
4 |
52 |
| piixpm_i2c_release_bus |
|
7 |
4 |
42 |
| piixpm_i2c_exec |
|
90 |
25 |
640 |
| piixpm_intr |
|
36 |
9 |
240 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ath_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ath_pci_match |
|
13 |
3 |
75 |
| ath_pci_attach |
|
48 |
8 |
330 |
| ath_pci_detach |
|
15 |
3 |
107 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwnreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_etreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ixl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixl_aq_dva |
|
6 |
2 |
53 |
| ixl_match |
|
4 |
1 |
32 |
| ixl_attach |
|
203 |
26 |
1501 |
| ixl_media_add |
|
11 |
3 |
84 |
| ixl_media_change |
|
4 |
1 |
14 |
| ixl_media_status |
|
7 |
1 |
43 |
| ixl_watchdog |
|
3 |
1 |
9 |
| ixl_ioctl |
|
45 |
15 |
255 |
| ixl_hmc_kva |
|
10 |
2 |
74 |
| ixl_hmc_len |
|
5 |
1 |
33 |
| ixl_up |
|
28 |
3 |
184 |
| ixl_iff |
|
27 |
5 |
195 |
| ixl_down |
|
14 |
1 |
104 |
| ixl_txr_alloc |
|
45 |
8 |
323 |
| ixl_txr_config |
|
20 |
1 |
170 |
| ixl_txr_unconfig |
|
6 |
1 |
43 |
| ixl_txr_clean |
|
18 |
3 |
115 |
| ixl_txr_enable |
|
16 |
3 |
105 |
| ixl_txr_disable |
|
16 |
3 |
104 |
| ixl_txr_free |
|
13 |
2 |
108 |
| ixl_load_mbuf |
|
10 |
3 |
69 |
| ixl_start |
|
71 |
12 |
459 |
| ixl_txeof |
|
43 |
5 |
299 |
| ixl_rxr_alloc |
|
49 |
8 |
365 |
| ixl_rxr_clean |
|
24 |
4 |
166 |
| ixl_rxr_enable |
|
16 |
3 |
105 |
| ixl_rxr_config |
|
27 |
1 |
213 |
| ixl_rxr_unconfig |
|
6 |
1 |
45 |
| ixl_rxr_disable |
|
16 |
3 |
104 |
| ixl_rxr_free |
|
13 |
2 |
108 |
| ixl_rxeof |
|
67 |
7 |
438 |
| ixl_rxfill |
|
47 |
7 |
317 |
| ixl_rxrefill |
|
6 |
1 |
31 |
| ixl_intr |
|
17 |
3 |
96 |
| ixl_arq_link_status |
|
12 |
2 |
68 |
| ixl_aq_dump |
|
12 |
1 |
138 |
| ixl_arq |
|
42 |
6 |
292 |
| ixl_atq_set |
|
6 |
1 |
39 |
| ixl_atq_post |
|
18 |
1 |
144 |
| ixl_atq_done |
|
33 |
4 |
237 |
| ixl_wakeup |
|
8 |
1 |
47 |
| ixl_atq_exec |
|
15 |
2 |
122 |
| ixl_atq_poll |
|
31 |
3 |
258 |
| ixl_get_version |
|
18 |
3 |
158 |
| ixl_pxe_clear |
|
20 |
4 |
114 |
| ixl_lldp_shut |
|
18 |
4 |
103 |
| ixl_get_mac |
|
41 |
5 |
289 |
| ixl_get_switch_config |
|
68 |
9 |
501 |
| ixl_phy_mask_ints |
|
18 |
3 |
121 |
| ixl_get_phy_abilities |
|
50 |
6 |
337 |
| ixl_get_link_status |
|
16 |
3 |
116 |
| ixl_get_vsi |
|
33 |
4 |
263 |
| ixl_set_vsi |
|
41 |
4 |
340 |
| ixl_search_phy_type |
|
15 |
4 |
85 |
| ixl_search_link_speed |
|
11 |
3 |
66 |
| ixl_set_link_status |
|
28 |
5 |
175 |
| ixl_restart_an |
|
17 |
3 |
115 |
| ixl_hmc |
|
83 |
8 |
596 |
| ixl_hmc_pack |
|
29 |
5 |
194 |
| ixl_aqb_alloc |
|
26 |
5 |
172 |
| ixl_aqb_free |
|
7 |
1 |
58 |
| ixl_arq_fill |
|
38 |
5 |
274 |
| ixl_arq_unfill |
|
10 |
2 |
66 |
| ixl_clear_hw |
|
67 |
10 |
476 |
| ixl_pf_reset |
|
52 |
11 |
281 |
| ixl_dmamem_alloc |
|
28 |
5 |
223 |
| ixl_dmamem_free |
|
7 |
1 |
65 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_stereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ngereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_jmevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwmvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ciss_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ciss_pci_match |
|
5 |
1 |
37 |
| ciss_pci_attach |
|
77 |
17 |
622 |
| ciss_activate |
|
11 |
2 |
47 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_bcereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_rl_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rl_pci_match |
|
10 |
4 |
78 |
| rl_pci_attach |
|
43 |
8 |
311 |
| rl_pci_detach |
|
13 |
3 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cy82c693reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_sk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sk_win_read_4 |
|
4 |
1 |
20 |
| sk_win_read_2 |
|
4 |
1 |
20 |
| sk_win_read_1 |
|
4 |
1 |
20 |
| sk_win_write_4 |
|
4 |
1 |
24 |
| sk_win_write_2 |
|
4 |
1 |
24 |
| sk_win_write_1 |
|
4 |
1 |
24 |
| sk_xmac_miibus_readreg |
|
25 |
7 |
161 |
| sk_xmac_miibus_writereg |
|
24 |
7 |
172 |
| sk_xmac_miibus_statchg |
|
12 |
3 |
81 |
| sk_marv_miibus_readreg |
|
32 |
7 |
195 |
| sk_marv_miibus_writereg |
|
17 |
4 |
129 |
| sk_marv_miibus_statchg |
|
5 |
1 |
32 |
| sk_setfilt |
|
7 |
1 |
96 |
| sk_iff |
|
8 |
2 |
36 |
| sk_iff_xmac |
|
41 |
7 |
313 |
| sk_iff_yukon |
|
40 |
6 |
303 |
| sk_init_rx_ring |
|
22 |
3 |
178 |
| sk_fill_rx_ring |
|
10 |
3 |
62 |
| sk_init_tx_ring |
|
38 |
5 |
288 |
| sk_newbuf |
|
36 |
3 |
260 |
| sk_ifmedia_upd |
|
6 |
1 |
31 |
| sk_ifmedia_sts |
|
7 |
1 |
51 |
| sk_ioctl |
|
44 |
12 |
252 |
| skc_probe |
|
13 |
4 |
96 |
| skc_reset |
|
38 |
5 |
255 |
| sk_probe |
|
14 |
7 |
73 |
| sk_attach |
|
171 |
26 |
1263 |
| sk_reset |
|
16 |
5 |
58 |
| sk_detach |
|
21 |
3 |
181 |
| sk_activate |
|
17 |
3 |
87 |
| skcprint |
|
10 |
4 |
66 |
| skc_attach |
|
148 |
29 |
890 |
| skc_detach |
|
13 |
4 |
92 |
| skc_activate |
|
15 |
2 |
71 |
| sk_encap |
|
68 |
11 |
485 |
| sk_start |
|
31 |
8 |
183 |
| sk_watchdog |
|
10 |
2 |
56 |
| sk_rxvalid |
|
16 |
7 |
97 |
| sk_rxeof |
|
51 |
8 |
355 |
| sk_txeof |
|
39 |
8 |
311 |
| sk_tick |
|
26 |
6 |
156 |
| sk_yukon_tick |
|
10 |
1 |
54 |
| sk_intr_bcom |
|
37 |
6 |
238 |
| sk_intr_xmac |
|
18 |
6 |
113 |
| sk_intr_yukon |
|
14 |
3 |
80 |
| sk_intr |
|
68 |
31 |
424 |
| sk_init_xmac |
|
87 |
8 |
689 |
| sk_init_yukon |
|
95 |
10 |
749 |
| sk_init |
|
102 |
13 |
748 |
| sk_stop |
|
104 |
20 |
763 |
| sk_dump_txdesc |
|
10 |
1 |
82 |
| sk_dump_bytes |
|
24 |
11 |
183 |
| sk_dump_mbuf |
|
12 |
3 |
83 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/dpt_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dpt_pci_match |
|
12 |
3 |
70 |
| dpt_pci_attach |
|
42 |
8 |
252 |
| dpt_activate |
|
14 |
2 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/fmsradio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fmsradio_attach |
|
32 |
5 |
242 |
| sf256pcs_probe |
|
17 |
2 |
126 |
| sf256pcs_hw_read |
|
17 |
3 |
128 |
| sf256pcs_write_bit |
|
11 |
2 |
89 |
| sf256pcs_init |
|
8 |
1 |
57 |
| sf256pcs_rset |
|
8 |
1 |
57 |
| sf256pcpr_probe |
|
17 |
2 |
126 |
| sf256pcpr_hw_read |
|
18 |
3 |
123 |
| sf256pcpr_write_bit |
|
10 |
2 |
85 |
| sf256pcpr_init |
|
8 |
1 |
55 |
| sf256pcpr_rset |
|
8 |
1 |
55 |
| sf64pcr_probe |
|
17 |
2 |
126 |
| sf64pcr_hw_read |
|
27 |
6 |
262 |
| sf64pcr_write_bit |
|
13 |
2 |
100 |
| sf64pcr_init |
|
8 |
1 |
49 |
| sf64pcr_rset |
|
5 |
1 |
18 |
| fmsradio_set_mute |
|
27 |
6 |
172 |
| fmsradio_get_info |
|
40 |
9 |
292 |
| fmsradio_set_info |
|
13 |
4 |
119 |
| fmsradio_search |
|
9 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/trm_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| trm_pci_probe |
|
11 |
3 |
57 |
| trm_pci_attach |
|
44 |
8 |
307 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pchtemp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pchtemp_match |
|
4 |
1 |
32 |
| pchtemp_attach |
|
32 |
4 |
230 |
| pchtemp_refresh |
|
7 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| MEM_READ_1 |
|
5 |
1 |
29 |
| MEM_READ_4 |
|
5 |
1 |
29 |
| iwi_match |
|
5 |
1 |
35 |
| iwi_attach |
|
133 |
16 |
985 |
| iwi_activate |
|
15 |
4 |
75 |
| iwi_wakeup |
|
8 |
1 |
51 |
| iwi_init_task |
|
12 |
2 |
78 |
| iwi_alloc_cmd_ring |
|
42 |
5 |
273 |
| iwi_reset_cmd_ring |
|
5 |
1 |
30 |
| iwi_free_cmd_ring |
|
12 |
3 |
92 |
| iwi_alloc_tx_ring |
|
55 |
7 |
372 |
| iwi_reset_tx_ring |
|
15 |
3 |
97 |
| iwi_free_tx_ring |
|
22 |
5 |
164 |
| iwi_alloc_rx_ring |
|
43 |
6 |
273 |
| iwi_reset_rx_ring |
|
4 |
1 |
20 |
| iwi_free_rx_ring |
|
13 |
3 |
88 |
| iwi_media_change |
|
10 |
3 |
56 |
| iwi_media_status |
|
26 |
5 |
135 |
| iwi_find_txnode |
|
17 |
4 |
124 |
| iwi_newstate |
|
35 |
9 |
184 |
| iwi_read_prom_word |
|
35 |
3 |
268 |
| iwi_rate |
|
18 |
13 |
90 |
| iwi_frame_intr |
|
79 |
10 |
615 |
| iwi_notification_intr |
|
87 |
18 |
462 |
| iwi_rx_intr |
|
29 |
5 |
205 |
| iwi_tx_intr |
|
21 |
2 |
159 |
| iwi_intr |
|
41 |
13 |
299 |
| iwi_cmd |
|
21 |
3 |
206 |
| iwi_send_mgmt |
|
5 |
1 |
26 |
| iwi_tx_start |
|
103 |
17 |
813 |
| iwi_start |
|
33 |
12 |
207 |
| iwi_watchdog |
|
15 |
3 |
81 |
| iwi_ioctl |
|
38 |
11 |
223 |
| iwi_stop_master |
|
18 |
4 |
105 |
| iwi_reset |
|
28 |
5 |
185 |
| iwi_load_ucode |
|
50 |
9 |
349 |
| iwi_load_firmware |
|
93 |
11 |
680 |
| iwi_config |
|
115 |
22 |
873 |
| iwi_update_edca |
|
34 |
4 |
352 |
| iwi_set_chan |
|
13 |
2 |
124 |
| iwi_scan |
|
35 |
7 |
253 |
| iwi_auth_and_assoc |
|
116 |
29 |
866 |
| iwi_init |
|
106 |
20 |
779 |
| iwi_stop |
|
18 |
2 |
136 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/glxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ixlreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/qle.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qle_match |
|
4 |
1 |
32 |
| qle_attach |
|
281 |
37 |
2047 |
| qle_detach |
|
12 |
2 |
82 |
| qle_classify_port |
|
39 |
12 |
225 |
| qle_get_loop_id |
|
13 |
4 |
69 |
| qle_get_port_db |
|
16 |
2 |
130 |
| qle_get_port_name_list |
|
61 |
10 |
394 |
| qle_add_loop_port |
|
48 |
12 |
319 |
| qle_add_fabric_port |
|
26 |
5 |
236 |
| qle_add_logged_in_port |
|
53 |
7 |
346 |
| qle_handle_resp |
|
155 |
29 |
876 |
| qle_handle_intr |
|
42 |
9 |
240 |
| qle_intr |
|
10 |
2 |
55 |
| qle_scsi_probe |
|
13 |
3 |
85 |
| qle_scsi_cmd |
|
113 |
20 |
771 |
| qle_read |
|
8 |
1 |
54 |
| qle_write |
|
6 |
1 |
49 |
| qle_read_mbox |
|
9 |
1 |
61 |
| qle_write_mbox |
|
7 |
1 |
58 |
| qle_host_cmd |
|
4 |
1 |
24 |
| qle_mbox |
|
49 |
13 |
322 |
| qle_mbox_putaddr |
|
7 |
1 |
81 |
| qle_set_ints |
|
5 |
2 |
30 |
| qle_read_isr |
|
32 |
10 |
141 |
| qle_clear_isr |
|
4 |
1 |
19 |
| qle_update_done |
|
4 |
1 |
22 |
| qle_update_start |
|
5 |
1 |
34 |
| qle_clear_port_lists |
|
18 |
4 |
141 |
| qle_softreset |
|
55 |
12 |
361 |
| qle_update_topology |
|
41 |
10 |
213 |
| qle_update_fabric |
|
29 |
4 |
197 |
| qle_ct_pass_through |
|
49 |
6 |
378 |
| qle_next_fabric_port |
|
55 |
9 |
414 |
| qle_fabric_plogx |
|
49 |
6 |
373 |
| qle_fabric_plogi |
|
43 |
7 |
249 |
| qle_fabric_plogo |
|
14 |
2 |
86 |
| qle_do_update |
|
253 |
47 |
1497 |
| qle_async |
|
61 |
14 |
324 |
| qle_dump_stuff |
|
15 |
6 |
98 |
| qle_dump_iocb |
|
15 |
5 |
98 |
| qle_dump_iocb_segs |
|
15 |
5 |
110 |
| qle_put_marker |
|
10 |
1 |
56 |
| qle_sge |
|
6 |
1 |
48 |
| qle_put_cmd |
|
74 |
9 |
677 |
| qle_load_fwchunk |
|
34 |
4 |
253 |
| qle_load_firmware_chunks |
|
17 |
4 |
89 |
| qle_read_ram_word |
|
10 |
2 |
82 |
| qle_verify_firmware |
|
14 |
4 |
98 |
| qle_read_nvram |
|
37 |
10 |
255 |
| qle_dmamem_alloc |
|
31 |
6 |
246 |
| qle_dmamem_free |
|
8 |
1 |
76 |
| qle_alloc_ccbs |
|
82 |
10 |
575 |
| qle_free_ccbs |
|
11 |
2 |
84 |
| qle_get_ccb |
|
12 |
2 |
69 |
| qle_put_ccb |
|
9 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cy82c693var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/mbg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mbg_probe |
|
5 |
1 |
35 |
| mbg_attach |
|
101 |
22 |
747 |
| mbg_task |
|
29 |
3 |
208 |
| mbg_task_hr |
|
21 |
3 |
151 |
| mbg_update_sensor |
|
22 |
5 |
176 |
| mbg_read_amcc_s5920 |
|
41 |
11 |
273 |
| mbg_read_amcc_s5933 |
|
33 |
9 |
237 |
| mbg_read_asic |
|
44 |
10 |
295 |
| mbg_timeout |
|
9 |
2 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_alereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgbe_82599.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ixgbe_init_mac_link_ops_82599 |
|
35 |
9 |
208 |
| ixgbe_init_phy_ops_82599 |
|
44 |
6 |
243 |
| ixgbe_setup_sfp_modules_82599 |
|
46 |
8 |
275 |
| prot_autoc_read_82599 |
|
15 |
3 |
76 |
| prot_autoc_write_82599 |
|
19 |
6 |
108 |
| ixgbe_init_ops_82599 |
|
47 |
1 |
327 |
| ixgbe_get_link_capabilities_82599 |
|
79 |
24 |
361 |
| ixgbe_get_media_type_82599 |
|
49 |
19 |
158 |
| ixgbe_stop_mac_link_on_d3_82599 |
|
13 |
3 |
70 |
| ixgbe_start_mac_link_82599 |
|
44 |
11 |
209 |
| ixgbe_disable_tx_laser_multispeed_fiber |
|
10 |
2 |
51 |
| ixgbe_enable_tx_laser_multispeed_fiber |
|
8 |
1 |
42 |
| ixgbe_flap_tx_laser_multispeed_fiber |
|
11 |
3 |
51 |
| ixgbe_set_hard_rate_select_speed |
|
19 |
3 |
77 |
| ixgbe_setup_mac_link_smartspeed |
|
58 |
17 |
338 |
| ixgbe_setup_mac_link_82599 |
|
91 |
32 |
459 |
| ixgbe_setup_copper_link_82599 |
|
11 |
1 |
50 |
| ixgbe_reset_hw_82599 |
|
87 |
20 |
563 |
| ixgbe_read_analog_reg8_82599 |
|
13 |
1 |
70 |
| ixgbe_write_analog_reg8_82599 |
|
11 |
1 |
56 |
| ixgbe_start_hw_82599 |
|
16 |
4 |
77 |
| ixgbe_identify_phy_82599 |
|
19 |
5 |
97 |
| ixgbe_get_supported_physical_layer_82599 |
|
71 |
21 |
316 |
| ixgbe_enable_rx_dma_82599 |
|
11 |
2 |
59 |
| ixgbe_verify_fw_version_82599 |
|
40 |
10 |
203 |
| ixgbe_verify_lesm_fw_enabled_82599 |
|
25 |
9 |
160 |
| ixgbe_read_eeprom_82599 |
|
13 |
3 |
78 |
| ixgbe_reset_pipeline_82599 |
|
32 |
5 |
171 |
| ixgbe_read_i2c_byte_82599 |
|
36 |
6 |
182 |
| ixgbe_write_i2c_byte_82599 |
|
36 |
6 |
181 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/safereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vte.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vte_miibus_readreg |
|
18 |
4 |
128 |
| vte_miibus_writereg |
|
16 |
4 |
123 |
| vte_miibus_statchg |
|
41 |
8 |
248 |
| vte_mediastatus |
|
8 |
1 |
54 |
| vte_mediachange |
|
13 |
2 |
74 |
| vte_match |
|
5 |
1 |
43 |
| vte_get_macaddr |
|
13 |
1 |
135 |
| vte_attach |
|
72 |
7 |
547 |
| vte_detach |
|
19 |
2 |
126 |
| vte_dma_alloc |
|
94 |
14 |
684 |
| vte_dma_free |
|
40 |
12 |
315 |
| vte_encap |
|
46 |
8 |
374 |
| vte_start |
|
33 |
11 |
210 |
| vte_watchdog |
|
9 |
2 |
55 |
| vte_ioctl |
|
40 |
11 |
220 |
| vte_mac_config |
|
16 |
5 |
109 |
| vte_stats_clear |
|
11 |
1 |
65 |
| vte_stats_update |
|
31 |
1 |
274 |
| vte_intr |
|
32 |
9 |
194 |
| vte_txeof |
|
32 |
7 |
228 |
| vte_newbuf |
|
45 |
9 |
326 |
| vte_rxeof |
|
46 |
7 |
346 |
| vte_tick |
|
11 |
1 |
59 |
| vte_reset |
|
18 |
4 |
114 |
| vte_init |
|
53 |
3 |
408 |
| vte_stop |
|
41 |
8 |
296 |
| vte_start_mac |
|
21 |
5 |
127 |
| vte_stop_mac |
|
19 |
5 |
121 |
| vte_init_tx_ring |
|
42 |
6 |
338 |
| vte_init_rx_ring |
|
28 |
4 |
201 |
| vte_iff |
|
65 |
12 |
530 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwnvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_xgereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/mfi_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mfi_pci_find_device |
|
12 |
4 |
78 |
| mfi_pci_match |
|
4 |
2 |
33 |
| mfi_pci_attach |
|
47 |
8 |
309 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/esa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| esa_open |
|
4 |
1 |
16 |
| esa_close |
|
4 |
1 |
10 |
| esa_set_params |
|
48 |
15 |
255 |
| esa_commit_settings |
|
55 |
7 |
360 |
| esa_round_blocksize |
|
6 |
1 |
41 |
| esa_halt_output |
|
32 |
3 |
226 |
| esa_halt_input |
|
31 |
3 |
223 |
| esa_malloc |
|
20 |
3 |
140 |
| esa_free |
|
14 |
3 |
107 |
| esa_set_port |
|
6 |
1 |
51 |
| esa_get_port |
|
6 |
1 |
51 |
| esa_query_devinfo |
|
6 |
1 |
51 |
| esa_round_buffersize |
|
6 |
1 |
44 |
| esa_get_props |
|
4 |
1 |
17 |
| esa_trigger_output |
|
107 |
8 |
828 |
| esa_trigger_input |
|
105 |
8 |
810 |
| esa_intr |
|
85 |
15 |
521 |
| esa_allocmem |
|
31 |
5 |
244 |
| esa_freemem |
|
8 |
1 |
71 |
| esa_match |
|
5 |
1 |
37 |
| esa_attach |
|
96 |
13 |
771 |
| esa_detach |
|
15 |
5 |
121 |
| esa_read_assp |
|
11 |
1 |
72 |
| esa_write_assp |
|
11 |
1 |
69 |
| esa_init_codec |
|
8 |
2 |
50 |
| esa_attach_codec |
|
6 |
1 |
31 |
| esa_read_codec |
|
14 |
3 |
111 |
| esa_write_codec |
|
14 |
2 |
95 |
| esa_reset_codec |
|
4 |
1 |
10 |
| esa_flags_codec |
|
5 |
1 |
22 |
| esa_wait |
|
13 |
3 |
80 |
| esa_init |
|
64 |
8 |
476 |
| esa_config |
|
33 |
3 |
224 |
| esa_assp_halt |
|
13 |
1 |
73 |
| esa_codec_reset |
|
51 |
5 |
320 |
| esa_amp_enable |
|
31 |
3 |
184 |
| esa_enable_interrupts |
|
11 |
1 |
63 |
| esa_add_list |
|
10 |
1 |
70 |
| esa_remove_list |
|
28 |
5 |
183 |
| esa_activate |
|
14 |
3 |
68 |
| esa_suspend |
|
19 |
3 |
124 |
| esa_resume |
|
24 |
3 |
151 |
| esa_get_pointer |
|
12 |
1 |
82 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cmpcireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/twe_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| twe_pci_match |
|
8 |
1 |
43 |
| twe_pci_attach |
|
38 |
6 |
264 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/aac_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aac_pci_probe |
|
19 |
6 |
124 |
| aac_pci_attach |
|
98 |
23 |
576 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/amdiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amdiic_match |
|
5 |
1 |
40 |
| amdiic_attach |
|
44 |
7 |
317 |
| amdiic_read |
|
13 |
4 |
103 |
| amdiic_write |
|
14 |
4 |
110 |
| amdiic_wait |
|
17 |
7 |
114 |
| amdiic_i2c_acquire_bus |
|
7 |
4 |
52 |
| amdiic_i2c_release_bus |
|
7 |
4 |
42 |
| amdiic_i2c_exec |
|
69 |
24 |
474 |
| amdiic_intr |
|
30 |
9 |
202 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_rtwn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtwn_pci_match |
|
5 |
1 |
32 |
| rtwn_pci_attach |
|
103 |
13 |
852 |
| rtwn_pci_detach |
|
16 |
4 |
116 |
| rtwn_pci_activate |
|
5 |
1 |
35 |
| rtwn_setup_rx_desc |
|
11 |
2 |
101 |
| rtwn_alloc_rx_list |
|
71 |
10 |
502 |
| rtwn_reset_rx_list |
|
11 |
2 |
80 |
| rtwn_free_rx_list |
|
31 |
5 |
204 |
| rtwn_alloc_tx_list |
|
60 |
8 |
432 |
| rtwn_reset_tx_list |
|
25 |
3 |
206 |
| rtwn_free_tx_list |
|
28 |
5 |
206 |
| rtwn_pci_write_1 |
|
5 |
1 |
36 |
| rtwn_pci_write_2 |
|
6 |
1 |
43 |
| rtwn_pci_write_4 |
|
6 |
1 |
43 |
| rtwn_pci_read_1 |
|
5 |
1 |
32 |
| rtwn_pci_read_2 |
|
7 |
1 |
42 |
| rtwn_pci_read_4 |
|
7 |
1 |
42 |
| rtwn_rx_frame |
|
108 |
27 |
853 |
| rtwn_tx |
|
169 |
33 |
1207 |
| rtwn_tx_done |
|
33 |
6 |
243 |
| rtwn_alloc_buffers |
|
4 |
1 |
13 |
| rtwn_pci_init |
|
6 |
1 |
33 |
| rtwn_pci_stop |
|
32 |
3 |
225 |
| rtwn_intr |
|
39 |
13 |
276 |
| rtwn_is_oactive |
|
5 |
1 |
24 |
| rtwn_llt_write |
|
15 |
3 |
92 |
| rtwn_llt_init |
|
16 |
6 |
133 |
| rtwn_power_on |
|
97 |
15 |
598 |
| rtwn_dma_init |
|
47 |
2 |
390 |
| rtwn_fw_loadpage |
|
24 |
5 |
150 |
| rtwn_pci_load_firmware |
|
16 |
3 |
93 |
| rtwn_mac_init |
|
8 |
2 |
53 |
| rtwn_bb_init |
|
67 |
6 |
543 |
| rtwn_calib_to |
|
10 |
1 |
66 |
| rtwn_next_calib |
|
5 |
1 |
25 |
| rtwn_cancel_calib |
|
6 |
2 |
33 |
| rtwn_scan_to |
|
5 |
1 |
23 |
| rtwn_pci_next_scan |
|
5 |
1 |
25 |
| rtwn_cancel_scan |
|
6 |
2 |
33 |
| rtwn_wait_async |
|
3 |
1 |
8 |
| rtwn_tx_report |
|
18 |
8 |
153 |
| rtwn_poll_c2h_events |
|
24 |
6 |
173 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_nfevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/sili_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sili_lookup |
|
12 |
4 |
78 |
| sili_pci_match |
|
4 |
1 |
32 |
| sili_pci_attach |
|
62 |
8 |
415 |
| sili_pci_detach |
|
24 |
5 |
151 |
| sili_pci_activate |
|
15 |
2 |
72 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ubsec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ubsec_probe |
|
5 |
1 |
37 |
| ubsec_attach |
|
159 |
39 |
1152 |
| ubsec_intr |
|
93 |
22 |
655 |
| ubsec_feed |
|
83 |
16 |
669 |
| ubsec_newsession |
|
135 |
35 |
979 |
| ubsec_freesession |
|
13 |
3 |
100 |
| ubsec_process |
|
479 |
118 |
3526 |
| ubsec_callback |
|
46 |
11 |
407 |
| ubsec_feed2 |
|
19 |
3 |
142 |
| ubsec_feed4 |
|
19 |
3 |
142 |
| ubsec_callback2 |
|
27 |
4 |
193 |
| ubsec_rng |
|
52 |
5 |
390 |
| ubsec_dma_malloc |
|
29 |
5 |
249 |
| ubsec_dma_free |
|
7 |
1 |
67 |
| ubsec_reset_board |
|
12 |
2 |
68 |
| ubsec_init_board |
|
22 |
5 |
108 |
| ubsec_init_pciregs |
|
9 |
1 |
69 |
| ubsec_cleanchip |
|
9 |
2 |
54 |
| ubsec_free_q |
|
28 |
7 |
203 |
| ubsec_totalreset |
|
6 |
1 |
24 |
| ubsec_dmamap_aligned |
|
12 |
5 |
82 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ichiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ichiic_match |
|
5 |
1 |
40 |
| ichiic_attach |
|
48 |
7 |
330 |
| ichiic_i2c_acquire_bus |
|
7 |
4 |
52 |
| ichiic_i2c_release_bus |
|
7 |
4 |
42 |
| ichiic_i2c_exec |
|
86 |
25 |
614 |
| ichiic_intr |
|
35 |
9 |
242 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/siop_pci_common.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_wbreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/nvme_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nvme_pci_match |
|
12 |
6 |
88 |
| nvme_pci_attach |
|
43 |
8 |
313 |
| nvme_pci_detach |
|
4 |
1 |
17 |
| nvme_pci_activate |
|
5 |
1 |
37 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/nviic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nviic_match |
|
5 |
1 |
40 |
| nviic_attach |
|
46 |
9 |
302 |
| nviic_i2c_acquire_bus |
|
7 |
3 |
48 |
| nviic_i2c_release_bus |
|
7 |
3 |
38 |
| nviic_i2c_exec |
|
57 |
19 |
367 |
| nviic_read |
|
7 |
1 |
54 |
| nviic_write |
|
7 |
1 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/esoreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_svwsata_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_devar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| TULIP_PERFREAD |
|
7 |
1 |
23 |
| TULIP_PERFREAD |
|
7 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/azalia_codec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| azalia_codec_init_vtbl |
|
364 |
143 |
1583 |
| azalia_widget_enabled |
|
6 |
3 |
38 |
| azalia_init_dacgroup |
|
28 |
5 |
195 |
| azalia_add_convgroup |
|
77 |
30 |
496 |
| azalia_codec_fnode |
|
25 |
11 |
162 |
| azalia_unsol_event |
|
89 |
30 |
653 |
| azalia_mixer_init |
|
510 |
102 |
4117 |
| azalia_devinfo_offon |
|
9 |
1 |
98 |
| azalia_mixer_ensure_capacity |
|
21 |
4 |
132 |
| azalia_mixer_fix_indexes |
|
17 |
7 |
108 |
| azalia_mixer_default |
|
116 |
32 |
994 |
| azalia_codec_enable_unsol |
|
41 |
8 |
264 |
| azalia_mixer_delete |
|
8 |
2 |
38 |
| azalia_mixer_get |
|
229 |
72 |
1679 |
| azalia_mixer_set |
|
472 |
144 |
3188 |
| azalia_mixer_from_device_value |
|
24 |
6 |
169 |
| azalia_mixer_to_device_value |
|
23 |
6 |
169 |
| azalia_gpio_unmute |
|
15 |
1 |
140 |
| azalia_ampcap_ov |
|
13 |
4 |
107 |
| azalia_pin_config_ov |
|
21 |
4 |
100 |
| azalia_codec_gpio_quirks |
|
20 |
6 |
106 |
| azalia_codec_widget_quirks |
|
54 |
26 |
372 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp_apple.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_apple_match |
|
20 |
11 |
106 |
| agp_apple_attach |
|
36 |
7 |
225 |
| agp_apple_get_aperture |
|
5 |
1 |
22 |
| agp_apple_set_aperture |
|
9 |
4 |
84 |
| agp_apple_bind_page |
|
14 |
3 |
114 |
| agp_apple_unbind_page |
|
8 |
2 |
65 |
| agp_apple_flush_tlb |
|
16 |
2 |
96 |
| agp_apple_enable |
|
11 |
2 |
76 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/neo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nm_rd |
|
15 |
4 |
81 |
| nm_wr |
|
16 |
4 |
86 |
| nm_rdbuf |
|
15 |
4 |
81 |
| nm_wrbuf |
|
16 |
4 |
86 |
| nm_waitcd |
|
14 |
3 |
64 |
| nm_ackint |
|
7 |
3 |
54 |
| nm_loadcoeff |
|
28 |
8 |
204 |
| nmchan_getptr |
|
7 |
2 |
51 |
| neo_intr |
|
51 |
8 |
369 |
| nm_init |
|
41 |
7 |
313 |
| neo_attach |
|
48 |
8 |
361 |
| neo_activate |
|
13 |
3 |
63 |
| neo_match |
|
22 |
10 |
147 |
| neo_read_codec |
|
10 |
2 |
61 |
| neo_write_codec |
|
15 |
4 |
85 |
| neo_attach_codec |
|
6 |
1 |
31 |
| neo_reset_codec |
|
8 |
1 |
54 |
| neo_flags_codec |
|
4 |
1 |
13 |
| neo_open |
|
4 |
1 |
16 |
| neo_close |
|
8 |
1 |
37 |
| neo_set_params |
|
44 |
16 |
284 |
| neo_round_blocksize |
|
4 |
1 |
18 |
| neo_trigger_output |
|
24 |
3 |
220 |
| neo_trigger_input |
|
23 |
3 |
207 |
| neo_halt_output |
|
10 |
1 |
65 |
| neo_halt_input |
|
9 |
1 |
54 |
| neo_mixer_set_port |
|
5 |
1 |
39 |
| neo_mixer_get_port |
|
5 |
1 |
39 |
| neo_query_devinfo |
|
5 |
1 |
39 |
| neo_malloc |
|
16 |
3 |
86 |
| neo_free |
|
4 |
1 |
17 |
| neo_round_buffersize |
|
4 |
1 |
19 |
| neo_get_props |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_pci_read |
|
5 |
1 |
42 |
| pciide_pci_write |
|
8 |
1 |
83 |
| pciide_lookup_product |
|
17 |
7 |
127 |
| pciide_match |
|
26 |
11 |
144 |
| pciide_attach |
|
28 |
4 |
210 |
| pciide_detach |
|
9 |
2 |
50 |
| pciide_activate |
|
97 |
25 |
871 |
| pciide_mapregs_compat |
|
32 |
3 |
250 |
| pciide_unmapregs_compat |
|
11 |
2 |
86 |
| pciide_mapregs_native |
|
71 |
11 |
570 |
| pciide_unmapregs_native |
|
11 |
2 |
86 |
| pciide_mapreg_dma |
|
42 |
7 |
242 |
| pciide_unmapreg_dma |
|
4 |
1 |
24 |
| pciide_intr_flag |
|
20 |
5 |
111 |
| pciide_compat_intr |
|
9 |
4 |
55 |
| pciide_pci_intr |
|
26 |
8 |
142 |
| pciide_dmacmd_read |
|
5 |
1 |
31 |
| pciide_dmacmd_write |
|
5 |
1 |
33 |
| pciide_dmactl_read |
|
5 |
1 |
31 |
| pciide_dmactl_write |
|
5 |
1 |
33 |
| pciide_dmatbl_write |
|
5 |
1 |
33 |
| pciide_channel_dma_setup |
|
22 |
7 |
149 |
| pciide_dma_table_setup |
|
60 |
7 |
405 |
| pciide_dma_init |
|
60 |
9 |
466 |
| pciide_dma_start |
|
8 |
1 |
57 |
| pciide_dma_finish |
|
44 |
9 |
298 |
| pciide_irqack |
|
7 |
1 |
58 |
| pciide_chansetup |
|
17 |
2 |
124 |
| pciide_chanfree |
|
6 |
2 |
42 |
| pciide_mapchan |
|
17 |
3 |
124 |
| pciide_unmap_chan |
|
9 |
2 |
57 |
| pciide_chan_candisable |
|
13 |
3 |
102 |
| pciide_map_compat_intr |
|
16 |
3 |
124 |
| pciide_unmap_compat_intr |
|
8 |
2 |
58 |
| pciide_print_channels |
|
12 |
4 |
69 |
| pciide_print_modes |
|
4 |
1 |
17 |
| default_chip_map |
|
115 |
23 |
754 |
| default_chip_unmap |
|
13 |
3 |
89 |
| sata_chip_map |
|
38 |
5 |
252 |
| sata_setup_channel |
|
25 |
6 |
161 |
| piix_timing_debug |
|
38 |
20 |
270 |
| piix_chip_map |
|
108 |
46 |
577 |
| piixsata_chip_map |
|
87 |
19 |
534 |
| piix_setup_channel |
|
79 |
18 |
704 |
| piix3_4_setup_channel |
|
128 |
49 |
945 |
| piix_setup_idetim_timings |
|
13 |
2 |
70 |
| piix_setup_idetim_drvs |
|
33 |
9 |
229 |
| piix_setup_sidetim_timings |
|
9 |
2 |
64 |
| amd756_chip_map |
|
63 |
11 |
403 |
| amd756_setup_channel |
|
85 |
13 |
576 |
| apollo_chip_map |
|
144 |
33 |
902 |
| apollo_setup_channel |
|
85 |
19 |
648 |
| cmd_channel_map |
|
66 |
13 |
416 |
| cmd_pci_intr |
|
27 |
9 |
183 |
| cmd_chip_map |
|
14 |
2 |
103 |
| cmd0643_9_chip_map |
|
74 |
12 |
510 |
| cmd0643_9_setup_channel |
|
72 |
14 |
489 |
| cmd646_9_irqack |
|
14 |
2 |
120 |
| cmd680_chip_map |
|
33 |
4 |
257 |
| cmd680_channel_map |
|
42 |
7 |
335 |
| cmd680_setup_channel |
|
72 |
12 |
628 |
| sii_fixup_cacheline |
|
23 |
5 |
203 |
| sii3112_chip_map |
|
71 |
9 |
501 |
| sii3112_setup_channel |
|
31 |
6 |
195 |
| sii3112_drv_probe |
|
78 |
13 |
530 |
| sii3114_chip_map |
|
76 |
10 |
522 |
| sii3114_mapreg_dma |
|
37 |
5 |
237 |
| sii3114_chansetup |
|
24 |
3 |
146 |
| sii3114_mapchan |
|
48 |
6 |
414 |
| sii3114_read_reg |
|
12 |
2 |
124 |
| sii3114_write_reg |
|
13 |
2 |
125 |
| sii3114_dmacmd_read |
|
6 |
1 |
48 |
| sii3114_dmacmd_write |
|
6 |
1 |
50 |
| sii3114_dmactl_read |
|
6 |
1 |
48 |
| sii3114_dmactl_write |
|
6 |
1 |
50 |
| sii3114_dmatbl_write |
|
6 |
1 |
50 |
| cy693_chip_map |
|
83 |
12 |
587 |
| cy693_setup_channel |
|
46 |
10 |
332 |
| sis_hostbr_match |
|
15 |
5 |
103 |
| sis_south_match |
|
6 |
3 |
39 |
| sis_chip_map |
|
122 |
25 |
822 |
| sis96x_setup_channel |
|
51 |
11 |
374 |
| sis_setup_channel |
|
90 |
22 |
556 |
| natsemi_chip_map |
|
48 |
7 |
372 |
| natsemi_setup_channel |
|
46 |
8 |
358 |
| natsemi_irqack |
|
13 |
1 |
106 |
| natsemi_pci_intr |
|
28 |
8 |
161 |
| ns_scx200_chip_map |
|
43 |
7 |
309 |
| ns_scx200_setup_channel |
|
65 |
10 |
494 |
| acer_chip_map |
|
84 |
15 |
655 |
| acer_setup_channel |
|
79 |
16 |
621 |
| acer_pci_intr |
|
25 |
5 |
147 |
| acer_dma_init |
|
7 |
2 |
53 |
| hpt_chip_map |
|
119 |
41 |
871 |
| hpt_setup_channel |
|
89 |
18 |
530 |
| hpt_pci_intr |
|
26 |
4 |
165 |
| pdc268_config_read |
|
10 |
1 |
84 |
| pdc202xx_chip_map |
|
138 |
29 |
1004 |
| pdc202xx_setup_channel |
|
116 |
35 |
944 |
| pdc20268_setup_channel |
|
35 |
8 |
232 |
| pdc202xx_pci_intr |
|
25 |
5 |
149 |
| pdc20265_pci_intr |
|
31 |
8 |
181 |
| pdc20262_dma_start |
|
20 |
3 |
140 |
| pdc20262_dma_finish |
|
16 |
2 |
122 |
| pdcsata_chip_map |
|
197 |
52 |
1338 |
| pdc203xx_setup_channel |
|
18 |
4 |
107 |
| pdc203xx_pci_intr |
|
25 |
4 |
158 |
| pdc205xx_pci_intr |
|
28 |
4 |
207 |
| pdc203xx_irqack |
|
14 |
1 |
133 |
| pdc203xx_dma_start |
|
15 |
2 |
157 |
| pdc203xx_dma_finish |
|
18 |
2 |
158 |
| pdc203xx_read_reg |
|
15 |
2 |
135 |
| pdc203xx_write_reg |
|
13 |
2 |
125 |
| pdc205xx_do_reset |
|
14 |
1 |
102 |
| pdc205xx_drv_probe |
|
65 |
11 |
450 |
| opti_read_config |
|
12 |
1 |
109 |
| opti_write_config |
|
10 |
1 |
104 |
| opti_chip_map |
|
53 |
9 |
352 |
| opti_setup_channel |
|
62 |
14 |
564 |
| serverworks_chip_map |
|
58 |
13 |
386 |
| serverworks_setup_channel |
|
65 |
12 |
642 |
| serverworks_pci_intr |
|
26 |
4 |
165 |
| svwsata_chip_map |
|
75 |
11 |
504 |
| svwsata_mapreg_dma |
|
17 |
1 |
115 |
| svwsata_dmacmd_read |
|
5 |
1 |
40 |
| svwsata_dmacmd_write |
|
5 |
1 |
42 |
| svwsata_dmactl_read |
|
5 |
1 |
40 |
| svwsata_dmactl_write |
|
5 |
1 |
42 |
| svwsata_dmatbl_write |
|
5 |
1 |
42 |
| svwsata_mapchan |
|
26 |
3 |
198 |
| svwsata_drv_probe |
|
84 |
13 |
582 |
| svwsata_read_reg |
|
10 |
2 |
70 |
| svwsata_write_reg |
|
10 |
2 |
71 |
| svwsata_lba48_write_reg |
|
10 |
2 |
71 |
| acard_chip_map |
|
65 |
13 |
422 |
| acard_setup_channel |
|
84 |
13 |
605 |
| nforce_chip_map |
|
62 |
9 |
438 |
| nforce_setup_channel |
|
67 |
10 |
511 |
| nforce_pci_intr |
|
26 |
5 |
151 |
| artisea_chip_map |
|
39 |
7 |
266 |
| ite_chip_map |
|
47 |
4 |
374 |
| ite_setup_channel |
|
75 |
15 |
553 |
| ixp_chip_map |
|
38 |
6 |
273 |
| ixp_setup_channel |
|
61 |
11 |
511 |
| jmicron_chip_map |
|
56 |
9 |
413 |
| jmicron_setup_channel |
|
50 |
12 |
334 |
| phison_chip_map |
|
39 |
6 |
279 |
| phison_setup_channel |
|
45 |
10 |
294 |
| sch_chip_map |
|
38 |
6 |
273 |
| sch_setup_channel |
|
45 |
10 |
332 |
| rdc_chip_map |
|
68 |
10 |
506 |
| rdc_setup_channel |
|
62 |
11 |
546 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/emuxkivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/sdhc_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdhc_pci_match |
|
15 |
8 |
107 |
| sdhc_pci_attach |
|
66 |
18 |
486 |
| sdhc_pci_activate |
|
21 |
6 |
115 |
| sdhc_takecontroller |
|
12 |
2 |
90 |
| sdhc_ricohfix |
|
9 |
1 |
99 |
| sdhc_pci_conf_write |
|
8 |
1 |
79 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/eap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eap_match |
|
5 |
1 |
37 |
| eap_activate |
|
15 |
2 |
72 |
| eap1370_write_codec |
|
15 |
3 |
91 |
| eap1371_ready_codec |
|
38 |
10 |
247 |
| eap1371_read_codec |
|
27 |
7 |
178 |
| eap1371_write_codec |
|
7 |
1 |
53 |
| eap1371_src_wait |
|
13 |
3 |
76 |
| eap1371_src_write |
|
7 |
1 |
50 |
| eap_attach |
|
117 |
18 |
985 |
| eap_resume |
|
54 |
5 |
495 |
| eap1371_attach_codec |
|
6 |
1 |
31 |
| eap1371_reset_codec |
|
13 |
1 |
73 |
| eap_intr |
|
55 |
16 |
377 |
| eap_allocmem |
|
30 |
5 |
234 |
| eap_freemem |
|
8 |
1 |
71 |
| eap_open |
|
4 |
1 |
16 |
| eap_close |
|
8 |
1 |
37 |
| eap_set_params |
|
66 |
22 |
395 |
| eap_round_blocksize |
|
4 |
1 |
23 |
| eap_trigger_output |
|
58 |
9 |
430 |
| eap_trigger_input |
|
57 |
9 |
411 |
| eap_halt_output |
|
12 |
2 |
68 |
| eap_halt_input |
|
12 |
2 |
68 |
| eap1371_mixer_set_port |
|
5 |
1 |
37 |
| eap1371_mixer_get_port |
|
5 |
1 |
37 |
| eap1371_query_devinfo |
|
5 |
1 |
37 |
| eap1370_set_mixer |
|
6 |
1 |
46 |
| eap1370_mixer_set_port |
|
112 |
33 |
762 |
| eap1370_mixer_get_port |
|
64 |
17 |
372 |
| eap1370_query_devinfo |
|
160 |
14 |
1695 |
| eap_malloc |
|
17 |
3 |
115 |
| eap_free |
|
13 |
3 |
93 |
| eap_get_props |
|
5 |
1 |
17 |
| eap_flags_codec |
|
5 |
1 |
22 |
| eap_midi_open |
|
16 |
2 |
112 |
| eap_midi_close |
|
9 |
1 |
65 |
| eap_midi_output |
|
10 |
2 |
64 |
| eap_midi_getinfo |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pucdata.c |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_myxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/itherm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| itherm_probe |
|
5 |
1 |
45 |
| itherm_attach |
|
71 |
3 |
631 |
| itherm_enable |
|
7 |
1 |
39 |
| itherm_activate |
|
10 |
2 |
45 |
| itherm_refresh_sensor_data |
|
86 |
4 |
580 |
| itherm_bias_temperature_sensor |
|
8 |
3 |
42 |
| itherm_refresh |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ydsreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/hifn7751.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hifn_probe |
|
5 |
1 |
37 |
| hifn_attach |
|
156 |
32 |
1166 |
| hifn_init_pubrng |
|
49 |
10 |
287 |
| hifn_rng |
|
33 |
7 |
177 |
| hifn_puc_wait |
|
11 |
4 |
64 |
| hifn_reset_puc |
|
5 |
1 |
23 |
| hifn_set_retry |
|
7 |
1 |
46 |
| hifn_reset_board |
|
30 |
6 |
164 |
| hifn_next_signature |
|
15 |
2 |
90 |
| hifn_enable_crypto |
|
72 |
22 |
435 |
| hifn_init_pci_registers |
|
57 |
6 |
432 |
| hifn_sessions |
|
21 |
5 |
107 |
| hifn_ramtype |
|
26 |
9 |
210 |
| hifn_sramsize |
|
24 |
6 |
191 |
| hifn_dramsize |
|
12 |
2 |
65 |
| hifn_alloc_slot |
|
41 |
5 |
278 |
| hifn_writeramaddr |
|
51 |
4 |
462 |
| hifn_readramaddr |
|
54 |
4 |
475 |
| hifn_init_dma |
|
27 |
3 |
316 |
| hifn_write_command |
|
110 |
18 |
736 |
| hifn_dmamap_aligned |
|
12 |
5 |
82 |
| hifn_dmamap_load_dst |
|
63 |
7 |
481 |
| hifn_dmamap_load_src |
|
27 |
4 |
197 |
| hifn_crypto |
|
219 |
47 |
1440 |
| hifn_tick |
|
35 |
11 |
199 |
| hifn_intr |
|
97 |
24 |
660 |
| hifn_newsession |
|
77 |
29 |
500 |
| hifn_freesession |
|
15 |
4 |
113 |
| hifn_process |
|
195 |
54 |
1159 |
| hifn_abort |
|
52 |
8 |
380 |
| hifn_callback |
|
101 |
22 |
764 |
| hifn_compression |
|
103 |
23 |
682 |
| hifn_compress_enter |
|
72 |
12 |
504 |
| hifn_callback_comp |
|
108 |
17 |
782 |
| hifn_mkmbuf_chain |
|
50 |
10 |
276 |
| hifn_write_4 |
|
16 |
5 |
108 |
| hifn_read_4 |
|
10 |
3 |
76 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/cs4280.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cs4280_match |
|
5 |
1 |
37 |
| cs4280_read_codec |
|
28 |
4 |
186 |
| cs4280_write_codec |
|
15 |
2 |
104 |
| cs4280_src_wait |
|
11 |
3 |
54 |
| cs4280_set_adc_rate |
|
60 |
11 |
442 |
| cs4280_set_dac_rate |
|
26 |
4 |
160 |
| cs4280_attachhook |
|
21 |
3 |
157 |
| cs4280_attach |
|
56 |
9 |
390 |
| cs4280_intr |
|
112 |
27 |
780 |
| cs4280_download |
|
25 |
7 |
257 |
| cs4280_download_image |
|
25 |
5 |
165 |
| cs4280_checkimage |
|
19 |
5 |
135 |
| cs4280_check_images |
|
17 |
3 |
113 |
| cs4280_attach_codec |
|
6 |
1 |
31 |
| cs4280_reset_codec |
|
19 |
3 |
114 |
| cs4280_reset |
|
8 |
1 |
47 |
| cs4280_open |
|
4 |
1 |
16 |
| cs4280_close |
|
8 |
1 |
37 |
| cs4280_set_params |
|
39 |
11 |
254 |
| cs4280_round_blocksize |
|
4 |
2 |
25 |
| cs4280_round_buffersize |
|
4 |
1 |
19 |
| cs4280_get_props |
|
5 |
2 |
16 |
| cs4280_mixer_get_port |
|
5 |
1 |
37 |
| cs4280_query_devinfo |
|
5 |
1 |
37 |
| cs4280_get_portnum_by_name |
|
6 |
1 |
43 |
| cs4280_halt_output |
|
11 |
2 |
61 |
| cs4280_halt_input |
|
11 |
2 |
61 |
| cs4280_mixer_set_port |
|
8 |
1 |
55 |
| cs4280_freemem |
|
8 |
1 |
71 |
| cs4280_allocmem |
|
43 |
5 |
304 |
| cs4280_malloc |
|
26 |
4 |
179 |
| cs4280_free |
|
14 |
3 |
104 |
| cs4280_trigger_output |
|
69 |
14 |
518 |
| cs4280_trigger_input |
|
53 |
9 |
391 |
| cs4280_init |
|
49 |
7 |
358 |
| cs4280_init2 |
|
48 |
7 |
333 |
| cs4280_activate |
|
21 |
3 |
112 |
| cs4280_clear_fifos |
|
26 |
6 |
156 |
| cs4280_midi_open |
|
19 |
3 |
154 |
| cs4280_midi_close |
|
11 |
1 |
59 |
| cs4280_midi_output |
|
22 |
4 |
142 |
| cs4280_midi_getinfo |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pucvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/vga_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vga_pci_match |
|
15 |
5 |
114 |
| vga_pci_attach |
|
32 |
12 |
341 |
| vga_pci_activate |
|
21 |
8 |
102 |
| vga_pci_mmap |
|
4 |
1 |
18 |
| vga_pci_cnattach |
|
5 |
1 |
36 |
| vga_pci_ioctl |
|
21 |
5 |
104 |
| vga_save_state |
|
36 |
10 |
329 |
| vga_restore_state |
|
36 |
10 |
330 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/ixgb_ids.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vr_mii_readreg |
|
17 |
3 |
125 |
| vr_mii_writereg |
|
17 |
3 |
125 |
| vr_miibus_readreg |
|
18 |
4 |
96 |
| vr_miibus_writereg |
|
18 |
4 |
97 |
| vr_miibus_statchg |
|
5 |
1 |
32 |
| vr_iff |
|
38 |
6 |
256 |
| vr_setcfg |
|
29 |
9 |
199 |
| vr_reset |
|
21 |
6 |
112 |
| vr_probe |
|
11 |
4 |
99 |
| vr_quirks |
|
10 |
4 |
81 |
| vr_dmamem_alloc |
|
27 |
5 |
221 |
| vr_dmamem_free |
|
7 |
1 |
65 |
| vr_attach |
|
105 |
16 |
834 |
| vr_activate |
|
21 |
5 |
110 |
| vr_list_tx_init |
|
26 |
4 |
212 |
| vr_list_rx_init |
|
32 |
4 |
266 |
| vr_fill_rx_ring |
|
17 |
4 |
113 |
| vr_rxeof |
|
84 |
22 |
579 |
| vr_rxeoc |
|
22 |
4 |
132 |
| vr_txeof |
|
52 |
15 |
323 |
| vr_tick |
|
14 |
2 |
79 |
| vr_rxtick |
|
12 |
3 |
70 |
| vr_intr |
|
70 |
29 |
406 |
| vr_encap |
|
76 |
20 |
563 |
| vr_start |
|
42 |
11 |
254 |
| vr_chipinit |
|
11 |
2 |
88 |
| vr_init |
|
54 |
6 |
401 |
| vr_ifmedia_upd |
|
7 |
2 |
36 |
| vr_ifmedia_sts |
|
8 |
1 |
54 |
| vr_ioctl |
|
42 |
12 |
238 |
| vr_watchdog |
|
13 |
3 |
74 |
| vr_stop |
|
52 |
13 |
444 |
| vr_wol |
|
14 |
2 |
95 |
| vr_alloc_mbuf |
|
32 |
5 |
257 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vmx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vmxnet3_match |
|
4 |
1 |
32 |
| vmxnet3_attach |
|
86 |
10 |
700 |
| vmxnet3_dma_init |
|
61 |
12 |
491 |
| vmxnet3_alloc_txring |
|
35 |
5 |
265 |
| vmxnet3_alloc_rxring |
|
44 |
7 |
344 |
| vmxnet3_txinit |
|
12 |
1 |
102 |
| vmxnet3_rxinit |
|
24 |
4 |
178 |
| vmxnet3_txstop |
|
12 |
3 |
86 |
| vmxnet3_rxstop |
|
14 |
4 |
94 |
| vmxnet3_link_state |
|
17 |
3 |
98 |
| vmxnet3_enable_intr |
|
4 |
1 |
24 |
| vmxnet3_disable_intr |
|
4 |
1 |
24 |
| vmxnet3_enable_all_intrs |
|
7 |
2 |
40 |
| vmxnet3_disable_all_intrs |
|
7 |
2 |
40 |
| vmxnet3_intr |
|
18 |
4 |
110 |
| vmxnet3_evintr |
|
25 |
7 |
174 |
| vmxnet3_txintr |
|
42 |
6 |
276 |
| vmxnet3_rxintr |
|
81 |
15 |
560 |
| vmxnet3_iff |
|
35 |
7 |
232 |
| vmxnet3_rx_csum |
|
15 |
6 |
97 |
| vmxnet3_getbuf |
|
38 |
9 |
266 |
| vmxnet3_stop |
|
15 |
3 |
112 |
| vmxnet3_reset |
|
4 |
1 |
16 |
| vmxnet3_init |
|
27 |
6 |
192 |
| vmxnet3_ioctl |
|
42 |
12 |
249 |
| vmxnet3_start |
|
38 |
10 |
242 |
| vmxnet3_load_mbuf |
|
76 |
15 |
564 |
| vmxnet3_watchdog |
|
9 |
1 |
46 |
| vmxnet3_media_status |
|
12 |
3 |
73 |
| vmxnet3_media_change |
|
4 |
1 |
12 |
| vmxnet3_dma_allocmem |
|
21 |
5 |
162 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vmxreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/azalia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| azalia_pci_read |
|
5 |
1 |
42 |
| azalia_pci_write |
|
8 |
1 |
83 |
| azalia_configure_pci |
|
94 |
49 |
448 |
| azalia_pci_match |
|
9 |
3 |
52 |
| azalia_pci_attach |
|
56 |
10 |
400 |
| azalia_pci_activate |
|
21 |
4 |
90 |
| azalia_pci_detach |
|
57 |
13 |
442 |
| azalia_intr |
|
29 |
8 |
169 |
| azalia_shutdown |
|
10 |
1 |
61 |
| azalia_print_codec |
|
13 |
3 |
83 |
| azalia_reset |
|
33 |
7 |
220 |
| azalia_get_ctrlr_caps |
|
73 |
13 |
531 |
| azalia_init |
|
26 |
6 |
161 |
| azalia_init_codecs |
|
57 |
16 |
369 |
| azalia_init_streams |
|
12 |
3 |
74 |
| azalia_halt_corb |
|
28 |
7 |
167 |
| azalia_init_corb |
|
43 |
7 |
320 |
| azalia_halt_rirb |
|
20 |
5 |
113 |
| azalia_init_rirb |
|
53 |
8 |
364 |
| azalia_comresp |
|
14 |
2 |
81 |
| azalia_set_command |
|
21 |
3 |
158 |
| azalia_get_response |
|
36 |
9 |
247 |
| azalia_rirb_kick_unsol_events |
|
18 |
4 |
138 |
| azalia_rirb_intr |
|
23 |
4 |
176 |
| azalia_alloc_dmamem |
|
37 |
8 |
251 |
| azalia_free_dmamem |
|
11 |
2 |
83 |
| azalia_suspend |
|
25 |
4 |
158 |
| azalia_resume_codec |
|
32 |
7 |
175 |
| azalia_resume |
|
19 |
5 |
121 |
| azalia_save_mixer |
|
31 |
7 |
172 |
| azalia_restore_mixer |
|
31 |
7 |
172 |
| azalia_codec_init |
|
248 |
68 |
1699 |
| azalia_codec_find_inputmixer |
|
35 |
11 |
225 |
| azalia_codec_select_micadc |
|
37 |
11 |
265 |
| azalia_codec_sort_pins |
|
193 |
72 |
1509 |
| azalia_codec_select_dacs |
|
61 |
19 |
388 |
| azalia_codec_select_spkrdac |
|
82 |
26 |
534 |
| azalia_codec_find_defdac |
|
40 |
17 |
244 |
| azalia_codec_find_defadc_sub |
|
39 |
17 |
248 |
| azalia_codec_find_defadc |
|
14 |
3 |
85 |
| azalia_codec_init_volgroups |
|
165 |
68 |
1227 |
| azalia_codec_delete |
|
34 |
7 |
208 |
| azalia_codec_construct_format |
|
106 |
32 |
767 |
| azalia_codec_add_bits |
|
13 |
6 |
112 |
| azalia_codec_add_format |
|
37 |
14 |
296 |
| azalia_codec_connect_stream |
|
66 |
12 |
453 |
| azalia_codec_disconnect_stream |
|
25 |
4 |
176 |
| azalia_widget_init |
|
57 |
14 |
330 |
| azalia_widget_sole_conn |
|
55 |
20 |
408 |
| azalia_widget_label_widgets |
|
151 |
39 |
1206 |
| azalia_widget_init_audio |
|
35 |
6 |
242 |
| azalia_widget_init_pin |
|
59 |
22 |
424 |
| azalia_widget_init_connection |
|
66 |
22 |
510 |
| azalia_widget_check_conn |
|
26 |
11 |
150 |
| azalia_codec_print_audiofunc |
|
19 |
1 |
167 |
| azalia_codec_print_groups |
|
18 |
5 |
176 |
| azalia_widget_print_audio |
|
7 |
1 |
48 |
| azalia_widget_print_widget |
|
36 |
11 |
305 |
| azalia_widget_print_pin |
|
33 |
11 |
378 |
| azalia_codec_print_audiofunc |
|
1 |
1 |
9 |
| azalia_codec_print_groups |
|
1 |
1 |
9 |
| azalia_widget_print_audio |
|
1 |
1 |
14 |
| azalia_widget_print_widget |
|
1 |
1 |
14 |
| azalia_widget_print_pin |
|
1 |
1 |
9 |
| azalia_stream_init |
|
17 |
2 |
104 |
| azalia_stream_reset |
|
37 |
7 |
236 |
| azalia_stream_start |
|
50 |
5 |
377 |
| azalia_stream_halt |
|
11 |
1 |
73 |
| azalia_stream_intr |
|
38 |
9 |
256 |
| azalia_open |
|
14 |
5 |
94 |
| azalia_close |
|
9 |
1 |
48 |
| azalia_match_format |
|
21 |
6 |
171 |
| azalia_set_params_sub |
|
67 |
20 |
470 |
| azalia_set_params |
|
24 |
8 |
140 |
| azalia_round_blocksize |
|
17 |
4 |
94 |
| azalia_halt_output |
|
7 |
1 |
36 |
| azalia_halt_input |
|
7 |
1 |
36 |
| azalia_set_port |
|
14 |
4 |
103 |
| azalia_get_port |
|
13 |
3 |
98 |
| azalia_query_devinfo |
|
11 |
3 |
73 |
| azalia_allocm |
|
14 |
3 |
94 |
| azalia_freem |
|
14 |
3 |
85 |
| azalia_round_buffersize |
|
7 |
2 |
31 |
| azalia_get_props |
|
4 |
1 |
13 |
| azalia_trigger_output |
|
22 |
3 |
166 |
| azalia_trigger_input |
|
25 |
3 |
201 |
| azalia_params2fmt |
|
72 |
19 |
306 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp_amd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_amd_alloc_gatt |
|
34 |
5 |
282 |
| agp_amd_probe |
|
11 |
6 |
90 |
| agp_amd_attach |
|
45 |
6 |
328 |
| agp_amd_activate |
|
13 |
3 |
55 |
| agp_amd_save |
|
8 |
1 |
52 |
| agp_amd_restore |
|
10 |
1 |
68 |
| agp_amd_get_aperture |
|
9 |
1 |
56 |
| agp_amd_set_aperture |
|
15 |
4 |
122 |
| agp_amd_bind_page |
|
6 |
1 |
46 |
| agp_amd_unbind_page |
|
5 |
1 |
38 |
| agp_amd_flush_tlb |
|
8 |
2 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_agereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_ixgb.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_alc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alc_miibus_readreg |
|
25 |
7 |
172 |
| alc_miibus_writereg |
|
20 |
5 |
141 |
| alc_miibus_statchg |
|
35 |
8 |
210 |
| alc_mediastatus |
|
10 |
2 |
68 |
| alc_mediachange |
|
13 |
2 |
74 |
| alc_match |
|
5 |
1 |
35 |
| alc_get_macaddr |
|
98 |
22 |
681 |
| alc_disable_l0s_l1 |
|
11 |
1 |
54 |
| alc_phy_reset |
|
98 |
11 |
712 |
| alc_phy_down |
|
16 |
3 |
67 |
| alc_aspm |
|
78 |
16 |
402 |
| alc_attach |
|
189 |
38 |
1303 |
| alc_detach |
|
20 |
2 |
131 |
| alc_activate |
|
21 |
5 |
110 |
| alc_dma_alloc |
|
183 |
26 |
1316 |
| alc_dma_free |
|
64 |
21 |
543 |
| alc_encap |
|
63 |
10 |
441 |
| alc_start |
|
41 |
13 |
242 |
| alc_watchdog |
|
15 |
2 |
81 |
| alc_ioctl |
|
40 |
11 |
220 |
| alc_mac_config |
|
30 |
10 |
171 |
| alc_stats_clear |
|
27 |
4 |
190 |
| alc_stats_update |
|
93 |
6 |
717 |
| alc_intr |
|
40 |
10 |
233 |
| alc_txeof |
|
44 |
8 |
329 |
| alc_newbuf |
|
35 |
5 |
253 |
| alc_rxintr |
|
44 |
6 |
310 |
| alc_rxeof |
|
69 |
11 |
476 |
| alc_tick |
|
11 |
1 |
59 |
| alc_reset |
|
23 |
7 |
151 |
| alc_init |
|
183 |
19 |
1380 |
| alc_stop |
|
46 |
5 |
326 |
| alc_stop_mac |
|
19 |
5 |
113 |
| alc_start_queue |
|
18 |
1 |
86 |
| alc_stop_queue |
|
24 |
6 |
147 |
| alc_init_tx_ring |
|
17 |
2 |
120 |
| alc_init_rx_ring |
|
20 |
3 |
152 |
| alc_init_rr_ring |
|
11 |
1 |
70 |
| alc_init_cmb |
|
9 |
1 |
57 |
| alc_init_smb |
|
9 |
1 |
57 |
| alc_rxvlan |
|
11 |
2 |
59 |
| alc_iff |
|
33 |
5 |
233 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vic_match |
|
20 |
5 |
124 |
| vic_attach |
|
102 |
17 |
729 |
| vic_query |
|
26 |
8 |
178 |
| vic_alloc_data |
|
59 |
8 |
458 |
| vic_rx_fill |
|
23 |
3 |
231 |
| vic_init_data |
|
64 |
11 |
455 |
| vic_uninit_data |
|
27 |
5 |
202 |
| vic_link_state |
|
13 |
3 |
69 |
| vic_intr |
|
10 |
2 |
63 |
| vic_rx_proc |
|
52 |
8 |
395 |
| vic_tx_proc |
|
37 |
5 |
256 |
| vic_iff |
|
35 |
5 |
242 |
| vic_getlladdr |
|
11 |
3 |
73 |
| vic_setlladdr |
|
7 |
1 |
45 |
| vic_media_change |
|
4 |
1 |
14 |
| vic_media_status |
|
10 |
3 |
68 |
| vic_start |
|
72 |
15 |
477 |
| vic_load_txb |
|
21 |
5 |
112 |
| vic_watchdog |
|
15 |
6 |
93 |
| vic_ioctl |
|
38 |
11 |
216 |
| vic_rxrinfo |
|
10 |
1 |
98 |
| vic_init |
|
27 |
3 |
210 |
| vic_stop |
|
23 |
2 |
154 |
| vic_alloc_mbuf |
|
15 |
3 |
109 |
| vic_tick |
|
6 |
1 |
35 |
| vic_read |
|
6 |
1 |
45 |
| vic_write |
|
6 |
1 |
47 |
| vic_read_cmd |
|
5 |
1 |
31 |
| vic_alloc_dmamem |
|
26 |
5 |
203 |
| vic_free_dmamem |
|
7 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_wpivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/adw_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adw_pci_match |
|
8 |
1 |
43 |
| adw_pci_attach |
|
60 |
10 |
352 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_em_hw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| em_set_phy_type |
|
72 |
33 |
276 |
| em_phy_init_script |
|
70 |
10 |
334 |
| em_set_mac_type |
|
278 |
177 |
951 |
| em_set_media_type |
|
74 |
34 |
296 |
| em_reset_hw |
|
193 |
70 |
1077 |
| em_initialize_hardware_bits |
|
83 |
22 |
437 |
| em_toggle_lanphypc_pch_lpt |
|
28 |
4 |
151 |
| em_disable_ulp_lpt_lp |
|
91 |
19 |
494 |
| em_init_hw |
|
193 |
53 |
1053 |
| em_adjust_serdes_amplitude |
|
28 |
8 |
114 |
| em_setup_link |
|
109 |
32 |
581 |
| em_power_up_serdes_link_82575 |
|
12 |
1 |
66 |
| em_setup_fiber_serdes_link |
|
101 |
22 |
532 |
| em_copper_link_preconfig |
|
36 |
11 |
201 |
| em_copper_link_igp_setup |
|
119 |
35 |
575 |
| em_copper_link_ggp_setup |
|
98 |
22 |
424 |
| em_copper_link_mgp_setup |
|
112 |
36 |
546 |
| em_copper_link_82577_setup |
|
26 |
5 |
121 |
| em_copper_link_82580_setup |
|
18 |
4 |
79 |
| em_copper_link_rtl8211_setup |
|
101 |
16 |
490 |
| em_copper_link_autoneg |
|
35 |
8 |
168 |
| em_copper_link_postconfig |
|
28 |
7 |
119 |
| em_setup_copper_link |
|
111 |
42 |
543 |
| em_configure_kmrn_for_10_100 |
|
25 |
4 |
124 |
| em_configure_kmrn_for_1000 |
|
22 |
3 |
110 |
| em_phy_setup_autoneg |
|
77 |
18 |
347 |
| em_phy_force_speed_duplex |
|
202 |
58 |
1042 |
| em_config_collision_dist |
|
14 |
2 |
70 |
| em_config_mac_to_phy |
|
27 |
7 |
145 |
| em_force_mac_fc |
|
29 |
6 |
129 |
| em_config_fc_after_link_up |
|
96 |
35 |
490 |
| em_check_for_link |
|
181 |
61 |
1070 |
| em_get_pcs_speed_and_duplex_82575 |
|
25 |
6 |
128 |
| em_get_speed_and_duplex |
|
68 |
24 |
373 |
| em_wait_autoneg |
|
21 |
5 |
100 |
| em_raise_mdi_clk |
|
6 |
1 |
37 |
| em_lower_mdi_clk |
|
6 |
1 |
37 |
| em_shift_out_mdi_bits |
|
21 |
3 |
114 |
| em_shift_in_mdi_bits |
|
24 |
3 |
147 |
| em_swfw_sync_acquire |
|
32 |
7 |
159 |
| em_swfw_sync_release |
|
19 |
4 |
93 |
| em_access_phy_wakeup_reg_bm |
|
41 |
8 |
224 |
| em_access_phy_debug_regs_hv |
|
26 |
5 |
135 |
| em_access_phy_reg_hv |
|
50 |
15 |
277 |
| em_read_phy_reg |
|
62 |
23 |
373 |
| em_read_phy_reg_ex |
|
45 |
11 |
288 |
| em_write_phy_reg |
|
55 |
20 |
334 |
| em_write_phy_reg_ex |
|
43 |
10 |
279 |
| em_read_kmrn_reg |
|
16 |
2 |
97 |
| em_write_kmrn_reg |
|
13 |
2 |
79 |
| em_phy_hw_reset |
|
53 |
12 |
323 |
| em_oem_bits_config_pchlan |
|
44 |
13 |
232 |
| em_phy_reset |
|
57 |
21 |
282 |
| em_kumeran_lock_loss_workaround |
|
31 |
7 |
165 |
| em_match_gig_phy |
|
124 |
59 |
618 |
| em_detect_gig_phy |
|
53 |
23 |
301 |
| em_phy_reset_dsp |
|
20 |
6 |
93 |
| em_init_eeprom_params |
|
212 |
49 |
1049 |
| em_raise_ee_clk |
|
7 |
1 |
45 |
| em_lower_ee_clk |
|
7 |
1 |
45 |
| em_shift_out_ee_bits |
|
26 |
5 |
159 |
| em_shift_in_ee_bits |
|
19 |
3 |
108 |
| em_acquire_eeprom |
|
40 |
10 |
257 |
| em_standby_eeprom |
|
33 |
3 |
206 |
| em_release_eeprom |
|
28 |
4 |
178 |
| em_spi_eeprom_ready |
|
22 |
4 |
106 |
| em_read_eeprom |
|
57 |
19 |
408 |
| em_read_eeprom_eerd |
|
18 |
3 |
107 |
| em_write_eeprom_eewr |
|
25 |
5 |
140 |
| em_poll_eerd_eewr_done |
|
18 |
4 |
91 |
| em_is_onboard_nvm_eeprom |
|
15 |
5 |
87 |
| em_get_flash_presence_i210 |
|
11 |
3 |
49 |
| em_validate_eeprom_checksum |
|
56 |
14 |
311 |
| em_update_eeprom_checksum |
|
28 |
6 |
175 |
| em_write_eeprom |
|
29 |
9 |
194 |
| em_write_eeprom_spi |
|
32 |
7 |
213 |
| em_write_eeprom_microwire |
|
37 |
5 |
243 |
| em_commit_shadow_ram |
|
112 |
24 |
664 |
| em_read_part_num |
|
17 |
3 |
102 |
| em_read_mac_addr |
|
38 |
13 |
241 |
| em_phy_no_cable_workaround |
|
59 |
12 |
424 |
| em_init_rx_addrs |
|
32 |
13 |
222 |
| em_mc_addr_list_update |
|
54 |
10 |
389 |
| em_hash_mc_addr |
|
46 |
10 |
351 |
| em_mta_set |
|
22 |
4 |
165 |
| em_rar_set |
|
21 |
5 |
178 |
| em_clear_vfta |
|
22 |
7 |
143 |
| em_clear_vfta_i350 |
|
10 |
3 |
59 |
| em_id_led_init |
|
69 |
24 |
409 |
| em_clear_hw_cntrs |
|
108 |
18 |
895 |
| em_tbi_adjust_stats |
|
38 |
14 |
247 |
| em_get_bus_info |
|
78 |
30 |
339 |
| em_write_reg_io |
|
7 |
1 |
51 |
| em_get_cable_length |
|
144 |
34 |
702 |
| em_check_downshift |
|
29 |
12 |
164 |
| em_config_dsp_after_link_change |
|
137 |
35 |
668 |
| em_set_phy_mode |
|
27 |
8 |
124 |
| em_set_d3_lplu_state |
|
96 |
31 |
492 |
| em_set_d0_lplu_state |
|
71 |
17 |
336 |
| em_set_lplu_state_pchlan |
|
17 |
3 |
77 |
| em_set_vco_speed |
|
41 |
11 |
204 |
| em_host_if_read_cookie |
|
13 |
2 |
84 |
| em_mng_enable_host_if |
|
21 |
5 |
105 |
| em_check_mng_mode |
|
13 |
4 |
72 |
| em_calculate_mng_checksum |
|
10 |
3 |
57 |
| em_enable_tx_pkt_filtering |
|
29 |
7 |
155 |
| em_polarity_reversal_workaround |
|
57 |
17 |
321 |
| em_set_pci_express_master_disable |
|
10 |
2 |
49 |
| em_disable_pciex_master |
|
21 |
5 |
85 |
| em_get_auto_rd_done |
|
42 |
22 |
157 |
| em_get_phy_cfg_done |
|
41 |
13 |
140 |
| em_get_hw_eeprom_semaphore |
|
30 |
7 |
141 |
| em_put_hw_eeprom_semaphore |
|
13 |
3 |
69 |
| em_get_software_semaphore |
|
20 |
5 |
92 |
| em_release_software_semaphore |
|
10 |
2 |
49 |
| em_check_phy_reset_block |
|
15 |
5 |
83 |
| em_set_pci_ex_no_snoop |
|
22 |
5 |
119 |
| em_get_software_flag |
|
23 |
5 |
105 |
| em_release_software_flag |
|
11 |
2 |
52 |
| em_valid_nvm_bank_detect_ich8lan |
|
72 |
14 |
354 |
| em_read_eeprom_spt |
|
66 |
19 |
462 |
| em_read_eeprom_ich8 |
|
36 |
8 |
230 |
| em_write_eeprom_ich8 |
|
26 |
5 |
137 |
| em_ich8_cycle_init |
|
62 |
11 |
322 |
| em_ich8_flash_cycle |
|
36 |
8 |
199 |
| em_read_ich8_data |
|
52 |
12 |
285 |
| em_read_ich8_data32 |
|
46 |
8 |
253 |
| em_write_ich8_data |
|
52 |
12 |
280 |
| em_read_ich8_byte |
|
13 |
3 |
72 |
| em_verify_write_ich8_byte |
|
21 |
5 |
114 |
| em_write_ich8_byte |
|
7 |
1 |
44 |
| em_read_ich8_dword |
|
6 |
1 |
35 |
| em_read_ich8_word |
|
6 |
1 |
37 |
| em_erase_ich8_4k_segment |
|
85 |
15 |
446 |
| em_read_invm_i210 |
|
58 |
15 |
258 |
| em_read_invm_word_i210 |
|
26 |
7 |
135 |
| em_init_lcd_from_nvm_config_region |
|
25 |
5 |
151 |
| em_init_lcd_from_nvm |
|
44 |
14 |
251 |
| em_set_pciex_completion_timeout |
|
26 |
5 |
119 |
| em_set_mdio_slow_mode_hv |
|
12 |
2 |
57 |
| em_hv_phy_workarounds_ich8lan |
|
85 |
27 |
600 |
| em_link_stall_workaround_hv |
|
29 |
6 |
130 |
| em_k1_gig_workaround_hv |
|
52 |
13 |
241 |
| em_k1_workaround_lv |
|
20 |
4 |
97 |
| em_k1_workaround_lpt_lp |
|
45 |
11 |
235 |
| em_gate_hw_phy_config_ich8lan |
|
13 |
3 |
61 |
| em_configure_k1_ich8lan |
|
33 |
4 |
177 |
| em_lv_phy_workarounds_ich8lan |
|
31 |
6 |
139 |
| em_set_eee_i350 |
|
25 |
4 |
142 |
| em_set_eee_pchlan |
|
19 |
5 |
89 |
| em_initialize_M88E1512_phy |
|
57 |
17 |
313 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/gcu_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/qlereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_i31244_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/mpii.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpii_dvatosge |
|
5 |
1 |
35 |
| mpii_match |
|
4 |
1 |
32 |
| mpii_attach |
|
158 |
29 |
1115 |
| mpii_detach |
|
13 |
3 |
87 |
| mpii_intr |
|
57 |
10 |
369 |
| mpii_load_xs_sas3 |
|
42 |
7 |
338 |
| mpii_load_xs |
|
47 |
8 |
370 |
| mpii_scsi_probe |
|
41 |
9 |
288 |
| mpii_read |
|
9 |
1 |
68 |
| mpii_write |
|
7 |
1 |
63 |
| mpii_wait_eq |
|
13 |
3 |
84 |
| mpii_wait_ne |
|
13 |
3 |
84 |
| mpii_init |
|
47 |
10 |
236 |
| mpii_reset_soft |
|
15 |
4 |
86 |
| mpii_reset_hard |
|
30 |
4 |
211 |
| mpii_handshake_send |
|
22 |
7 |
152 |
| mpii_handshake_recv_dword |
|
12 |
3 |
82 |
| mpii_handshake_recv |
|
26 |
8 |
203 |
| mpii_empty_done |
|
3 |
1 |
9 |
| mpii_iocfacts |
|
69 |
11 |
534 |
| mpii_iocinit |
|
60 |
5 |
471 |
| mpii_push_reply |
|
13 |
3 |
81 |
| mpii_portfacts |
|
40 |
4 |
238 |
| mpii_eventack |
|
29 |
4 |
190 |
| mpii_eventack_done |
|
7 |
1 |
49 |
| mpii_portenable |
|
31 |
4 |
188 |
| mpii_cfg_coalescing |
|
26 |
4 |
188 |
| mpii_eventnotify |
|
32 |
2 |
212 |
| mpii_eventnotify_done |
|
8 |
1 |
56 |
| mpii_event_raid |
|
81 |
20 |
437 |
| mpii_event_sas |
|
78 |
16 |
525 |
| mpii_event_discovery |
|
15 |
4 |
90 |
| mpii_event_process |
|
74 |
20 |
411 |
| mpii_event_done |
|
11 |
2 |
75 |
| mpii_sas_remove_device |
|
29 |
4 |
198 |
| mpii_board_info |
|
37 |
5 |
270 |
| mpii_target_map |
|
31 |
5 |
194 |
| mpii_req_cfg_header |
|
81 |
9 |
579 |
| mpii_req_cfg_page |
|
89 |
15 |
659 |
| mpii_reply |
|
21 |
2 |
156 |
| mpii_dmamem_alloc |
|
31 |
6 |
244 |
| mpii_dmamem_free |
|
9 |
1 |
90 |
| mpii_insert_dev |
|
14 |
6 |
93 |
| mpii_remove_dev |
|
15 |
5 |
94 |
| mpii_find_dev |
|
11 |
4 |
73 |
| mpii_alloc_ccbs |
|
55 |
6 |
437 |
| mpii_put_ccb |
|
16 |
1 |
113 |
| mpii_get_ccb |
|
16 |
2 |
97 |
| mpii_alloc_replies |
|
16 |
3 |
111 |
| mpii_push_replies |
|
16 |
2 |
119 |
| mpii_start |
|
43 |
4 |
308 |
| mpii_poll |
|
21 |
3 |
120 |
| mpii_poll_done |
|
5 |
1 |
22 |
| mpii_alloc_queues |
|
26 |
4 |
188 |
| mpii_init_queues |
|
8 |
1 |
55 |
| mpii_wait |
|
17 |
2 |
115 |
| mpii_wait_done |
|
8 |
1 |
39 |
| mpii_scsi_cmd |
|
79 |
9 |
533 |
| mpii_scsi_cmd_tmo |
|
13 |
2 |
86 |
| mpii_scsi_cmd_tmo_handler |
|
24 |
3 |
149 |
| mpii_scsi_cmd_tmo_done |
|
4 |
1 |
18 |
| mpii_scsi_cmd_done |
|
114 |
22 |
725 |
| mpii_scsi_ioctl |
|
20 |
6 |
137 |
| mpii_ioctl_cache |
|
72 |
16 |
460 |
| mpii_ioctl |
|
24 |
4 |
146 |
| mpii_ioctl_inq |
|
11 |
4 |
96 |
| mpii_ioctl_vol |
|
87 |
18 |
514 |
| mpii_ioctl_disk |
|
46 |
6 |
321 |
| mpii_bio_hs |
|
52 |
11 |
344 |
| mpii_bio_disk |
|
72 |
14 |
462 |
| mpii_find_vol |
|
10 |
4 |
72 |
| mpii_bio_volstate |
|
56 |
12 |
310 |
| mpii_create_sensors |
|
32 |
5 |
258 |
| mpii_refresh_sensors |
|
34 |
8 |
213 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_iwivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/qla_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| qla_pci_match |
|
4 |
1 |
34 |
| qla_pci_attach |
|
101 |
19 |
696 |
| qla_pci_detach |
|
17 |
3 |
115 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_opti_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/safe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| safe_probe |
|
8 |
3 |
54 |
| safe_attach |
|
122 |
16 |
829 |
| safe_process |
|
511 |
117 |
3122 |
| safe_reset_board |
|
12 |
1 |
53 |
| safe_init_board |
|
49 |
4 |
364 |
| safe_init_pciregs |
|
3 |
1 |
9 |
| safe_dma_malloc |
|
29 |
5 |
249 |
| safe_dma_free |
|
7 |
1 |
67 |
| safe_rng_init |
|
25 |
5 |
133 |
| safe_rng_read |
|
8 |
3 |
43 |
| safe_rng |
|
45 |
7 |
304 |
| safe_newsession |
|
136 |
38 |
1006 |
| safe_freesession |
|
20 |
5 |
132 |
| safe_dmamap_aligned |
|
12 |
5 |
91 |
| safe_cleanchip |
|
14 |
5 |
82 |
| safe_free_entry |
|
11 |
3 |
81 |
| safe_feed |
|
20 |
5 |
156 |
| safe_dmamap_uniform |
|
13 |
5 |
97 |
| safe_mcopy |
|
41 |
10 |
248 |
| safe_callback |
|
57 |
15 |
454 |
| safe_intr |
|
29 |
10 |
179 |
| safe_dump_dmastatus |
|
6 |
1 |
49 |
| safe_dump_intrstate |
|
7 |
1 |
56 |
| safe_dump_ringstate |
|
7 |
1 |
56 |
| safe_dump_request |
|
53 |
7 |
545 |
| safe_dump_ring |
|
15 |
4 |
93 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/pciide_cy693_reg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_an_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| an_pci_match |
|
5 |
1 |
37 |
| an_pci_attach |
|
35 |
5 |
226 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/gcu_var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/agp_ali.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_ali_probe |
|
9 |
4 |
70 |
| agp_ali_attach |
|
36 |
5 |
290 |
| agp_ali_activate |
|
13 |
3 |
55 |
| agp_ali_save |
|
7 |
1 |
43 |
| agp_ali_restore |
|
7 |
1 |
43 |
| agp_ali_get_aperture |
|
10 |
2 |
57 |
| agp_ali_set_aperture |
|
16 |
4 |
102 |
| agp_ali_bind_page |
|
6 |
1 |
44 |
| agp_ali_unbind_page |
|
5 |
1 |
38 |
| agp_ali_flush_tlb |
|
12 |
1 |
79 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_vgereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_nge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nge_delay |
|
6 |
2 |
38 |
| nge_eeprom_idle |
|
19 |
2 |
96 |
| nge_eeprom_putbyte |
|
17 |
3 |
84 |
| nge_eeprom_getword |
|
23 |
3 |
126 |
| nge_read_eeprom |
|
13 |
3 |
93 |
| nge_mii_sync |
|
11 |
2 |
54 |
| nge_mii_send |
|
16 |
3 |
88 |
| nge_mii_readreg |
|
55 |
7 |
323 |
| nge_mii_writereg |
|
23 |
1 |
152 |
| nge_miibus_readreg |
|
11 |
1 |
84 |
| nge_miibus_writereg |
|
11 |
1 |
86 |
| nge_miibus_statchg |
|
24 |
3 |
170 |
| nge_setmulti |
|
37 |
6 |
266 |
| nge_reset |
|
14 |
4 |
92 |
| nge_probe |
|
8 |
3 |
59 |
| nge_attach |
|
158 |
14 |
1338 |
| nge_list_tx_init |
|
26 |
3 |
195 |
| nge_list_rx_init |
|
25 |
4 |
178 |
| nge_newbuf |
|
21 |
3 |
155 |
| nge_rxeof |
|
62 |
17 |
395 |
| nge_txeof |
|
37 |
9 |
226 |
| nge_tick |
|
63 |
12 |
400 |
| nge_intr |
|
53 |
21 |
309 |
| nge_encap |
|
38 |
8 |
299 |
| nge_start |
|
32 |
9 |
194 |
| nge_init |
|
90 |
11 |
649 |
| nge_ifmedia_mii_upd |
|
14 |
2 |
88 |
| nge_ifmedia_mii_sts |
|
9 |
1 |
69 |
| nge_ifmedia_tbi_upd |
|
35 |
3 |
235 |
| nge_ifmedia_tbi_sts |
|
38 |
8 |
272 |
| nge_ioctl |
|
61 |
17 |
335 |
| nge_watchdog |
|
13 |
2 |
73 |
| nge_stop |
|
41 |
7 |
307 |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/if_tlreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pci/auacer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| auacer_match |
|
5 |
1 |
37 |
| auacer_attach |
|
48 |
6 |
348 |
| auacer_ready_codec |
|
11 |
3 |
59 |
| auacer_sema_codec |
|
9 |
4 |
53 |
| auacer_read_codec |
|
16 |
5 |
94 |
| auacer_write_codec |
|
14 |
4 |
82 |
| auacer_attach_codec |
|
6 |
1 |
29 |
| auacer_reset_codec |
|
29 |
7 |
155 |
| auacer_reset |
|
10 |
1 |
72 |
| auacer_open |
|
5 |
1 |
25 |
| auacer_close |
|
4 |
1 |
17 |
| auacer_set_rate |
|
23 |
4 |
146 |
| auacer_fixup_rate |
|
11 |
3 |
87 |
| auacer_set_params |
|
40 |
13 |
259 |
| auacer_round_blocksize |
|
4 |
1 |
22 |
| auacer_halt |
|
19 |
2 |
155 |
| auacer_halt_output |
|
9 |
1 |
51 |
| auacer_halt_input |
|
5 |
1 |
22 |
| auacer_set_port |
|
6 |
1 |
46 |
| auacer_get_port |
|
6 |
1 |
46 |
| auacer_query_devinfo |
|
6 |
1 |
46 |
| auacer_allocm |
|
19 |
4 |
133 |
| auacer_freem |
|
13 |
3 |
93 |
| auacer_round_buffersize |
|
6 |
2 |
33 |
| auacer_get_props |
|
5 |
1 |
17 |
| auacer_add_entry |
|
15 |
3 |
116 |
| auacer_upd_chan |
|
28 |
6 |
216 |
| auacer_intr |
|
15 |
2 |
82 |
| auacer_setup_chan |
|
29 |
1 |
242 |
| auacer_trigger_output |
|
22 |
4 |
169 |
| auacer_trigger_input |
|
5 |
1 |
43 |
| auacer_allocmem |
|
30 |
5 |
236 |
| auacer_freemem |
|
8 |
1 |
71 |
| auacer_alloc_cdata |
|
40 |
5 |
296 |
| auacer_activate |
|
7 |
2 |
52 |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/vesagtf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| print_value |
|
4 |
1 |
26 |
| vesagtf_mode_params |
|
97 |
9 |
771 |
| vesagtf_mode |
|
14 |
1 |
92 |
| print_xf86_mode |
|
16 |
1 |
130 |
| main |
|
11 |
2 |
79 |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/edid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| edid_findvendor |
|
8 |
4 |
56 |
| edid_findproduct |
|
9 |
5 |
72 |
| edid_strchomp |
|
14 |
5 |
43 |
| edid_is_valid |
|
12 |
4 |
75 |
| edid_print |
|
123 |
27 |
769 |
| edid_mode_lookup_list |
|
8 |
3 |
51 |
| edid_std_timing |
|
35 |
12 |
218 |
| edid_det_timing |
|
39 |
5 |
244 |
| edid_block |
|
73 |
13 |
377 |
| edid_parse |
|
92 |
15 |
718 |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/videomode.c |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/videomode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/edidvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/ediddevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/edidreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/vesagtf.h |
| Source file: /home/sergeyb/sources/src/sys/dev/videomode/ediddevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/ata.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ata_get_params |
|
72 |
15 |
529 |
| ata_set_mode |
|
22 |
3 |
140 |
| ata_dmaerr |
|
14 |
4 |
73 |
| ata_perror |
|
30 |
5 |
180 |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/wdvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/pmreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/atascsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atascsi_attach |
|
27 |
2 |
225 |
| atascsi_detach |
|
10 |
2 |
71 |
| atascsi_probe_dev |
|
8 |
2 |
52 |
| atascsi_detach_dev |
|
8 |
2 |
59 |
| atascsi_lookup_port |
|
11 |
3 |
78 |
| atascsi_probe |
|
146 |
34 |
988 |
| atascsi_free |
|
23 |
5 |
166 |
| atascsi_cmd |
|
25 |
6 |
99 |
| atascsi_disk_cmd |
|
111 |
32 |
671 |
| atascsi_disk_cmd_done |
|
20 |
4 |
83 |
| atascsi_disk_inq |
|
37 |
10 |
154 |
| atascsi_disk_inquiry |
|
20 |
1 |
160 |
| atascsi_disk_vpd_supported |
|
25 |
2 |
202 |
| atascsi_disk_vpd_serial |
|
15 |
1 |
130 |
| atascsi_disk_vpd_ident |
|
40 |
2 |
294 |
| atascsi_disk_vpd_ata |
|
31 |
3 |
280 |
| atascsi_disk_vpd_limits |
|
19 |
2 |
152 |
| atascsi_disk_vpd_info |
|
15 |
1 |
142 |
| atascsi_disk_vpd_thin |
|
18 |
2 |
142 |
| atascsi_disk_write_same_16 |
|
51 |
8 |
341 |
| atascsi_disk_write_same_16_done |
|
19 |
4 |
76 |
| atascsi_disk_unmap |
|
38 |
10 |
258 |
| atascsi_disk_unmap_task |
|
42 |
4 |
310 |
| atascsi_disk_unmap_done |
|
20 |
4 |
85 |
| atascsi_disk_sync |
|
24 |
4 |
170 |
| atascsi_disk_sync_done |
|
20 |
6 |
92 |
| ata_identify_blocks |
|
16 |
3 |
101 |
| ata_identify_blocksize |
|
13 |
3 |
82 |
| ata_identify_block_l2p_exp |
|
10 |
3 |
56 |
| ata_identify_block_logical_align |
|
11 |
4 |
70 |
| atascsi_disk_capacity |
|
20 |
3 |
144 |
| atascsi_disk_capacity16 |
|
29 |
5 |
228 |
| atascsi_passthru_map |
|
26 |
7 |
145 |
| atascsi_passthru_12 |
|
30 |
3 |
207 |
| atascsi_passthru_16 |
|
35 |
3 |
277 |
| atascsi_passthru_done |
|
21 |
4 |
88 |
| atascsi_disk_sense |
|
8 |
1 |
53 |
| atascsi_disk_start_stop |
|
29 |
5 |
203 |
| atascsi_disk_start_stop_done |
|
35 |
7 |
214 |
| atascsi_atapi_cmd |
|
39 |
5 |
258 |
| atascsi_atapi_cmd_done |
|
30 |
7 |
169 |
| atascsi_pmp_cmd |
|
18 |
5 |
65 |
| atascsi_pmp_sense |
|
8 |
1 |
53 |
| atascsi_pmp_inq |
|
20 |
2 |
167 |
| atascsi_done |
|
5 |
1 |
23 |
| ata_exec |
|
4 |
1 |
23 |
| atascsi_io_get |
|
10 |
2 |
65 |
| atascsi_io_put |
|
8 |
1 |
50 |
| ata_polled_complete |
|
3 |
1 |
9 |
| ata_polled |
|
20 |
5 |
83 |
| ata_complete |
|
5 |
1 |
25 |
| ata_swapcopy |
|
8 |
2 |
59 |
| atascsi_port_identify |
|
22 |
3 |
168 |
| atascsi_port_set_features |
|
20 |
2 |
147 |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/wd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdprobe |
|
16 |
7 |
108 |
| wdattach |
|
119 |
20 |
937 |
| wdactivate |
|
23 |
5 |
127 |
| wddetach |
|
10 |
1 |
70 |
| wdstrategy |
|
37 |
6 |
221 |
| wdstart |
|
14 |
3 |
83 |
| __wdstart |
|
40 |
12 |
289 |
| wddone |
|
53 |
12 |
334 |
| wdrestart |
|
16 |
2 |
108 |
| wdread |
|
5 |
1 |
40 |
| wdwrite |
|
5 |
1 |
40 |
| wdopen |
|
47 |
10 |
297 |
| wdclose |
|
17 |
3 |
119 |
| wdgetdefaultlabel |
|
24 |
2 |
201 |
| wdgetdisklabel |
|
14 |
3 |
96 |
| wdioctl |
|
66 |
17 |
452 |
| wdformat |
|
5 |
1 |
21 |
| wdsize |
|
24 |
6 |
172 |
| wddump |
|
93 |
20 |
516 |
| wd_get_params |
|
29 |
6 |
171 |
| wd_flushcache |
|
42 |
10 |
229 |
| wd_standby |
|
26 |
5 |
144 |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/atascsi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/satareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/atareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/ata_wdc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wd_hibernate_io |
|
57 |
7 |
436 |
| wdc_ata_bio |
|
25 |
9 |
185 |
| wdc_ata_bio_start |
|
10 |
2 |
77 |
| _wdc_ata_bio_start |
|
188 |
45 |
1294 |
| wdc_ata_bio_intr |
|
87 |
19 |
544 |
| wdc_ata_bio_kill_xfer |
|
13 |
2 |
86 |
| wdc_ata_bio_done |
|
20 |
3 |
144 |
| wdc_ata_ctrl_intr |
|
132 |
39 |
861 |
| wdc_ata_err |
|
32 |
9 |
177 |
| wdc_ata_addref |
|
6 |
1 |
28 |
| wdc_ata_delref |
|
6 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/ata/atavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/efi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/atk0110.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aibs_match |
|
6 |
1 |
45 |
| aibs_attach |
|
26 |
3 |
182 |
| aibs_attach_sif |
|
62 |
13 |
385 |
| aibs_attach_new |
|
20 |
4 |
122 |
| aibs_add_sensor |
|
80 |
16 |
533 |
| aibs_refresh |
|
7 |
1 |
38 |
| aibs_refresh_r |
|
46 |
15 |
253 |
| aibs_getvalue |
|
64 |
10 |
385 |
| aibs_getpack |
|
20 |
3 |
131 |
| aibs_probe |
|
12 |
7 |
140 |
| aibs_find_cb |
|
7 |
1 |
39 |
| aibs_notify |
|
8 |
2 |
41 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpimcfg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpimcfg_match |
|
11 |
3 |
83 |
| acpimcfg_attach |
|
12 |
2 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpicbkbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpicbkbd_match |
|
6 |
1 |
45 |
| acpicbkbd_attach |
|
15 |
2 |
114 |
| acpicbkbd_activate |
|
10 |
2 |
53 |
| acpicbkbd_get_backlight |
|
9 |
1 |
51 |
| acpicbkbd_set_backlight |
|
11 |
2 |
70 |
| acpicbkbd_write_backlight |
|
11 |
1 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpidock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpidock_match |
|
10 |
4 |
70 |
| acpidock_attach |
|
35 |
5 |
287 |
| acpidock_status |
|
14 |
2 |
75 |
| acpidock_docklock |
|
19 |
2 |
123 |
| acpidock_dockctl |
|
19 |
2 |
123 |
| acpidock_eject |
|
21 |
3 |
134 |
| acpidock_notify |
|
36 |
7 |
243 |
| acpidock_walkchildren |
|
13 |
4 |
107 |
| acpidock_foundejd |
|
18 |
3 |
128 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/dwiic_acpi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dwiic_acpi_match |
|
6 |
1 |
45 |
| dwiic_acpi_attach |
|
75 |
9 |
623 |
| dwiic_acpi_parse_crs |
|
42 |
9 |
296 |
| dwiic_acpi_get_params |
|
27 |
6 |
190 |
| dwiic_acpi_bus_scan |
|
7 |
1 |
49 |
| dwiic_i2c_intr_establish |
|
13 |
3 |
110 |
| dwiic_i2c_intr_string |
|
10 |
3 |
74 |
| dwiic_matchhids |
|
8 |
3 |
56 |
| dwiic_acpi_found_hid |
|
46 |
10 |
388 |
| dwiic_acpi_found_ihidev |
|
54 |
8 |
437 |
| dwiic_acpi_found_iatp |
|
25 |
5 |
178 |
| dwiic_acpi_power |
|
21 |
7 |
144 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/sdhc_acpi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdhc_acpi_match |
|
6 |
1 |
45 |
| sdhc_acpi_attach |
|
45 |
10 |
366 |
| sdhc_acpi_parse_resources |
|
30 |
6 |
209 |
| sdhc_acpi_card_detect |
|
7 |
1 |
52 |
| sdhc_acpi_card_detect_intr |
|
6 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpivideo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpivideo_match |
|
9 |
4 |
70 |
| acpivideo_attach |
|
15 |
2 |
122 |
| acpivideo_notify |
|
17 |
6 |
81 |
| acpivideo_set_policy |
|
10 |
1 |
88 |
| acpi_foundvout |
|
19 |
4 |
147 |
| acpivideo_print |
|
11 |
3 |
54 |
| acpivideo_getpcibus |
|
5 |
3 |
38 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/bytgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bytgpio_match |
|
6 |
1 |
45 |
| bytgpio_attach |
|
92 |
15 |
683 |
| bytgpio_parse_resources |
|
19 |
3 |
104 |
| bytgpio_read_pin |
|
7 |
1 |
52 |
| bytgpio_write_pin |
|
11 |
2 |
85 |
| bytgpio_intr_establish |
|
20 |
6 |
179 |
| bytgpio_intr |
|
21 |
5 |
149 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpibtn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpibtn_numopenlids |
|
14 |
4 |
81 |
| acpibtn_setpsw |
|
10 |
1 |
66 |
| acpibtn_disable_psw |
|
6 |
1 |
29 |
| acpibtn_enable_psw |
|
6 |
1 |
29 |
| acpibtn_match |
|
6 |
1 |
47 |
| acpibtn_attach |
|
40 |
7 |
362 |
| acpibtn_notify |
|
51 |
14 |
246 |
| acpibtn_activate |
|
17 |
3 |
86 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/chvgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| chvgpio_pad_cfg0_offset |
|
4 |
1 |
28 |
| chvgpio_read_pad_cfg0 |
|
5 |
1 |
29 |
| chvgpio_write_pad_cfg0 |
|
5 |
1 |
33 |
| chvgpio_read_pad_cfg1 |
|
5 |
1 |
31 |
| chvgpio_write_pad_cfg1 |
|
5 |
1 |
35 |
| chvgpio_match |
|
6 |
1 |
45 |
| chvgpio_attach |
|
77 |
12 |
515 |
| chvgpio_parse_resources |
|
19 |
3 |
104 |
| chvgpio_check_pin |
|
10 |
4 |
59 |
| chvgpio_read_pin |
|
8 |
1 |
49 |
| chvgpio_write_pin |
|
12 |
2 |
67 |
| chvgpio_intr_establish |
|
41 |
6 |
238 |
| chvgpio_intr |
|
19 |
4 |
128 |
| chvgpio_opreg_handler |
|
12 |
4 |
88 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpicpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpicpu_set_throttle |
|
14 |
3 |
91 |
| acpicpu_find_cstate |
|
8 |
2 |
44 |
| acpicpu_set_pdc |
|
65 |
4 |
575 |
| check_mwait_hints |
|
19 |
5 |
108 |
| acpicpu_add_cstate |
|
19 |
4 |
142 |
| acpicpu_add_cstatepkg |
|
85 |
23 |
520 |
| acpicpu_add_cdeppkg |
|
21 |
8 |
147 |
| acpicpu_getcst |
|
37 |
10 |
280 |
| acpicpu_getcst_from_fadt |
|
16 |
8 |
135 |
| acpicpu_print_one_cst |
|
33 |
10 |
180 |
| acpicpu_print_cst |
|
14 |
3 |
67 |
| acpicpu_match |
|
10 |
4 |
70 |
| acpicpu_attach |
|
121 |
27 |
903 |
| acpicpu_getppc |
|
13 |
2 |
97 |
| acpicpu_getpct |
|
61 |
9 |
479 |
| acpicpu_getpss |
|
42 |
8 |
365 |
| acpicpu_fetch_pss |
|
9 |
2 |
43 |
| acpicpu_notify |
|
25 |
4 |
129 |
| acpicpu_set_notify |
|
7 |
2 |
41 |
| acpicpu_setperf_ppc_change |
|
7 |
2 |
37 |
| acpicpu_setperf |
|
64 |
12 |
483 |
| acpicpu_idle |
|
86 |
26 |
571 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpipwrres.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpipwrres_match |
|
9 |
4 |
70 |
| acpipwrres_attach |
|
41 |
8 |
383 |
| acpipwrres_ref_incr |
|
15 |
3 |
108 |
| acpipwrres_ref_decr |
|
15 |
3 |
108 |
| acpipwrres_hascons |
|
9 |
2 |
50 |
| acpipwrres_addcons |
|
44 |
11 |
328 |
| acpipwrres_foundcons |
|
45 |
10 |
318 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpidebug.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_opregion |
|
20 |
8 |
58 |
| db_aml_dump |
|
8 |
3 |
53 |
| db_aml_showvalue |
|
92 |
21 |
504 |
| db_aml_objtype |
|
43 |
20 |
145 |
| db_aml_walktree |
|
8 |
2 |
42 |
| db_parse_name |
|
30 |
7 |
142 |
| db_acpi_showval |
|
11 |
3 |
57 |
| db_disprint |
|
7 |
1 |
37 |
| db_acpi_disasm |
|
18 |
6 |
133 |
| db_acpi_tree |
|
4 |
1 |
23 |
| db_acpi_trace |
|
25 |
9 |
171 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpitoshiba.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_param_brightness |
|
20 |
6 |
144 |
| acpitoshiba_get_param |
|
11 |
2 |
42 |
| set_param_brightness |
|
18 |
6 |
132 |
| acpitoshiba_set_param |
|
11 |
2 |
42 |
| toshiba_find_brightness |
|
19 |
6 |
109 |
| toshiba_match |
|
12 |
5 |
90 |
| toshiba_enable_events |
|
9 |
2 |
52 |
| toshiba_read_events |
|
20 |
3 |
148 |
| toshiba_attach |
|
16 |
2 |
104 |
| toshiba_fn_key_brightness_up |
|
13 |
3 |
60 |
| toshiba_fn_key_brightness_down |
|
13 |
3 |
60 |
| toshiba_fn_key_video_output |
|
11 |
2 |
58 |
| toshiba_hotkey |
|
38 |
11 |
183 |
| toshiba_set_brightness |
|
21 |
5 |
153 |
| toshiba_get_brightness |
|
21 |
3 |
157 |
| toshiba_get_video_output |
|
20 |
3 |
154 |
| toshiba_set_video_output |
|
21 |
5 |
152 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpisbs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpisbs_match |
|
6 |
1 |
47 |
| acpisbs_attach |
|
39 |
10 |
333 |
| acpisbs_read |
|
27 |
6 |
198 |
| acpisbs_setup_sensors |
|
24 |
5 |
217 |
| acpisbs_refresh_sensors |
|
51 |
13 |
344 |
| acpisbs_notify |
|
20 |
4 |
105 |
| acpi_smbus_read |
|
52 |
9 |
376 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpiprt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpiprt_match |
|
10 |
4 |
70 |
| acpiprt_attach |
|
28 |
5 |
201 |
| acpiprt_getirq |
|
29 |
4 |
216 |
| acpiprt_chooseirq |
|
46 |
11 |
363 |
| acpiprt_prt_add |
|
145 |
35 |
1011 |
| acpiprt_getpcibus |
|
5 |
3 |
38 |
| acpiprt_route_interrupt |
|
56 |
14 |
351 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpiasus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpiasus_match |
|
6 |
1 |
47 |
| acpiasus_attach |
|
11 |
1 |
83 |
| acpiasus_init |
|
13 |
2 |
92 |
| acpiasus_notify |
|
48 |
23 |
181 |
| acpiasus_activate |
|
20 |
3 |
116 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpimadt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpimadt_match |
|
11 |
3 |
83 |
| acpimadt_validate |
|
60 |
26 |
342 |
| acpimadt_cfg_intr |
|
30 |
7 |
127 |
| acpimadt_attach |
|
199 |
37 |
1360 |
| acpimadt_print |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/dsdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aml_pc |
|
4 |
1 |
15 |
| _aml_die |
|
30 |
9 |
203 |
| aml_hashopcodes |
|
8 |
2 |
71 |
| aml_findopcode |
|
8 |
3 |
38 |
| aml_mnem |
|
32 |
8 |
185 |
| acpi_walkmem |
|
13 |
2 |
72 |
| _acpi_os_malloc |
|
13 |
2 |
98 |
| _acpi_os_free |
|
11 |
3 |
90 |
| acpi_sleep |
|
12 |
3 |
60 |
| acpi_stall |
|
4 |
1 |
12 |
| aml_dump |
|
9 |
3 |
61 |
| aml_tstbit |
|
5 |
1 |
30 |
| aml_setbit |
|
8 |
2 |
42 |
| acpi_poll |
|
10 |
1 |
54 |
| aml_notify_task |
|
8 |
2 |
64 |
| aml_register_notify |
|
18 |
5 |
147 |
| aml_notify |
|
7 |
2 |
45 |
| aml_notify_dev |
|
9 |
3 |
64 |
| acpi_poll_notify_task |
|
7 |
3 |
52 |
| __aml_search |
|
20 |
4 |
142 |
| aml_nodename |
|
13 |
3 |
79 |
| aml_getname |
|
32 |
8 |
153 |
| aml_delchildren |
|
14 |
5 |
92 |
| acpi_glk_enter |
|
9 |
3 |
37 |
| acpi_glk_leave |
|
12 |
3 |
63 |
| aml_lockfield |
|
6 |
2 |
33 |
| aml_unlockfield |
|
6 |
2 |
33 |
| aml_showvalue |
|
80 |
26 |
504 |
| aml_val2int |
|
21 |
5 |
102 |
| _aml_setvalue |
|
45 |
12 |
303 |
| aml_copyvalue |
|
49 |
14 |
271 |
| aml_allocvalue |
|
10 |
2 |
66 |
| aml_freevalue |
|
31 |
9 |
173 |
| aml_convradix |
|
12 |
2 |
55 |
| aml_lsb |
|
9 |
3 |
47 |
| aml_msb |
|
9 |
3 |
44 |
| aml_evalexpr |
|
92 |
32 |
414 |
| aml_bufcpy |
|
13 |
3 |
106 |
| aml_walknodes |
|
14 |
5 |
95 |
| aml_find_node |
|
18 |
6 |
127 |
| aml_parseopcode |
|
22 |
12 |
118 |
| aml_parsename |
|
55 |
14 |
355 |
| aml_parselength |
|
15 |
4 |
94 |
| aml_parseend |
|
14 |
2 |
77 |
| aml_eisaid |
|
13 |
1 |
157 |
| aml_callosi |
|
24 |
7 |
190 |
| aml_create_defaultobjects |
|
22 |
4 |
170 |
| aml_print_resource |
|
53 |
10 |
358 |
| aml_mapresource |
|
11 |
2 |
63 |
| aml_parse_resource |
|
18 |
7 |
151 |
| aml_foreachpkg |
|
9 |
3 |
70 |
| aml_fixup_node |
|
20 |
8 |
139 |
| aml_postparse |
|
4 |
1 |
18 |
| aml_val_to_string |
|
24 |
5 |
139 |
| aml_addref |
|
10 |
3 |
55 |
| aml_delref |
|
18 |
6 |
103 |
| aml_findscope |
|
24 |
8 |
117 |
| aml_getstack |
|
21 |
9 |
159 |
| aml_showstack |
|
21 |
9 |
148 |
| aml_pushscope |
|
29 |
5 |
171 |
| aml_popscope |
|
22 |
5 |
112 |
| aml_matchtest |
|
18 |
7 |
82 |
| aml_match |
|
18 |
4 |
105 |
| aml_hextoint |
|
17 |
8 |
113 |
| aml_convert |
|
66 |
18 |
355 |
| aml_compare |
|
17 |
3 |
126 |
| aml_concat |
|
30 |
4 |
241 |
| aml_ccrlen |
|
6 |
1 |
35 |
| aml_concatres |
|
15 |
3 |
143 |
| aml_mid |
|
8 |
3 |
65 |
| aml_evalhid |
|
8 |
3 |
67 |
| aml_opreg_sysmem_handler |
|
6 |
1 |
39 |
| aml_opreg_sysio_handler |
|
6 |
1 |
39 |
| aml_opreg_pcicfg_handler |
|
6 |
1 |
39 |
| aml_opreg_ec_handler |
|
6 |
1 |
39 |
| aml_register_regionspace |
|
16 |
3 |
146 |
| aml_rdpciaddr |
|
18 |
5 |
118 |
| acpi_genio |
|
57 |
12 |
330 |
| aml_rwgen |
|
78 |
17 |
591 |
| aml_rwgpio |
|
25 |
10 |
227 |
| aml_rwindexfield |
|
59 |
10 |
384 |
| aml_rwfield |
|
41 |
7 |
364 |
| aml_createfield |
|
31 |
8 |
221 |
| aml_parsefieldlist |
|
40 |
8 |
225 |
| acpi_mutex_acquire |
|
17 |
5 |
108 |
| acpi_mutex_release |
|
10 |
2 |
60 |
| acpi_event_wait |
|
16 |
6 |
101 |
| acpi_event_signal |
|
4 |
1 |
22 |
| acpi_event_reset |
|
4 |
1 |
22 |
| aml_store |
|
78 |
23 |
492 |
| aml_disprintf |
|
7 |
1 |
37 |
| aml_disasm |
|
335 |
146 |
1539 |
| aml_eval |
|
55 |
13 |
365 |
| aml_parsesimple |
|
38 |
9 |
212 |
| aml_gettgt |
|
7 |
3 |
35 |
| aml_seterror |
|
15 |
2 |
88 |
| aml_load |
|
28 |
4 |
213 |
| aml_parse |
|
600 |
197 |
4086 |
| acpi_parse_aml |
|
21 |
2 |
121 |
| aml_evalnode |
|
23 |
8 |
161 |
| aml_node_setval |
|
10 |
2 |
71 |
| aml_evalname |
|
6 |
1 |
55 |
| aml_evalinteger |
|
13 |
2 |
89 |
| __aml_searchname |
|
21 |
7 |
158 |
| aml_searchname |
|
4 |
1 |
24 |
| aml_searchrel |
|
11 |
3 |
52 |
| acpi_getdevlist |
|
17 |
4 |
106 |
| acpi_freedevlist |
|
8 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpiec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpiec_wait |
|
18 |
5 |
124 |
| acpiec_status |
|
4 |
1 |
25 |
| acpiec_write_data |
|
6 |
1 |
48 |
| acpiec_write_cmd |
|
6 |
1 |
48 |
| acpiec_read_data |
|
8 |
1 |
53 |
| acpiec_sci_event |
|
14 |
2 |
111 |
| acpiec_read_1 |
|
10 |
2 |
60 |
| acpiec_write_1 |
|
8 |
2 |
55 |
| acpiec_burst_enable |
|
5 |
1 |
21 |
| acpiec_burst_disable |
|
5 |
2 |
29 |
| acpiec_read |
|
11 |
2 |
90 |
| acpiec_write |
|
11 |
2 |
90 |
| acpiec_match |
|
13 |
4 |
107 |
| acpiec_attach |
|
35 |
8 |
263 |
| acpiec_get_events |
|
12 |
3 |
108 |
| acpiec_gpehandler |
|
26 |
4 |
174 |
| acpiec_parse_resources |
|
36 |
7 |
184 |
| acpiec_getcrs |
|
61 |
11 |
453 |
| acpiec_reg |
|
16 |
3 |
124 |
| acpiec_lock |
|
8 |
2 |
36 |
| acpiec_unlock |
|
8 |
2 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpidebug.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpireg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/tpm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tpm_match |
|
6 |
1 |
47 |
| tpm_attach |
|
53 |
10 |
373 |
| tpm_parse_crs |
|
23 |
7 |
127 |
| tpm_activate |
|
23 |
5 |
103 |
| tpm_suspend |
|
13 |
1 |
82 |
| tpm_resume |
|
5 |
1 |
25 |
| tpm_probe |
|
18 |
5 |
84 |
| tpm_init |
|
30 |
7 |
239 |
| tpm_request_locality |
|
26 |
6 |
167 |
| tpm_release_locality |
|
10 |
2 |
68 |
| tpm_getburst |
|
20 |
4 |
149 |
| tpm_status |
|
4 |
1 |
25 |
| tpm_tmotohz |
|
7 |
1 |
38 |
| tpm_waitfor |
|
14 |
3 |
78 |
| tpm_read |
|
29 |
7 |
186 |
| tpm_write |
|
55 |
11 |
440 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpitz.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpitz_init_perf |
|
9 |
3 |
35 |
| acpitz_setperf |
|
12 |
7 |
54 |
| acpitz_init |
|
32 |
7 |
251 |
| acpitz_match |
|
12 |
5 |
87 |
| acpitz_attach |
|
46 |
5 |
404 |
| acpitz_activate |
|
10 |
2 |
45 |
| acpitz_setfan |
|
68 |
11 |
436 |
| acpitz_refresh |
|
70 |
26 |
539 |
| acpitz_getreading |
|
7 |
2 |
50 |
| acpitz_gettempreading |
|
26 |
5 |
163 |
| acpitz_notify |
|
20 |
4 |
92 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpibat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpibat_match |
|
8 |
2 |
65 |
| acpibat_attach |
|
34 |
7 |
276 |
| acpibat_monitor |
|
59 |
4 |
768 |
| acpibat_refresh |
|
117 |
19 |
1156 |
| acpibat_getbix |
|
90 |
11 |
779 |
| acpibat_getbst |
|
31 |
4 |
225 |
| acpibat_notify |
|
26 |
6 |
127 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/amltypes.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/dsdt.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpithinkpad.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| thinkpad_match |
|
14 |
5 |
108 |
| thinkpad_sensor_attach |
|
16 |
3 |
134 |
| thinkpad_sensor_refresh |
|
18 |
4 |
169 |
| thinkpad_attach |
|
32 |
6 |
237 |
| thinkpad_enable_events |
|
31 |
5 |
242 |
| thinkpad_hotkey |
|
66 |
23 |
290 |
| thinkpad_toggle_bluetooth |
|
19 |
4 |
126 |
| thinkpad_toggle_wan |
|
19 |
4 |
126 |
| thinkpad_cmos |
|
9 |
1 |
64 |
| thinkpad_volume_down |
|
4 |
1 |
19 |
| thinkpad_volume_up |
|
4 |
1 |
19 |
| thinkpad_volume_mute |
|
4 |
1 |
19 |
| thinkpad_brightness_up |
|
4 |
1 |
19 |
| thinkpad_brightness_down |
|
4 |
1 |
19 |
| thinkpad_adaptive_change |
|
22 |
4 |
135 |
| thinkpad_activate |
|
17 |
6 |
96 |
| thinkpad_get_thinklight |
|
6 |
2 |
39 |
| thinkpad_set_thinklight |
|
10 |
1 |
73 |
| thinkpad_get_backlight |
|
11 |
2 |
75 |
| thinkpad_set_backlight |
|
16 |
3 |
103 |
| thinkpad_get_brightness |
|
5 |
1 |
31 |
| thinkpad_set_brightness |
|
10 |
1 |
71 |
| thinkpad_get_param |
|
15 |
3 |
82 |
| thinkpad_set_param |
|
22 |
5 |
129 |
| thinkpad_attach_deferred |
|
4 |
1 |
16 |
| thinkpad_get_volume_mute |
|
9 |
2 |
57 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpiac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpiac_match |
|
6 |
1 |
47 |
| acpiac_attach |
|
25 |
3 |
213 |
| acpiac_refresh |
|
7 |
1 |
42 |
| acpiac_getsta |
|
15 |
3 |
99 |
| acpiac_notify |
|
16 |
5 |
78 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpidev.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpihpet.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpihpet_r |
|
8 |
1 |
52 |
| acpihpet_w |
|
6 |
1 |
45 |
| acpihpet_activate |
|
65 |
3 |
642 |
| acpihpet_match |
|
11 |
4 |
85 |
| acpihpet_attach |
|
55 |
9 |
383 |
| acpihpet_gettime |
|
5 |
1 |
34 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpitimer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpitimermatch |
|
10 |
4 |
70 |
| acpitimerattach |
|
26 |
7 |
214 |
| acpi_get_timecount |
|
13 |
3 |
97 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpihve.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpihve_match |
|
13 |
6 |
106 |
| acpihve_attach |
|
14 |
3 |
107 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpi_pci_conf_read_1 |
|
5 |
1 |
44 |
| acpi_pci_conf_read_2 |
|
5 |
1 |
44 |
| acpi_pci_conf_read_4 |
|
4 |
1 |
23 |
| acpi_pci_conf_write_1 |
|
7 |
1 |
79 |
| acpi_pci_conf_write_2 |
|
7 |
1 |
79 |
| acpi_pci_conf_write_4 |
|
4 |
1 |
27 |
| acpi_gasio |
|
140 |
28 |
869 |
| acpi_inidev |
|
14 |
5 |
105 |
| acpi_foundprt |
|
23 |
5 |
176 |
| acpi_match |
|
10 |
3 |
73 |
| acpi_getminbus |
|
11 |
4 |
76 |
| _acpi_matchhids |
|
8 |
3 |
56 |
| acpi_matchhids |
|
11 |
4 |
72 |
| acpi_getpci |
|
92 |
21 |
758 |
| acpi_pci_match |
|
20 |
4 |
151 |
| acpi_pci_min_powerstate |
|
27 |
9 |
157 |
| acpi_pci_set_powerstate |
|
34 |
12 |
234 |
| acpi_pci_notify |
|
16 |
3 |
116 |
| acpi_pciroots_attach |
|
13 |
2 |
86 |
| acpi_gpio_event_task |
|
8 |
1 |
58 |
| acpi_gpio_event |
|
6 |
1 |
33 |
| acpi_gpio_parse_events |
|
27 |
6 |
188 |
| acpi_register_gpio |
|
17 |
4 |
144 |
| acpi_attach |
|
178 |
34 |
1409 |
| acpi_submatch |
|
8 |
2 |
68 |
| acpi_print |
|
13 |
4 |
72 |
| acpi_maptable |
|
42 |
14 |
308 |
| acpi_loadtables |
|
38 |
7 |
299 |
| acpi_read_pmreg |
|
68 |
18 |
473 |
| acpi_write_pmreg |
|
74 |
17 |
514 |
| acpi_map_pmregs |
|
106 |
27 |
564 |
| acpi_unmap_pmregs |
|
9 |
4 |
72 |
| acpi_enable |
|
12 |
3 |
66 |
| acpi_addtask |
|
15 |
2 |
100 |
| acpi_dotask |
|
16 |
2 |
95 |
| is_ata |
|
7 |
4 |
48 |
| is_ejectable |
|
4 |
1 |
21 |
| is_ejectable_bay |
|
4 |
3 |
31 |
| acpiide_notify |
|
33 |
10 |
263 |
| acpi_foundide |
|
35 |
6 |
277 |
| acpi_sleep_task |
|
14 |
1 |
106 |
| acpi_reset |
|
23 |
7 |
140 |
| acpi_gpe_task |
|
10 |
3 |
71 |
| acpi_pbtn_task |
|
13 |
1 |
77 |
| acpi_sbtn_task |
|
13 |
1 |
73 |
| acpi_powerdown_task |
|
8 |
2 |
34 |
| acpi_interrupt |
|
61 |
11 |
433 |
| acpi_add_device |
|
46 |
11 |
249 |
| acpi_enable_onegpe |
|
9 |
2 |
81 |
| acpi_disable_allgpes |
|
8 |
2 |
59 |
| acpi_enable_rungpes |
|
7 |
3 |
45 |
| acpi_enable_wakegpes |
|
11 |
2 |
68 |
| acpi_set_gpehandler |
|
17 |
5 |
124 |
| acpi_gpe |
|
13 |
2 |
124 |
| acpi_foundprw |
|
32 |
9 |
280 |
| acpi_find_gpe |
|
6 |
2 |
32 |
| acpi_init_gpes |
|
28 |
6 |
220 |
| acpi_init_pm |
|
9 |
1 |
81 |
| acpi_init_states |
|
20 |
4 |
169 |
| acpi_sleep_pm |
|
32 |
8 |
250 |
| acpi_resume_pm |
|
32 |
5 |
279 |
| acpi_indicator |
|
8 |
2 |
42 |
| acpi_sleep_state |
|
104 |
23 |
557 |
| acpi_powerdown |
|
18 |
3 |
93 |
| acpi_map_address |
|
22 |
5 |
112 |
| acpi_wakeup |
|
6 |
1 |
31 |
| acpi_thread |
|
45 |
10 |
278 |
| acpi_create_thread |
|
8 |
2 |
45 |
| acpi_foundec |
|
34 |
7 |
213 |
| acpi_foundsony |
|
13 |
1 |
97 |
| acpi_parsehid |
|
43 |
7 |
254 |
| acpi_attach_deps |
|
21 |
8 |
142 |
| acpi_foundhid |
|
38 |
10 |
293 |
| acpi_founddock |
|
14 |
1 |
110 |
| acpi_foundvideo |
|
13 |
1 |
99 |
| acpi_foundsbs |
|
27 |
6 |
229 |
| acpiopen |
|
35 |
10 |
176 |
| acpiclose |
|
23 |
6 |
120 |
| acpiioctl |
|
112 |
30 |
687 |
| acpi_record_event |
|
8 |
2 |
51 |
| acpi_filtdetach |
|
8 |
1 |
45 |
| acpi_filtread |
|
6 |
3 |
32 |
| acpikqfilter |
|
20 |
5 |
114 |
| acpiopen |
|
4 |
1 |
23 |
| acpiclose |
|
4 |
1 |
23 |
| acpiioctl |
|
4 |
1 |
26 |
| acpikqfilter |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/smbus.h |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpiutil.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpi_checksum |
|
11 |
3 |
65 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpisony.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpisony_match |
|
10 |
4 |
70 |
| acpisony_attach |
|
11 |
1 |
89 |
| acpisony_activate |
|
10 |
2 |
43 |
| acpisony_notify |
|
73 |
19 |
361 |
| acpisony_notify_setup |
|
22 |
1 |
238 |
| acpisony_find_offset |
|
17 |
3 |
122 |
| acpisony_set_hotkey |
|
16 |
2 |
119 |
| acpisony_brightness_down |
|
12 |
2 |
58 |
| acpisony_get_brightness |
|
9 |
1 |
53 |
| acpisony_set_brightness |
|
9 |
1 |
65 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpivout.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpivout_match |
|
12 |
6 |
81 |
| acpivout_attach |
|
13 |
1 |
101 |
| acpivout_notify |
|
24 |
6 |
95 |
| acpivout_brightness_cycle |
|
11 |
3 |
55 |
| acpivout_brightness_up |
|
13 |
6 |
96 |
| acpivout_brightness_down |
|
13 |
6 |
92 |
| acpivout_brightness_zero |
|
6 |
2 |
31 |
| acpivout_get_brightness |
|
12 |
3 |
98 |
| acpivout_find_brightness |
|
15 |
7 |
143 |
| acpivout_set_brightness |
|
10 |
1 |
84 |
| acpivout_get_bcl |
|
26 |
6 |
205 |
| acpivout_get_param |
|
27 |
8 |
170 |
| acpivout_set_param |
|
25 |
7 |
151 |
| Source file: /home/sergeyb/sources/src/sys/dev/acpi/acpials.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpials_match |
|
8 |
3 |
67 |
| acpials_attach |
|
30 |
5 |
255 |
| acpials_read |
|
9 |
2 |
54 |
| acpials_notify |
|
8 |
2 |
54 |
| acpials_addtask |
|
6 |
1 |
35 |
| acpials_update |
|
10 |
2 |
67 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/pcmciareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/gpr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gpr_match |
|
8 |
3 |
48 |
| gpr_attach |
|
60 |
10 |
460 |
| gpr_detach |
|
9 |
1 |
75 |
| gpr_activate |
|
13 |
3 |
70 |
| gpropen |
|
10 |
3 |
84 |
| gprclose |
|
8 |
1 |
70 |
| gprioctl |
|
58 |
16 |
310 |
| gpr_intr |
|
11 |
1 |
69 |
| tlvput |
|
35 |
7 |
244 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/pcmciadevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_xe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xe_pcmcia_match |
|
18 |
6 |
81 |
| xe_pcmcia_attach |
|
154 |
22 |
1080 |
| xe_pcmcia_detach |
|
16 |
1 |
117 |
| xe_pcmcia_activate |
|
35 |
8 |
236 |
| xe_pcmcia_funce_enaddr |
|
6 |
1 |
29 |
| xe_pcmcia_lan_nid_ciscallback |
|
33 |
10 |
195 |
| xe_pcmcia_interpret_manfid |
|
18 |
6 |
127 |
| xe_pcmcia_manfid_ciscallback |
|
48 |
14 |
221 |
| xe_intr |
|
83 |
13 |
584 |
| xe_get |
|
70 |
10 |
436 |
| xe_mdi_idle |
|
11 |
1 |
68 |
| xe_mdi_pulse |
|
13 |
2 |
86 |
| xe_mdi_probe |
|
14 |
1 |
91 |
| xe_mdi_pulse_bits |
|
9 |
2 |
53 |
| xe_mdi_read |
|
25 |
4 |
160 |
| xe_mdi_write |
|
20 |
2 |
133 |
| xe_statchg |
|
4 |
1 |
11 |
| xe_mediachange |
|
7 |
2 |
31 |
| xe_mediastatus |
|
9 |
1 |
55 |
| xe_reset |
|
10 |
1 |
40 |
| xe_watchdog |
|
8 |
1 |
47 |
| xe_stop |
|
12 |
1 |
105 |
| xe_init |
|
13 |
1 |
73 |
| xe_start |
|
56 |
15 |
452 |
| xe_ioctl |
|
58 |
18 |
333 |
| xe_set_address |
|
45 |
11 |
307 |
| xe_cycle_power |
|
16 |
2 |
104 |
| xe_full_reset |
|
84 |
15 |
733 |
| xe_reg_dump |
|
34 |
11 |
254 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/pcmciavar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_malo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| malo_pcmcia_match |
|
8 |
3 |
48 |
| malo_pcmcia_attach |
|
44 |
7 |
340 |
| malo_pcmcia_detach |
|
9 |
1 |
67 |
| malo_pcmcia_activate |
|
36 |
11 |
226 |
| malo_pcmcia_wakeup |
|
14 |
2 |
90 |
| cmalo_attach |
|
46 |
5 |
328 |
| cmalo_ioctl |
|
75 |
18 |
521 |
| cmalo_fw_alloc |
|
23 |
5 |
141 |
| cmalo_fw_free |
|
11 |
3 |
63 |
| cmalo_fw_load_helper |
|
45 |
9 |
298 |
| cmalo_fw_load_main |
|
63 |
14 |
405 |
| cmalo_init |
|
56 |
19 |
429 |
| cmalo_stop |
|
12 |
1 |
83 |
| cmalo_media_change |
|
9 |
3 |
52 |
| cmalo_newstate |
|
44 |
8 |
211 |
| cmalo_detach |
|
15 |
4 |
101 |
| cmalo_intr |
|
30 |
8 |
158 |
| cmalo_intr_mask |
|
15 |
2 |
84 |
| cmalo_rx |
|
48 |
7 |
365 |
| cmalo_start |
|
14 |
7 |
95 |
| cmalo_watchdog |
|
5 |
1 |
24 |
| cmalo_tx |
|
34 |
2 |
314 |
| cmalo_tx_done |
|
9 |
1 |
58 |
| cmalo_event |
|
24 |
3 |
116 |
| cmalo_select_network |
|
28 |
6 |
203 |
| cmalo_reflect_network |
|
12 |
1 |
115 |
| cmalo_wep |
|
14 |
3 |
88 |
| cmalo_rate2bitmap |
|
18 |
13 |
116 |
| cmalo_hexdump |
|
14 |
7 |
95 |
| cmalo_cmd_get_hwspec |
|
18 |
2 |
138 |
| cmalo_cmd_rsp_hwspec |
|
11 |
2 |
81 |
| cmalo_cmd_set_reset |
|
15 |
2 |
96 |
| cmalo_cmd_set_scan |
|
51 |
4 |
451 |
| cmalo_cmd_rsp_scan |
|
34 |
2 |
342 |
| cmalo_parse_elements |
|
32 |
5 |
230 |
| cmalo_cmd_set_auth |
|
19 |
2 |
153 |
| cmalo_cmd_set_wep |
|
48 |
10 |
337 |
| cmalo_cmd_set_snmp |
|
42 |
6 |
297 |
| cmalo_cmd_set_radio |
|
22 |
3 |
163 |
| cmalo_cmd_set_channel |
|
19 |
2 |
148 |
| cmalo_cmd_set_txpower |
|
19 |
2 |
148 |
| cmalo_cmd_set_antenna |
|
22 |
4 |
169 |
| cmalo_cmd_set_macctrl |
|
22 |
3 |
172 |
| cmalo_cmd_set_macaddr |
|
19 |
2 |
151 |
| cmalo_cmd_set_assoc |
|
56 |
4 |
552 |
| cmalo_cmd_rsp_assoc |
|
14 |
2 |
90 |
| cmalo_cmd_set_80211d |
|
32 |
3 |
256 |
| cmalo_cmd_set_bgscan_config |
|
23 |
2 |
172 |
| cmalo_cmd_set_bgscan_query |
|
18 |
2 |
133 |
| cmalo_cmd_set_rate |
|
25 |
3 |
187 |
| cmalo_cmd_request |
|
23 |
4 |
161 |
| cmalo_cmd_response |
|
108 |
21 |
569 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/wdc_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_pcmcia_disk_device_interface_callback |
|
22 |
6 |
101 |
| wdc_pcmcia_disk_device_interface |
|
12 |
2 |
65 |
| wdc_pcmcia_lookup |
|
25 |
11 |
162 |
| wdc_pcmcia_match |
|
19 |
4 |
118 |
| wdc_pcmcia_attach |
|
111 |
23 |
854 |
| wdc_pcmcia_detach |
|
20 |
5 |
149 |
| wdc_pcmcia_activate |
|
36 |
7 |
218 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_xereg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/pcmcia_cis.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcmcia_cis_read_1 |
|
20 |
2 |
182 |
| pcmcia_read_cis |
|
21 |
2 |
164 |
| if |
|
5 |
2 |
31 |
| if |
|
7 |
2 |
53 |
| while |
|
233 |
53 |
1338 |
| pcmcia_print_cis |
|
147 |
44 |
850 |
| pcmcia_parse_cis_tuple |
|
519 |
105 |
2882 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/cfxga.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cfxga_install_function |
|
19 |
2 |
116 |
| cfxga_remove_function |
|
8 |
1 |
49 |
| cfxga_match |
|
37 |
9 |
246 |
| cfxga_activate |
|
14 |
2 |
64 |
| cfxga_attach |
|
52 |
8 |
371 |
| cfxga_detach |
|
12 |
3 |
83 |
| cfxga_alloc_screen |
|
88 |
15 |
579 |
| cfxga_burner |
|
10 |
2 |
66 |
| cfxga_free_screen |
|
14 |
2 |
92 |
| cfxga_ioctl |
|
54 |
19 |
269 |
| cfxga_mmap |
|
4 |
1 |
20 |
| cfxga_show_screen |
|
13 |
2 |
92 |
| cfxga_load_font |
|
8 |
2 |
55 |
| cfxga_list_font |
|
8 |
2 |
49 |
| cfxga_reset_video |
|
71 |
12 |
579 |
| cfxga_reset_and_repaint |
|
8 |
2 |
39 |
| cfxga_wait |
|
10 |
3 |
60 |
| cfxga_synchronize |
|
16 |
3 |
98 |
| cfxga_expand_char |
|
65 |
17 |
542 |
| cfxga_repaint_screen |
|
29 |
6 |
224 |
| cfxga_solid_fill |
|
24 |
3 |
220 |
| cfxga_standalone_rop |
|
29 |
4 |
259 |
| cfxga_copycols |
|
17 |
2 |
175 |
| cfxga_copyrows |
|
17 |
2 |
162 |
| cfxga_do_cursor |
|
13 |
2 |
110 |
| cfxga_erasecols |
|
19 |
3 |
200 |
| cfxga_eraserows |
|
23 |
4 |
237 |
| cfxga_putchar |
|
21 |
3 |
206 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/cfxgareg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/esp_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| esp_pcmcia_match |
|
13 |
5 |
95 |
| esp_pcmcia_attach |
|
58 |
10 |
383 |
| esp_pcmcia_init |
|
25 |
2 |
191 |
| esp_pcmcia_detach |
|
16 |
3 |
98 |
| esp_pcmcia_enable |
|
32 |
7 |
196 |
| esp_pcmcia_poll |
|
7 |
1 |
42 |
| esp_pcmcia_read_reg |
|
9 |
1 |
53 |
| esp_pcmcia_write_reg |
|
11 |
3 |
75 |
| esp_pcmcia_dma_isintr |
|
5 |
1 |
21 |
| esp_pcmcia_dma_reset |
|
7 |
1 |
35 |
| esp_pcmcia_dma_intr |
|
60 |
14 |
365 |
| esp_pcmcia_dma_setup |
|
15 |
1 |
80 |
| esp_pcmcia_dma_go |
|
6 |
1 |
29 |
| esp_pcmcia_dma_stop |
|
4 |
1 |
11 |
| esp_pcmcia_dma_isactive |
|
6 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_malovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/pcmciachip.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_maloreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/aic_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aic_pcmcia_match |
|
13 |
5 |
95 |
| aic_pcmcia_attach |
|
54 |
14 |
387 |
| aic_pcmcia_detach |
|
13 |
2 |
76 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_wi_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wi_lookup |
|
23 |
13 |
195 |
| wi_pcmcia_match |
|
7 |
2 |
43 |
| wi_pcmcia_attach |
|
56 |
10 |
406 |
| wi_pcmcia_detach |
|
15 |
2 |
111 |
| wi_pcmcia_activate |
|
33 |
8 |
201 |
| wi_pcmcia_wakeup |
|
13 |
2 |
75 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_ne_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ne_pcmcia_match |
|
12 |
3 |
74 |
| ne_pcmcia_attach |
|
158 |
36 |
965 |
| ne_pcmcia_detach |
|
16 |
3 |
107 |
| ne_pcmcia_activate |
|
41 |
9 |
244 |
| ne_pcmcia_enable |
|
13 |
2 |
82 |
| ne_pcmcia_disable |
|
7 |
1 |
41 |
| ne_pcmcia_get_enaddr |
|
34 |
5 |
216 |
| ne_pcmcia_dl10019_get_enaddr |
|
24 |
6 |
162 |
| ne_pcmcia_ax88190_set_iobase |
|
37 |
5 |
277 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/gprio.h |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_sm_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sm_pcmcia_match |
|
13 |
5 |
95 |
| sm_pcmcia_attach |
|
60 |
15 |
436 |
| sm_pcmcia_detach |
|
13 |
1 |
85 |
| sm_pcmcia_activate |
|
19 |
4 |
110 |
| sm_pcmcia_ascii_enaddr |
|
32 |
11 |
249 |
| sm_pcmcia_funce_enaddr |
|
6 |
1 |
29 |
| sm_pcmcia_lannid_ciscallback |
|
20 |
7 |
121 |
| sm_pcmcia_enable |
|
13 |
2 |
82 |
| sm_pcmcia_disable |
|
7 |
1 |
41 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_ep_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ep_pcmcia_lookup |
|
10 |
4 |
68 |
| ep_pcmcia_match |
|
11 |
3 |
61 |
| ep_pcmcia_enable |
|
14 |
2 |
87 |
| ep_pcmcia_enable1 |
|
20 |
6 |
135 |
| ep_pcmcia_disable |
|
7 |
1 |
39 |
| ep_pcmcia_disable1 |
|
6 |
1 |
30 |
| ep_pcmcia_attach |
|
77 |
21 |
560 |
| ep_pcmcia_detach |
|
12 |
2 |
77 |
| ep_pcmcia_activate |
|
33 |
8 |
212 |
| ep_pcmcia_get_enaddr |
|
17 |
4 |
103 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/if_an_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| an_pcmcia_match |
|
16 |
6 |
71 |
| an_pcmcia_attach |
|
45 |
6 |
313 |
| an_pcmcia_detach |
|
13 |
3 |
85 |
| an_pcmcia_activate |
|
19 |
4 |
121 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcmcia_ccr_read |
|
7 |
1 |
36 |
| pcmcia_ccr_write |
|
10 |
2 |
61 |
| pcmcia_match |
|
10 |
2 |
59 |
| pcmcia_attach |
|
13 |
1 |
84 |
| pcmcia_activate |
|
29 |
12 |
173 |
| pcmcia_card_attach |
|
66 |
12 |
472 |
| pcmcia_card_detach |
|
23 |
5 |
161 |
| pcmcia_card_deactivate |
|
15 |
4 |
107 |
| pcmcia_submatch |
|
12 |
3 |
85 |
| pcmcia_print |
|
41 |
18 |
274 |
| pcmcia_card_gettype |
|
13 |
6 |
92 |
| pcmcia_function_init |
|
8 |
2 |
37 |
| pcmcia_function_enable |
|
99 |
19 |
712 |
| pcmcia_function_disable |
|
31 |
9 |
215 |
| pcmcia_io_map |
|
41 |
7 |
289 |
| if |
|
57 |
11 |
379 |
| pcmcia_intr_disestablish |
|
51 |
12 |
342 |
| pcmcia_intr_string |
|
6 |
1 |
35 |
| pcmcia_card_intr |
|
32 |
10 |
215 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/pcmcia_cis_quirks.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcmcia_check_cis_quirks |
|
73 |
23 |
582 |
| Source file: /home/sergeyb/sources/src/sys/dev/pcmcia/com_pcmcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_pcmcia_match |
|
40 |
13 |
219 |
| com_pcmcia_activate |
|
27 |
6 |
153 |
| com_pcmcia_attach |
|
64 |
16 |
448 |
| com_pcmcia_detach |
|
13 |
2 |
77 |
| com_pcmcia_enable |
|
14 |
2 |
85 |
| com_pcmcia_enable1 |
|
20 |
6 |
135 |
| com_pcmcia_disable |
|
7 |
1 |
39 |
| com_pcmcia_disable1 |
|
6 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hid_clear_local |
|
15 |
1 |
85 |
| hid_switch_rid |
|
38 |
12 |
246 |
| hid_start_parse |
|
9 |
1 |
74 |
| hid_end_parse |
|
6 |
2 |
26 |
| hid_get_byte |
|
15 |
3 |
79 |
| hid_get_item |
|
275 |
55 |
1452 |
| hid_report_size |
|
27 |
7 |
203 |
| hid_locate |
|
27 |
10 |
202 |
| hid_get_data_sub |
|
32 |
6 |
214 |
| hid_get_data |
|
4 |
1 |
31 |
| hid_get_udata |
|
4 |
1 |
31 |
| hid_is_collection |
|
24 |
7 |
161 |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hidmt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hidmt_get_resolution |
|
33 |
17 |
221 |
| hidmt_setup |
|
90 |
21 |
634 |
| hidmt_configure |
|
18 |
3 |
118 |
| hidmt_attach |
|
11 |
3 |
85 |
| hidmt_detach |
|
7 |
2 |
41 |
| hidmt_set_input_mode |
|
5 |
1 |
33 |
| hidmt_input |
|
116 |
29 |
778 |
| hidmt_enable |
|
7 |
2 |
27 |
| hidmt_ioctl |
|
34 |
7 |
202 |
| hidmt_disable |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hid.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hidmsvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hidms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hidms_setup |
|
150 |
30 |
988 |
| hidms_attach |
|
43 |
13 |
310 |
| hidms_detach |
|
8 |
2 |
52 |
| hidms_input |
|
62 |
24 |
511 |
| hidms_enable |
|
8 |
2 |
33 |
| hidms_ioctl |
|
45 |
24 |
380 |
| hidms_disable |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hidmtvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hidkbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hidkbdtracedump |
|
13 |
2 |
99 |
| hidkbd_attach |
|
21 |
4 |
134 |
| hidkbd_attach_wskbd |
|
11 |
1 |
73 |
| hidkbd_detach |
|
15 |
4 |
96 |
| hidkbd_input |
|
22 |
7 |
173 |
| hidkbd_delayed_decode |
|
5 |
1 |
25 |
| hidkbd_decode |
|
116 |
35 |
794 |
| hidkbd_enable |
|
7 |
2 |
32 |
| hidkbd_set_leds |
|
16 |
10 |
153 |
| hidkbd_ioctl |
|
17 |
5 |
114 |
| hidkbd_cngetc |
|
10 |
2 |
74 |
| hidkbd_bell |
|
6 |
2 |
38 |
| hidkbd_hookup_bell |
|
7 |
2 |
42 |
| hidkbd_parse_desc |
|
80 |
23 |
597 |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hidkbdsc.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hid/hidkbdvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/adb.h |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/akbdmap.h |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/adb_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adbprint |
|
55 |
12 |
222 |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/ams.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amsmatch |
|
10 |
3 |
57 |
| amsattach |
|
89 |
17 |
443 |
| ems_init |
|
116 |
28 |
850 |
| ms_adbcomplete |
|
35 |
11 |
248 |
| ms_processevent |
|
47 |
16 |
365 |
| ams_enable |
|
4 |
1 |
11 |
| ams_ioctl |
|
9 |
2 |
49 |
| ams_disable |
|
3 |
1 |
8 |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/keyboard.h |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/amsvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/akbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| akbdmatch |
|
10 |
3 |
66 |
| akbdattach |
|
127 |
36 |
644 |
| akbd_adbcomplete |
|
22 |
7 |
149 |
| getleds |
|
12 |
3 |
75 |
| setleds |
|
23 |
6 |
166 |
| blinkleds |
|
14 |
4 |
80 |
| akbd_enable |
|
4 |
1 |
14 |
| akbd_set_leds |
|
17 |
7 |
80 |
| akbd_ioctl |
|
20 |
6 |
114 |
| akbd_processevent |
|
33 |
10 |
209 |
| akbd_capslockwrapper |
|
7 |
3 |
40 |
| akbd_iso_swap |
|
11 |
3 |
36 |
| akbd_input |
|
32 |
9 |
183 |
| Source file: /home/sergeyb/sources/src/sys/dev/adb/akbdvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/atapiscsi/atapiscsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atapiscsi_match |
|
13 |
5 |
88 |
| atapiscsi_attach |
|
63 |
10 |
462 |
| atapiscsi_activate |
|
18 |
3 |
97 |
| atapiscsi_detach |
|
4 |
1 |
22 |
| wdc_atapi_send_cmd |
|
79 |
16 |
479 |
| wdc_atapi_minphys |
|
6 |
2 |
33 |
| wdc_atapi_ioctl |
|
9 |
2 |
78 |
| atapi_to_scsi_sense |
|
29 |
7 |
196 |
| wdc_atapi_drive_selected |
|
6 |
1 |
47 |
| wdc_atapi_start |
|
5 |
1 |
29 |
| wdc_atapi_timer_handler |
|
18 |
3 |
99 |
| wdc_atapi_intr |
|
11 |
2 |
70 |
| wdc_atapi_the_poll_machine |
|
25 |
5 |
138 |
| wdc_atapi_the_machine |
|
50 |
12 |
298 |
| wdc_atapi_update_status |
|
14 |
4 |
112 |
| wdc_atapi_real_start |
|
21 |
5 |
158 |
| wdc_atapi_real_start_2 |
|
23 |
4 |
123 |
| wdc_atapi_send_packet |
|
22 |
5 |
166 |
| wdc_atapi_intr_command |
|
73 |
19 |
550 |
| wdc_atapi_in_data_phase |
|
37 |
8 |
189 |
| wdc_atapi_intr_data |
|
60 |
7 |
399 |
| wdc_atapi_intr_complete |
|
90 |
20 |
524 |
| wdc_atapi_pio_intr |
|
71 |
17 |
421 |
| wdc_atapi_ctrl |
|
148 |
39 |
836 |
| wdc_atapi_tape_done |
|
17 |
2 |
97 |
| wdc_atapi_done |
|
14 |
2 |
110 |
| wdc_atapi_reset |
|
17 |
2 |
106 |
| wdc_atapi_reset_2 |
|
21 |
3 |
123 |
| Source file: /home/sergeyb/sources/src/sys/dev/wsfont/bold8x16.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wsfont/bold8x16-iso1.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wsfont/gallant12x22.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wsfont/wsfont.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wsfont/wsfont.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsfont_revbit |
|
8 |
2 |
61 |
| wsfont_revbyte |
|
20 |
4 |
115 |
| wsfont_enum |
|
10 |
2 |
65 |
| wsfont_rotate_cw |
|
20 |
5 |
184 |
| wsfont_rotate_ccw |
|
21 |
5 |
195 |
| wsfont_rotate_internal |
|
27 |
3 |
188 |
| wsfont_rotate |
|
15 |
2 |
92 |
| wsfont_init |
|
12 |
3 |
64 |
| wsfont_find0 |
|
8 |
2 |
39 |
| wsfont_find |
|
20 |
9 |
135 |
| wsfont_add |
|
34 |
4 |
226 |
| wsfont_remove |
|
22 |
5 |
145 |
| wsfont_lock |
|
34 |
10 |
197 |
| wsfont_unlock |
|
14 |
3 |
74 |
| wsfont_map_unichar |
|
32 |
14 |
226 |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hilreg.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hilkbdmap.c |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hilkbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hilkbdprobe |
|
8 |
3 |
48 |
| hilkbdattach |
|
47 |
12 |
363 |
| hilkbddetach |
|
10 |
3 |
58 |
| hilkbd_enable |
|
13 |
4 |
60 |
| hilkbd_set_leds |
|
23 |
9 |
143 |
| hilkbd_ioctl |
|
23 |
7 |
138 |
| hilkbd_cngetc |
|
12 |
4 |
77 |
| hilkbd_cnpollc |
|
5 |
1 |
32 |
| hilkbd_cnbell |
|
6 |
1 |
42 |
| hilkbd_bell |
|
7 |
1 |
56 |
| hilkbd_callback |
|
46 |
13 |
286 |
| hilkbd_decode |
|
12 |
5 |
77 |
| hilkbd_is_console |
|
9 |
3 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hilms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hilmsprobe |
|
9 |
4 |
68 |
| hilmsattach |
|
54 |
11 |
397 |
| hilmsdetach |
|
7 |
2 |
46 |
| hilms_enable |
|
9 |
2 |
41 |
| hilms_disable |
|
5 |
1 |
21 |
| hilms_ioctl |
|
10 |
3 |
54 |
| hilms_callback |
|
84 |
29 |
552 |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hilkbdmap.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hilvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hil.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hilwait |
|
11 |
3 |
60 |
| hildatawait |
|
11 |
3 |
60 |
| hil_attach |
|
10 |
1 |
62 |
| hildevprint |
|
13 |
3 |
74 |
| hilsubmatch |
|
9 |
3 |
78 |
| hil_attach_deferred |
|
39 |
10 |
258 |
| hil_intr |
|
17 |
4 |
106 |
| hil_process_int |
|
55 |
15 |
278 |
| hil_process_poll |
|
52 |
13 |
241 |
| hil_thread |
|
24 |
5 |
114 |
| hilconfig |
|
53 |
15 |
397 |
| hilempty |
|
37 |
8 |
216 |
| send_hil_cmd |
|
34 |
8 |
211 |
| send_device_cmd |
|
40 |
6 |
282 |
| send_hildev_cmd |
|
15 |
4 |
119 |
| polloff |
|
26 |
3 |
204 |
| pollon |
|
19 |
2 |
147 |
| hil_set_poll |
|
9 |
2 |
44 |
| hil_poll_data |
|
18 |
4 |
129 |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hilid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hilidprobe |
|
7 |
2 |
42 |
| hilidattach |
|
22 |
3 |
189 |
| hiliddetach |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hildevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hil/hildevs.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_vt100_chars.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vt100_initchartables |
|
17 |
7 |
162 |
| vt100_setnrc |
|
14 |
6 |
136 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wseventvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wskbdvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsksymdef.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_getchar |
|
84 |
16 |
413 |
| wsemul_local_translate |
|
121 |
45 |
473 |
| wsemul_utf8_translate |
|
35 |
9 |
211 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wscons_features.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsdisplayvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsmuxvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsdisplay_compat_usl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usl_sync_init |
|
28 |
9 |
206 |
| usl_sync_done |
|
13 |
3 |
97 |
| usl_sync_check |
|
8 |
2 |
48 |
| usl_sync_get |
|
7 |
2 |
41 |
| usl_detachproc |
|
15 |
3 |
103 |
| usl_detachack |
|
12 |
4 |
84 |
| usl_detachtimeout |
|
13 |
3 |
80 |
| usl_attachproc |
|
15 |
3 |
103 |
| usl_attachack |
|
12 |
4 |
84 |
| usl_attachtimeout |
|
13 |
3 |
80 |
| wsdisplay_usl_ioctl1 |
|
46 |
14 |
314 |
| wsdisplay_usl_ioctl2 |
|
152 |
48 |
756 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsmouse.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsmousedevprint |
|
6 |
2 |
29 |
| wsmouse_match |
|
4 |
1 |
22 |
| wsmouse_attach |
|
21 |
7 |
158 |
| wsmouse_activate |
|
7 |
2 |
41 |
| wsmouse_detach |
|
31 |
10 |
212 |
| wsmouseopen |
|
33 |
10 |
231 |
| wsmouseclose |
|
25 |
7 |
189 |
| wsmousedoopen |
|
6 |
1 |
45 |
| wsmouseread |
|
18 |
5 |
111 |
| wsmouseioctl |
|
5 |
1 |
45 |
| wsmousedoioctl |
|
11 |
2 |
77 |
| wsmouse_param_ioctl |
|
29 |
8 |
198 |
| wsmouse_do_ioctl |
|
44 |
19 |
307 |
| wsmousepoll |
|
7 |
2 |
61 |
| wsmousekqfilter |
|
7 |
2 |
56 |
| wsmouse_mux_open |
|
7 |
2 |
49 |
| wsmouse_mux_close |
|
7 |
1 |
48 |
| wsmouse_add_mux |
|
10 |
6 |
83 |
| wsmouse_buttons |
|
8 |
2 |
61 |
| wsmouse_motion |
|
11 |
5 |
80 |
| wsmouse_position |
|
18 |
3 |
101 |
| normalized_pressure |
|
8 |
3 |
47 |
| wsmouse_touch |
|
16 |
5 |
122 |
| wsmouse_mtstate |
|
39 |
12 |
290 |
| wsmouse_set |
|
50 |
18 |
310 |
| wsmouse_touch_update |
|
20 |
9 |
156 |
| wsmouse_mt_update |
|
8 |
3 |
59 |
| wsmouse_ptr_ctrl |
|
29 |
6 |
231 |
| wsmouse_mt_convert |
|
19 |
3 |
141 |
| wsmouse_evq_put |
|
16 |
3 |
117 |
| wsmouse_btn_sync |
|
11 |
3 |
81 |
| scale |
|
11 |
2 |
70 |
| wsmouse_motion_sync |
|
36 |
18 |
332 |
| wsmouse_touch_sync |
|
11 |
5 |
91 |
| clear_sync_flags |
|
13 |
3 |
86 |
| wsmouse_input_sync |
|
47 |
13 |
342 |
| wsmouse_id_to_slot |
|
20 |
5 |
147 |
| wsmouse_matching |
|
59 |
19 |
494 |
| wsmouse_mtframe |
|
63 |
17 |
588 |
| free_mt_slots |
|
13 |
3 |
90 |
| wsmouse_mt_init |
|
28 |
8 |
212 |
| wsmouse_get_params |
|
64 |
18 |
404 |
| wsmouse_set_params |
|
81 |
22 |
465 |
| wsmouse_set_mode |
|
14 |
3 |
86 |
| wsmouse_get_hw |
|
4 |
1 |
24 |
| wsmouse_configure |
|
38 |
13 |
269 |
| wsmouse_input_reset |
|
20 |
3 |
178 |
| wsmouse_input_cleanup |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wstpad.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| normalize_abs |
|
4 |
2 |
27 |
| normalize_rel |
|
4 |
2 |
24 |
| direction |
|
18 |
7 |
107 |
| dircmp |
|
5 |
2 |
33 |
| wstpad_set_direction |
|
15 |
5 |
99 |
| edge_flags |
|
13 |
5 |
83 |
| get_2nd_touch |
|
11 |
3 |
70 |
| set_freeze_ts |
|
6 |
1 |
51 |
| chk_scroll_state |
|
9 |
5 |
61 |
| wstpad_scroll |
|
30 |
9 |
245 |
| wstpad_f2scroll |
|
35 |
23 |
271 |
| wstpad_edgescroll |
|
19 |
10 |
141 |
| sbtn |
|
10 |
6 |
82 |
| top_sbtn |
|
9 |
4 |
70 |
| wstpad_get_sbtn |
|
18 |
11 |
157 |
| wstpad_softbuttons |
|
14 |
6 |
97 |
| wstpad_is_tap |
|
15 |
5 |
163 |
| wstpad_tap_touch |
|
25 |
7 |
177 |
| tap_finished |
|
5 |
3 |
37 |
| tap_btn |
|
5 |
3 |
42 |
| wstpad_tap |
|
105 |
32 |
703 |
| wstpad_tap_timeout |
|
27 |
6 |
197 |
| wstpad_click |
|
7 |
4 |
47 |
| wstpad_cmds |
|
52 |
13 |
307 |
| clear_touchstates |
|
8 |
1 |
55 |
| wstpad_mt_inputs |
|
46 |
4 |
445 |
| wstpad_mt_masks |
|
29 |
12 |
225 |
| wstpad_touch_inputs |
|
49 |
12 |
433 |
| t2_ignore |
|
5 |
3 |
46 |
| wstpad_process_input |
|
42 |
16 |
262 |
| wstpad_track_interval |
|
31 |
8 |
244 |
| wstpad_decelerate |
|
20 |
5 |
241 |
| wstpad_strong_hysteresis |
|
20 |
5 |
126 |
| wstpad_weak_hysteresis |
|
12 |
11 |
132 |
| wstpad_filter |
|
27 |
13 |
321 |
| wstpad_compat_convert |
|
24 |
10 |
240 |
| wstpad_init |
|
24 |
5 |
183 |
| isqrt |
|
16 |
3 |
87 |
| wstpad_init_deceleration |
|
19 |
4 |
158 |
| wstpad_configure |
|
100 |
32 |
972 |
| wstpad_reset |
|
12 |
3 |
74 |
| wstpad_set_param |
|
83 |
25 |
332 |
| wstpad_get_param |
|
80 |
24 |
336 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsconsio.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemulconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_pick |
|
12 |
6 |
84 |
| wsemul_getname |
|
6 |
2 |
33 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/unicode.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsmoused.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_vt100_keys.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_vt100_translate |
|
126 |
47 |
618 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wscons_callbacks.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/ascii.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsmousevar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsdisplay_usl_io.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsdisplay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsscreen_attach |
|
37 |
8 |
286 |
| wsscreen_detach |
|
12 |
2 |
94 |
| wsdisplay_screentype_pick |
|
14 |
5 |
104 |
| wsdisplay_addscreen_print |
|
9 |
2 |
78 |
| wsdisplay_addscreen |
|
39 |
9 |
269 |
| wsdisplay_getscreen |
|
16 |
6 |
119 |
| wsdisplay_closescreen |
|
18 |
8 |
143 |
| wsdisplay_delscreen |
|
30 |
13 |
217 |
| wsdisplay_emul_match |
|
12 |
4 |
71 |
| wsdisplay_emul_attach |
|
15 |
5 |
130 |
| wsdisplay_emul_detach |
|
5 |
1 |
34 |
| wsdisplay_activate |
|
10 |
2 |
37 |
| wsdisplay_common_detach |
|
26 |
13 |
179 |
| wsemuldisplaydevprint |
|
8 |
4 |
45 |
| wsemuldisplaydevsubmatch |
|
8 |
2 |
62 |
| wsdisplay_common_attach |
|
70 |
25 |
501 |
| wsdisplay_cnattach |
|
25 |
8 |
182 |
| wsdisplayopen |
|
46 |
12 |
337 |
| wsdisplayclose |
|
42 |
12 |
299 |
| wsdisplayread |
|
17 |
4 |
125 |
| wsdisplaywrite |
|
17 |
4 |
125 |
| wsdisplaytty |
|
13 |
3 |
78 |
| wsdisplayioctl |
|
35 |
13 |
302 |
| wsdisplay_param |
|
6 |
1 |
57 |
| wsdisplay_internal_ioctl |
|
145 |
54 |
1022 |
| wsdisplay_cfg_ioctl |
|
66 |
28 |
453 |
| wsdisplaymmap |
|
12 |
4 |
108 |
| wsdisplaypoll |
|
12 |
4 |
95 |
| wsdisplaykqfilter |
|
12 |
4 |
90 |
| wsdisplaystart |
|
60 |
17 |
421 |
| wsdisplaystop |
|
10 |
3 |
63 |
| wsdisplayparam |
|
7 |
1 |
43 |
| wsdisplay_emulbell |
|
10 |
3 |
53 |
| wsdisplay_emulinput |
|
14 |
5 |
88 |
| wsdisplay_kbdinput |
|
18 |
5 |
141 |
| wsdisplay_rawkbdinput |
|
12 |
4 |
89 |
| wsdisplay_update_rawkbd |
|
23 |
8 |
146 |
| wsdisplay_switch3 |
|
38 |
13 |
236 |
| wsdisplay_switch2 |
|
41 |
13 |
255 |
| wsdisplay_switch1 |
|
37 |
11 |
224 |
| wsdisplay_switch |
|
49 |
21 |
332 |
| wsdisplay_reset |
|
17 |
4 |
86 |
| wsscreen_attach_sync |
|
11 |
3 |
65 |
| wsscreen_detach_sync |
|
7 |
2 |
32 |
| wsscreen_lookup_sync |
|
9 |
3 |
49 |
| wsdisplay_maxscreenidx |
|
4 |
1 |
16 |
| wsdisplay_screenstate |
|
8 |
5 |
62 |
| wsdisplay_getactivescreen |
|
4 |
2 |
22 |
| wsscreen_switchwait |
|
29 |
9 |
174 |
| wsdisplay_kbdholdscr |
|
9 |
2 |
43 |
| wsdisplay_kbdholdscreen |
|
8 |
3 |
53 |
| wsdisplay_set_console_kbd |
|
14 |
4 |
66 |
| wsdisplay_set_kbd |
|
8 |
2 |
50 |
| wsdisplay_cnputc |
|
13 |
6 |
88 |
| wsdisplay_getc_dummy |
|
4 |
1 |
12 |
| wsdisplay_pollc |
|
10 |
4 |
58 |
| wsdisplay_set_cons_kbd |
|
7 |
1 |
55 |
| wsdisplay_unset_cons_kbd |
|
6 |
1 |
22 |
| wsdisplay_switchtoconsole |
|
12 |
4 |
76 |
| wsdisplay_enter_ddb |
|
17 |
5 |
109 |
| wsdisplay_suspend |
|
7 |
3 |
45 |
| wsdisplay_suspend_device |
|
31 |
11 |
212 |
| wsdisplay_resume |
|
7 |
3 |
45 |
| wsdisplay_resume_device |
|
13 |
2 |
84 |
| wsscrollback |
|
18 |
5 |
103 |
| wsdisplay_burner_setup |
|
16 |
5 |
86 |
| wsdisplay_burn |
|
12 |
5 |
74 |
| wsdisplay_burner |
|
17 |
3 |
107 |
| wsmoused |
|
28 |
7 |
167 |
| motion_event |
|
16 |
5 |
66 |
| button_event |
|
35 |
10 |
130 |
| ctrl_event |
|
29 |
6 |
178 |
| mouse_moverel |
|
35 |
8 |
212 |
| inverse_char |
|
26 |
5 |
185 |
| inverse_region |
|
12 |
3 |
68 |
| skip_spc_right |
|
25 |
7 |
146 |
| skip_spc_left |
|
17 |
5 |
99 |
| skip_char_right |
|
20 |
5 |
135 |
| skip_char_left |
|
19 |
5 |
126 |
| class_cmp |
|
16 |
4 |
102 |
| mouse_copy_start |
|
19 |
4 |
153 |
| mouse_copy_word |
|
28 |
5 |
219 |
| mouse_copy_line |
|
18 |
3 |
168 |
| mouse_copy_end |
|
10 |
4 |
71 |
| mouse_copy_extend |
|
9 |
4 |
57 |
| mouse_copy_extend_char |
|
51 |
11 |
382 |
| mouse_copy_extend_word |
|
69 |
15 |
474 |
| mouse_copy_extend_line |
|
48 |
14 |
378 |
| mouse_copy_extend_after |
|
31 |
8 |
202 |
| mouse_hide |
|
7 |
2 |
40 |
| remove_selection |
|
8 |
2 |
55 |
| mouse_copy_selection |
|
26 |
6 |
175 |
| mouse_paste |
|
13 |
4 |
97 |
| mouse_zaxis |
|
7 |
2 |
37 |
| allocate_copybuffer |
|
27 |
6 |
196 |
| mouse_remove |
|
6 |
2 |
30 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsevent.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsevent_init |
|
10 |
3 |
57 |
| wsevent_fini |
|
9 |
3 |
43 |
| wsevent_read |
|
42 |
12 |
297 |
| wsevent_poll |
|
13 |
3 |
82 |
| wsevent_kqfilter |
|
18 |
2 |
89 |
| filt_wseventdetach |
|
9 |
1 |
55 |
| filt_wseventread |
|
11 |
3 |
80 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_vt100.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_vt100_init |
|
14 |
1 |
92 |
| wsemul_vt100_cnattach |
|
27 |
4 |
188 |
| wsemul_vt100_attach |
|
27 |
5 |
247 |
| wsemul_vt100_detach |
|
15 |
2 |
97 |
| wsemul_vt100_resetop |
|
24 |
5 |
127 |
| wsemul_vt100_reset |
|
26 |
3 |
188 |
| wsemul_vt100_nextline |
|
13 |
3 |
60 |
| wsemul_vt100_output_normal |
|
53 |
14 |
345 |
| wsemul_vt100_output_c0c1 |
|
72 |
23 |
318 |
| wsemul_vt100_output_esc |
|
140 |
42 |
734 |
| wsemul_vt100_output_scs94 |
|
36 |
8 |
182 |
| wsemul_vt100_output_scs94_percent |
|
16 |
3 |
74 |
| wsemul_vt100_output_scs96 |
|
53 |
18 |
214 |
| wsemul_vt100_output_scs96_percent |
|
15 |
4 |
68 |
| wsemul_vt100_output_esc_spc |
|
15 |
5 |
61 |
| wsemul_vt100_output_string |
|
12 |
5 |
74 |
| wsemul_vt100_output_string_esc |
|
10 |
2 |
45 |
| wsemul_vt100_output_dcs |
|
40 |
21 |
215 |
| wsemul_vt100_output_dcs_dollar |
|
32 |
11 |
134 |
| wsemul_vt100_output_esc_percent |
|
18 |
5 |
80 |
| wsemul_vt100_output_esc_hash |
|
68 |
23 |
504 |
| wsemul_vt100_output_csi |
|
46 |
23 |
246 |
| wsemul_vt100_output |
|
102 |
36 |
569 |
| wsemul_vt100_jump_scroll |
|
54 |
22 |
277 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_sun.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_sun_init |
|
14 |
1 |
92 |
| wsemul_sun_reset |
|
14 |
1 |
89 |
| wsemul_sun_cnattach |
|
23 |
4 |
144 |
| wsemul_sun_attach |
|
18 |
5 |
119 |
| wsemul_sun_output_lowchars |
|
61 |
19 |
302 |
| wsemul_sun_output_normal |
|
25 |
6 |
156 |
| wsemul_sun_output_haveesc |
|
19 |
5 |
86 |
| wsemul_sun_control |
|
166 |
53 |
1142 |
| wsemul_sun_output_control |
|
33 |
15 |
216 |
| wsemul_sun_output_percent |
|
15 |
3 |
67 |
| wsemul_sun_output |
|
111 |
37 |
585 |
| wsemul_sun_jump_scroll |
|
45 |
17 |
220 |
| wsemul_sun_selectattribute |
|
51 |
15 |
287 |
| wsemul_sun_translate |
|
74 |
33 |
397 |
| wsemul_sun_detach |
|
8 |
2 |
55 |
| wsemul_sun_resetop |
|
21 |
4 |
127 |
| wsemul_sun_scrollup |
|
24 |
6 |
170 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsmux.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsmuxattach |
|
3 |
1 |
7 |
| wsmux_getmux |
|
31 |
8 |
197 |
| wsmuxopen |
|
26 |
6 |
178 |
| wsmux_mux_open |
|
14 |
4 |
82 |
| wsmux_do_open |
|
23 |
6 |
136 |
| wsmuxclose |
|
12 |
2 |
81 |
| wsmux_mux_close |
|
6 |
1 |
30 |
| wsmux_do_close |
|
15 |
3 |
100 |
| wsmuxread |
|
17 |
3 |
116 |
| wsmuxioctl |
|
4 |
1 |
46 |
| wsmux_do_ioctl |
|
140 |
41 |
927 |
| wsmuxpoll |
|
9 |
3 |
66 |
| wsmuxkqfilter |
|
7 |
2 |
54 |
| wsmux_add_mux |
|
16 |
6 |
130 |
| wsmux_create |
|
15 |
2 |
114 |
| wsmux_attach_sc |
|
45 |
12 |
310 |
| wsmux_detach_sc |
|
22 |
7 |
139 |
| wsmux_do_displayioctl |
|
32 |
8 |
210 |
| wsmux_evsrc_set_display |
|
14 |
4 |
88 |
| wsmux_set_display |
|
42 |
11 |
248 |
| wsmux_get_layout |
|
4 |
1 |
14 |
| wsmux_set_layout |
|
5 |
2 |
28 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_vt100_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_vt100_scrollup |
|
27 |
7 |
195 |
| wsemul_vt100_scrolldown |
|
27 |
7 |
191 |
| wsemul_vt100_ed |
|
54 |
17 |
369 |
| wsemul_vt100_el |
|
23 |
5 |
146 |
| wsemul_vt100_handle_csi |
|
411 |
149 |
2330 |
| vt100_selectattribute |
|
58 |
21 |
320 |
| wsemul_vt100_handle_dcs |
|
38 |
20 |
214 |
| vt100_ansimode |
|
29 |
11 |
121 |
| vt100_decmode |
|
70 |
40 |
347 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsksymvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsmouseinput.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_dumb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_dumb_cnattach |
|
20 |
5 |
142 |
| wsemul_dumb_attach |
|
20 |
2 |
127 |
| wsemul_dumb_output |
|
124 |
31 |
731 |
| wsemul_dumb_translate |
|
5 |
1 |
24 |
| wsemul_dumb_detach |
|
8 |
2 |
55 |
| wsemul_dumb_resetop |
|
20 |
4 |
125 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wskbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wskbd_update_layout |
|
8 |
2 |
39 |
| wskbddevprint |
|
8 |
4 |
45 |
| wskbd_match |
|
12 |
4 |
71 |
| wskbd_attach |
|
85 |
32 |
594 |
| wskbd_cnattach |
|
11 |
2 |
77 |
| wskbd_cndetach |
|
11 |
2 |
51 |
| wskbd_repeat |
|
21 |
5 |
130 |
| wskbd_activate |
|
7 |
2 |
41 |
| wskbd_detach |
|
37 |
13 |
247 |
| wskbd_input |
|
38 |
16 |
250 |
| wskbd_deliver_event |
|
28 |
5 |
154 |
| wskbd_rawinput |
|
6 |
3 |
47 |
| wskbd_enable |
|
13 |
4 |
86 |
| wskbd_mux_open |
|
9 |
3 |
62 |
| wskbdopen |
|
34 |
10 |
233 |
| wskbd_do_open |
|
6 |
1 |
38 |
| wskbdclose |
|
24 |
6 |
172 |
| wskbd_mux_close |
|
8 |
1 |
50 |
| wskbdread |
|
18 |
5 |
112 |
| wskbdioctl |
|
4 |
1 |
45 |
| wskbd_do_ioctl |
|
11 |
2 |
77 |
| wskbd_do_ioctl_sc |
|
29 |
12 |
224 |
| wskbd_displayioctl |
|
159 |
50 |
1080 |
| wskbdpoll |
|
7 |
2 |
61 |
| wskbdkqfilter |
|
7 |
2 |
56 |
| wskbd_pickfree |
|
12 |
4 |
67 |
| wskbd_set_console_display |
|
9 |
3 |
64 |
| wskbd_set_display |
|
33 |
7 |
193 |
| wskbd_add_mux |
|
10 |
6 |
83 |
| wskbd_cngetc |
|
26 |
7 |
130 |
| wskbd_cnpollc |
|
10 |
4 |
46 |
| wskbd_cnbell |
|
9 |
3 |
53 |
| update_leds |
|
18 |
7 |
112 |
| update_modifier |
|
14 |
5 |
69 |
| change_displayparam |
|
17 |
6 |
120 |
| internal_command |
|
104 |
53 |
511 |
| wskbd_translate |
|
186 |
72 |
1114 |
| wskbd_debugger |
|
10 |
5 |
56 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemulvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsemul_resume_abort |
|
5 |
1 |
21 |
| wsemul_abort_cursor |
|
4 |
1 |
15 |
| wsemul_abort_jump_scroll |
|
6 |
1 |
32 |
| wsemul_abort_other |
|
5 |
1 |
23 |
| wsemul_reset_abortstate |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wskbdutil.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| compose_tab_cmp |
|
7 |
2 |
65 |
| wskbd_compose_value |
|
28 |
9 |
242 |
| ksym_upcase |
|
9 |
6 |
59 |
| fillmapentry |
|
35 |
6 |
290 |
| wskbd_get_mapentry |
|
46 |
15 |
295 |
| wskbd_init_keymap |
|
18 |
4 |
156 |
| wskbd_load_keymap |
|
62 |
21 |
455 |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wskbdraw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/wscons/wsemul_vt100var.h |
| Source file: /home/sergeyb/sources/src/sys/dev/hotplug.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hotplugattach |
|
7 |
1 |
23 |
| hotplug_device_attach |
|
8 |
1 |
50 |
| hotplug_device_detach |
|
8 |
1 |
50 |
| hotplug_put_event |
|
16 |
4 |
78 |
| hotplug_get_event |
|
12 |
2 |
57 |
| hotplugopen |
|
11 |
4 |
63 |
| hotplugclose |
|
8 |
2 |
43 |
| hotplugread |
|
16 |
5 |
105 |
| hotplugioctl |
|
11 |
3 |
47 |
| hotplugpoll |
|
11 |
3 |
62 |
| hotplugkqfilter |
|
17 |
2 |
79 |
| filt_hotplugrdetach |
|
7 |
1 |
37 |
| filt_hotplugread |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/dev/mulaw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mulaw_to_slinear8 |
|
7 |
2 |
37 |
| slinear8_to_mulaw |
|
7 |
2 |
34 |
| mulaw24_to_slinear24 |
|
10 |
2 |
89 |
| slinear24_to_mulaw24 |
|
8 |
2 |
59 |
| Source file: /home/sergeyb/sources/src/sys/dev/vndioctl.h |
| Source file: /home/sergeyb/sources/src/sys/dev/bio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bioattach |
|
3 |
1 |
7 |
| bioopen |
|
4 |
1 |
23 |
| bioclose |
|
4 |
1 |
23 |
| bioioctl |
|
36 |
15 |
198 |
| bio_register |
|
11 |
2 |
80 |
| bio_unregister |
|
11 |
3 |
76 |
| bio_lookup |
|
8 |
2 |
47 |
| bio_validate |
|
8 |
2 |
38 |
| bio_delegate_ioctl |
|
4 |
1 |
31 |
| bio_info |
|
7 |
1 |
48 |
| bio_warn |
|
7 |
1 |
48 |
| bio_error |
|
7 |
1 |
48 |
| bio_status_init |
|
6 |
1 |
49 |
| bio_status |
|
14 |
3 |
107 |
| Source file: /home/sergeyb/sources/src/sys/dev/radiovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/video_if.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ipmivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/flashvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/midivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/midi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| midi_iintr |
|
18 |
6 |
119 |
| midiread |
|
47 |
12 |
286 |
| midi_ointr |
|
16 |
7 |
103 |
| midi_timeout |
|
6 |
1 |
25 |
| midi_out_start |
|
7 |
2 |
29 |
| midi_out_stop |
|
9 |
2 |
45 |
| midi_out_do |
|
21 |
7 |
134 |
| midiwrite |
|
52 |
14 |
314 |
| midipoll |
|
27 |
9 |
193 |
| midikqfilter |
|
30 |
4 |
159 |
| filt_midirdetach |
|
7 |
1 |
51 |
| filt_midiread |
|
9 |
1 |
57 |
| filt_midiwdetach |
|
7 |
1 |
51 |
| filt_midiwrite |
|
9 |
1 |
57 |
| midiioctl |
|
17 |
3 |
88 |
| midiopen |
|
24 |
4 |
154 |
| midiclose |
|
29 |
6 |
198 |
| midiprobe |
|
5 |
3 |
43 |
| midiattach |
|
23 |
7 |
163 |
| mididetach |
|
26 |
6 |
166 |
| midiprint |
|
6 |
2 |
29 |
| midi_attach_mi |
|
8 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/dev/biovar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/rndis.h |
| Source file: /home/sergeyb/sources/src/sys/dev/softraid_raid6.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sr_raid6_discipline_init |
|
17 |
1 |
99 |
| sr_raid6_create |
|
14 |
2 |
98 |
| sr_raid6_assemble |
|
5 |
1 |
27 |
| sr_raid6_init |
|
11 |
2 |
77 |
| sr_raid6_openings |
|
4 |
1 |
19 |
| sr_raid6_set_chunk_state |
|
60 |
13 |
277 |
| sr_raid6_set_vol_state |
|
103 |
34 |
487 |
| sr_raid6_rw |
|
181 |
52 |
1324 |
| sr_failio |
|
11 |
2 |
75 |
| sr_raid6_intr |
|
28 |
6 |
208 |
| sr_raid6_wu_done |
|
25 |
5 |
148 |
| sr_raid6_addio |
|
39 |
11 |
265 |
| sr_raid6_xorp |
|
7 |
2 |
44 |
| sr_raid6_xorq |
|
13 |
2 |
136 |
| gf_init |
|
11 |
3 |
80 |
| gf_inv |
|
4 |
1 |
18 |
| gf_mul |
|
4 |
1 |
24 |
| gf_premul |
|
11 |
4 |
91 |
| Source file: /home/sergeyb/sources/src/sys/dev/softraid_raid5.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sr_raid5_discipline_init |
|
17 |
1 |
105 |
| sr_raid5_create |
|
14 |
2 |
98 |
| sr_raid5_assemble |
|
5 |
1 |
27 |
| sr_raid5_init |
|
11 |
2 |
70 |
| sr_raid5_openings |
|
4 |
1 |
23 |
| sr_raid5_set_chunk_state |
|
60 |
13 |
277 |
| sr_raid5_set_vol_state |
|
105 |
35 |
508 |
| sr_raid5_chunk_online |
|
10 |
3 |
43 |
| sr_raid5_chunk_rebuild |
|
9 |
2 |
40 |
| sr_raid5_rw |
|
103 |
20 |
662 |
| sr_raid5_regenerate |
|
22 |
5 |
146 |
| sr_raid5_write |
|
63 |
21 |
462 |
| sr_raid5_intr |
|
20 |
4 |
149 |
| sr_raid5_wu_done |
|
25 |
5 |
152 |
| sr_raid5_addio |
|
24 |
7 |
179 |
| sr_raid5_xor |
|
7 |
2 |
44 |
| sr_raid5_rebuild |
|
108 |
18 |
787 |
| sr_raid5_scrub |
|
43 |
6 |
321 |
| Source file: /home/sergeyb/sources/src/sys/dev/video.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| videoprobe |
|
4 |
1 |
22 |
| videoattach |
|
21 |
4 |
143 |
| videoopen |
|
20 |
6 |
141 |
| videoclose |
|
10 |
2 |
74 |
| videoread |
|
35 |
12 |
238 |
| videoioctl |
|
130 |
48 |
886 |
| videopoll |
|
30 |
11 |
203 |
| videommap |
|
23 |
7 |
166 |
| video_submatch |
|
5 |
1 |
34 |
| video_attach_mi |
|
7 |
1 |
49 |
| video_intr |
|
12 |
3 |
71 |
| videoprint |
|
6 |
2 |
31 |
| videodetach |
|
13 |
4 |
98 |
| videoactivate |
|
10 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/dev/vscsivar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ksyms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ksymsattach |
|
35 |
12 |
192 |
| ksymsopen |
|
10 |
4 |
61 |
| ksymsclose |
|
4 |
1 |
23 |
| ksymsread |
|
26 |
7 |
152 |
| Source file: /home/sergeyb/sources/src/sys/dev/radio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radioprobe |
|
5 |
2 |
37 |
| radioattach |
|
9 |
1 |
63 |
| radioopen |
|
14 |
5 |
101 |
| radioclose |
|
9 |
2 |
71 |
| radioioctl |
|
34 |
12 |
226 |
| radio_attach_mi |
|
8 |
1 |
53 |
| radioprint |
|
6 |
2 |
31 |
| radiodetach |
|
10 |
3 |
65 |
| radioactivate |
|
10 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/dev/vscsi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vscsi_match |
|
4 |
1 |
22 |
| vscsi_attach |
|
24 |
1 |
211 |
| vscsi_cmd |
|
35 |
7 |
231 |
| vscsi_done |
|
11 |
2 |
69 |
| vscsi_probe |
|
12 |
2 |
62 |
| vscsi_free |
|
9 |
3 |
61 |
| vscsiopen |
|
30 |
5 |
197 |
| vscsiioctl |
|
33 |
8 |
185 |
| vscsi_i2t |
|
34 |
5 |
215 |
| vscsi_data |
|
38 |
9 |
216 |
| vscsi_t2i |
|
34 |
7 |
187 |
| vscsi_devevent |
|
15 |
2 |
104 |
| vscsi_devevent_task |
|
25 |
5 |
146 |
| vscsipoll |
|
19 |
6 |
131 |
| vscsikqfilter |
|
21 |
3 |
118 |
| filt_vscsidetach |
|
9 |
1 |
65 |
| filt_vscsiread |
|
10 |
2 |
62 |
| vscsiclose |
|
35 |
5 |
283 |
| vscsi_ccb_get |
|
11 |
2 |
62 |
| vscsi_ccb_put |
|
6 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/dev/rnd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rnd_get |
|
10 |
3 |
50 |
| rnd_put |
|
5 |
1 |
25 |
| rnd_qlen |
|
4 |
1 |
11 |
| enqueue_randomness |
|
20 |
7 |
127 |
| add_entropy_words |
|
22 |
3 |
186 |
| dequeue_randomness |
|
16 |
3 |
94 |
| extract_entropy |
|
15 |
2 |
106 |
| suspend_randomness |
|
10 |
1 |
49 |
| resume_randomness |
|
11 |
3 |
57 |
| _rs_init |
|
6 |
1 |
44 |
| _rs_seed |
|
7 |
1 |
35 |
| _rs_stir |
|
16 |
4 |
109 |
| _rs_stir_if_needed |
|
14 |
3 |
76 |
| _rs_clearseed |
|
28 |
3 |
198 |
| _rs_rekey |
|
14 |
3 |
105 |
| _rs_random_buf |
|
18 |
4 |
105 |
| _rs_random_u32 |
|
9 |
2 |
76 |
| arc4random |
|
8 |
1 |
30 |
| arc4random_buf |
|
6 |
1 |
30 |
| arc4random_uniform |
|
13 |
4 |
54 |
| arc4_init |
|
4 |
1 |
13 |
| arc4_reinit |
|
5 |
1 |
26 |
| random_start |
|
16 |
4 |
100 |
| randomopen |
|
4 |
1 |
21 |
| randomclose |
|
4 |
1 |
21 |
| randomread |
|
34 |
9 |
246 |
| randomwrite |
|
25 |
8 |
171 |
| randomkqfilter |
|
14 |
3 |
56 |
| filt_randomdetach |
|
3 |
1 |
9 |
| filt_randomread |
|
5 |
1 |
23 |
| filt_randomwrite |
|
5 |
1 |
23 |
| randomioctl |
|
12 |
3 |
45 |
| sys_getentropy |
|
15 |
3 |
118 |
| Source file: /home/sergeyb/sources/src/sys/dev/softraid_concat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sr_concat_discipline_init |
|
11 |
1 |
65 |
| sr_concat_create |
|
16 |
3 |
97 |
| sr_concat_assemble |
|
5 |
1 |
27 |
| sr_concat_init |
|
5 |
1 |
26 |
| sr_concat_rw |
|
61 |
9 |
388 |
| Source file: /home/sergeyb/sources/src/sys/dev/clock_subr.h |
| Source file: /home/sergeyb/sources/src/sys/dev/spdmem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spdmem_read |
|
4 |
1 |
25 |
| spdmem_crc16 |
|
17 |
4 |
103 |
| spdmem_sdram_decode |
|
52 |
15 |
332 |
| spdmem_rdr_decode |
|
27 |
6 |
147 |
| spdmem_ddr_decode |
|
50 |
12 |
404 |
| spdmem_ddr2_decode |
|
56 |
13 |
380 |
| spdmem_fbdimm_decode |
|
26 |
3 |
200 |
| spdmem_ddr3_decode |
|
57 |
11 |
395 |
| spdmem_probe |
|
47 |
12 |
231 |
| spdmem_attach_common |
|
45 |
13 |
214 |
| Source file: /home/sergeyb/sources/src/sys/dev/firmload.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loadfirmware |
|
69 |
15 |
430 |
| Source file: /home/sergeyb/sources/src/sys/dev/radio_if.h |
| Source file: /home/sergeyb/sources/src/sys/dev/flash.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| flashattach |
|
49 |
11 |
312 |
| flashdetach |
|
6 |
1 |
35 |
| flash_reg8_read |
|
4 |
1 |
26 |
| flash_reg8_read_page |
|
9 |
4 |
82 |
| flash_reg8_write |
|
4 |
1 |
30 |
| flash_reg8_write_page |
|
9 |
4 |
82 |
| flash_wait_ready |
|
11 |
4 |
66 |
| flash_wait_complete |
|
18 |
5 |
129 |
| flash_chip_enable |
|
4 |
1 |
18 |
| flash_chip_disable |
|
4 |
1 |
18 |
| flash_chip_reset |
|
7 |
1 |
42 |
| flash_chip_identify |
|
15 |
2 |
93 |
| flash_chip_erase_block |
|
35 |
7 |
209 |
| flash_chip_read_block |
|
16 |
3 |
88 |
| flash_chip_read_page |
|
53 |
11 |
321 |
| flash_chip_read_oob |
|
53 |
10 |
343 |
| flash_chip_write_block |
|
19 |
3 |
107 |
| flash_chip_write_page |
|
63 |
13 |
378 |
| flash_chip_verify_block |
|
20 |
3 |
102 |
| flash_chip_verify_page |
|
18 |
6 |
138 |
| flashopen |
|
55 |
14 |
378 |
| flashclose |
|
25 |
5 |
151 |
| flashstrategy |
|
36 |
8 |
211 |
| flashioctl |
|
25 |
5 |
141 |
| flashdump |
|
5 |
1 |
24 |
| flashsize |
|
5 |
1 |
15 |
| flashstart |
|
7 |
2 |
39 |
| _flashstart |
|
35 |
6 |
246 |
| flashdone |
|
11 |
2 |
78 |
| flashgetdefaultlabel |
|
28 |
3 |
222 |
| flashgetdisklabel |
|
10 |
2 |
76 |
| flashminphys |
|
7 |
2 |
48 |
| flashread |
|
4 |
1 |
29 |
| flashwrite |
|
4 |
1 |
29 |
| flashsafestrategy |
|
7 |
2 |
41 |
| dumppage |
|
15 |
6 |
98 |
| Source file: /home/sergeyb/sources/src/sys/dev/audio_if.h |
| Source file: /home/sergeyb/sources/src/sys/dev/cons.h |
| Source file: /home/sergeyb/sources/src/sys/dev/softraid_raid0.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sr_raid0_discipline_init |
|
10 |
1 |
63 |
| sr_raid0_create |
|
14 |
2 |
94 |
| sr_raid0_assemble |
|
5 |
1 |
27 |
| sr_raid0_init |
|
13 |
2 |
90 |
| sr_raid0_rw |
|
65 |
8 |
430 |
| Source file: /home/sergeyb/sources/src/sys/dev/rndvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/softraidvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/ipmi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipmi_get_if |
|
12 |
4 |
45 |
| bmc_read |
|
5 |
1 |
32 |
| bmc_write |
|
5 |
1 |
34 |
| bmc_io_wait |
|
14 |
3 |
95 |
| bt_read |
|
4 |
1 |
20 |
| bt_write |
|
12 |
2 |
75 |
| bt_sendmsg |
|
17 |
3 |
121 |
| bt_recvmsg |
|
24 |
4 |
177 |
| bt_reset |
|
4 |
1 |
15 |
| bt_probe |
|
21 |
2 |
149 |
| smic_wait |
|
15 |
2 |
96 |
| smic_write_cmd_data |
|
15 |
4 |
122 |
| smic_read_data |
|
11 |
2 |
64 |
| smic_sendmsg |
|
18 |
3 |
145 |
| smic_recvmsg |
|
25 |
6 |
181 |
| smic_reset |
|
4 |
1 |
15 |
| smic_probe |
|
6 |
2 |
31 |
| kcs_wait |
|
22 |
5 |
155 |
| kcs_write_cmd |
|
6 |
1 |
44 |
| kcs_write_data |
|
6 |
1 |
44 |
| kcs_read_data |
|
11 |
2 |
76 |
| kcs_sendmsg |
|
20 |
5 |
154 |
| kcs_recvmsg |
|
18 |
4 |
129 |
| kcs_reset |
|
4 |
1 |
15 |
| kcs_probe |
|
14 |
3 |
93 |
| scan_sig |
|
11 |
3 |
67 |
| dumpb |
|
8 |
2 |
55 |
| ipmi_smbios_probe |
|
47 |
9 |
248 |
| bt_buildmsg |
|
11 |
3 |
101 |
| cmn_buildmsg |
|
9 |
3 |
76 |
| ipmi_sendcmd |
|
29 |
5 |
237 |
| ipmi_recvcmd |
|
22 |
7 |
191 |
| ipmi_cmd |
|
7 |
3 |
28 |
| ipmi_cmd_poll |
|
9 |
2 |
59 |
| ipmi_cmd_wait |
|
11 |
1 |
79 |
| ipmi_cmd_wait_cb |
|
6 |
1 |
25 |
| get_sdr_partial |
|
29 |
3 |
196 |
| get_sdr |
|
42 |
7 |
301 |
| getbits |
|
14 |
3 |
78 |
| ipmi_sensor_name |
|
40 |
14 |
264 |
| ipow |
|
12 |
3 |
45 |
| signextend |
|
5 |
1 |
39 |
| ipmi_convert |
|
12 |
1 |
142 |
| ipmi_sensor_status |
|
50 |
18 |
368 |
| read_sensor |
|
28 |
4 |
236 |
| ipmi_sensor_type |
|
18 |
7 |
78 |
| add_sdr_sensor |
|
29 |
5 |
237 |
| add_child_sensors |
|
43 |
7 |
317 |
| ipmi_refresh_sensors |
|
13 |
4 |
85 |
| ipmi_map_regs |
|
22 |
4 |
160 |
| ipmi_unmap_regs |
|
5 |
1 |
30 |
| ipmi_poll_thread |
|
28 |
6 |
174 |
| ipmi_create_thread |
|
10 |
2 |
49 |
| ipmi_probe |
|
19 |
3 |
106 |
| ipmi_match |
|
32 |
3 |
243 |
| ipmi_attach |
|
32 |
4 |
280 |
| ipmi_activate |
|
9 |
2 |
33 |
| ipmilookup |
|
4 |
1 |
24 |
| ipmiopen |
|
7 |
2 |
44 |
| ipmiclose |
|
7 |
2 |
44 |
| ipmiioctl |
|
105 |
24 |
649 |
| ipmi_watchdog |
|
22 |
6 |
132 |
| ipmi_watchdog_tickle |
|
15 |
1 |
79 |
| ipmi_watchdog_set |
|
30 |
3 |
195 |
| Source file: /home/sergeyb/sources/src/sys/dev/rd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rdattach |
|
30 |
5 |
240 |
| rd_match |
|
4 |
1 |
22 |
| rd_attach |
|
6 |
1 |
55 |
| rd_detach |
|
7 |
1 |
46 |
| rdopen |
|
24 |
5 |
161 |
| rdclose |
|
15 |
2 |
101 |
| rdstrategy |
|
39 |
7 |
249 |
| rdioctl |
|
48 |
12 |
345 |
| rdgetdisklabel |
|
22 |
2 |
173 |
| rdread |
|
4 |
1 |
31 |
| rdwrite |
|
4 |
1 |
31 |
| rddump |
|
4 |
1 |
21 |
| rdsize |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/dev/softraid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sr_meta_attach |
|
52 |
8 |
356 |
| sr_meta_probe |
|
67 |
12 |
406 |
| sr_meta_getdevname |
|
16 |
3 |
106 |
| sr_rw |
|
57 |
10 |
385 |
| sr_meta_rw |
|
15 |
2 |
95 |
| sr_meta_clear |
|
28 |
3 |
188 |
| sr_meta_init |
|
47 |
4 |
378 |
| sr_meta_init_complete |
|
11 |
2 |
109 |
| sr_meta_opt_handler |
|
5 |
2 |
27 |
| sr_meta_save_callback |
|
10 |
2 |
56 |
| sr_meta_save |
|
79 |
10 |
592 |
| sr_meta_read |
|
57 |
7 |
396 |
| sr_meta_opt_load |
|
67 |
8 |
499 |
| sr_meta_validate |
|
58 |
14 |
454 |
| sr_meta_native_bootprobe |
|
104 |
14 |
678 |
| sr_boot_assembly |
|
271 |
45 |
1994 |
| sr_map_root |
|
40 |
6 |
256 |
| sr_meta_native_probe |
|
47 |
6 |
303 |
| sr_meta_native_attach |
|
75 |
19 |
489 |
| sr_meta_native_read |
|
8 |
2 |
60 |
| sr_meta_native_write |
|
8 |
2 |
60 |
| sr_hotplug_register |
|
14 |
2 |
92 |
| sr_hotplug_unregister |
|
15 |
3 |
90 |
| sr_disk_attach |
|
7 |
2 |
47 |
| sr_match |
|
4 |
1 |
22 |
| sr_attach |
|
31 |
4 |
259 |
| sr_detach |
|
18 |
4 |
117 |
| sr_info |
|
8 |
1 |
56 |
| sr_warn |
|
8 |
1 |
56 |
| sr_error |
|
8 |
1 |
56 |
| sr_minphys |
|
7 |
2 |
44 |
| sr_copy_internal_data |
|
10 |
2 |
60 |
| sr_ccb_alloc |
|
22 |
4 |
156 |
| sr_ccb_free |
|
10 |
3 |
76 |
| sr_ccb_get |
|
15 |
2 |
83 |
| sr_ccb_put |
|
14 |
1 |
85 |
| sr_ccb_rw |
|
37 |
4 |
304 |
| sr_ccb_done |
|
33 |
4 |
246 |
| sr_wu_alloc |
|
23 |
2 |
174 |
| sr_wu_free |
|
15 |
5 |
153 |
| sr_wu_get |
|
14 |
2 |
95 |
| sr_wu_put |
|
12 |
1 |
97 |
| sr_wu_init |
|
14 |
2 |
84 |
| sr_wu_enqueue_ccb |
|
13 |
2 |
80 |
| sr_wu_release_ccbs |
|
12 |
2 |
73 |
| sr_wu_done |
|
10 |
2 |
68 |
| sr_wu_done_callback |
|
45 |
15 |
276 |
| sr_scsi_wu_get |
|
4 |
1 |
23 |
| sr_scsi_wu_put |
|
6 |
3 |
41 |
| sr_scsi_done |
|
9 |
4 |
66 |
| sr_scsi_cmd |
|
86 |
24 |
486 |
| sr_scsi_probe |
|
15 |
4 |
100 |
| sr_scsi_ioctl |
|
19 |
5 |
126 |
| sr_bio_ioctl |
|
6 |
1 |
56 |
| sr_bio_handler |
|
59 |
13 |
381 |
| sr_ioctl_inq |
|
13 |
1 |
99 |
| sr_ioctl_vol |
|
43 |
7 |
318 |
| sr_ioctl_disk |
|
46 |
10 |
328 |
| sr_ioctl_setstate |
|
54 |
11 |
282 |
| sr_chunk_in_use |
|
20 |
5 |
137 |
| sr_hotspare |
|
134 |
14 |
1015 |
| sr_hotspare_rebuild_callback |
|
5 |
1 |
20 |
| sr_hotspare_rebuild |
|
75 |
14 |
469 |
| sr_rebuild_init |
|
137 |
25 |
936 |
| sr_rebuild_percent |
|
9 |
2 |
64 |
| sr_roam_chunks |
|
20 |
3 |
137 |
| sr_ioctl_createraid |
|
210 |
48 |
1477 |
| sr_ioctl_deleteraid |
|
24 |
4 |
144 |
| sr_ioctl_discipline |
|
22 |
5 |
134 |
| sr_ioctl_installboot |
|
112 |
23 |
891 |
| sr_chunks_unwind |
|
21 |
4 |
142 |
| sr_discipline_free |
|
36 |
8 |
264 |
| sr_discipline_shutdown |
|
32 |
11 |
211 |
| sr_discipline_init |
|
53 |
8 |
249 |
| sr_raid_inquiry |
|
27 |
3 |
223 |
| sr_raid_read_cap |
|
30 |
4 |
228 |
| sr_raid_tur |
|
21 |
3 |
148 |
| sr_raid_request_sense |
|
10 |
1 |
81 |
| sr_raid_start_stop |
|
10 |
2 |
63 |
| sr_raid_sync |
|
21 |
4 |
140 |
| sr_raid_intr |
|
14 |
2 |
100 |
| sr_schedule_wu |
|
37 |
8 |
211 |
| sr_raid_startwu |
|
19 |
4 |
136 |
| sr_raid_recreate_wu |
|
12 |
3 |
64 |
| sr_alloc_resources |
|
12 |
3 |
66 |
| sr_free_resources |
|
5 |
1 |
19 |
| sr_set_chunk_state |
|
35 |
5 |
210 |
| sr_set_vol_state |
|
45 |
9 |
265 |
| sr_block_get |
|
4 |
1 |
22 |
| sr_block_put |
|
4 |
1 |
23 |
| sr_checksum_print |
|
6 |
2 |
34 |
| sr_checksum |
|
9 |
1 |
65 |
| sr_uuid_generate |
|
8 |
1 |
59 |
| sr_uuid_format |
|
17 |
1 |
149 |
| sr_uuid_print |
|
7 |
2 |
47 |
| sr_already_assembled |
|
12 |
2 |
81 |
| sr_validate_stripsize |
|
14 |
4 |
64 |
| sr_shutdown |
|
9 |
2 |
67 |
| sr_validate_io |
|
50 |
8 |
397 |
| sr_rebuild_start |
|
11 |
2 |
75 |
| sr_rebuild_thread |
|
10 |
1 |
59 |
| sr_rebuild |
|
118 |
17 |
825 |
| sr_sensors_create |
|
22 |
3 |
157 |
| sr_sensors_delete |
|
6 |
2 |
48 |
| sr_sensors_refresh |
|
32 |
6 |
170 |
| sr_print_stats |
|
15 |
2 |
65 |
| sr_meta_print |
|
53 |
4 |
465 |
| sr_dump_block |
|
17 |
7 |
126 |
| sr_dump_mem |
|
7 |
2 |
41 |
| sr_hibernate_io |
|
75 |
11 |
583 |
| Source file: /home/sergeyb/sources/src/sys/dev/ipmi.h |
| Source file: /home/sergeyb/sources/src/sys/dev/vnd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vndencrypt |
|
18 |
3 |
133 |
| vndencryptbuf |
|
4 |
1 |
36 |
| vndattach |
|
23 |
4 |
141 |
| vndopen |
|
28 |
8 |
215 |
| vndgetdisklabel |
|
21 |
2 |
182 |
| vndclose |
|
17 |
4 |
124 |
| vndstrategy |
|
58 |
14 |
429 |
| vndread |
|
4 |
1 |
31 |
| vndwrite |
|
4 |
1 |
31 |
| vndbdevsize |
|
15 |
3 |
108 |
| vndioctl |
|
184 |
47 |
1427 |
| vndsetcred |
|
13 |
1 |
102 |
| vndclear |
|
15 |
2 |
113 |
| vndsize |
|
4 |
1 |
13 |
| vnddump |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/dev/mulaw.h |
| Source file: /home/sergeyb/sources/src/sys/dev/midi_if.h |
| Source file: /home/sergeyb/sources/src/sys/dev/softraid_crypto.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sr_crypto_discipline_init |
|
18 |
2 |
126 |
| sr_crypto_create |
|
48 |
10 |
335 |
| sr_crypto_assemble |
|
37 |
11 |
259 |
| sr_crypto_prepare |
|
45 |
4 |
393 |
| sr_crypto_get_kdf |
|
36 |
10 |
269 |
| sr_crypto_encrypt |
|
22 |
4 |
135 |
| sr_crypto_decrypt |
|
22 |
4 |
135 |
| sr_crypto_calculate_check_hmac_sha1 |
|
19 |
1 |
153 |
| sr_crypto_decrypt_key |
|
31 |
5 |
264 |
| sr_crypto_create_keys |
|
27 |
3 |
262 |
| sr_crypto_change_maskkey |
|
58 |
10 |
513 |
| sr_crypto_create_key_disk |
|
121 |
11 |
1013 |
| sr_crypto_read_key_disk |
|
90 |
15 |
646 |
| sr_crypto_free_sessions |
|
10 |
3 |
79 |
| sr_crypto_alloc_resources |
|
60 |
11 |
433 |
| sr_crypto_free_resources |
|
24 |
4 |
167 |
| sr_crypto_ioctl |
|
44 |
16 |
317 |
| sr_crypto_meta_opt_handler |
|
9 |
2 |
53 |
| sr_crypto_rw |
|
19 |
4 |
124 |
| sr_crypto_write |
|
15 |
2 |
98 |
| sr_crypto_dev_rw |
|
27 |
4 |
180 |
| sr_crypto_done |
|
17 |
3 |
113 |
| sr_crypto_read |
|
13 |
2 |
89 |
| sr_crypto_hotplug |
|
5 |
1 |
37 |
| sr_crypto_dumpkeys |
|
22 |
5 |
148 |
| Source file: /home/sergeyb/sources/src/sys/dev/diskmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| diskmapopen |
|
4 |
1 |
21 |
| diskmapclose |
|
4 |
1 |
21 |
| diskmapioctl |
|
60 |
11 |
431 |
| diskmapread |
|
4 |
1 |
18 |
| diskmapwrite |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/dev/cons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cnopen |
|
15 |
6 |
101 |
| cnclose |
|
14 |
5 |
104 |
| cnread |
|
9 |
3 |
63 |
| cnwrite |
|
10 |
3 |
67 |
| cnstop |
|
4 |
1 |
17 |
| cnioctl |
|
19 |
6 |
119 |
| cnpoll |
|
10 |
3 |
56 |
| cnkqfilter |
|
12 |
4 |
81 |
| cngetc |
|
6 |
2 |
32 |
| cnputc |
|
10 |
4 |
55 |
| cnpollc |
|
12 |
5 |
56 |
| nullcnpollc |
|
3 |
1 |
10 |
| cnbell |
|
6 |
3 |
45 |
| Source file: /home/sergeyb/sources/src/sys/dev/spdmemvar.h |
| Source file: /home/sergeyb/sources/src/sys/dev/softraid_raid1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sr_raid1_discipline_init |
|
14 |
1 |
85 |
| sr_raid1_create |
|
11 |
2 |
60 |
| sr_raid1_assemble |
|
5 |
1 |
27 |
| sr_raid1_init |
|
5 |
1 |
24 |
| sr_raid1_set_chunk_state |
|
71 |
16 |
309 |
| sr_raid1_set_vol_state |
|
108 |
36 |
521 |
| sr_raid1_rw |
|
65 |
17 |
337 |
| sr_raid1_wu_done |
|
26 |
5 |
157 |
| Source file: /home/sergeyb/sources/src/sys/dev/audio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| audio_gcd |
|
10 |
2 |
41 |
| audio_buf_init |
|
16 |
4 |
118 |
| audio_buf_done |
|
7 |
2 |
53 |
| audio_buf_rgetblk |
|
9 |
2 |
54 |
| audio_buf_rdiscard |
|
11 |
4 |
68 |
| audio_buf_wcommit |
|
8 |
3 |
50 |
| audio_buf_wgetblk |
|
13 |
3 |
84 |
| audio_calc_sil |
|
41 |
13 |
222 |
| audio_fill_sil |
|
11 |
3 |
82 |
| audio_clear |
|
13 |
3 |
119 |
| audio_pintr |
|
56 |
12 |
432 |
| audio_rintr |
|
54 |
12 |
398 |
| audio_start_do |
|
57 |
7 |
421 |
| audio_stop_do |
|
9 |
3 |
60 |
| audio_start |
|
6 |
1 |
47 |
| audio_stop |
|
10 |
2 |
40 |
| audio_canstart |
|
10 |
7 |
71 |
| audio_setpar |
|
203 |
64 |
1506 |
| audio_ioc_start |
|
17 |
6 |
113 |
| audio_ioc_stop |
|
11 |
3 |
51 |
| audio_ioc_getpar |
|
16 |
3 |
113 |
| audio_ioc_setpar |
|
63 |
29 |
437 |
| audio_ioc_getstatus |
|
7 |
1 |
41 |
| audio_match |
|
5 |
2 |
37 |
| audio_attach |
|
52 |
20 |
358 |
| audio_activate |
|
34 |
10 |
232 |
| audio_detach |
|
28 |
5 |
229 |
| audio_submatch |
|
5 |
1 |
34 |
| audio_attach_mi |
|
8 |
1 |
53 |
| audioprint |
|
22 |
5 |
91 |
| audio_open |
|
45 |
12 |
267 |
| audio_drain |
|
47 |
11 |
324 |
| audio_close |
|
10 |
2 |
55 |
| audio_read |
|
50 |
13 |
340 |
| audio_write |
|
59 |
16 |
364 |
| audio_getdev |
|
8 |
2 |
60 |
| audio_ioctl |
|
41 |
10 |
241 |
| audio_ioctl_mixer |
|
25 |
8 |
168 |
| audio_poll |
|
17 |
8 |
149 |
| audioopen |
|
25 |
6 |
120 |
| audioclose |
|
21 |
5 |
103 |
| audioread |
|
21 |
5 |
104 |
| audiowrite |
|
21 |
5 |
104 |
| audioioctl |
|
31 |
9 |
168 |
| audiopoll |
|
20 |
5 |
100 |
| wskbd_initmute |
|
16 |
4 |
127 |
| wskbd_initvol |
|
30 |
9 |
300 |
| wskbd_mixer_init |
|
32 |
6 |
221 |
| wskbd_mixer_update |
|
65 |
16 |
438 |
| wskbd_mixer_cb |
|
11 |
1 |
63 |
| wskbd_set_mixermute |
|
16 |
5 |
108 |
| wskbd_set_mixervolume |
|
19 |
5 |
117 |
| Source file: /home/sergeyb/sources/src/sys/dev/cninit.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cninit |
|
13 |
6 |
84 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_rrip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cd9660_rrip_attr |
|
12 |
1 |
93 |
| cd9660_rrip_defattr |
|
8 |
1 |
39 |
| cd9660_rrip_slink |
|
79 |
13 |
406 |
| cd9660_rrip_altname |
|
47 |
8 |
222 |
| cd9660_rrip_defname |
|
20 |
3 |
117 |
| cd9660_rrip_pclink |
|
9 |
2 |
67 |
| cd9660_rrip_reldir |
|
9 |
1 |
40 |
| cd9660_rrip_tstamp |
|
57 |
10 |
354 |
| cd9660_rrip_deftstamp |
|
7 |
1 |
34 |
| cd9660_rrip_device |
|
15 |
2 |
102 |
| cd9660_rrip_idflag |
|
10 |
2 |
58 |
| cd9660_rrip_cont |
|
10 |
1 |
60 |
| cd9660_rrip_stop |
|
6 |
1 |
21 |
| cd9660_rrip_extref |
|
20 |
9 |
151 |
| cd9660_rrip_loop |
|
71 |
21 |
481 |
| cd9660_rrip_analyze |
|
11 |
1 |
63 |
| cd9660_rrip_getname |
|
28 |
3 |
164 |
| cd9660_rrip_getsymname |
|
17 |
1 |
89 |
| cd9660_rrip_offset |
|
21 |
4 |
142 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cd9660_setattr |
|
28 |
16 |
163 |
| cd9660_open |
|
4 |
1 |
13 |
| cd9660_close |
|
4 |
1 |
13 |
| cd9660_access |
|
7 |
1 |
67 |
| cd9660_getattr |
|
46 |
4 |
352 |
| cd9660_read |
|
60 |
12 |
447 |
| cd9660_ioctl |
|
4 |
1 |
13 |
| cd9660_poll |
|
5 |
1 |
32 |
| cd9660_mmap |
|
4 |
1 |
13 |
| cd9660_seek |
|
4 |
1 |
13 |
| iso_uiodir |
|
18 |
3 |
115 |
| iso_shipdir |
|
49 |
12 |
314 |
| cd9660_readdir |
|
122 |
23 |
862 |
| cd9660_readlink |
|
54 |
11 |
361 |
| cd9660_link |
|
7 |
1 |
38 |
| cd9660_symlink |
|
7 |
1 |
38 |
| cd9660_lock |
|
6 |
1 |
42 |
| cd9660_unlock |
|
7 |
1 |
38 |
| cd9660_strategy |
|
35 |
7 |
223 |
| cd9660_print |
|
5 |
1 |
18 |
| cd9660_islocked |
|
5 |
1 |
29 |
| cd9660_pathconf |
|
29 |
7 |
124 |
| cd9660_kqfilter |
|
22 |
4 |
112 |
| filt_cd9660detach |
|
5 |
1 |
39 |
| filt_cd9660read |
|
15 |
4 |
109 |
| filt_cd9660write |
|
9 |
2 |
46 |
| filt_cd9660vnode |
|
10 |
3 |
54 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/iso_rrip.h |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_node.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cd9660_init |
|
7 |
1 |
41 |
| cd9660_isohash |
|
8 |
1 |
61 |
| cd9660_ihashget |
|
18 |
5 |
104 |
| cd9660_ihashins |
|
18 |
5 |
128 |
| cd9660_ihashrem |
|
12 |
4 |
67 |
| cd9660_inactive |
|
16 |
5 |
103 |
| cd9660_reclaim |
|
18 |
5 |
108 |
| cd9660_defattr |
|
52 |
13 |
403 |
| cd9660_deftstamp |
|
36 |
9 |
284 |
| cd9660_tstamp_conv7 |
|
29 |
5 |
300 |
| cd9660_chars2ui |
|
11 |
2 |
49 |
| cd9660_tstamp_conv17 |
|
14 |
1 |
127 |
| isodirino |
|
9 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cd9660_mountroot |
|
27 |
5 |
186 |
| cd9660_mount |
|
60 |
12 |
430 |
| iso_mountfs |
|
189 |
43 |
1225 |
| for |
|
15 |
5 |
130 |
| for |
|
4 |
1 |
41 |
| cd9660_start |
|
7 |
1 |
28 |
| cd9660_unmount |
|
24 |
5 |
167 |
| cd9660_root |
|
11 |
1 |
72 |
| cd9660_quotactl |
|
9 |
1 |
38 |
| cd9660_statfs |
|
18 |
1 |
105 |
| cd9660_sync |
|
8 |
1 |
35 |
| cd9660_fhtovp |
|
24 |
4 |
141 |
| cd9660_vget |
|
13 |
3 |
70 |
| cd9660_vget_internal |
|
157 |
33 |
944 |
| cd9660_vptofh |
|
14 |
2 |
88 |
| cd9660_check_export |
|
15 |
2 |
94 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_util.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isochar |
|
21 |
5 |
106 |
| isofncmp |
|
54 |
20 |
351 |
| isofntrans |
|
25 |
5 |
138 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_node.h |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/iso.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isonum_711 |
|
4 |
1 |
12 |
| isonum_712 |
|
4 |
1 |
12 |
| isonum_721 |
|
6 |
2 |
35 |
| isonum_722 |
|
6 |
2 |
36 |
| isonum_723 |
|
6 |
3 |
42 |
| isonum_731 |
|
6 |
2 |
52 |
| isonum_732 |
|
6 |
2 |
53 |
| isonum_733 |
|
6 |
3 |
62 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_extern.h |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_bmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cd9660_bmap |
|
25 |
6 |
177 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_lookup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cd9660_lookup |
|
223 |
65 |
1415 |
| cd9660_bufatoff |
|
21 |
3 |
144 |
| Source file: /home/sergeyb/sources/src/sys/isofs/cd9660/cd9660_rrip.h |
| Source file: /home/sergeyb/sources/src/sys/isofs/udf/udf_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udf_rawnametounicode |
|
26 |
7 |
145 |
| udf_disklabelspoof |
|
62 |
9 |
538 |
| udf_vat_get |
|
17 |
2 |
128 |
| udf_vat_map |
|
10 |
3 |
64 |
| udf_vat_read |
|
21 |
5 |
128 |
| Source file: /home/sergeyb/sources/src/sys/isofs/udf/udf_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udf_hashlookup |
|
30 |
5 |
188 |
| udf_hashins |
|
16 |
2 |
122 |
| udf_hashrem |
|
14 |
2 |
100 |
| udf_allocv |
|
12 |
2 |
68 |
| udf_permtomode |
|
15 |
1 |
118 |
| udf_access |
|
23 |
5 |
120 |
| udf_isaleapyear |
|
8 |
4 |
51 |
| udf_timetotimespec |
|
40 |
10 |
297 |
| udf_getattr |
|
49 |
9 |
412 |
| udf_open |
|
4 |
1 |
13 |
| udf_close |
|
4 |
1 |
13 |
| udf_ioctl |
|
4 |
1 |
13 |
| udf_pathconf |
|
26 |
6 |
101 |
| udf_read |
|
31 |
8 |
203 |
| udf_transname |
|
24 |
7 |
165 |
| udf_cmpname |
|
13 |
3 |
99 |
| udf_uiodir |
|
11 |
2 |
79 |
| udf_opendir |
|
10 |
1 |
66 |
| udf_getfid |
|
76 |
16 |
567 |
| udf_closedir |
|
10 |
4 |
63 |
| udf_readdir |
|
93 |
18 |
643 |
| udf_readlink |
|
4 |
1 |
13 |
| udf_strategy |
|
39 |
6 |
245 |
| udf_lock |
|
6 |
1 |
42 |
| udf_unlock |
|
7 |
1 |
38 |
| udf_islocked |
|
5 |
1 |
29 |
| udf_print |
|
9 |
2 |
53 |
| udf_bmap |
|
21 |
5 |
136 |
| udf_lookup |
|
123 |
32 |
791 |
| udf_inactive |
|
8 |
1 |
45 |
| udf_reclaim |
|
20 |
4 |
110 |
| udf_readatoffset |
|
38 |
7 |
290 |
| udf_bmap_internal |
|
99 |
18 |
642 |
| Source file: /home/sergeyb/sources/src/sys/isofs/udf/ecma167-udf.h |
| Source file: /home/sergeyb/sources/src/sys/isofs/udf/udf_extern.h |
| Source file: /home/sergeyb/sources/src/sys/isofs/udf/udf_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udf_init |
|
10 |
1 |
81 |
| udf_start |
|
4 |
1 |
22 |
| udf_mount |
|
45 |
11 |
337 |
| udf_checktag |
|
14 |
4 |
96 |
| udf_mountfs |
|
184 |
36 |
1414 |
| udf_unmount |
|
27 |
5 |
210 |
| udf_root |
|
15 |
2 |
83 |
| udf_quotactl |
|
5 |
1 |
28 |
| udf_statfs |
|
15 |
1 |
97 |
| udf_sync |
|
4 |
1 |
27 |
| udf_vget |
|
118 |
23 |
760 |
| udf_fhtovp |
|
13 |
2 |
83 |
| udf_vptofh |
|
10 |
1 |
63 |
| udf_sysctl |
|
5 |
1 |
36 |
| udf_checkexp |
|
5 |
1 |
28 |
| udf_get_vpartmap |
|
5 |
1 |
25 |
| udf_get_spartmap |
|
31 |
7 |
256 |
| udf_get_mpartmap |
|
6 |
1 |
33 |
| udf_find_partmaps |
|
41 |
11 |
302 |
| Source file: /home/sergeyb/sources/src/sys/isofs/udf/udf.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udf_readlblks |
|
5 |
1 |
46 |
| udf_getid |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/net/switchofp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| swofp_attach |
|
5 |
1 |
28 |
| swofp_create |
|
27 |
4 |
189 |
| swofp_destroy |
|
11 |
3 |
74 |
| swofp_init |
|
6 |
1 |
27 |
| swofp_assign_portno |
|
24 |
7 |
119 |
| swofp_ioctl |
|
48 |
12 |
296 |
| swofp_lookup_oxm_handler |
|
24 |
5 |
119 |
| swofp_lookup_msg_handler |
|
7 |
2 |
29 |
| swofp_lookup_mpmsg_handler |
|
7 |
2 |
32 |
| swofp_lookup_action_handler |
|
9 |
3 |
53 |
| swofp_pipeline_desc_create |
|
20 |
4 |
135 |
| swofp_pipeline_desc_destroy |
|
5 |
1 |
25 |
| swofp_flow_table_lookup |
|
10 |
2 |
57 |
| swofp_flow_table_add |
|
20 |
5 |
146 |
| swofp_flow_table_delete |
|
17 |
2 |
123 |
| swofp_flow_table_delete_all |
|
12 |
2 |
72 |
| swofp_group_entry_lookup |
|
10 |
2 |
55 |
| swofp_group_entry_add |
|
9 |
1 |
60 |
| swofp_group_entry_delete |
|
17 |
1 |
110 |
| swofp_group_entry_delete_all |
|
9 |
1 |
53 |
| swofp_validate_buckets |
|
67 |
18 |
426 |
| swofp_flow_entry_table_free |
|
7 |
2 |
39 |
| swofp_flow_entry_instruction_free |
|
17 |
1 |
100 |
| swofp_flow_entry_free |
|
8 |
2 |
64 |
| swofp_flow_entry_add |
|
9 |
1 |
59 |
| swofp_flow_entry_delete |
|
11 |
2 |
72 |
| swofp_flow_timeout |
|
33 |
5 |
181 |
| swofp_timer |
|
7 |
1 |
44 |
| swofp_ox_cmp_data |
|
57 |
24 |
341 |
| swofp_ox_cmp_ipv6_addr |
|
58 |
12 |
563 |
| swofp_ox_cmp_ipv4_addr |
|
38 |
13 |
260 |
| swofp_ox_cmp_vlan_vid |
|
32 |
8 |
259 |
| swofp_ox_cmp_ether_addr |
|
43 |
13 |
263 |
| swofp_validate_oxm |
|
19 |
5 |
109 |
| swofp_validate_flow_match |
|
9 |
2 |
53 |
| swofp_validate_flow_instruction |
|
55 |
15 |
291 |
| swofp_validate_action |
|
170 |
50 |
872 |
| swofp_flow_filter_out_port |
|
16 |
4 |
89 |
| swofp_flow_filter |
|
16 |
9 |
114 |
| swofp_flow_cmp_common |
|
29 |
8 |
218 |
| swofp_flow_cmp_non_strict |
|
6 |
2 |
35 |
| swofp_flow_cmp_strict |
|
17 |
3 |
111 |
| swofp_flow_search_by_table |
|
10 |
2 |
56 |
| swofp_flow_has_group |
|
15 |
4 |
89 |
| swofp_flow_delete_on_table_by_group |
|
12 |
3 |
73 |
| swofp_flow_delete_on_table |
|
18 |
5 |
118 |
| swofp_ox_match_put_start |
|
5 |
1 |
31 |
| swofp_ox_match_put_end |
|
9 |
2 |
54 |
| swofp_ox_match_put_uint32 |
|
13 |
1 |
118 |
| swofp_ox_match_put_uint64 |
|
13 |
1 |
118 |
| swofp_nx_match_put |
|
13 |
1 |
116 |
| swofp_ox_set_vlan_vid |
|
8 |
1 |
48 |
| swofp_ox_set_uint8 |
|
44 |
11 |
244 |
| swofp_ox_set_uint16 |
|
29 |
8 |
131 |
| swofp_ox_set_uint32 |
|
12 |
2 |
55 |
| swofp_ox_set_uint64 |
|
12 |
2 |
55 |
| swofp_ox_set_ipv6_addr |
|
24 |
6 |
112 |
| swofp_ox_set_ipv4_addr |
|
27 |
7 |
134 |
| swofp_ox_set_ether_addr |
|
25 |
7 |
130 |
| swofp_ox_match_ipv6_addr |
|
54 |
15 |
345 |
| swofp_ox_match_ipv4_addr |
|
51 |
17 |
254 |
| swofp_ox_match_vlan_vid |
|
22 |
6 |
156 |
| swofp_ox_match_uint8 |
|
67 |
25 |
322 |
| swofp_ox_match_uint16 |
|
49 |
17 |
223 |
| swofp_ox_match_uint32 |
|
31 |
7 |
167 |
| swofp_ox_match_uint64 |
|
30 |
7 |
156 |
| swofp_ox_match_ether_addr |
|
50 |
17 |
275 |
| swofp_flow_match_by_swfcl |
|
15 |
4 |
85 |
| swofp_flow_lookup |
|
16 |
5 |
89 |
| swofp_expand_8021q_tag |
|
8 |
2 |
54 |
| swofp_action_pop_vlan |
|
46 |
9 |
366 |
| swofp_action_push_vlan |
|
57 |
11 |
420 |
| swofp_action_output_controller |
|
94 |
14 |
699 |
| swofp_action_output |
|
76 |
20 |
428 |
| swofp_action_group_all |
|
39 |
7 |
235 |
| swofp_action_group |
|
24 |
6 |
137 |
| swofp_apply_set_field_udp |
|
16 |
3 |
134 |
| swofp_apply_set_field_tcp |
|
16 |
3 |
134 |
| swofp_apply_set_field_nd6 |
|
72 |
17 |
454 |
| swofp_apply_set_field_icmpv6 |
|
21 |
5 |
143 |
| swofp_apply_set_field_icmpv4 |
|
17 |
3 |
136 |
| swofp_apply_set_field_ipv6 |
|
56 |
11 |
421 |
| swofp_apply_set_field_ipv4 |
|
57 |
11 |
446 |
| swofp_apply_set_field_arp |
|
23 |
3 |
198 |
| swofp_apply_set_field_ether |
|
65 |
15 |
418 |
| swofp_apply_set_field_tunnel |
|
38 |
6 |
252 |
| swofp_apply_set_field |
|
5 |
1 |
31 |
| swofp_action_set_field |
|
197 |
73 |
1065 |
| swofp_execute_action |
|
16 |
4 |
114 |
| swofp_execute_action_set_field |
|
15 |
4 |
99 |
| swofp_execute_action_set |
|
23 |
5 |
146 |
| swofp_apply_actions |
|
12 |
2 |
74 |
| swofp_lookup_action_set |
|
9 |
3 |
62 |
| swofp_write_actions_set_field |
|
11 |
1 |
70 |
| swofp_write_actions |
|
16 |
3 |
87 |
| swofp_clear_actions_set_field |
|
11 |
1 |
70 |
| swofp_clear_actions |
|
16 |
3 |
87 |
| swofp_write_metadata |
|
8 |
1 |
41 |
| swofp_forward_ofs |
|
59 |
13 |
319 |
| swofp_input |
|
29 |
7 |
203 |
| swofp_output |
|
14 |
5 |
89 |
| swofp_recv_hello |
|
11 |
2 |
60 |
| swofp_send_hello |
|
16 |
2 |
119 |
| swofp_send_error |
|
21 |
2 |
177 |
| swofp_recv_echo |
|
4 |
1 |
22 |
| swofp_send_echo |
|
7 |
1 |
46 |
| swofp_recv_features_req |
|
20 |
1 |
169 |
| swofp_recv_config_req |
|
16 |
2 |
138 |
| swofp_recv_set_config |
|
16 |
2 |
106 |
| swofp_send_flow_removed |
|
41 |
4 |
353 |
| swofp_flow_entry_put_instructions |
|
79 |
18 |
521 |
| swofp_flow_mod_cmd_add |
|
86 |
17 |
550 |
| swofp_flow_mod_cmd_common_modify |
|
63 |
13 |
367 |
| swofp_flow_mod_cmd_modify |
|
4 |
1 |
24 |
| swofp_flow_mod_cmd_modify_strict |
|
4 |
1 |
24 |
| swofp_flow_mod_cmd_common_delete |
|
39 |
6 |
249 |
| swofp_flow_mod_cmd_delete |
|
4 |
1 |
24 |
| swofp_flow_mod_cmd_delete_strict |
|
4 |
1 |
24 |
| swofp_flow_mod_lookup_handler |
|
7 |
2 |
33 |
| swofp_flow_mod |
|
22 |
4 |
140 |
| swofp_group_mod_add |
|
52 |
9 |
346 |
| swofp_group_mod_modify |
|
43 |
7 |
290 |
| swofp_group_mod_delete |
|
19 |
3 |
110 |
| swofp_group_mod |
|
25 |
5 |
137 |
| swofp_recv_packet_out |
|
61 |
11 |
445 |
| swofp_mpmsg_reply_create |
|
33 |
4 |
249 |
| swofp_mpmsg_put |
|
25 |
6 |
178 |
| swofp_mpmsg_m_put |
|
26 |
5 |
182 |
| swofp_mpmsg_destroy |
|
5 |
1 |
24 |
| swofp_multipart_req |
|
22 |
4 |
132 |
| swofp_multipart_reply |
|
33 |
5 |
234 |
| swofp_put_flow |
|
77 |
15 |
642 |
| swofp_mp_recv_desc |
|
23 |
3 |
179 |
| swofp_put_flows_from_table |
|
26 |
6 |
176 |
| swofp_mp_recv_flow |
|
26 |
5 |
172 |
| swofp_aggregate_stat_from_table |
|
21 |
3 |
147 |
| swofp_mp_recv_aggregate_flow_stat |
|
30 |
5 |
206 |
| swofp_mp_recv_table_stats |
|
27 |
3 |
191 |
| swofp_mp_recv_port_stats |
|
48 |
5 |
371 |
| swofp_table_features_put_oxm |
|
72 |
29 |
463 |
| swofp_table_features_put_actions |
|
38 |
9 |
311 |
| swofp_table_features_put_instruction |
|
37 |
3 |
211 |
| swofp_mp_recv_table_features |
|
78 |
17 |
513 |
| swofp_mp_recv_port_desc |
|
49 |
8 |
361 |
| swofp_mp_recv_group_desc |
|
30 |
4 |
210 |
| swofp_barrier_req |
|
5 |
1 |
24 |
| swofp_barrier_reply |
|
7 |
1 |
46 |
| Source file: /home/sergeyb/sources/src/sys/net/if_pflow.h |
| Source file: /home/sergeyb/sources/src/sys/net/pf_lb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pf_hash |
|
28 |
5 |
200 |
| pf_get_sport |
|
97 |
35 |
719 |
| pf_map_addr_sticky |
|
64 |
13 |
484 |
| pf_map_addr |
|
269 |
99 |
2146 |
| pf_get_transaddr |
|
48 |
12 |
417 |
| pf_get_transaddr_af |
|
110 |
30 |
900 |
| pf_postprocess_addr |
|
72 |
17 |
435 |
| Source file: /home/sergeyb/sources/src/sys/net/if_vlan_var.h |
| Source file: /home/sergeyb/sources/src/sys/net/ethertypes.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_vxlan.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vxlanattach |
|
8 |
2 |
44 |
| vxlan_clone_create |
|
35 |
3 |
283 |
| vxlan_clone_destroy |
|
15 |
1 |
92 |
| vxlan_multicast_cleanup |
|
28 |
6 |
170 |
| vxlan_multicast_join |
|
52 |
17 |
365 |
| vxlanstart |
|
12 |
5 |
63 |
| vxlan_config |
|
47 |
13 |
338 |
| vxlanioctl |
|
101 |
32 |
619 |
| vxlan_media_change |
|
4 |
1 |
14 |
| vxlan_media_status |
|
4 |
1 |
22 |
| vxlan_sockaddr_cmp |
|
23 |
9 |
143 |
| vxlan_sockaddr_port |
|
16 |
5 |
70 |
| vxlan_lookup |
|
83 |
24 |
619 |
| vxlan_encap4 |
|
25 |
3 |
199 |
| vxlan_encap6 |
|
36 |
7 |
274 |
| vxlan_output |
|
91 |
20 |
585 |
| vxlan_addr_change |
|
8 |
2 |
47 |
| vxlan_if_change |
|
9 |
1 |
75 |
| vxlan_link_change |
|
6 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/net/if_var.h |
| Source file: /home/sergeyb/sources/src/sys/net/pf_norm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pf_normalize_init |
|
15 |
1 |
124 |
| pf_frnode_compare |
|
13 |
5 |
124 |
| pf_frag_compare |
|
7 |
2 |
43 |
| pf_purge_expired_fragments |
|
15 |
3 |
83 |
| pf_flush_fragments |
|
12 |
3 |
64 |
| pf_free_fragment |
|
22 |
3 |
156 |
| pf_find_fragment |
|
24 |
4 |
174 |
| pf_create_fragment |
|
15 |
3 |
73 |
| pf_fillup_fragment |
|
141 |
37 |
967 |
| pf_isfull_fragment |
|
26 |
8 |
199 |
| pf_join_fragment |
|
27 |
4 |
219 |
| pf_reassemble |
|
60 |
7 |
462 |
| pf_reassemble6 |
|
93 |
12 |
704 |
| pf_refragment6 |
|
60 |
8 |
420 |
| pf_normalize_ip |
|
26 |
10 |
217 |
| pf_normalize_ip6 |
|
18 |
6 |
132 |
| pf_normalize_tcp |
|
38 |
12 |
255 |
| pf_normalize_tcp_init |
|
63 |
14 |
442 |
| pf_normalize_tcp_cleanup |
|
7 |
3 |
49 |
| pf_normalize_tcp_stateful |
|
220 |
88 |
1636 |
| pf_normalize_mss |
|
43 |
12 |
307 |
| pf_scrub |
|
23 |
19 |
212 |
| Source file: /home/sergeyb/sources/src/sys/net/if_ppp.h |
| Source file: /home/sergeyb/sources/src/sys/net/pf_if.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pfi_initialize |
|
12 |
3 |
75 |
| pfi_kif_find |
|
7 |
1 |
59 |
| pfi_kif_get |
|
17 |
4 |
129 |
| pfi_kif_ref |
|
16 |
4 |
56 |
| pfi_kif_unref |
|
41 |
15 |
185 |
| pfi_kif_match |
|
14 |
8 |
103 |
| pfi_attach_ifnet |
|
15 |
3 |
93 |
| pfi_detach_ifnet |
|
12 |
2 |
71 |
| pfi_attach_ifgroup |
|
10 |
2 |
56 |
| pfi_detach_ifgroup |
|
10 |
2 |
55 |
| pfi_group_change |
|
8 |
2 |
40 |
| pfi_match_addr |
|
29 |
8 |
154 |
| pfi_dynaddr_setup |
|
60 |
17 |
464 |
| pfi_kif_update |
|
11 |
2 |
70 |
| pfi_dynaddr_update |
|
14 |
5 |
92 |
| pfi_table_update |
|
16 |
4 |
135 |
| pfi_instance_add |
|
54 |
29 |
347 |
| pfi_address_add |
|
43 |
11 |
317 |
| pfi_dynaddr_remove |
|
13 |
5 |
133 |
| pfi_dynaddr_copyout |
|
7 |
4 |
59 |
| pfi_kifaddr_update |
|
7 |
1 |
32 |
| pfi_if_compare |
|
4 |
1 |
30 |
| pfi_update_status |
|
53 |
11 |
417 |
| pfi_get_ifaces |
|
23 |
6 |
163 |
| pfi_skip_if |
|
19 |
10 |
148 |
| pfi_set_flags |
|
10 |
2 |
54 |
| pfi_clear_flags |
|
10 |
2 |
54 |
| pfi_xcommit |
|
6 |
1 |
28 |
| pfi_unmask |
|
16 |
5 |
101 |
| Source file: /home/sergeyb/sources/src/sys/net/ifq.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifq_set_oactive |
|
4 |
1 |
15 |
| ifq_clr_oactive |
|
4 |
1 |
15 |
| ifq_is_oactive |
|
4 |
1 |
16 |
| ifq_start |
|
4 |
1 |
19 |
| ifq_restart |
|
4 |
1 |
19 |
| ifq_idx |
|
4 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/net/if_vether.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vether_media_change |
|
4 |
1 |
14 |
| vether_media_status |
|
5 |
1 |
30 |
| vetherattach |
|
4 |
1 |
13 |
| vether_clone_create |
|
25 |
2 |
187 |
| vether_clone_destroy |
|
9 |
1 |
56 |
| vetherstart |
|
12 |
5 |
61 |
| vetherioctl |
|
33 |
9 |
177 |
| Source file: /home/sergeyb/sources/src/sys/net/if_switch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| switchattach |
|
8 |
1 |
45 |
| switch_lookup |
|
9 |
2 |
41 |
| switch_clone_create |
|
29 |
3 |
207 |
| switch_clone_destroy |
|
22 |
2 |
137 |
| switchintr |
|
18 |
4 |
93 |
| switch_process |
|
35 |
11 |
246 |
| switch_port_set_local |
|
40 |
7 |
275 |
| switch_port_unset_local |
|
35 |
6 |
251 |
| switch_ioctl |
|
101 |
29 |
642 |
| switch_port_add |
|
37 |
9 |
262 |
| switch_port_list |
|
34 |
5 |
244 |
| switch_port_detach |
|
16 |
2 |
120 |
| switch_port_del |
|
20 |
4 |
113 |
| switch_input |
|
10 |
2 |
61 |
| switch_port_ingress |
|
16 |
3 |
119 |
| switch_port_egress |
|
46 |
15 |
313 |
| switch_ifenqueue |
|
21 |
3 |
121 |
| switch_port_ifb_start |
|
14 |
5 |
80 |
| switch_swfcl_dup |
|
98 |
25 |
708 |
| switch_swfcl_free |
|
28 |
13 |
214 |
| switch_flow_classifier_udp |
|
17 |
3 |
142 |
| switch_flow_classifier_tcp |
|
18 |
3 |
152 |
| switch_flow_classifier_icmpv4 |
|
17 |
3 |
136 |
| switch_flow_classifier_nd6 |
|
69 |
17 |
447 |
| switch_flow_classifier_icmpv6 |
|
21 |
5 |
137 |
| switch_flow_classifier_ipv4 |
|
31 |
6 |
255 |
| switch_flow_classifier_ipv6 |
|
31 |
6 |
250 |
| switch_flow_classifier_arp |
|
20 |
3 |
204 |
| switch_flow_classifier_ether |
|
63 |
15 |
483 |
| switch_flow_classifier_tunnel |
|
31 |
6 |
217 |
| switch_flow_classifier |
|
8 |
1 |
52 |
| switch_flow_classifier_dump |
|
102 |
14 |
718 |
| switch_mtap |
|
8 |
2 |
71 |
| ofp_split_mbuf |
|
23 |
6 |
157 |
| Source file: /home/sergeyb/sources/src/sys/net/if.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifinit |
|
12 |
3 |
79 |
| if_idxmap_init |
|
14 |
2 |
105 |
| if_idxmap_insert |
|
46 |
9 |
331 |
| if_idxmap_remove |
|
15 |
1 |
113 |
| if_ifp_dtor |
|
4 |
1 |
17 |
| if_map_dtor |
|
9 |
2 |
91 |
| if_attachsetup |
|
19 |
2 |
143 |
| if_alloc_sadl |
|
23 |
3 |
167 |
| if_free_sadl |
|
5 |
1 |
26 |
| if_attachdomain |
|
13 |
3 |
91 |
| if_attachhead |
|
8 |
1 |
37 |
| if_attach |
|
8 |
1 |
37 |
| if_attach_queues |
|
19 |
2 |
152 |
| if_attach_common |
|
41 |
3 |
334 |
| if_attach_ifq |
|
4 |
1 |
31 |
| if_start |
|
5 |
1 |
26 |
| if_qstart_compat |
|
10 |
1 |
50 |
| if_enqueue |
|
20 |
6 |
128 |
| if_input |
|
32 |
9 |
199 |
| if_input_local |
|
32 |
9 |
178 |
| if_ih_insert |
|
21 |
4 |
140 |
| if_ih_ref |
|
5 |
1 |
27 |
| if_ih_unref |
|
5 |
1 |
27 |
| if_ih_remove |
|
17 |
4 |
127 |
| if_input_process |
|
33 |
7 |
197 |
| if_netisr |
|
35 |
20 |
216 |
| if_deactivate |
|
8 |
4 |
45 |
| if_detach |
|
65 |
17 |
541 |
| if_isconnected |
|
17 |
10 |
117 |
| if_clone_create |
|
21 |
6 |
137 |
| if_clone_destroy |
|
25 |
5 |
131 |
| if_clone_lookup |
|
32 |
20 |
240 |
| if_clone_attach |
|
5 |
1 |
22 |
| if_clone_detach |
|
5 |
1 |
19 |
| if_clone_list |
|
26 |
6 |
151 |
| if_congestion |
|
5 |
1 |
14 |
| if_congested |
|
11 |
2 |
49 |
| ifa_ifwithaddr |
|
19 |
4 |
105 |
| ifa_ifwithdstaddr |
|
21 |
6 |
118 |
| ifaof_ifpforaddr |
|
32 |
12 |
223 |
| if_rtrequest_dummy |
|
3 |
1 |
17 |
| p2p_rtrequest |
|
34 |
9 |
187 |
| if_downall |
|
14 |
2 |
79 |
| if_down |
|
8 |
1 |
40 |
| if_up |
|
9 |
3 |
50 |
| if_linkstate_task |
|
13 |
2 |
62 |
| if_linkstate |
|
7 |
1 |
32 |
| if_link_state_change |
|
4 |
1 |
23 |
| if_slowtimo |
|
11 |
4 |
75 |
| if_watchdog_task |
|
16 |
3 |
81 |
| ifunit |
|
9 |
2 |
48 |
| if_get |
|
18 |
3 |
112 |
| if_ref |
|
5 |
1 |
22 |
| if_put |
|
6 |
2 |
25 |
| if_setlladdr |
|
8 |
2 |
64 |
| if_setrdomain |
|
51 |
17 |
321 |
| ifioctl |
|
274 |
111 |
1637 |
| ifioctl_get |
|
91 |
20 |
467 |
| ifconf |
|
69 |
12 |
459 |
| if_getdata |
|
9 |
2 |
61 |
| if_detached_qstart |
|
4 |
1 |
14 |
| if_detached_ioctl |
|
4 |
1 |
18 |
| if_creategroup |
|
13 |
3 |
96 |
| if_addgroup |
|
33 |
10 |
288 |
| if_delgroup |
|
26 |
8 |
198 |
| if_getgroup |
|
27 |
4 |
191 |
| if_getgroupmembers |
|
33 |
6 |
226 |
| if_getgroupattribs |
|
12 |
3 |
75 |
| if_setgroupattribs |
|
20 |
5 |
136 |
| if_group_routechange |
|
18 |
12 |
118 |
| if_group_egress_build |
|
39 |
9 |
267 |
| ifpromisc |
|
27 |
6 |
169 |
| ifa_add |
|
4 |
1 |
26 |
| ifa_del |
|
4 |
1 |
26 |
| ifa_update_broadaddr |
|
6 |
2 |
49 |
| ifa_print_all |
|
23 |
4 |
131 |
| ifnewlladdr |
|
31 |
7 |
196 |
| net_tick |
|
8 |
2 |
35 |
| net_livelocked |
|
5 |
1 |
19 |
| if_rxr_init |
|
8 |
1 |
54 |
| if_rxr_adjust_cwm |
|
14 |
5 |
74 |
| if_rxr_livelocked |
|
9 |
3 |
46 |
| if_rxr_get |
|
13 |
3 |
77 |
| if_rxr_info_ioctl |
|
17 |
4 |
120 |
| if_rxr_ioctl |
|
11 |
2 |
87 |
| niq_init |
|
5 |
1 |
33 |
| niq_enqueue |
|
10 |
2 |
52 |
| niq_enlist |
|
10 |
2 |
52 |
| unhandled_af |
|
4 |
1 |
14 |
| net_tq |
|
6 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/net/if_trunk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| trunkattach |
|
5 |
1 |
19 |
| trunk_clone_create |
|
38 |
5 |
302 |
| trunk_clone_destroy |
|
21 |
3 |
134 |
| trunk_lladdr |
|
10 |
1 |
69 |
| trunk_capabilities |
|
13 |
4 |
92 |
| trunk_port_lladdr |
|
6 |
1 |
39 |
| trunk_port_create |
|
65 |
13 |
511 |
| trunk_port_checkstacking |
|
13 |
2 |
79 |
| trunk_port_destroy |
|
38 |
5 |
295 |
| trunk_port_ioctl |
|
39 |
11 |
218 |
| trunk_port_output |
|
10 |
3 |
71 |
| trunk_port_ifdetach |
|
5 |
1 |
25 |
| trunk_port_get |
|
19 |
4 |
103 |
| trunk_port2req |
|
28 |
9 |
190 |
| trunk_ioctl |
|
140 |
41 |
875 |
| trunk_ether_addmulti |
|
25 |
4 |
201 |
| trunk_ether_delmulti |
|
31 |
8 |
235 |
| trunk_ether_purgemulti |
|
12 |
2 |
106 |
| trunk_ether_cmdmulti |
|
20 |
3 |
161 |
| trunk_ioctl_allports |
|
17 |
3 |
124 |
| trunk_start |
|
22 |
9 |
133 |
| trunk_hashmbuf |
|
54 |
12 |
446 |
| trunk_init |
|
7 |
2 |
47 |
| trunk_stop |
|
7 |
2 |
47 |
| trunk_input |
|
41 |
12 |
283 |
| trunk_media_change |
|
7 |
2 |
43 |
| trunk_media_status |
|
11 |
2 |
73 |
| trunk_port_state |
|
12 |
4 |
77 |
| trunk_link_active |
|
36 |
10 |
192 |
| trunk_gethdr |
|
10 |
3 |
81 |
| trunk_rr_attach |
|
18 |
1 |
104 |
| trunk_rr_detach |
|
5 |
1 |
20 |
| trunk_rr_port_destroy |
|
6 |
2 |
42 |
| trunk_rr_start |
|
14 |
3 |
117 |
| trunk_rr_input |
|
4 |
1 |
24 |
| trunk_fail_attach |
|
15 |
1 |
90 |
| trunk_fail_detach |
|
5 |
1 |
20 |
| trunk_fail_port_create |
|
6 |
1 |
44 |
| trunk_fail_port_destroy |
|
14 |
3 |
96 |
| trunk_fail_start |
|
9 |
2 |
58 |
| trunk_fail_input |
|
7 |
2 |
46 |
| trunk_fail_linkstate |
|
5 |
1 |
39 |
| trunk_lb_attach |
|
20 |
2 |
137 |
| trunk_lb_detach |
|
6 |
1 |
39 |
| trunk_lb_porttable |
|
18 |
4 |
123 |
| trunk_lb_port_create |
|
5 |
1 |
33 |
| trunk_lb_port_destroy |
|
5 |
1 |
30 |
| trunk_lb_start |
|
14 |
2 |
107 |
| trunk_lb_input |
|
4 |
1 |
24 |
| trunk_bcast_attach |
|
14 |
1 |
74 |
| trunk_bcast_detach |
|
4 |
1 |
14 |
| trunk_bcast_start |
|
31 |
8 |
169 |
| trunk_bcast_input |
|
4 |
1 |
24 |
| trunk_lacp_attach |
|
21 |
2 |
114 |
| trunk_lacp_detach |
|
9 |
1 |
45 |
| trunk_lacp_start |
|
10 |
2 |
58 |
| trunk_lacp_input |
|
4 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/net/if_pppoe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pppoeattach |
|
5 |
1 |
19 |
| pppoe_clone_create |
|
40 |
4 |
354 |
| pppoe_clone_destroy |
|
20 |
5 |
138 |
| pppoe_find_softc_by_session |
|
14 |
5 |
69 |
| pppoe_find_softc_by_hunique |
|
28 |
8 |
167 |
| pppoeintr |
|
9 |
3 |
53 |
| pppoe_dispatch_disc_pkt |
|
264 |
58 |
1524 |
| pppoe_disc_input |
|
8 |
2 |
42 |
| pppoe_data_input |
|
64 |
16 |
402 |
| pppoe_output |
|
33 |
4 |
256 |
| pppoe_ioctl |
|
143 |
32 |
934 |
| pppoe_get_mbuf |
|
19 |
4 |
114 |
| pppoe_send_padi |
|
52 |
11 |
422 |
| pppoe_timeout |
|
62 |
10 |
371 |
| pppoe_connect |
|
16 |
3 |
95 |
| pppoe_disconnect |
|
30 |
4 |
194 |
| pppoe_abort_connect |
|
9 |
1 |
63 |
| pppoe_send_padr |
|
58 |
13 |
474 |
| pppoe_send_padt |
|
29 |
3 |
217 |
| pppoe_tls |
|
7 |
2 |
35 |
| pppoe_tlf |
|
8 |
2 |
48 |
| pppoe_start |
|
27 |
7 |
165 |
| Source file: /home/sergeyb/sources/src/sys/net/bpf.h |
| Source file: /home/sergeyb/sources/src/sys/net/route.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtstat_inc |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/net/if_enc.h |
| Source file: /home/sergeyb/sources/src/sys/net/trunklacp.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_mpe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpeattach |
|
5 |
1 |
19 |
| mpe_clone_create |
|
30 |
3 |
227 |
| mpe_clone_destroy |
|
12 |
2 |
74 |
| mpestart |
|
53 |
8 |
344 |
| mpeoutput |
|
61 |
10 |
394 |
| mpeioctl |
|
82 |
23 |
469 |
| mpe_input |
|
30 |
8 |
214 |
| mpe_input6 |
|
17 |
5 |
127 |
| Source file: /home/sergeyb/sources/src/sys/net/pf_table.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pfr_gcd |
|
10 |
2 |
40 |
| pfr_initialize |
|
15 |
1 |
147 |
| pfr_clr_addrs |
|
24 |
7 |
151 |
| pfr_add_addrs |
|
74 |
22 |
512 |
| pfr_del_addrs |
|
73 |
26 |
524 |
| pfr_set_addrs |
|
112 |
29 |
769 |
| pfr_tst_addrs |
|
36 |
15 |
279 |
| pfr_get_addrs |
|
34 |
8 |
221 |
| pfr_get_astats |
|
39 |
10 |
258 |
| pfr_clr_astats |
|
44 |
14 |
308 |
| pfr_validate_addr |
|
29 |
14 |
202 |
| pfr_enqueue_addrs |
|
19 |
7 |
128 |
| pfr_mark_addrs |
|
12 |
3 |
72 |
| pfr_lookup_addr |
|
28 |
8 |
184 |
| pfr_create_kentry |
|
39 |
13 |
243 |
| pfr_destroy_kentries |
|
10 |
2 |
67 |
| pfr_destroy_kentry |
|
9 |
4 |
68 |
| pfr_insert_kentries |
|
22 |
3 |
108 |
| pfr_insert_kentry |
|
20 |
5 |
119 |
| pfr_remove_kentries |
|
23 |
3 |
129 |
| pfr_clean_node_mask |
|
8 |
1 |
36 |
| pfr_clstats_kentries |
|
13 |
3 |
70 |
| pfr_reset_feedback |
|
13 |
4 |
94 |
| pfr_prepare_network |
|
27 |
9 |
189 |
| pfr_route_kentry |
|
23 |
6 |
158 |
| pfr_unroute_kentry |
|
26 |
6 |
150 |
| pfr_copyout_addr |
|
35 |
10 |
212 |
| pfr_walktree |
|
82 |
21 |
495 |
| pfr_clr_tables |
|
29 |
8 |
182 |
| pfr_add_tables |
|
74 |
15 |
516 |
| pfr_del_tables |
|
33 |
9 |
236 |
| pfr_get_tables |
|
31 |
8 |
182 |
| pfr_get_tstats |
|
38 |
9 |
225 |
| pfr_clr_tstats |
|
27 |
7 |
201 |
| pfr_set_tflags |
|
48 |
17 |
332 |
| pfr_ina_begin |
|
30 |
7 |
187 |
| pfr_ina_define |
|
101 |
26 |
718 |
| pfr_ina_rollback |
|
28 |
8 |
182 |
| pfr_ina_commit |
|
37 |
11 |
241 |
| pfr_commit_ktable |
|
54 |
7 |
406 |
| pfr_validate_table |
|
18 |
9 |
138 |
| pfr_fix_anchor |
|
21 |
6 |
126 |
| pfr_table_count |
|
11 |
4 |
71 |
| pfr_skip_table |
|
8 |
3 |
51 |
| pfr_insert_ktables |
|
6 |
1 |
27 |
| pfr_insert_ktable |
|
9 |
3 |
58 |
| pfr_setflags_ktables |
|
8 |
2 |
52 |
| pfr_setflags_ktable |
|
30 |
12 |
198 |
| pfr_clstats_ktables |
|
6 |
1 |
37 |
| pfr_clstats_ktable |
|
12 |
2 |
91 |
| pfr_create_ktable |
|
34 |
7 |
211 |
| pfr_destroy_ktables |
|
8 |
2 |
53 |
| pfr_destroy_ktable |
|
20 |
6 |
141 |
| pfr_ktable_compare |
|
7 |
2 |
55 |
| pfr_lookup_table |
|
5 |
1 |
27 |
| pfr_match_addr |
|
35 |
10 |
248 |
| pfr_update_stats |
|
64 |
19 |
422 |
| pfr_attach_table |
|
33 |
8 |
244 |
| pfr_detach_table |
|
8 |
3 |
57 |
| pfr_islinklocal |
|
6 |
4 |
36 |
| pfr_pool_get |
|
146 |
41 |
933 |
| pfr_kentry_byidx |
|
17 |
4 |
99 |
| pfr_states_increase |
|
14 |
4 |
97 |
| pfr_states_decrease |
|
18 |
5 |
115 |
| pfr_kentry_byaddr |
|
22 |
4 |
112 |
| pfr_dynaddr_update |
|
23 |
5 |
133 |
| pfr_ktable_winfo_update |
|
13 |
5 |
91 |
| Source file: /home/sergeyb/sources/src/sys/net/pipex.h |
| Source file: /home/sergeyb/sources/src/sys/net/pfkeyv2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pfdatatopacket |
|
7 |
2 |
52 |
| pfkey_init |
|
4 |
1 |
15 |
| pfkeyv2_attach |
|
26 |
3 |
189 |
| pfkeyv2_detach |
|
21 |
5 |
114 |
| pfkeyv2_usrreq |
|
5 |
1 |
50 |
| pfkeyv2_output |
|
24 |
6 |
150 |
| pfkey_sendup |
|
17 |
4 |
111 |
| pfkeyv2_sendmessage |
|
106 |
24 |
764 |
| pfkeyv2_policy |
|
109 |
26 |
720 |
| pfkeyv2_get |
|
121 |
43 |
895 |
| pfkeyv2_dump_walker |
|
22 |
6 |
178 |
| pfkeyv2_sa_flush |
|
7 |
3 |
53 |
| pfkeyv2_get_proto_alg |
|
39 |
16 |
174 |
| pfkeyv2_send |
|
698 |
162 |
4305 |
| pfkeyv2_acquire |
|
170 |
29 |
1272 |
| pfkeyv2_expire |
|
59 |
11 |
408 |
| pfkeyv2_sysctl_walker |
|
47 |
12 |
369 |
| pfkeyv2_dump_policy |
|
78 |
20 |
492 |
| pfkeyv2_sysctl_policydumper |
|
53 |
14 |
392 |
| pfkeyv2_policy_flush |
|
8 |
2 |
42 |
| pfkeyv2_sysctl |
|
40 |
9 |
229 |
| Source file: /home/sergeyb/sources/src/sys/net/if_pair.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pair_media_change |
|
4 |
1 |
14 |
| pair_media_status |
|
12 |
2 |
74 |
| pair_link_state |
|
15 |
3 |
79 |
| pairattach |
|
4 |
1 |
13 |
| pair_clone_create |
|
27 |
2 |
198 |
| pair_clone_destroy |
|
17 |
2 |
109 |
| pairstart |
|
25 |
8 |
148 |
| pairioctl |
|
72 |
21 |
397 |
| Source file: /home/sergeyb/sources/src/sys/net/if_gre.h |
| Source file: /home/sergeyb/sources/src/sys/net/pfkeyv2_convert.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| import_sa |
|
22 |
8 |
142 |
| export_sa |
|
96 |
31 |
436 |
| import_lifetime |
|
61 |
13 |
319 |
| export_lifetime |
|
50 |
13 |
265 |
| import_flow |
|
67 |
11 |
591 |
| export_encap |
|
39 |
7 |
297 |
| export_flow |
|
62 |
13 |
332 |
| import_address |
|
23 |
6 |
114 |
| export_address |
|
10 |
1 |
97 |
| import_identity |
|
27 |
5 |
171 |
| import_identities |
|
17 |
6 |
139 |
| export_identity |
|
20 |
4 |
124 |
| export_identities |
|
8 |
3 |
66 |
| import_key |
|
12 |
3 |
87 |
| export_key |
|
21 |
2 |
174 |
| import_udpencap |
|
5 |
2 |
26 |
| export_udpencap |
|
9 |
1 |
64 |
| import_tag |
|
8 |
2 |
47 |
| export_tag |
|
10 |
1 |
100 |
| import_tap |
|
5 |
2 |
26 |
| export_tap |
|
7 |
1 |
58 |
| export_satype |
|
7 |
1 |
44 |
| Source file: /home/sergeyb/sources/src/sys/net/if_sppp.h |
| Source file: /home/sergeyb/sources/src/sys/net/ifq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifq_serialize |
|
24 |
5 |
178 |
| ifq_is_serialized |
|
4 |
1 |
20 |
| ifq_start_task |
|
9 |
4 |
55 |
| ifq_restart_task |
|
7 |
1 |
36 |
| ifq_barrier |
|
14 |
3 |
90 |
| ifq_barrier_task |
|
6 |
1 |
25 |
| ifq_init |
|
24 |
2 |
179 |
| ifq_attach |
|
27 |
3 |
197 |
| ifq_destroy |
|
7 |
1 |
50 |
| ifq_add_data |
|
9 |
1 |
62 |
| ifq_enqueue |
|
20 |
6 |
126 |
| ifq_deq_enter |
|
4 |
1 |
17 |
| ifq_deq_leave |
|
9 |
2 |
50 |
| ifq_deq_begin |
|
13 |
3 |
76 |
| ifq_deq_commit |
|
9 |
1 |
56 |
| ifq_deq_rollback |
|
5 |
1 |
26 |
| ifq_dequeue |
|
9 |
2 |
44 |
| ifq_purge |
|
14 |
1 |
89 |
| ifq_q_enter |
|
8 |
2 |
51 |
| ifq_q_leave |
|
5 |
1 |
30 |
| ifq_mfreem |
|
7 |
1 |
42 |
| ifq_mfreeml |
|
7 |
1 |
50 |
| priq_idx |
|
7 |
2 |
50 |
| priq_alloc |
|
9 |
2 |
64 |
| priq_free |
|
4 |
1 |
25 |
| priq_enq |
|
23 |
4 |
154 |
| priq_deq_begin |
|
16 |
3 |
94 |
| priq_deq_commit |
|
6 |
1 |
40 |
| priq_purge |
|
10 |
2 |
67 |
| Source file: /home/sergeyb/sources/src/sys/net/if_pflow.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pflowattach |
|
5 |
1 |
19 |
| pflow_output |
|
6 |
1 |
34 |
| pflow_output_process |
|
12 |
2 |
66 |
| pflow_clone_create |
|
117 |
2 |
1048 |
| pflow_clone_destroy |
|
30 |
7 |
228 |
| pflowvalidsockaddr |
|
19 |
8 |
116 |
| pflow_set |
|
128 |
29 |
789 |
| pflowioctl |
|
65 |
22 |
421 |
| pflow_init_timeouts |
|
25 |
9 |
169 |
| pflow_calc_mtu |
|
14 |
3 |
121 |
| pflow_setmtu |
|
25 |
6 |
151 |
| pflow_get_mbuf |
|
38 |
5 |
246 |
| copy_flow_data |
|
27 |
4 |
336 |
| copy_flow_ipfix_4_data |
|
27 |
2 |
311 |
| copy_flow_ipfix_6_data |
|
29 |
2 |
373 |
| export_pflow |
|
21 |
7 |
116 |
| export_pflow_if |
|
37 |
11 |
343 |
| copy_flow_to_m |
|
18 |
5 |
129 |
| copy_flow_ipfix_4_to_m |
|
22 |
5 |
149 |
| copy_flow_ipfix_6_to_m |
|
22 |
5 |
149 |
| pflow_pack_flow |
|
18 |
4 |
144 |
| pflow_pack_flow_ipfix |
|
35 |
9 |
284 |
| pflow_timeout |
|
14 |
3 |
49 |
| pflow_timeout6 |
|
5 |
1 |
22 |
| pflow_timeout_tmpl |
|
5 |
1 |
20 |
| pflow_flush |
|
14 |
3 |
50 |
| pflow_sendout_v5 |
|
25 |
4 |
185 |
| pflow_sendout_ipfix |
|
55 |
8 |
355 |
| pflow_sendout_ipfix_tmpl |
|
35 |
6 |
253 |
| pflow_sendout_mbuf |
|
10 |
2 |
75 |
| pflow_sysctl |
|
16 |
4 |
94 |
| Source file: /home/sergeyb/sources/src/sys/net/if_vxlan.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_etherip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| etheripattach |
|
5 |
1 |
20 |
| etherip_clone_create |
|
25 |
2 |
193 |
| etherip_clone_destroy |
|
10 |
1 |
61 |
| etherip_media_change |
|
4 |
1 |
12 |
| etherip_media_status |
|
5 |
1 |
30 |
| etherip_start |
|
30 |
11 |
153 |
| etherip_ioctl |
|
79 |
27 |
518 |
| etherip_set_tunnel_addr |
|
26 |
9 |
185 |
| ip_etherip_output |
|
49 |
9 |
380 |
| ip_etherip_input |
|
65 |
15 |
440 |
| ip6_etherip_output |
|
55 |
11 |
396 |
| ip6_etherip_input |
|
64 |
15 |
453 |
| etherip_sysctl_etheripstat |
|
11 |
1 |
82 |
| etherip_sysctl |
|
19 |
4 |
101 |
| Source file: /home/sergeyb/sources/src/sys/net/rtsock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| route_prinit |
|
4 |
1 |
14 |
| route_usrreq |
|
24 |
5 |
159 |
| route_attach |
|
39 |
7 |
231 |
| route_detach |
|
23 |
6 |
134 |
| route_ctloutput |
|
50 |
14 |
262 |
| route_senddesync |
|
22 |
4 |
134 |
| route_input |
|
86 |
30 |
524 |
| rtm_report |
|
50 |
10 |
429 |
| route_output |
|
152 |
49 |
967 |
| rtm_output |
|
206 |
61 |
1374 |
| ifa_ifwithroute |
|
38 |
11 |
241 |
| rtm_getifa |
|
35 |
16 |
293 |
| route_cleargateway |
|
8 |
4 |
62 |
| route_arp_conflict |
|
16 |
8 |
132 |
| rtm_setmetrics |
|
15 |
4 |
71 |
| rtm_getmetrics |
|
14 |
2 |
81 |
| rtm_xaddrs |
|
12 |
4 |
102 |
| rtm_msg1 |
|
58 |
16 |
337 |
| rtm_msg2 |
|
65 |
19 |
379 |
| rtm_send |
|
21 |
3 |
189 |
| rtm_miss |
|
20 |
4 |
142 |
| rtm_ifchg |
|
18 |
3 |
114 |
| rtm_addr |
|
24 |
4 |
200 |
| rtm_ifannounce |
|
15 |
3 |
101 |
| rtm_bfd |
|
20 |
3 |
158 |
| sysctl_dumpentry |
|
68 |
22 |
571 |
| sysctl_iflist |
|
52 |
13 |
427 |
| sysctl_ifnames |
|
22 |
6 |
152 |
| sysctl_rtable |
|
73 |
20 |
451 |
| sysctl_rtable_rtstat |
|
14 |
2 |
138 |
| rtm_validate_proposal |
|
75 |
26 |
440 |
| Source file: /home/sergeyb/sources/src/sys/net/pf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pf_addr_compare |
|
30 |
14 |
253 |
| pf_src_compare |
|
15 |
6 |
133 |
| pf_set_protostate |
|
15 |
10 |
110 |
| pf_addrcpy |
|
16 |
4 |
110 |
| pf_init_threshold |
|
8 |
1 |
41 |
| pf_add_threshold |
|
11 |
2 |
63 |
| pf_check_threshold |
|
4 |
1 |
20 |
| pf_src_connlimit |
|
76 |
22 |
565 |
| pf_insert_src_node |
|
54 |
11 |
391 |
| pf_remove_src_node |
|
13 |
5 |
98 |
| pf_get_src_node |
|
8 |
2 |
51 |
| pf_state_rm_src_node |
|
18 |
5 |
115 |
| pf_state_compare_key |
|
19 |
8 |
211 |
| pf_state_compare_id |
|
12 |
5 |
81 |
| pf_state_key_attach |
|
62 |
22 |
468 |
| pf_detach_state |
|
9 |
4 |
70 |
| pf_state_key_detach |
|
24 |
6 |
169 |
| pf_alloc_state_key |
|
8 |
2 |
46 |
| pf_state_key_addr_setup |
|
43 |
12 |
331 |
| pf_state_key_setup |
|
65 |
19 |
502 |
| pf_state_insert |
|
43 |
10 |
308 |
| pf_find_state_byid |
|
5 |
1 |
35 |
| pf_compare_state_keys |
|
30 |
10 |
300 |
| pf_find_state |
|
56 |
25 |
451 |
| pf_find_state_all |
|
21 |
8 |
150 |
| pf_state_export |
|
57 |
6 |
744 |
| pf_purge_expired_rules |
|
12 |
3 |
67 |
| pf_purge_timeout |
|
4 |
1 |
19 |
| pf_purge |
|
21 |
3 |
117 |
| pf_state_expires |
|
29 |
8 |
206 |
| pf_purge_expired_src_nodes |
|
12 |
4 |
83 |
| pf_src_tree_remove_state |
|
18 |
5 |
118 |
| pf_remove_state |
|
24 |
6 |
203 |
| pf_remove_divert_state |
|
12 |
5 |
89 |
| pf_free_state |
|
29 |
11 |
224 |
| pf_purge_expired_states |
|
21 |
6 |
105 |
| pf_tbladdr_setup |
|
8 |
3 |
62 |
| pf_tbladdr_remove |
|
7 |
3 |
44 |
| pf_tbladdr_copyout |
|
11 |
6 |
86 |
| pf_print_host |
|
57 |
17 |
328 |
| pf_print_state |
|
4 |
1 |
18 |
| pf_print_state_parts |
|
77 |
26 |
517 |
| pf_print_flags |
|
21 |
10 |
104 |
| pf_calc_skip_steps |
|
40 |
21 |
369 |
| pf_addr_wrap_neq |
|
27 |
12 |
196 |
| pf_cksum_fixup |
|
13 |
5 |
85 |
| pf_cksum_uncover |
|
4 |
1 |
25 |
| pf_cksum_cover |
|
4 |
1 |
25 |
| pf_cksum_fixup_a |
|
28 |
8 |
284 |
| pf_patch_8 |
|
12 |
4 |
98 |
| pf_patch_16 |
|
10 |
2 |
60 |
| pf_patch_16_unaligned |
|
12 |
3 |
108 |
| pf_patch_32 |
|
13 |
2 |
113 |
| pf_patch_32_unaligned |
|
14 |
3 |
141 |
| pf_icmp_mapping |
|
130 |
37 |
622 |
| pf_translate_icmp |
|
10 |
3 |
89 |
| pf_translate_a |
|
18 |
5 |
105 |
| pf_translate_af |
|
93 |
19 |
671 |
| pf_change_icmp_af |
|
74 |
17 |
583 |
| pf_translate_icmp_af |
|
185 |
59 |
895 |
| pf_modulate_sack |
|
52 |
13 |
357 |
| pf_build_tcp |
|
94 |
20 |
691 |
| pf_send_tcp |
|
19 |
5 |
134 |
| pf_send_challenge_ack |
|
8 |
1 |
91 |
| pf_send_icmp |
|
21 |
9 |
157 |
| pf_match_addr |
|
23 |
9 |
234 |
| pf_match_addr_range |
|
26 |
12 |
229 |
| pf_match |
|
24 |
13 |
141 |
| pf_match_port |
|
4 |
1 |
39 |
| pf_match_uid |
|
6 |
4 |
49 |
| pf_match_gid |
|
6 |
4 |
49 |
| pf_match_tag |
|
7 |
5 |
67 |
| pf_match_rcvif |
|
20 |
6 |
130 |
| pf_tag_packet |
|
7 |
3 |
48 |
| pf_step_into_anchor |
|
23 |
5 |
133 |
| pf_poolmask |
|
22 |
4 |
265 |
| pf_addr_inc |
|
29 |
7 |
214 |
| pf_socket_lookup |
|
67 |
11 |
395 |
| pf_get_wscale |
|
37 |
9 |
201 |
| pf_get_mss |
|
35 |
8 |
201 |
| pf_calc_mss |
|
38 |
6 |
270 |
| pf_set_rt_ifp |
|
27 |
6 |
174 |
| pf_tcp_iss |
|
32 |
5 |
254 |
| pf_rule_to_actions |
|
22 |
9 |
170 |
| pf_match_rule |
|
158 |
47 |
1417 |
| pf_test_rule |
|
184 |
70 |
1551 |
| pf_create_state |
|
165 |
38 |
1308 |
| pf_translate |
|
51 |
20 |
344 |
| pf_tcp_track_full |
|
228 |
97 |
1904 |
| pf_tcp_track_sloppy |
|
68 |
28 |
489 |
| pf_synproxy |
|
90 |
18 |
1029 |
| pf_test_state |
|
120 |
37 |
1014 |
| pf_icmp_state_lookup |
|
42 |
12 |
348 |
| pf_test_state_icmp |
|
635 |
153 |
5297 |
| pf_pull_hdr |
|
34 |
8 |
220 |
| pf_routable |
|
61 |
21 |
355 |
| pf_rtlabel_match |
|
31 |
7 |
190 |
| pf_route |
|
120 |
27 |
793 |
| pf_route6 |
|
91 |
22 |
672 |
| pf_check_tcp_cksum |
|
35 |
11 |
202 |
| pf_find_divert |
|
7 |
2 |
50 |
| pf_get_divert |
|
13 |
3 |
93 |
| pf_walk_header |
|
39 |
10 |
285 |
| pf_walk_option6 |
|
58 |
11 |
368 |
| pf_walk_header6 |
|
122 |
38 |
815 |
| pf_setup_pdesc |
|
154 |
44 |
1233 |
| pf_counters_inc |
|
55 |
13 |
568 |
| pf_test |
|
307 |
138 |
2250 |
| pf_ouraddr |
|
12 |
4 |
68 |
| pf_pkt_addr_changed |
|
5 |
1 |
24 |
| pf_inp_lookup |
|
12 |
4 |
83 |
| pf_inp_link |
|
13 |
5 |
80 |
| pf_inp_unlink |
|
7 |
2 |
30 |
| pf_state_key_link |
|
6 |
2 |
51 |
| pf_log_matches |
|
10 |
3 |
79 |
| pf_state_key_ref |
|
6 |
2 |
27 |
| pf_state_key_unref |
|
9 |
3 |
61 |
| pf_state_key_isvalid |
|
4 |
2 |
26 |
| pf_pkt_unlink_state_key |
|
5 |
1 |
30 |
| pf_pkt_state_key_ref |
|
4 |
1 |
20 |
| pf_inpcb_unlink_state_key |
|
7 |
2 |
30 |
| pf_state_key_unlink_reverse |
|
9 |
3 |
57 |
| Source file: /home/sergeyb/sources/src/sys/net/if_tun.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tunattach |
|
8 |
2 |
35 |
| tun_clone_create |
|
4 |
1 |
24 |
| tap_clone_create |
|
4 |
1 |
24 |
| tun_create |
|
44 |
6 |
313 |
| tun_clone_destroy |
|
18 |
4 |
118 |
| tun_lookup |
|
8 |
2 |
39 |
| tap_lookup |
|
8 |
2 |
39 |
| tunopen |
|
19 |
4 |
151 |
| tapopen |
|
19 |
4 |
151 |
| tun_dev_open |
|
14 |
3 |
90 |
| tunclose |
|
7 |
2 |
58 |
| tapclose |
|
7 |
2 |
58 |
| tun_dev_close |
|
20 |
2 |
131 |
| tun_init |
|
42 |
16 |
287 |
| tun_ioctl |
|
32 |
10 |
166 |
| tun_output |
|
38 |
10 |
276 |
| tun_wakeup |
|
11 |
4 |
70 |
| tunioctl |
|
7 |
2 |
63 |
| tapioctl |
|
7 |
2 |
63 |
| tun_dev_ioctl |
|
91 |
25 |
563 |
| tunread |
|
7 |
2 |
53 |
| tapread |
|
7 |
2 |
53 |
| tun_dev_read |
|
58 |
20 |
398 |
| tunwrite |
|
7 |
2 |
53 |
| tapwrite |
|
7 |
2 |
53 |
| tun_dev_write |
|
95 |
22 |
589 |
| tunpoll |
|
7 |
2 |
53 |
| tappoll |
|
7 |
2 |
53 |
| tun_dev_poll |
|
22 |
4 |
153 |
| tunkqfilter |
|
7 |
2 |
48 |
| tapkqfilter |
|
7 |
2 |
48 |
| tun_dev_kqfilter |
|
25 |
3 |
136 |
| filt_tunrdetach |
|
10 |
2 |
66 |
| filt_tunread |
|
21 |
3 |
129 |
| filt_tunwdetach |
|
10 |
2 |
66 |
| filt_tunwrite |
|
13 |
2 |
74 |
| tun_start |
|
7 |
2 |
38 |
| tun_link_state |
|
15 |
4 |
72 |
| Source file: /home/sergeyb/sources/src/sys/net/if_gif.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gifattach |
|
5 |
1 |
19 |
| gif_clone_create |
|
26 |
3 |
215 |
| gif_clone_destroy |
|
16 |
3 |
108 |
| gif_start |
|
71 |
19 |
362 |
| gif_encap |
|
22 |
5 |
126 |
| gif_output |
|
21 |
7 |
136 |
| gif_ioctl |
|
140 |
53 |
906 |
| gif_checkloop |
|
21 |
4 |
137 |
| in_gif_output |
|
58 |
18 |
377 |
| in_gif_input |
|
38 |
11 |
269 |
| in6_gif_output |
|
53 |
16 |
349 |
| in6_gif_input |
|
41 |
12 |
303 |
| Source file: /home/sergeyb/sources/src/sys/net/if_types.h |
| Source file: /home/sergeyb/sources/src/sys/net/bfd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bfdset |
|
26 |
6 |
230 |
| bfdclear |
|
7 |
2 |
39 |
| bfd_clear_task |
|
30 |
6 |
206 |
| bfdinit |
|
13 |
2 |
102 |
| bfddestroy |
|
12 |
2 |
63 |
| bfd_lookup |
|
9 |
2 |
43 |
| bfd2sa |
|
26 |
2 |
214 |
| bfd_start_task |
|
19 |
4 |
125 |
| bfd_send_task |
|
17 |
3 |
110 |
| bfd_listener |
|
62 |
8 |
384 |
| bfd_sender |
|
98 |
14 |
590 |
| bfd_upcall |
|
6 |
1 |
43 |
| bfd_upcall_task |
|
22 |
5 |
135 |
| bfd_error |
|
11 |
4 |
62 |
| bfd_timeout_tx |
|
5 |
1 |
25 |
| bfd_timeout_rx |
|
9 |
2 |
47 |
| bfd_senddown |
|
10 |
3 |
51 |
| bfd_reset |
|
25 |
1 |
176 |
| bfd_input |
|
109 |
32 |
791 |
| bfd_set_state |
|
41 |
10 |
208 |
| bfd_set_uptime |
|
7 |
1 |
48 |
| bfd_send_control |
|
31 |
4 |
243 |
| bfd_send |
|
9 |
3 |
73 |
| bfd_debug |
|
39 |
1 |
311 |
| Source file: /home/sergeyb/sources/src/sys/net/if_trunk.h |
| Source file: /home/sergeyb/sources/src/sys/net/radix.h |
| Source file: /home/sergeyb/sources/src/sys/net/raw_usrreq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| raw_usrreq |
|
86 |
27 |
425 |
| Source file: /home/sergeyb/sources/src/sys/net/pfkeyv2_parsemessage.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pfkeyv2_parsemessage |
|
599 |
122 |
2714 |
| Source file: /home/sergeyb/sources/src/sys/net/art.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| art_init |
|
11 |
1 |
93 |
| art_alloc |
|
31 |
6 |
205 |
| art_check_duplicate |
|
9 |
3 |
50 |
| art_bindex |
|
28 |
6 |
351 |
| art_findex |
|
4 |
1 |
31 |
| art_match |
|
37 |
6 |
224 |
| art_lookup |
|
31 |
8 |
235 |
| art_insert |
|
40 |
10 |
307 |
| art_table_insert |
|
20 |
5 |
156 |
| art_delete |
|
28 |
7 |
214 |
| art_table_delete |
|
24 |
7 |
186 |
| art_table_ref |
|
5 |
1 |
24 |
| art_table_rele |
|
6 |
2 |
30 |
| art_table_free |
|
10 |
3 |
53 |
| art_walk |
|
20 |
3 |
152 |
| art_table_walk |
|
41 |
9 |
358 |
| art_walk_apply |
|
12 |
3 |
91 |
| art_table_get |
|
44 |
9 |
306 |
| art_table_put |
|
25 |
3 |
183 |
| art_table_gc |
|
27 |
5 |
146 |
| art_allot |
|
40 |
10 |
237 |
| art_get |
|
10 |
2 |
58 |
| art_put |
|
9 |
1 |
50 |
| art_gc |
|
14 |
2 |
69 |
| Source file: /home/sergeyb/sources/src/sys/net/if_vlan.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vlanattach |
|
18 |
4 |
111 |
| vlan_clone_create |
|
28 |
3 |
186 |
| vlan_ref |
|
5 |
1 |
27 |
| vlan_unref |
|
5 |
1 |
27 |
| vlan_clone_destroy |
|
12 |
2 |
77 |
| vlan_mplstunnel |
|
12 |
3 |
55 |
| vlan_start |
|
43 |
12 |
265 |
| vlan_inject |
|
16 |
2 |
130 |
| vlan_input |
|
60 |
13 |
447 |
| vlan_parent_up |
|
16 |
3 |
107 |
| vlan_up |
|
59 |
11 |
398 |
| vlan_down |
|
29 |
4 |
230 |
| vlan_ifdetach |
|
10 |
2 |
58 |
| vlan_link_hook |
|
14 |
2 |
73 |
| vlan_link_state |
|
8 |
2 |
51 |
| vlan_ioctl |
|
89 |
25 |
445 |
| vlan_iff |
|
22 |
7 |
143 |
| vlan_setlladdr |
|
24 |
5 |
187 |
| vlan_set_vnetid |
|
30 |
9 |
248 |
| vlan_set_parent |
|
23 |
7 |
163 |
| vlan_del_parent |
|
10 |
3 |
65 |
| vlan_set_compat |
|
31 |
6 |
299 |
| vlan_get_compat |
|
13 |
2 |
109 |
| vlan_inuse |
|
10 |
2 |
64 |
| vlan_inuse_locked |
|
14 |
5 |
91 |
| vlan_multi_add |
|
31 |
5 |
250 |
| vlan_multi_del |
|
36 |
9 |
261 |
| vlan_media_get |
|
10 |
2 |
68 |
| vlan_multi_apply |
|
17 |
1 |
121 |
| vlan_multi_free |
|
8 |
2 |
52 |
| Source file: /home/sergeyb/sources/src/sys/net/if_dl.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| satosdl |
|
4 |
1 |
21 |
| sdltosa |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/net/if_enc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| encattach |
|
5 |
1 |
24 |
| enc_clone_create |
|
58 |
10 |
388 |
| enc_clone_destroy |
|
13 |
2 |
72 |
| enc_start |
|
10 |
3 |
44 |
| enc_output |
|
6 |
1 |
34 |
| enc_ioctl |
|
21 |
7 |
105 |
| enc_getif |
|
20 |
8 |
110 |
| enc_getifa |
|
10 |
2 |
54 |
| enc_setif |
|
27 |
7 |
179 |
| enc_unsetif |
|
17 |
7 |
119 |
| Source file: /home/sergeyb/sources/src/sys/net/bridgestp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bstp_transmit |
|
27 |
8 |
147 |
| bstp_transmit_bpdu |
|
24 |
3 |
193 |
| bstp_transmit_tcn |
|
28 |
4 |
239 |
| bstp_decode_bpdu |
|
62 |
12 |
528 |
| bstp_send_bpdu |
|
46 |
6 |
328 |
| bstp_pdu_flags |
|
41 |
14 |
176 |
| bstp_input |
|
45 |
16 |
297 |
| bstp_received_stp |
|
21 |
4 |
141 |
| bstp_received_rstp |
|
14 |
3 |
111 |
| bstp_received_tcn |
|
6 |
1 |
30 |
| bstp_received_bpdu |
|
66 |
24 |
353 |
| bstp_pdu_rcvtype |
|
29 |
12 |
158 |
| bstp_pdu_bettersame |
|
12 |
7 |
83 |
| bstp_info_cmp |
|
21 |
9 |
139 |
| bstp_info_superior |
|
9 |
4 |
64 |
| bstp_assign_roles |
|
79 |
17 |
489 |
| bstp_update_state |
|
18 |
4 |
89 |
| bstp_update_roles |
|
130 |
71 |
851 |
| bstp_update_tc |
|
46 |
31 |
260 |
| bstp_update_info |
|
19 |
5 |
127 |
| bstp_set_other_tcprop |
|
10 |
2 |
50 |
| bstp_set_all_reroot |
|
6 |
1 |
31 |
| bstp_set_all_sync |
|
9 |
1 |
45 |
| bstp_set_port_state |
|
25 |
6 |
119 |
| bstp_set_port_role |
|
58 |
11 |
288 |
| bstp_set_port_proto |
|
19 |
3 |
86 |
| bstp_set_port_tc |
|
59 |
10 |
341 |
| bstp_set_timer_tc |
|
17 |
4 |
82 |
| bstp_set_timer_msgage |
|
9 |
2 |
48 |
| bstp_rerooted |
|
14 |
3 |
67 |
| bstp_calc_path_cost |
|
15 |
6 |
90 |
| bstp_notify_rtage |
|
16 |
4 |
74 |
| bstp_ifstate |
|
23 |
6 |
140 |
| bstp_ifupdstatus |
|
19 |
8 |
115 |
| bstp_enable_port |
|
5 |
1 |
25 |
| bstp_disable_port |
|
6 |
1 |
32 |
| bstp_tick |
|
36 |
9 |
253 |
| bstp_timer_start |
|
6 |
1 |
30 |
| bstp_timer_stop |
|
6 |
1 |
27 |
| bstp_timer_latch |
|
5 |
1 |
21 |
| bstp_timer_expired |
|
11 |
4 |
57 |
| bstp_hello_timer_expiry |
|
11 |
5 |
73 |
| bstp_message_age_expiry |
|
8 |
2 |
46 |
| bstp_migrate_delay_expiry |
|
4 |
1 |
20 |
| bstp_edge_delay_expiry |
|
7 |
5 |
46 |
| bstp_addr_cmp |
|
8 |
3 |
69 |
| bstp_same_bridgeid |
|
10 |
2 |
57 |
| bstp_initialization |
|
46 |
7 |
366 |
| bstp_create |
|
20 |
1 |
120 |
| bstp_destroy |
|
8 |
3 |
44 |
| bstp_stop |
|
8 |
2 |
50 |
| bstp_add |
|
33 |
4 |
210 |
| bstp_delete |
|
12 |
4 |
85 |
| bstp_getstate |
|
14 |
6 |
81 |
| bstp_ifsflags |
|
30 |
9 |
167 |
| bstp_ioctl |
|
153 |
38 |
734 |
| Source file: /home/sergeyb/sources/src/sys/net/raw_cb.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_pppx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pppx_if_cmp |
|
4 |
1 |
37 |
| pppx_dev_lookup |
|
10 |
2 |
49 |
| pppx_dev2pxd |
|
8 |
1 |
36 |
| pppxattach |
|
4 |
1 |
11 |
| pppxopen |
|
28 |
5 |
212 |
| pppxread |
|
30 |
9 |
206 |
| pppxwrite |
|
81 |
20 |
505 |
| pppxioctl |
|
44 |
12 |
201 |
| pppxpoll |
|
16 |
6 |
116 |
| pppxkqfilter |
|
25 |
3 |
136 |
| filt_pppx_rdetach |
|
10 |
2 |
75 |
| filt_pppx_read |
|
10 |
2 |
71 |
| filt_pppx_wdetach |
|
10 |
2 |
75 |
| filt_pppx_write |
|
4 |
1 |
17 |
| pppxclose |
|
19 |
3 |
125 |
| pppx_if_next_unit |
|
19 |
4 |
80 |
| pppx_if_find |
|
12 |
1 |
94 |
| pppx_add_session |
|
195 |
41 |
1512 |
| pppx_del_session |
|
10 |
2 |
67 |
| pppx_set_session_descr |
|
11 |
2 |
81 |
| pppx_if_destroy |
|
28 |
5 |
154 |
| pppx_if_start |
|
18 |
4 |
118 |
| pppx_if_output |
|
60 |
12 |
346 |
| pppx_if_ioctl |
|
26 |
8 |
119 |
| Source file: /home/sergeyb/sources/src/sys/net/if_bridge.h |
| Source file: /home/sergeyb/sources/src/sys/net/bsd-comp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bsd_clear |
|
12 |
1 |
60 |
| bsd_check |
|
24 |
8 |
140 |
| bsd_comp_stats |
|
21 |
3 |
127 |
| bsd_reset |
|
8 |
1 |
39 |
| bsd_alloc |
|
58 |
16 |
307 |
| bsd_free |
|
8 |
2 |
66 |
| bsd_comp_alloc |
|
6 |
1 |
25 |
| bsd_decomp_alloc |
|
6 |
1 |
25 |
| bsd_init |
|
30 |
12 |
201 |
| bsd_comp_init |
|
8 |
1 |
58 |
| bsd_decomp_init |
|
8 |
1 |
62 |
| bsd_compress |
|
128 |
27 |
811 |
| bsd_incomp |
|
86 |
18 |
535 |
| bsd_decompress |
|
215 |
51 |
1383 |
| Source file: /home/sergeyb/sources/src/sys/net/if_bridge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bridgeattach |
|
4 |
1 |
13 |
| bridge_clone_create |
|
39 |
5 |
283 |
| bridge_dummy_output |
|
6 |
1 |
34 |
| bridge_clone_destroy |
|
18 |
3 |
132 |
| bridge_delete |
|
15 |
2 |
119 |
| bridge_ioctl |
|
261 |
81 |
1537 |
| bridge_ifdetach |
|
9 |
1 |
54 |
| bridge_spandetach |
|
8 |
1 |
67 |
| bridge_bifconf |
|
78 |
13 |
615 |
| bridge_init |
|
10 |
3 |
66 |
| bridge_stop |
|
9 |
2 |
54 |
| bridge_output |
|
82 |
26 |
554 |
| bridgeintr |
|
18 |
4 |
93 |
| bridgeintr_frame |
|
108 |
37 |
749 |
| bridge_input |
|
10 |
2 |
61 |
| bridge_process |
|
84 |
29 |
590 |
| bridge_broadcast |
|
54 |
21 |
353 |
| bridge_localbroadcast |
|
23 |
7 |
136 |
| bridge_span |
|
20 |
4 |
112 |
| bridge_blocknonip |
|
36 |
20 |
220 |
| bridge_ipsec |
|
115 |
38 |
815 |
| bridge_ip |
|
148 |
54 |
1016 |
| bridge_fragment |
|
88 |
29 |
541 |
| bridge_ifenqueue |
|
14 |
2 |
85 |
| bridge_ifinput |
|
7 |
1 |
44 |
| bridge_send_icmp_err |
|
58 |
6 |
434 |
| bridge_tunnel |
|
7 |
2 |
50 |
| bridge_tunneltag |
|
13 |
3 |
93 |
| bridge_tunneluntag |
|
6 |
2 |
38 |
| bridge_copyaddr |
|
9 |
3 |
52 |
| bridge_copytag |
|
10 |
2 |
80 |
| Source file: /home/sergeyb/sources/src/sys/net/pf_ruleset.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pf_anchor_compare |
|
5 |
3 |
46 |
| pf_init_ruleset |
|
8 |
1 |
84 |
| pf_find_anchor |
|
11 |
2 |
83 |
| pf_find_ruleset |
|
13 |
4 |
63 |
| pf_get_leaf_ruleset |
|
31 |
7 |
148 |
| pf_create_anchor |
|
41 |
10 |
337 |
| pf_find_or_create_ruleset |
|
36 |
11 |
215 |
| pf_remove_if_empty_ruleset |
|
23 |
13 |
174 |
| pf_anchor_setup |
|
54 |
16 |
361 |
| pf_anchor_copyout |
|
44 |
12 |
347 |
| pf_anchor_remove |
|
14 |
4 |
72 |
| Source file: /home/sergeyb/sources/src/sys/net/if_gre.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| greattach |
|
6 |
1 |
25 |
| gre_clone_create |
|
40 |
4 |
325 |
| gre_clone_destroy |
|
12 |
1 |
72 |
| gre_output |
|
180 |
36 |
1263 |
| gre_ioctl |
|
120 |
38 |
750 |
| gre_in_cksum |
|
19 |
3 |
117 |
| gre_keepalive |
|
8 |
2 |
35 |
| gre_send_keepalive |
|
43 |
7 |
353 |
| gre_recv_keepalive |
|
25 |
7 |
135 |
| gre_link_state |
|
13 |
4 |
70 |
| Source file: /home/sergeyb/sources/src/sys/net/if_pflog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pflogattach |
|
10 |
5 |
65 |
| pflogifs_resize |
|
24 |
7 |
140 |
| pflog_clone_create |
|
31 |
5 |
211 |
| pflog_clone_destroy |
|
15 |
4 |
91 |
| pflogstart |
|
4 |
1 |
17 |
| pflogoutput |
|
6 |
1 |
34 |
| pflogioctl |
|
14 |
3 |
59 |
| pflog_packet |
|
51 |
16 |
452 |
| pflog_bpfcopy |
|
115 |
28 |
903 |
| Source file: /home/sergeyb/sources/src/sys/net/if_pflog.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_arp.h |
| Source file: /home/sergeyb/sources/src/sys/net/rtable.h |
| Source file: /home/sergeyb/sources/src/sys/net/ppp_defs.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_pppvar.h |
| Source file: /home/sergeyb/sources/src/sys/net/ppp_tty.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pppopen |
|
48 |
8 |
350 |
| pppclose |
|
18 |
3 |
104 |
| pppasyncrelinq |
|
16 |
3 |
87 |
| pppread |
|
40 |
15 |
285 |
| pppwrite |
|
42 |
13 |
348 |
| ppptioctl |
|
44 |
14 |
309 |
| pppfcs |
|
6 |
2 |
35 |
| pppasyncstart |
|
113 |
27 |
697 |
| pppasyncctlp |
|
10 |
1 |
54 |
| pppstart_internal |
|
12 |
8 |
110 |
| pppstart |
|
4 |
1 |
17 |
| ppp_timeout |
|
10 |
1 |
61 |
| ppppkt |
|
22 |
4 |
131 |
| ppp_pkt_free |
|
9 |
2 |
41 |
| pppinput |
|
190 |
56 |
1267 |
| ppplogchar |
|
11 |
5 |
85 |
| pppdumpb |
|
17 |
3 |
109 |
| Source file: /home/sergeyb/sources/src/sys/net/fq_codel.h |
| Source file: /home/sergeyb/sources/src/sys/net/radix.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rn_search |
|
12 |
3 |
66 |
| rn_search_m |
|
14 |
4 |
88 |
| rn_refines |
|
26 |
11 |
171 |
| rn_lookup |
|
19 |
9 |
121 |
| rn_satisfies_leaf |
|
23 |
4 |
137 |
| rn_match |
|
72 |
20 |
488 |
| rn_newpair |
|
13 |
1 |
98 |
| rn_insert |
|
54 |
8 |
348 |
| rn_addmask |
|
61 |
21 |
500 |
| rn_lexobetter |
|
9 |
3 |
68 |
| rn_new_radix_mask |
|
18 |
3 |
105 |
| rn_lift_node |
|
14 |
5 |
84 |
| rn_add_radix_mask |
|
56 |
18 |
301 |
| rn_add_dupedkey |
|
26 |
12 |
173 |
| rn_link_dupedkey |
|
26 |
5 |
158 |
| rn_fixup_nodes |
|
34 |
15 |
241 |
| rn_addroute |
|
33 |
7 |
210 |
| rn_del_radix_mask |
|
55 |
18 |
324 |
| rn_swap_nodes |
|
10 |
2 |
63 |
| rn_delete |
|
89 |
25 |
595 |
| rn_walktree |
|
26 |
9 |
196 |
| rn_initmask |
|
11 |
3 |
62 |
| rn_inithead |
|
14 |
4 |
82 |
| rn_inithead0 |
|
17 |
1 |
126 |
| rn_init |
|
21 |
5 |
135 |
| Source file: /home/sergeyb/sources/src/sys/net/pf_ioctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pfattach |
|
73 |
2 |
591 |
| pfopen |
|
6 |
2 |
37 |
| pfclose |
|
6 |
2 |
37 |
| pf_rm_rule |
|
45 |
10 |
371 |
| pf_purge_rule |
|
14 |
2 |
110 |
| tagname2tag |
|
30 |
7 |
197 |
| tag2tagname |
|
9 |
2 |
52 |
| tag_unref |
|
15 |
4 |
80 |
| pf_tagname2tag |
|
4 |
1 |
24 |
| pf_tag2tagname |
|
4 |
1 |
21 |
| pf_tag_ref |
|
9 |
3 |
42 |
| pf_tag_unref |
|
4 |
1 |
15 |
| pf_rtlabel_add |
|
7 |
2 |
47 |
| pf_rtlabel_remove |
|
5 |
2 |
26 |
| pf_rtlabel_copyout |
|
12 |
4 |
88 |
| pf_qname2qid |
|
4 |
1 |
24 |
| pf_qid2qname |
|
4 |
1 |
21 |
| pf_qid_unref |
|
4 |
1 |
18 |
| pf_begin_rules |
|
14 |
3 |
111 |
| pf_rollback_rules |
|
18 |
6 |
133 |
| pf_free_queues |
|
9 |
1 |
55 |
| pf_remove_queues |
|
13 |
3 |
64 |
| pf_ifp2q |
|
10 |
3 |
53 |
| pf_create_queues |
|
63 |
11 |
384 |
| pf_commit_queues |
|
16 |
2 |
63 |
| pf_queue_manager |
|
6 |
2 |
25 |
| pf_hash_rule_addr |
|
24 |
5 |
158 |
| pf_hash_rule |
|
37 |
1 |
289 |
| pf_commit_rules |
|
40 |
9 |
338 |
| pf_setup_pfsync_matching |
|
24 |
4 |
190 |
| pf_addr_setup |
|
9 |
4 |
48 |
| pf_kif_setup |
|
11 |
3 |
61 |
| pf_addr_copyout |
|
6 |
1 |
24 |
| pfioctl |
|
1556 |
371 |
9926 |
| pf_trans_set_commit |
|
11 |
5 |
75 |
| pf_pool_copyin |
|
5 |
1 |
33 |
| pf_rule_copyin |
|
115 |
24 |
1081 |
| Source file: /home/sergeyb/sources/src/sys/net/bfd.h |
| Source file: /home/sergeyb/sources/src/sys/net/bpf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bpf_movein |
|
85 |
17 |
459 |
| bpf_attachd |
|
8 |
1 |
54 |
| bpf_detachd |
|
25 |
7 |
156 |
| bpfilterattach |
|
4 |
1 |
13 |
| bpfopen |
|
20 |
4 |
162 |
| bpfclose |
|
12 |
1 |
76 |
| bpfread |
|
72 |
17 |
409 |
| bpf_wakeup |
|
7 |
2 |
40 |
| bpf_wakeup_cb |
|
10 |
3 |
66 |
| bpfwrite |
|
48 |
9 |
296 |
| bpf_resetd |
|
13 |
2 |
74 |
| bpfioctl |
|
202 |
66 |
1058 |
| bpf_setf |
|
39 |
8 |
281 |
| bpf_setif |
|
28 |
10 |
180 |
| bpf_ifname |
|
4 |
1 |
27 |
| bpfpoll |
|
22 |
8 |
155 |
| bpfkqfilter |
|
23 |
4 |
134 |
| filt_bpfrdetach |
|
7 |
1 |
43 |
| filt_bpfread |
|
11 |
2 |
72 |
| bpf_mcopy |
|
17 |
3 |
98 |
| _bpf_mtap |
|
48 |
10 |
314 |
| bpf_mtap |
|
4 |
1 |
28 |
| bpf_mtap_hdr |
|
15 |
2 |
112 |
| bpf_mtap_af |
|
7 |
1 |
52 |
| bpf_mtap_ether |
|
25 |
5 |
197 |
| bpf_catchpacket |
|
43 |
10 |
306 |
| bpf_allocbufs |
|
15 |
3 |
105 |
| bpf_get |
|
4 |
1 |
17 |
| bpf_put |
|
12 |
2 |
99 |
| bpfattach |
|
14 |
2 |
111 |
| bpfdetach |
|
21 |
6 |
150 |
| bpf_sysctl_locked |
|
29 |
8 |
155 |
| bpf_sysctl |
|
15 |
4 |
106 |
| bpfilter_lookup |
|
9 |
2 |
43 |
| bpf_getdltlist |
|
24 |
6 |
137 |
| bpf_setdlt |
|
19 |
6 |
120 |
| bpf_d_ref |
|
4 |
1 |
17 |
| bpf_d_unref |
|
4 |
1 |
17 |
| bpf_insn_dtor |
|
7 |
1 |
58 |
| bpf_mbuf_copy |
|
24 |
6 |
139 |
| bpf_mbuf_ldw |
|
10 |
2 |
61 |
| bpf_mbuf_ldh |
|
10 |
2 |
61 |
| bpf_mbuf_ldb |
|
16 |
3 |
84 |
| bpf_mfilter |
|
4 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/net/fq_codel.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| codel_initparams |
|
21 |
3 |
177 |
| codel_freeparams |
|
7 |
2 |
45 |
| codel_gettime |
|
6 |
1 |
31 |
| codel_backlog |
|
4 |
1 |
16 |
| codel_qlength |
|
4 |
1 |
20 |
| codel_delay |
|
4 |
1 |
16 |
| codel_enqueue |
|
6 |
1 |
45 |
| control_law |
|
6 |
1 |
50 |
| codel_next_packet |
|
23 |
6 |
145 |
| codel_state_change |
|
16 |
8 |
98 |
| codel_dequeue |
|
52 |
12 |
309 |
| codel_commit |
|
11 |
2 |
75 |
| codel_purge |
|
5 |
1 |
30 |
| classify_flow |
|
10 |
2 |
74 |
| fqcodel_enq |
|
37 |
6 |
254 |
| select_queue |
|
9 |
3 |
58 |
| first_flow |
|
18 |
4 |
115 |
| next_flow |
|
14 |
3 |
109 |
| fqcodel_deq_begin |
|
28 |
4 |
217 |
| fqcodel_deq_commit |
|
9 |
1 |
71 |
| fqcodel_purge |
|
7 |
2 |
54 |
| fqcodel_if_enq |
|
4 |
1 |
24 |
| fqcodel_if_deq_begin |
|
8 |
1 |
53 |
| fqcodel_if_deq_commit |
|
4 |
1 |
30 |
| fqcodel_if_purge |
|
4 |
1 |
24 |
| fqcodel_pf_alloc |
|
8 |
1 |
52 |
| fqcodel_pf_addqueue |
|
32 |
7 |
250 |
| fqcodel_pf_free |
|
7 |
1 |
55 |
| fqcodel_pf_qstats |
|
36 |
7 |
287 |
| fqcodel_pf_qlength |
|
4 |
1 |
20 |
| fqcodel_pf_enqueue |
|
4 |
1 |
21 |
| fqcodel_pf_deq_begin |
|
4 |
1 |
27 |
| fqcodel_pf_deq_commit |
|
4 |
1 |
27 |
| fqcodel_pf_purge |
|
4 |
1 |
21 |
| fqcodel_idx |
|
4 |
1 |
19 |
| fqcodel_alloc |
|
4 |
1 |
17 |
| fqcodel_free |
|
3 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/net/pipex_local.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_mpw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpwattach |
|
4 |
1 |
13 |
| mpw_clone_create |
|
29 |
3 |
219 |
| mpw_clone_destroy |
|
13 |
2 |
84 |
| mpw_input |
|
5 |
1 |
28 |
| mpw_ioctl |
|
93 |
20 |
660 |
| mpw_output |
|
47 |
9 |
318 |
| mpw_vlan_handle |
|
16 |
4 |
103 |
| mpw_start |
|
58 |
15 |
397 |
| Source file: /home/sergeyb/sources/src/sys/net/slcompress.h |
| Source file: /home/sergeyb/sources/src/sys/net/art.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_etherip.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_ethersubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ether_ioctl |
|
27 |
9 |
138 |
| ether_rtrequest |
|
13 |
4 |
60 |
| ether_output |
|
93 |
32 |
656 |
| ether_input |
|
113 |
38 |
655 |
| ether_sprintf |
|
13 |
2 |
84 |
| ether_fakeaddr |
|
11 |
1 |
126 |
| ether_ifattach |
|
19 |
4 |
146 |
| ether_ifdetach |
|
14 |
2 |
97 |
| ether_crc32_le_update |
|
16 |
5 |
109 |
| ether_crc32_be_update |
|
16 |
5 |
111 |
| ether_crc32_le_update |
|
16 |
2 |
118 |
| ether_crc32_be_update |
|
21 |
2 |
183 |
| ether_crc32_le |
|
4 |
1 |
22 |
| ether_crc32_be |
|
4 |
1 |
22 |
| ether_multiaddr |
|
35 |
8 |
204 |
| ether_addmulti |
|
36 |
7 |
248 |
| ether_delmulti |
|
28 |
5 |
173 |
| Source file: /home/sergeyb/sources/src/sys/net/if_tun.h |
| Source file: /home/sergeyb/sources/src/sys/net/rtable.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtmap_init |
|
12 |
3 |
66 |
| rtmap_grow |
|
18 |
3 |
157 |
| rtmap_dtor |
|
6 |
1 |
56 |
| rtable_init |
|
22 |
5 |
151 |
| rtable_add |
|
36 |
8 |
224 |
| rtable_get |
|
13 |
4 |
92 |
| rtable_exists |
|
14 |
4 |
79 |
| rtable_l2 |
|
11 |
2 |
69 |
| rtable_loindex |
|
11 |
2 |
70 |
| rtable_l2set |
|
11 |
3 |
80 |
| rtable_init_backend |
|
4 |
1 |
12 |
| rtable_alloc |
|
4 |
1 |
28 |
| rtable_lookup |
|
42 |
12 |
276 |
| rtable_match |
|
45 |
9 |
299 |
| rtable_insert |
|
78 |
15 |
504 |
| rtable_delete |
|
45 |
6 |
301 |
| rtable_walk_helper |
|
13 |
2 |
87 |
| rtable_walk |
|
16 |
3 |
107 |
| rtable_iterate |
|
11 |
2 |
59 |
| rtable_mpath_capable |
|
4 |
1 |
16 |
| rtable_mpath_reprio |
|
34 |
5 |
230 |
| rtable_mpath_insert |
|
20 |
6 |
157 |
| an_match |
|
12 |
3 |
89 |
| rtentry_ref |
|
5 |
1 |
24 |
| rtentry_unref |
|
5 |
1 |
24 |
| satoaddr |
|
4 |
1 |
29 |
| rtable_satoplen |
|
72 |
22 |
339 |
| Source file: /home/sergeyb/sources/src/sys/net/trunklacp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lacp_input |
|
29 |
10 |
218 |
| lacp_input_process |
|
21 |
4 |
108 |
| lacp_pdu_input |
|
29 |
9 |
191 |
| lacp_fill_actorinfo |
|
11 |
1 |
95 |
| lacp_fill_markerinfo |
|
7 |
1 |
59 |
| lacp_xmit_lacpdu |
|
33 |
3 |
269 |
| lacp_xmit_marker |
|
30 |
2 |
261 |
| lacp_linkstate |
|
18 |
5 |
102 |
| lacp_tick |
|
15 |
2 |
82 |
| lacp_port_create |
|
40 |
6 |
281 |
| lacp_port_destroy |
|
15 |
3 |
103 |
| lacp_req |
|
25 |
2 |
236 |
| lacp_port_status |
|
14 |
5 |
87 |
| lacp_portreq |
|
19 |
1 |
208 |
| lacp_disable_collecting |
|
5 |
1 |
24 |
| lacp_enable_collecting |
|
5 |
1 |
24 |
| lacp_disable_distributing |
|
23 |
5 |
167 |
| lacp_enable_distributing |
|
21 |
4 |
143 |
| lacp_transit_expire |
|
6 |
1 |
32 |
| lacp_attach |
|
20 |
3 |
152 |
| lacp_detach |
|
11 |
1 |
79 |
| lacp_init |
|
5 |
1 |
29 |
| lacp_stop |
|
6 |
1 |
35 |
| lacp_select_tx_port |
|
21 |
3 |
150 |
| lacp_suppress_distributing |
|
13 |
2 |
80 |
| lacp_compare_peerinfo |
|
5 |
1 |
34 |
| lacp_compare_systemid |
|
5 |
1 |
32 |
| lacp_compare_portid |
|
5 |
1 |
32 |
| lacp_aggregator_bandwidth |
|
15 |
3 |
82 |
| lacp_select_active_aggregator |
|
42 |
14 |
287 |
| lacp_update_portmap |
|
23 |
4 |
155 |
| lacp_compose_key |
|
36 |
10 |
210 |
| lacp_aggregator_addref |
|
12 |
2 |
88 |
| lacp_aggregator_delref |
|
17 |
3 |
132 |
| lacp_aggregator_get |
|
13 |
2 |
83 |
| lacp_fill_aggregator_id |
|
6 |
1 |
53 |
| lacp_fill_aggregator_id_peer |
|
7 |
1 |
44 |
| lacp_aggregator_is_compatible |
|
14 |
6 |
108 |
| lacp_peerinfo_is_compatible |
|
10 |
3 |
75 |
| lacp_port_enable |
|
4 |
1 |
15 |
| lacp_port_disable |
|
9 |
1 |
47 |
| lacp_select |
|
35 |
7 |
225 |
| lacp_unselect |
|
10 |
2 |
59 |
| lacp_sm_mux |
|
50 |
24 |
266 |
| lacp_set_mux |
|
42 |
8 |
201 |
| lacp_sm_mux_timer |
|
11 |
2 |
81 |
| lacp_sm_ptx_update_timeout |
|
10 |
3 |
62 |
| lacp_sm_ptx_tx_schedule |
|
14 |
5 |
81 |
| lacp_sm_ptx_timer |
|
4 |
1 |
14 |
| lacp_sm_rx |
|
17 |
4 |
108 |
| lacp_sm_rx_set_expired |
|
7 |
1 |
40 |
| lacp_sm_rx_timer |
|
12 |
2 |
69 |
| lacp_sm_rx_record_pdu |
|
27 |
9 |
208 |
| lacp_sm_rx_update_ntt |
|
9 |
3 |
68 |
| lacp_sm_rx_record_default |
|
8 |
1 |
39 |
| lacp_sm_rx_update_selected_from_peerinfo |
|
9 |
3 |
51 |
| lacp_sm_rx_update_selected |
|
4 |
1 |
25 |
| lacp_sm_rx_update_default_selected |
|
4 |
1 |
17 |
| lacp_sm_tx |
|
23 |
8 |
133 |
| lacp_sm_assert_ntt |
|
4 |
1 |
15 |
| lacp_run_timers |
|
13 |
5 |
85 |
| lacp_marker_input |
|
70 |
15 |
448 |
| tlv_check |
|
17 |
7 |
128 |
| lacp_format_mac |
|
11 |
1 |
78 |
| lacp_format_systemid |
|
9 |
1 |
60 |
| lacp_format_portid |
|
7 |
1 |
45 |
| lacp_format_partner |
|
10 |
1 |
84 |
| lacp_format_lagid |
|
16 |
3 |
108 |
| lacp_format_lagid_aggregator |
|
7 |
2 |
48 |
| lacp_format_state |
|
5 |
1 |
32 |
| lacp_dump_lacpdu |
|
14 |
1 |
122 |
| lacp_dprintf |
|
9 |
2 |
54 |
| Source file: /home/sergeyb/sources/src/sys/net/pfkeyv2.h |
| Source file: /home/sergeyb/sources/src/sys/net/pfvar_priv.h |
| Source file: /home/sergeyb/sources/src/sys/net/bpfdesc.h |
| Source file: /home/sergeyb/sources/src/sys/net/pipex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pipex_init |
|
18 |
4 |
135 |
| pipex_iface_init |
|
20 |
5 |
129 |
| pipex_iface_start |
|
4 |
1 |
15 |
| pipex_iface_stop |
|
12 |
3 |
65 |
| pipex_iface_fini |
|
5 |
1 |
24 |
| pipex_ioctl |
|
42 |
10 |
191 |
| pipex_add_session |
|
159 |
44 |
1156 |
| pipex_notify_close_session |
|
8 |
1 |
42 |
| pipex_notify_close_session_all |
|
9 |
2 |
42 |
| pipex_close_session |
|
14 |
3 |
76 |
| pipex_config_session |
|
11 |
2 |
55 |
| pipex_get_stat |
|
12 |
2 |
57 |
| pipex_get_closed |
|
18 |
4 |
107 |
| pipex_destroy_session |
|
24 |
8 |
156 |
| pipex_lookup_by_ip_address |
|
21 |
3 |
153 |
| pipex_lookup_by_session_id |
|
17 |
5 |
83 |
| pipexintr |
|
48 |
10 |
265 |
| pipex_ppp_enqueue |
|
10 |
2 |
61 |
| pipex_timer_start |
|
5 |
1 |
24 |
| pipex_timer_stop |
|
4 |
1 |
12 |
| pipex_timer |
|
37 |
12 |
188 |
| pipex_output |
|
41 |
9 |
226 |
| pipex_ip_output |
|
33 |
10 |
197 |
| pipex_ppp_output |
|
37 |
12 |
195 |
| pipex_ppp_input |
|
60 |
21 |
324 |
| pipex_ip_input |
|
49 |
12 |
313 |
| pipex_ip6_input |
|
16 |
4 |
105 |
| pipex_common_input |
|
53 |
17 |
302 |
| pipex_ppp_proto |
|
29 |
9 |
198 |
| pipex_pppoe_lookup_session |
|
18 |
6 |
139 |
| pipex_pppoe_input |
|
16 |
2 |
128 |
| pipex_pppoe_output |
|
35 |
4 |
254 |
| pipex_pptp_output |
|
68 |
12 |
493 |
| pipex_pptp_lookup_session |
|
43 |
7 |
254 |
| pipex_pptp_input |
|
105 |
22 |
681 |
| pipex_pptp_userland_lookup_session_ipv4 |
|
9 |
1 |
63 |
| pipex_pptp_userland_lookup_session_ipv6 |
|
9 |
1 |
66 |
| pipex_pptp_userland_lookup_session |
|
38 |
8 |
244 |
| pipex_pptp_userland_output |
|
39 |
7 |
279 |
| pipex_l2tp_output |
|
99 |
19 |
792 |
| pipex_l2tp_lookup_session |
|
35 |
7 |
201 |
| pipex_l2tp_input |
|
88 |
18 |
544 |
| pipex_l2tp_userland_lookup_session_ipv4 |
|
9 |
1 |
63 |
| pipex_l2tp_userland_lookup_session_ipv6 |
|
9 |
1 |
66 |
| pipex_l2tp_userland_lookup_session |
|
42 |
12 |
285 |
| pipex_l2tp_userland_output |
|
23 |
3 |
188 |
| pipex_mppe_init |
|
27 |
6 |
150 |
| pipex_session_init_mppe_recv |
|
7 |
1 |
41 |
| pipex_session_init_mppe_send |
|
7 |
1 |
41 |
| GetNewKeyFromSHA |
|
13 |
1 |
91 |
| pipex_mppe_reduce_key |
|
13 |
3 |
63 |
| mppe_key_change |
|
16 |
2 |
115 |
| pipex_mppe_input |
|
101 |
24 |
578 |
| pipex_mppe_output |
|
68 |
16 |
432 |
| pipex_ccp_input |
|
32 |
5 |
192 |
| pipex_ccp_output |
|
17 |
2 |
110 |
| adjust_tcp_mss |
|
65 |
13 |
398 |
| ip_is_idle_packet |
|
69 |
24 |
355 |
| pipex_session_log |
|
19 |
5 |
133 |
| pipex_sockaddr_hash_key |
|
11 |
3 |
62 |
| pipex_sockaddr_compar_addr |
|
21 |
5 |
137 |
| pipex_mppe_setkey |
|
5 |
1 |
30 |
| pipex_mppe_setoldkey |
|
8 |
1 |
47 |
| pipex_mppe_crypt |
|
5 |
1 |
34 |
| pipex_sysctl |
|
19 |
5 |
129 |
| Source file: /home/sergeyb/sources/src/sys/net/bridgectl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bridgectl_ioctl |
|
106 |
32 |
587 |
| bridge_rtupdate |
|
88 |
19 |
580 |
| bridge_rtlookup |
|
16 |
3 |
96 |
| bridge_hash |
|
5 |
1 |
32 |
| bridge_rtage |
|
29 |
7 |
193 |
| bridge_rtagenode |
|
21 |
7 |
131 |
| bridge_rtflush |
|
19 |
5 |
121 |
| bridge_rtdaddr |
|
15 |
2 |
103 |
| bridge_rtdelete |
|
24 |
6 |
148 |
| bridge_rtfind |
|
36 |
6 |
270 |
| bridge_update |
|
21 |
12 |
171 |
| bridge_brlconf |
|
68 |
13 |
516 |
| bridge_filterrule |
|
31 |
10 |
193 |
| bridge_addrule |
|
25 |
5 |
193 |
| bridge_flushrule |
|
16 |
5 |
116 |
| Source file: /home/sergeyb/sources/src/sys/net/if_pfsync.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pfsyncstat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/net/if.h |
| Source file: /home/sergeyb/sources/src/sys/net/pf_osfp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pf_osfp_fingerprint |
|
21 |
5 |
151 |
| pf_osfp_fingerprint_hdr |
|
119 |
31 |
886 |
| pf_osfp_match |
|
27 |
9 |
178 |
| pf_osfp_initialize |
|
8 |
1 |
56 |
| pf_osfp_flush |
|
13 |
3 |
80 |
| pf_osfp_add |
|
75 |
20 |
604 |
| pf_osfp_find |
|
49 |
23 |
323 |
| pf_osfp_find_exact |
|
16 |
9 |
105 |
| pf_osfp_insert |
|
10 |
2 |
59 |
| pf_osfp_get |
|
25 |
2 |
158 |
| pf_osfp_validate |
|
35 |
7 |
247 |
| Source file: /home/sergeyb/sources/src/sys/net/netisr.h |
| Source file: /home/sergeyb/sources/src/sys/net/ppp-deflate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zcalloc |
|
8 |
1 |
39 |
| zcfree |
|
6 |
1 |
25 |
| z_comp_alloc |
|
30 |
11 |
208 |
| z_comp_free |
|
7 |
1 |
39 |
| z_comp_init |
|
20 |
8 |
141 |
| z_comp_reset |
|
7 |
1 |
36 |
| z_compress |
|
105 |
28 |
750 |
| z_comp_stats |
|
16 |
3 |
90 |
| z_decomp_alloc |
|
29 |
11 |
200 |
| z_decomp_free |
|
7 |
1 |
39 |
| z_decomp_init |
|
21 |
8 |
151 |
| z_decomp_reset |
|
7 |
1 |
36 |
| z_decompress |
|
116 |
25 |
794 |
| z_incomp |
|
39 |
10 |
260 |
| Source file: /home/sergeyb/sources/src/sys/net/pfvar.h |
| Source file: /home/sergeyb/sources/src/sys/net/ppp-comp.h |
| Source file: /home/sergeyb/sources/src/sys/net/hfsc.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_switch.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_ppp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pppattach |
|
5 |
1 |
18 |
| ppp_clone_create |
|
29 |
3 |
238 |
| ppp_clone_destroy |
|
12 |
2 |
65 |
| pppalloc |
|
34 |
8 |
209 |
| pppdealloc |
|
33 |
8 |
226 |
| pppioctl |
|
178 |
55 |
1140 |
| pppsioctl |
|
58 |
18 |
401 |
| pppoutput |
|
99 |
24 |
607 |
| ppp_requeue |
|
33 |
8 |
159 |
| ppp_restart |
|
7 |
1 |
32 |
| ppp_dequeue |
|
86 |
30 |
534 |
| pppintr |
|
23 |
5 |
132 |
| ppp_ccp |
|
88 |
27 |
504 |
| ppp_ccp_closed |
|
11 |
3 |
65 |
| ppppktin |
|
6 |
2 |
44 |
| ppp_inproc |
|
191 |
51 |
1259 |
| pppdumpm |
|
28 |
7 |
183 |
| ppp_ifstart |
|
6 |
1 |
30 |
| ppp_pkt_list_init |
|
7 |
1 |
44 |
| ppp_pkt_enqueue |
|
20 |
4 |
114 |
| ppp_pkt_dequeue |
|
14 |
3 |
77 |
| ppp_pkt_mbuf |
|
28 |
4 |
179 |
| Source file: /home/sergeyb/sources/src/sys/net/slcompress.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sl_compress_init |
|
16 |
2 |
129 |
| sl_compress_setup |
|
22 |
3 |
182 |
| sl_compress_tcp |
|
140 |
41 |
1042 |
| sl_uncompress_tcp |
|
23 |
6 |
174 |
| sl_uncompress_tcp_core |
|
109 |
20 |
751 |
| Source file: /home/sergeyb/sources/src/sys/net/if_media.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_pfsync.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pfsyncattach |
|
5 |
1 |
20 |
| pfsync_clone_create |
|
44 |
5 |
345 |
| pfsync_clone_destroy |
|
31 |
6 |
206 |
| pfsyncstart |
|
4 |
1 |
17 |
| pfsync_syncdev_state |
|
20 |
7 |
122 |
| pfsync_ifdetach |
|
5 |
1 |
21 |
| pfsync_alloc_scrub_memory |
|
10 |
4 |
62 |
| pfsync_state_export |
|
4 |
1 |
21 |
| pfsync_state_import |
|
152 |
42 |
1349 |
| pfsync_input |
|
75 |
19 |
520 |
| pfsync_in_clr |
|
25 |
8 |
178 |
| pfsync_in_ins |
|
28 |
15 |
193 |
| pfsync_in_iack |
|
18 |
4 |
118 |
| pfsync_upd_tcp |
|
20 |
9 |
155 |
| pfsync_in_upd |
|
55 |
13 |
351 |
| pfsync_in_upd_c |
|
54 |
12 |
348 |
| pfsync_in_ureq |
|
25 |
6 |
146 |
| pfsync_in_del |
|
20 |
3 |
121 |
| pfsync_in_del_c |
|
20 |
3 |
121 |
| pfsync_in_bus |
|
42 |
9 |
233 |
| pfsync_in_tdb |
|
10 |
3 |
64 |
| pfsync_update_net_tdb |
|
27 |
7 |
170 |
| pfsync_in_eof |
|
6 |
3 |
36 |
| pfsync_in_error |
|
5 |
1 |
27 |
| pfsyncoutput |
|
6 |
1 |
34 |
| pfsyncioctl |
|
137 |
33 |
897 |
| pfsync_out_state |
|
5 |
1 |
27 |
| pfsync_out_iack |
|
6 |
1 |
36 |
| pfsync_out_upd_c |
|
10 |
1 |
81 |
| pfsync_out_del |
|
7 |
1 |
45 |
| pfsync_drop |
|
27 |
6 |
192 |
| Source file: /home/sergeyb/sources/src/sys/net/if_media.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifmedia_init |
|
10 |
1 |
56 |
| ifmedia_add |
|
19 |
5 |
111 |
| ifmedia_list_add |
|
7 |
2 |
59 |
| ifmedia_set |
|
24 |
6 |
151 |
| ifmedia_ioctl |
|
83 |
23 |
512 |
| ifmedia_match |
|
18 |
4 |
96 |
| ifmedia_delete_instance |
|
11 |
3 |
75 |
| ifmedia_baudrate |
|
10 |
3 |
64 |
| ifmedia_printword |
|
37 |
15 |
234 |
| Source file: /home/sergeyb/sources/src/sys/net/ofp.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_gif.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_llc.h |
| Source file: /home/sergeyb/sources/src/sys/net/if_pppoe.h |
| Source file: /home/sergeyb/sources/src/sys/net/route.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| route_init |
|
9 |
3 |
51 |
| rtisvalid |
|
14 |
5 |
98 |
| rt_match |
|
29 |
5 |
195 |
| rt_hash |
|
46 |
14 |
354 |
| rtalloc_mpath |
|
4 |
1 |
31 |
| rtalloc |
|
4 |
1 |
30 |
| rt_setgwroute |
|
25 |
6 |
175 |
| rt_putgwroute |
|
14 |
4 |
93 |
| rtref |
|
4 |
1 |
17 |
| rtfree |
|
26 |
6 |
179 |
| ifafree |
|
10 |
3 |
48 |
| rtredirect |
|
80 |
19 |
510 |
| rtdeletemsg |
|
19 |
3 |
156 |
| rtequal |
|
10 |
4 |
64 |
| rtflushclone1 |
|
17 |
5 |
105 |
| rtflushclone |
|
6 |
4 |
49 |
| rtrequest_delete |
|
39 |
10 |
266 |
| rtrequest |
|
144 |
32 |
1036 |
| rt_setgate |
|
16 |
5 |
129 |
| rt_getll |
|
8 |
2 |
43 |
| rt_maskedcopy |
|
17 |
4 |
138 |
| rt_ifa_add |
|
37 |
9 |
276 |
| rt_ifa_del |
|
44 |
12 |
334 |
| rt_ifa_addlocal |
|
26 |
9 |
172 |
| rt_ifa_dellocal |
|
26 |
9 |
172 |
| rt_ifa_purge |
|
14 |
4 |
86 |
| rt_ifa_purge_walker |
|
12 |
3 |
76 |
| rt_timer_init |
|
12 |
2 |
70 |
| rt_timer_queue_create |
|
13 |
3 |
85 |
| rt_timer_queue_change |
|
4 |
1 |
18 |
| rt_timer_queue_destroy |
|
17 |
3 |
107 |
| rt_timer_queue_count |
|
4 |
1 |
16 |
| rt_timer_remove_all |
|
13 |
3 |
84 |
| rt_timer_add |
|
32 |
4 |
220 |
| rt_timer_timer |
|
24 |
4 |
144 |
| rtlabel_name2id |
|
30 |
7 |
198 |
| rtlabel_id2name |
|
8 |
2 |
41 |
| rtlabel_id2sa |
|
11 |
3 |
92 |
| rtlabel_unref |
|
15 |
4 |
82 |
| rt_if_track |
|
14 |
5 |
81 |
| rt_if_linkstate_change |
|
33 |
10 |
260 |
| rt_plentosa |
|
24 |
7 |
161 |
| rt_plen2mask |
|
4 |
1 |
34 |
| db_print_sa |
|
20 |
4 |
86 |
| db_print_ifa |
|
13 |
2 |
70 |
| db_show_rtentry |
|
14 |
1 |
125 |
| db_show_arptab |
|
6 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/net/hfsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hfsc_class_qlength |
|
6 |
2 |
32 |
| hfsc_class_enqueue |
|
4 |
1 |
28 |
| hfsc_class_deq_begin |
|
4 |
1 |
33 |
| hfsc_class_deq_commit |
|
4 |
1 |
32 |
| hfsc_class_purge |
|
5 |
2 |
36 |
| hfsc_microuptime |
|
7 |
1 |
39 |
| hfsc_more_slots |
|
5 |
2 |
25 |
| hfsc_grow_class_tbl |
|
12 |
1 |
88 |
| hfsc_initialize |
|
7 |
1 |
50 |
| hfsc_pf_alloc |
|
12 |
1 |
90 |
| hfsc_pf_addqueue |
|
62 |
21 |
539 |
| hfsc_pf_qstats |
|
25 |
6 |
190 |
| hfsc_pf_free |
|
4 |
1 |
15 |
| hfsc_pf_qlength |
|
5 |
1 |
24 |
| hfsc_pf_enqueue |
|
9 |
2 |
64 |
| hfsc_pf_deq_begin |
|
5 |
1 |
33 |
| hfsc_pf_deq_commit |
|
5 |
1 |
32 |
| hfsc_pf_purge |
|
5 |
1 |
30 |
| hfsc_idx |
|
4 |
1 |
19 |
| hfsc_alloc |
|
7 |
1 |
38 |
| hfsc_free |
|
19 |
4 |
134 |
| hfsc_purge |
|
7 |
2 |
56 |
| hfsc_class_create |
|
79 |
24 |
607 |
| hfsc_class_destroy |
|
43 |
16 |
311 |
| hfsc_nextclass |
|
15 |
5 |
74 |
| hfsc_enq |
|
21 |
8 |
164 |
| hfsc_deq_begin |
|
33 |
8 |
203 |
| hfsc_deq_commit |
|
8 |
1 |
70 |
| hfsc_update_sc |
|
24 |
6 |
154 |
| hfsc_deferred |
|
15 |
4 |
93 |
| hfsc_cl_purge |
|
10 |
2 |
69 |
| hfsc_set_active |
|
8 |
3 |
56 |
| hfsc_set_passive |
|
5 |
2 |
29 |
| hfsc_init_ed |
|
14 |
2 |
125 |
| hfsc_update_ed |
|
6 |
1 |
58 |
| hfsc_update_d |
|
4 |
1 |
30 |
| hfsc_init_vf |
|
66 |
16 |
435 |
| hfsc_update_vf |
|
48 |
14 |
320 |
| hfsc_update_cfmin |
|
19 |
4 |
92 |
| hfsc_ellist_insert |
|
15 |
4 |
97 |
| hfsc_ellist_remove |
|
4 |
1 |
26 |
| hfsc_ellist_update |
|
20 |
6 |
149 |
| hfsc_ellist_get_mindl |
|
11 |
4 |
68 |
| hfsc_actlist_insert |
|
15 |
4 |
98 |
| hfsc_actlist_remove |
|
4 |
1 |
23 |
| hfsc_actlist_update |
|
20 |
6 |
152 |
| hfsc_actlist_firstfit |
|
8 |
2 |
46 |
| seg_x2y |
|
6 |
1 |
44 |
| seg_y2x |
|
13 |
3 |
68 |
| m2sm |
|
6 |
1 |
31 |
| m2ism |
|
9 |
2 |
42 |
| d2dx |
|
6 |
1 |
28 |
| sm2m |
|
6 |
1 |
31 |
| dx2d |
|
6 |
1 |
26 |
| hfsc_sc2isc |
|
9 |
1 |
84 |
| hfsc_rtsc_init |
|
12 |
1 |
80 |
| hfsc_rtsc_y2x |
|
16 |
4 |
117 |
| hfsc_rtsc_x2y |
|
12 |
3 |
94 |
| hfsc_rtsc_min |
|
34 |
6 |
230 |
| hfsc_getclstats |
|
57 |
4 |
481 |
| hfsc_clh2cph |
|
15 |
7 |
111 |
| Source file: /home/sergeyb/sources/src/sys/net/switchctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| switch_dev2sc |
|
8 |
1 |
39 |
| switchopen |
|
36 |
7 |
245 |
| switchread |
|
56 |
12 |
331 |
| switchwrite |
|
71 |
16 |
451 |
| switchioctl |
|
14 |
4 |
57 |
| switchclose |
|
15 |
3 |
113 |
| switch_dev_destroy |
|
20 |
3 |
133 |
| switchpoll |
|
19 |
8 |
139 |
| switchkqfilter |
|
22 |
4 |
122 |
| filt_switch_rdetach |
|
8 |
2 |
61 |
| filt_switch_read |
|
15 |
4 |
107 |
| filt_switch_wdetach |
|
8 |
2 |
61 |
| filt_switch_write |
|
4 |
1 |
17 |
| switch_dev_output |
|
7 |
2 |
46 |
| switch_dev_wakeup |
|
8 |
2 |
45 |
| Source file: /home/sergeyb/sources/src/sys/net/if_spppsubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spppattach |
|
3 |
1 |
9 |
| sppp_input |
|
111 |
28 |
619 |
| sppp_output |
|
80 |
20 |
489 |
| sppp_attach |
|
32 |
3 |
237 |
| sppp_detach |
|
25 |
9 |
237 |
| sppp_flush |
|
6 |
1 |
39 |
| sppp_isempty |
|
9 |
2 |
62 |
| sppp_dequeue |
|
13 |
3 |
78 |
| sppp_ioctl |
|
56 |
20 |
311 |
| sppp_cp_send |
|
42 |
7 |
306 |
| sppp_cp_input |
|
341 |
108 |
1987 |
| sppp_up_event |
|
20 |
4 |
119 |
| sppp_down_event |
|
30 |
10 |
153 |
| sppp_open_event |
|
31 |
12 |
163 |
| sppp_close_event |
|
37 |
12 |
238 |
| sppp_increasing_timeout |
|
8 |
2 |
66 |
| sppp_to_event |
|
47 |
13 |
271 |
| sppp_cp_change_state |
|
27 |
14 |
165 |
| sppp_lcp_init |
|
14 |
1 |
110 |
| sppp_lcp_up |
|
35 |
9 |
259 |
| sppp_lcp_down |
|
21 |
5 |
123 |
| sppp_lcp_open |
|
9 |
2 |
60 |
| sppp_lcp_close |
|
4 |
1 |
17 |
| sppp_lcp_TO |
|
4 |
1 |
21 |
| sppp_lcp_RCR |
|
161 |
56 |
1043 |
| sppp_lcp_RCN_rej |
|
40 |
14 |
244 |
| sppp_lcp_RCN_nak |
|
55 |
22 |
364 |
| sppp_lcp_tlu |
|
36 |
18 |
335 |
| sppp_lcp_tld |
|
12 |
4 |
99 |
| sppp_lcp_tls |
|
7 |
2 |
35 |
| sppp_lcp_tlf |
|
7 |
2 |
35 |
| sppp_lcp_scr |
|
33 |
7 |
308 |
| sppp_ncp_check |
|
8 |
4 |
63 |
| sppp_lcp_check_and_close |
|
8 |
3 |
35 |
| sppp_ipcp_init |
|
9 |
1 |
71 |
| sppp_ipcp_destroy |
|
5 |
1 |
33 |
| sppp_ipcp_up |
|
4 |
1 |
17 |
| sppp_ipcp_down |
|
4 |
1 |
17 |
| sppp_ipcp_open |
|
4 |
1 |
17 |
| sppp_ipcp_close |
|
4 |
1 |
17 |
| sppp_ipcp_TO |
|
4 |
1 |
21 |
| sppp_ipcp_RCR |
|
124 |
41 |
823 |
| sppp_ipcp_RCN_rej |
|
27 |
10 |
181 |
| sppp_ipcp_RCN_nak |
|
40 |
15 |
268 |
| sppp_ipcp_tlu |
|
5 |
3 |
39 |
| sppp_ipcp_tld |
|
3 |
1 |
9 |
| sppp_ipcp_tls |
|
24 |
6 |
150 |
| sppp_ipcp_tlf |
|
7 |
2 |
53 |
| sppp_ipcp_scr |
|
28 |
5 |
227 |
| sppp_ipv6cp_init |
|
8 |
1 |
57 |
| sppp_ipv6cp_destroy |
|
4 |
1 |
21 |
| sppp_ipv6cp_up |
|
4 |
1 |
17 |
| sppp_ipv6cp_down |
|
4 |
1 |
17 |
| sppp_ipv6cp_open |
|
15 |
3 |
92 |
| sppp_ipv6cp_close |
|
4 |
1 |
17 |
| sppp_ipv6cp_TO |
|
4 |
1 |
21 |
| sppp_ipv6cp_RCR |
|
132 |
43 |
908 |
| sppp_ipv6cp_RCN_rej |
|
28 |
11 |
187 |
| sppp_ipv6cp_RCN_nak |
|
49 |
16 |
345 |
| sppp_ipv6cp_tlu |
|
3 |
1 |
9 |
| sppp_ipv6cp_tld |
|
3 |
1 |
9 |
| sppp_ipv6cp_tls |
|
4 |
1 |
22 |
| sppp_ipv6cp_tlf |
|
5 |
1 |
27 |
| sppp_ipv6cp_scr |
|
24 |
5 |
198 |
| sppp_ipv6cp_init |
|
3 |
1 |
9 |
| sppp_ipv6cp_destroy |
|
3 |
1 |
9 |
| sppp_ipv6cp_up |
|
3 |
1 |
9 |
| sppp_ipv6cp_down |
|
3 |
1 |
9 |
| sppp_ipv6cp_open |
|
3 |
1 |
9 |
| sppp_ipv6cp_close |
|
3 |
1 |
9 |
| sppp_ipv6cp_TO |
|
3 |
1 |
8 |
| sppp_ipv6cp_RCR |
|
5 |
1 |
20 |
| sppp_ipv6cp_RCN_rej |
|
4 |
1 |
17 |
| sppp_ipv6cp_RCN_nak |
|
4 |
1 |
17 |
| sppp_ipv6cp_tlu |
|
3 |
1 |
9 |
| sppp_ipv6cp_tld |
|
3 |
1 |
9 |
| sppp_ipv6cp_tls |
|
3 |
1 |
9 |
| sppp_ipv6cp_tlf |
|
3 |
1 |
9 |
| sppp_ipv6cp_scr |
|
3 |
1 |
9 |
| sppp_chap_input |
|
193 |
36 |
1256 |
| sppp_chap_init |
|
5 |
1 |
27 |
| sppp_chap_open |
|
9 |
3 |
68 |
| sppp_chap_close |
|
5 |
2 |
30 |
| sppp_chap_TO |
|
29 |
6 |
165 |
| sppp_chap_tlu |
|
30 |
7 |
186 |
| sppp_chap_tld |
|
9 |
2 |
68 |
| sppp_chap_scr |
|
13 |
1 |
96 |
| sppp_pap_input |
|
125 |
30 |
854 |
| sppp_pap_init |
|
5 |
1 |
27 |
| sppp_pap_open |
|
12 |
4 |
94 |
| sppp_pap_close |
|
5 |
2 |
30 |
| sppp_pap_TO |
|
26 |
5 |
142 |
| sppp_pap_my_TO |
|
9 |
2 |
46 |
| sppp_pap_tlu |
|
17 |
3 |
94 |
| sppp_pap_tld |
|
10 |
2 |
83 |
| sppp_pap_scr |
|
13 |
1 |
111 |
| sppp_auth_send |
|
56 |
7 |
396 |
| sppp_keepalive |
|
44 |
10 |
275 |
| sppp_get_ip_addrs |
|
32 |
11 |
213 |
| sppp_update_gw_walker |
|
12 |
4 |
87 |
| sppp_update_gw |
|
7 |
2 |
38 |
| sppp_set_ip_addrs |
|
55 |
15 |
362 |
| sppp_clear_ip_addrs |
|
43 |
11 |
286 |
| sppp_get_ip6_addrs |
|
25 |
7 |
206 |
| sppp_update_ip6_addr |
|
36 |
6 |
208 |
| sppp_set_ip6_addr |
|
19 |
2 |
165 |
| sppp_suggest_ip6_addr |
|
17 |
3 |
142 |
| sppp_get_params |
|
43 |
10 |
300 |
| sppp_set_params |
|
74 |
18 |
540 |
| sppp_phase_network |
|
14 |
6 |
126 |
| sppp_cp_type_name |
|
19 |
12 |
101 |
| sppp_auth_type_name |
|
21 |
10 |
98 |
| sppp_lcp_opt_name |
|
15 |
8 |
77 |
| sppp_ipcp_opt_name |
|
11 |
4 |
53 |
| sppp_ipv6cp_opt_name |
|
10 |
3 |
47 |
| sppp_state_name |
|
16 |
11 |
76 |
| sppp_phase_name |
|
11 |
6 |
47 |
| sppp_proto_name |
|
13 |
6 |
68 |
| sppp_print_bytes |
|
6 |
2 |
37 |
| sppp_print_string |
|
11 |
4 |
55 |
| sppp_dotted_quad |
|
10 |
1 |
78 |
| sppp_null |
|
3 |
1 |
9 |
| sppp_set_phase |
|
16 |
4 |
76 |
| Source file: /home/sergeyb/sources/src/sys/net/if_loop.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loopattach |
|
6 |
2 |
28 |
| loop_clone_create |
|
28 |
4 |
201 |
| loop_clone_destroy |
|
9 |
2 |
59 |
| loinput |
|
10 |
3 |
69 |
| looutput |
|
18 |
8 |
155 |
| lortrequest |
|
5 |
3 |
33 |
| loioctl |
|
23 |
6 |
93 |
| Source file: /home/sergeyb/sources/src/sys/net/bpf_filter.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bpf_mem_ldw |
|
11 |
2 |
78 |
| bpf_mem_ldh |
|
11 |
2 |
78 |
| bpf_mem_ldb |
|
9 |
2 |
55 |
| bpf_filter |
|
8 |
1 |
51 |
| _bpf_filter |
|
175 |
65 |
994 |
| bpf_validate |
|
82 |
41 |
350 |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_inode.h |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_ihash.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ntfs_nthashinit |
|
15 |
3 |
69 |
| ntfs_hash |
|
8 |
1 |
61 |
| ntfs_nthashlookup |
|
11 |
3 |
64 |
| ntfs_nthashins |
|
7 |
1 |
46 |
| ntfs_nthashrem |
|
7 |
2 |
32 |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_ihash.h |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ntfs_checkexp |
|
12 |
2 |
83 |
| ntfs_sysctl |
|
5 |
1 |
36 |
| ntfs_init |
|
4 |
1 |
12 |
| ntfs_mount |
|
73 |
15 |
489 |
| ntfs_mountfs |
|
141 |
29 |
1055 |
| ntfs_start |
|
4 |
1 |
22 |
| ntfs_unmount |
|
40 |
11 |
317 |
| ntfs_root |
|
14 |
2 |
82 |
| ntfs_quotactl |
|
5 |
1 |
26 |
| ntfs_calccfree |
|
32 |
8 |
215 |
| ntfs_statfs |
|
16 |
1 |
141 |
| ntfs_sync |
|
4 |
1 |
27 |
| ntfs_fhtovp |
|
14 |
2 |
99 |
| ntfs_vptofh |
|
16 |
2 |
106 |
| ntfs_vgetex |
|
80 |
20 |
512 |
| ntfs_vget |
|
7 |
2 |
61 |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ntfs_ntvattrrele |
|
7 |
1 |
36 |
| ntfs_findvattr |
|
37 |
9 |
252 |
| ntfs_ntvattrget |
|
80 |
13 |
495 |
| ntfs_loadntnode |
|
83 |
10 |
577 |
| ntfs_ntget |
|
8 |
1 |
45 |
| ntfs_ntlookup |
|
31 |
3 |
219 |
| ntfs_ntput |
|
30 |
7 |
193 |
| ntfs_ntref |
|
6 |
1 |
27 |
| ntfs_ntrele |
|
9 |
2 |
50 |
| ntfs_freentvattr |
|
13 |
5 |
82 |
| ntfs_attrtontvattr |
|
53 |
5 |
436 |
| ntfs_runtovrun |
|
46 |
8 |
354 |
| ntfs_uastricmp |
|
19 |
7 |
126 |
| ntfs_uastrcmp |
|
18 |
7 |
124 |
| ntfs_fget |
|
31 |
11 |
230 |
| ntfs_frele |
|
13 |
3 |
94 |
| ntfs_ntlookupattr |
|
38 |
9 |
224 |
| ntfs_ntlookupfile |
|
215 |
57 |
1303 |
| ntfs_isnamepermitted |
|
18 |
6 |
74 |
| ntfs_ntreaddir |
|
137 |
30 |
849 |
| ntfs_nttimetounix |
|
9 |
1 |
68 |
| ntfs_filesize |
|
22 |
4 |
134 |
| ntfs_readntvattr_plain |
|
108 |
20 |
576 |
| ntfs_readattr_plain |
|
39 |
4 |
241 |
| ntfs_readattr |
|
81 |
17 |
525 |
| ntfs_parserun |
|
33 |
9 |
259 |
| ntfs_procfixups |
|
36 |
6 |
248 |
| ntfs_runtocn |
|
33 |
7 |
192 |
| ntfs_toupper_use |
|
20 |
3 |
135 |
| ntfs_toupper_unuse |
|
14 |
4 |
61 |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_compr.h |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_conv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ntfs_utf8_wget |
|
30 |
8 |
207 |
| ntfs_utf8_wput |
|
30 |
6 |
184 |
| ntfs_utf8_wcmp |
|
7 |
2 |
31 |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ntfs_bmap |
|
13 |
4 |
86 |
| ntfs_read |
|
28 |
4 |
198 |
| ntfs_getattr |
|
29 |
3 |
250 |
| ntfs_inactive |
|
12 |
5 |
83 |
| ntfs_reclaim |
|
19 |
5 |
132 |
| ntfs_print |
|
8 |
1 |
53 |
| ntfs_strategy |
|
42 |
4 |
280 |
| ntfs_access |
|
48 |
21 |
316 |
| ntfs_open |
|
8 |
2 |
48 |
| ntfs_close |
|
8 |
2 |
48 |
| ntfs_readdir |
|
93 |
18 |
712 |
| ntfs_lookup |
|
73 |
20 |
539 |
| ntfs_fsync |
|
4 |
1 |
13 |
| ntfs_pathconf |
|
23 |
5 |
89 |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_vfsops.h |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_subr.h |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs_compr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ntfs_uncompblock |
|
46 |
11 |
331 |
| ntfs_uncompunit |
|
15 |
3 |
83 |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfsmount.h |
| Source file: /home/sergeyb/sources/src/sys/ntfs/ntfs.h |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs_vnops.h |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tmpfs_init |
|
8 |
1 |
54 |
| tmpfs_mount |
|
80 |
14 |
588 |
| tmpfs_start |
|
4 |
1 |
20 |
| tmpfs_unmount |
|
33 |
7 |
210 |
| tmpfs_root |
|
6 |
1 |
43 |
| tmpfs_vget |
|
5 |
1 |
25 |
| tmpfs_fhtovp |
|
23 |
5 |
146 |
| tmpfs_vptofh |
|
12 |
1 |
83 |
| tmpfs_statfs |
|
21 |
1 |
153 |
| tmpfs_sync |
|
4 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs_specops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tmpfs_spec_read |
|
8 |
1 |
42 |
| tmpfs_spec_write |
|
8 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| VFS_TO_TMPFS |
|
6 |
1 |
27 |
| VP_TO_TMPFS_DIR |
|
7 |
1 |
32 |
| VP_TO_TMPFS_NODE |
|
6 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs_fifoops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tmpfs_fifo_read |
|
8 |
1 |
42 |
| tmpfs_fifo_write |
|
8 |
1 |
42 |
| tmpfs_fifo_fsync |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tmpfs_mntmem_init |
|
6 |
1 |
34 |
| tmpfs_mntmem_destroy |
|
4 |
1 |
18 |
| tmpfs_mem_info |
|
16 |
3 |
73 |
| tmpfs_bytes_max |
|
12 |
2 |
65 |
| tmpfs_pages_avail |
|
4 |
1 |
24 |
| tmpfs_mem_incr |
|
13 |
2 |
70 |
| tmpfs_mem_decr |
|
7 |
1 |
43 |
| tmpfs_dirent_get |
|
7 |
2 |
39 |
| tmpfs_dirent_put |
|
5 |
1 |
33 |
| tmpfs_node_get |
|
12 |
3 |
62 |
| tmpfs_node_put |
|
6 |
1 |
38 |
| tmpfs_strname_alloc |
|
9 |
3 |
59 |
| tmpfs_strname_free |
|
7 |
2 |
54 |
| tmpfs_strname_neqlen |
|
6 |
2 |
60 |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tmpfs_alloc_node |
|
86 |
16 |
565 |
| tmpfs_free_node |
|
38 |
9 |
235 |
| tmpfs_vnode_get |
|
70 |
17 |
402 |
| tmpfs_alloc_file |
|
47 |
10 |
304 |
| tmpfs_alloc_dirent |
|
18 |
3 |
102 |
| tmpfs_free_dirent |
|
7 |
1 |
50 |
| tmpfs_dir_attach |
|
26 |
2 |
195 |
| tmpfs_dir_detach |
|
34 |
7 |
255 |
| tmpfs_dir_lookup |
|
19 |
6 |
146 |
| tmpfs_dir_cached |
|
10 |
4 |
65 |
| tmpfs_dir_getseq |
|
14 |
2 |
81 |
| tmpfs_dir_putseq |
|
14 |
6 |
102 |
| tmpfs_dir_lookupbyseq |
|
17 |
4 |
110 |
| tmpfs_dir_getdotents |
|
33 |
6 |
220 |
| tmpfs_dir_getdents |
|
83 |
21 |
476 |
| tmpfs_reg_resize |
|
48 |
11 |
317 |
| tmpfs_chflags |
|
25 |
8 |
171 |
| tmpfs_chmod |
|
24 |
11 |
192 |
| tmpfs_chown |
|
26 |
10 |
187 |
| tmpfs_chsize |
|
24 |
8 |
115 |
| tmpfs_chtimes |
|
24 |
10 |
193 |
| tmpfs_update |
|
14 |
4 |
63 |
| tmpfs_truncate |
|
19 |
4 |
87 |
| tmpfs_uio_cached |
|
7 |
2 |
49 |
| tmpfs_uio_lookup |
|
6 |
3 |
37 |
| tmpfs_uio_uncache |
|
8 |
1 |
67 |
| tmpfs_uio_cache |
|
7 |
1 |
51 |
| tmpfs_uiomove |
|
37 |
8 |
260 |
| tmpfs_zeropg |
|
17 |
2 |
119 |
| Source file: /home/sergeyb/sources/src/sys/tmpfs/tmpfs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tmpfs_lookup |
|
115 |
43 |
730 |
| tmpfs_create |
|
12 |
2 |
95 |
| tmpfs_mknod |
|
19 |
5 |
115 |
| tmpfs_open |
|
18 |
4 |
95 |
| tmpfs_close |
|
8 |
1 |
35 |
| tmpfs_access |
|
31 |
12 |
166 |
| tmpfs_getattr |
|
30 |
3 |
227 |
| tmpfs_setattr |
|
32 |
23 |
311 |
| tmpfs_read |
|
34 |
9 |
188 |
| tmpfs_write |
|
59 |
15 |
354 |
| tmpfs_fsync |
|
8 |
1 |
35 |
| tmpfs_remove |
|
47 |
8 |
264 |
| tmpfs_link |
|
55 |
8 |
307 |
| tmpfs_mkdir |
|
11 |
1 |
74 |
| tmpfs_rmdir |
|
51 |
10 |
342 |
| tmpfs_symlink |
|
17 |
2 |
107 |
| tmpfs_readdir |
|
24 |
5 |
123 |
| tmpfs_readlink |
|
18 |
2 |
125 |
| tmpfs_inactive |
|
15 |
4 |
86 |
| tmpfs_reclaim |
|
18 |
3 |
105 |
| tmpfs_pathconf |
|
31 |
7 |
111 |
| tmpfs_advlock |
|
9 |
1 |
62 |
| tmpfs_print |
|
15 |
3 |
86 |
| tmpfs_bwrite |
|
4 |
1 |
11 |
| tmpfs_poll |
|
5 |
1 |
32 |
| tmpfs_strategy |
|
4 |
1 |
11 |
| tmpfs_ioctl |
|
4 |
1 |
11 |
| tmpfs_lock |
|
6 |
1 |
41 |
| tmpfs_unlock |
|
7 |
1 |
37 |
| tmpfs_islocked |
|
6 |
1 |
35 |
| tmpfs_rename |
|
54 |
14 |
391 |
| tmpfs_sane_rename |
|
130 |
34 |
1080 |
| tmpfs_rename_enter |
|
53 |
6 |
446 |
| tmpfs_rename_enter_common |
|
82 |
15 |
522 |
| tmpfs_rename_enter_separate |
|
42 |
7 |
304 |
| tmpfs_rename_exit |
|
28 |
7 |
190 |
| tmpfs_rename_lock_directory |
|
13 |
2 |
84 |
| tmpfs_rename_genealogy |
|
33 |
5 |
193 |
| tmpfs_rename_lock |
|
143 |
33 |
1000 |
| tmpfs_rename_attachdetach |
|
41 |
8 |
367 |
| tmpfs_do_remove |
|
29 |
7 |
217 |
| tmpfs_rename_check_possible |
|
30 |
8 |
245 |
| tmpfs_rename_check_permitted |
|
44 |
11 |
309 |
| tmpfs_remove_check_possible |
|
12 |
2 |
92 |
| tmpfs_remove_check_permitted |
|
18 |
3 |
119 |
| tmpfs_check_sticky |
|
19 |
8 |
133 |
| tmpfs_rename_cache_purge |
|
21 |
5 |
148 |
| tmpfs_rename_abort |
|
20 |
3 |
121 |
| tmpfs_kqfilter |
|
22 |
4 |
112 |
| filt_tmpfsdetach |
|
5 |
1 |
39 |
| filt_tmpfsread |
|
15 |
4 |
108 |
| filt_tmpfswrite |
|
9 |
2 |
46 |
| filt_tmpfsvnode |
|
10 |
3 |
54 |
| Source file: /home/sergeyb/sources/src/sys/crypto/gmac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ghash_gfmul |
|
29 |
2 |
367 |
| ghash_update_mi |
|
18 |
2 |
177 |
| AES_GMAC_Init |
|
8 |
1 |
56 |
| AES_GMAC_Setkey |
|
7 |
1 |
71 |
| AES_GMAC_Reinit |
|
5 |
1 |
35 |
| AES_GMAC_Update |
|
19 |
4 |
135 |
| AES_GMAC_Final |
|
11 |
2 |
96 |
| Source file: /home/sergeyb/sources/src/sys/crypto/podd.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/crypto.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| crypto_newsession |
|
56 |
18 |
321 |
| crypto_freesession |
|
20 |
7 |
135 |
| crypto_get_driverid |
|
52 |
10 |
301 |
| crypto_register |
|
19 |
5 |
147 |
| crypto_unregister |
|
29 |
13 |
203 |
| crypto_dispatch |
|
20 |
5 |
123 |
| crypto_invoke |
|
48 |
12 |
313 |
| crypto_freereq |
|
9 |
3 |
52 |
| crypto_getreq |
|
18 |
4 |
104 |
| crypto_init |
|
7 |
1 |
54 |
| crypto_done |
|
10 |
2 |
65 |
| Source file: /home/sergeyb/sources/src/sys/crypto/hmac.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/cryptosoft.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| swcr_encdec |
|
189 |
56 |
1334 |
| swcr_authcompute |
|
45 |
13 |
326 |
| swcr_authenc |
|
129 |
32 |
967 |
| swcr_compdec |
|
52 |
11 |
361 |
| swcr_newsession |
|
184 |
45 |
1046 |
| swcr_freesession |
|
61 |
30 |
311 |
| swcr_process |
|
80 |
36 |
389 |
| swcr_init |
|
34 |
2 |
216 |
| Source file: /home/sergeyb/sources/src/sys/crypto/cast.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/michael.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| michael_init |
|
4 |
1 |
18 |
| michael_update |
|
13 |
3 |
97 |
| michael_final |
|
8 |
1 |
71 |
| michael_key |
|
7 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/crypto/ecb_enc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| des_encrypt2 |
|
32 |
5 |
257 |
| Source file: /home/sergeyb/sources/src/sys/crypto/sk.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/sha1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| SHA1Transform |
|
44 |
2 |
1367 |
| SHA1Init |
|
9 |
1 |
59 |
| SHA1Update |
|
18 |
3 |
163 |
| SHA1Final |
|
20 |
4 |
193 |
| Source file: /home/sergeyb/sources/src/sys/crypto/arc4.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rc4_keysetup |
|
14 |
3 |
118 |
| rc4_crypt |
|
12 |
2 |
133 |
| rc4_getbytes |
|
11 |
2 |
124 |
| rc4_skip |
|
8 |
2 |
78 |
| Source file: /home/sergeyb/sources/src/sys/crypto/cast.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cast_encrypt |
|
35 |
2 |
363 |
| cast_decrypt |
|
35 |
2 |
363 |
| cast_setkey |
|
136 |
19 |
1667 |
| Source file: /home/sergeyb/sources/src/sys/crypto/ecb3_enc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| des_ecb3_encrypt |
|
23 |
1 |
165 |
| Source file: /home/sergeyb/sources/src/sys/crypto/aes.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/md5.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| MD5Init |
|
8 |
1 |
50 |
| MD5Update |
|
24 |
5 |
164 |
| MD5Final |
|
16 |
3 |
129 |
| MD5Transform |
|
84 |
3 |
1601 |
| Source file: /home/sergeyb/sources/src/sys/crypto/aes.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| enc32le |
|
8 |
1 |
77 |
| dec32le |
|
8 |
1 |
65 |
| aes_ct_bitslice_Sbox |
|
148 |
1 |
1070 |
| aes_ct_ortho |
|
15 |
1 |
164 |
| sub_word |
|
12 |
2 |
59 |
| aes_keysched_base |
|
41 |
10 |
269 |
| aes_ct_keysched |
|
23 |
2 |
275 |
| aes_ct_skey_expand |
|
14 |
2 |
111 |
| add_round_key |
|
11 |
1 |
93 |
| shift_rows |
|
12 |
2 |
113 |
| rotr16 |
|
4 |
1 |
22 |
| mix_columns |
|
29 |
1 |
382 |
| aes_ct_bitslice_encrypt |
|
15 |
2 |
94 |
| aes_ct_bitslice_invSbox |
|
37 |
1 |
318 |
| inv_shift_rows |
|
12 |
2 |
113 |
| inv_mix_columns |
|
29 |
1 |
526 |
| aes_ct_bitslice_decrypt |
|
15 |
2 |
96 |
| AES_Setkey |
|
8 |
2 |
61 |
| AES_Encrypt_ECB |
|
40 |
4 |
309 |
| AES_Decrypt_ECB |
|
40 |
4 |
309 |
| AES_Encrypt |
|
4 |
1 |
28 |
| AES_Decrypt |
|
4 |
1 |
28 |
| AES_KeySetup_Encrypt |
|
18 |
3 |
127 |
| redgf256 |
|
6 |
1 |
47 |
| mul9 |
|
4 |
1 |
20 |
| mulb |
|
4 |
1 |
27 |
| muld |
|
4 |
1 |
27 |
| mule |
|
4 |
1 |
32 |
| AES_KeySetup_Decrypt |
|
27 |
3 |
318 |
| Source file: /home/sergeyb/sources/src/sys/crypto/siphash.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/cmac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| AES_CMAC_Init |
|
5 |
1 |
28 |
| AES_CMAC_SetKey |
|
4 |
1 |
27 |
| AES_CMAC_Update |
|
23 |
5 |
170 |
| AES_CMAC_Final |
|
27 |
5 |
203 |
| Source file: /home/sergeyb/sources/src/sys/crypto/sha2.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/cmac.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/poly1305.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| U8TO32 |
|
7 |
1 |
82 |
| U32TO8 |
|
7 |
1 |
66 |
| poly1305_init |
|
19 |
1 |
249 |
| poly1305_blocks |
|
80 |
3 |
781 |
| poly1305_update |
|
29 |
8 |
198 |
| poly1305_finish |
|
90 |
3 |
777 |
| Source file: /home/sergeyb/sources/src/sys/crypto/siphash.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| SipHash_Init |
|
12 |
1 |
104 |
| SipHash_Update |
|
29 |
6 |
213 |
| SipHash_Final |
|
6 |
1 |
47 |
| SipHash_End |
|
15 |
1 |
147 |
| SipHash |
|
7 |
1 |
61 |
| SipHash_Rounds |
|
19 |
2 |
244 |
| SipHash_CRounds |
|
7 |
1 |
50 |
| Source file: /home/sergeyb/sources/src/sys/crypto/sha2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| SHA256Init |
|
7 |
1 |
41 |
| SHA256Transform |
|
44 |
3 |
505 |
| SHA256Transform |
|
58 |
3 |
486 |
| SHA256Update |
|
34 |
6 |
236 |
| SHA256Final |
|
35 |
7 |
268 |
| SHA512Init |
|
7 |
1 |
48 |
| SHA512Transform |
|
44 |
3 |
505 |
| SHA512Transform |
|
60 |
3 |
538 |
| SHA512Update |
|
34 |
6 |
236 |
| SHA512Last |
|
27 |
5 |
235 |
| SHA512Final |
|
12 |
3 |
83 |
| SHA384Init |
|
7 |
1 |
48 |
| SHA384Update |
|
4 |
1 |
25 |
| SHA384Final |
|
12 |
3 |
83 |
| Source file: /home/sergeyb/sources/src/sys/crypto/blf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Blowfish_encipher |
|
20 |
1 |
285 |
| Blowfish_decipher |
|
20 |
1 |
285 |
| Blowfish_initstate |
|
274 |
1 |
2116 |
| Blowfish_stream2word |
|
16 |
3 |
84 |
| Blowfish_expand0state |
|
28 |
5 |
222 |
| Blowfish_expandstate |
|
33 |
5 |
290 |
| blf_key |
|
5 |
1 |
30 |
| blf_enc |
|
10 |
2 |
52 |
| blf_dec |
|
10 |
2 |
52 |
| blf_ecb_encrypt |
|
23 |
2 |
235 |
| blf_ecb_decrypt |
|
23 |
2 |
235 |
| blf_cbc_encrypt |
|
26 |
3 |
268 |
| blf_cbc_decrypt |
|
46 |
4 |
500 |
| Source file: /home/sergeyb/sources/src/sys/crypto/criov.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cuio_copydata |
|
30 |
8 |
172 |
| cuio_copyback |
|
31 |
8 |
182 |
| cuio_getptr |
|
20 |
6 |
113 |
| cuio_apply |
|
35 |
9 |
220 |
| Source file: /home/sergeyb/sources/src/sys/crypto/sha1.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/gmac.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/des_locl.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/key_wrap.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/rijndael.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/hmac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| HMAC_MD5_Init |
|
21 |
3 |
159 |
| HMAC_MD5_Update |
|
4 |
1 |
28 |
| HMAC_MD5_Final |
|
15 |
2 |
123 |
| HMAC_SHA1_Init |
|
21 |
3 |
159 |
| HMAC_SHA1_Update |
|
4 |
1 |
28 |
| HMAC_SHA1_Final |
|
15 |
2 |
123 |
| HMAC_SHA256_Init |
|
21 |
3 |
159 |
| HMAC_SHA256_Update |
|
4 |
1 |
28 |
| HMAC_SHA256_Final |
|
15 |
2 |
123 |
| Source file: /home/sergeyb/sources/src/sys/crypto/chacha_private.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| chacha_keysetup |
|
22 |
2 |
212 |
| chacha_ivsetup |
|
7 |
3 |
86 |
| chacha_encrypt_bytes |
|
122 |
10 |
1066 |
| Source file: /home/sergeyb/sources/src/sys/crypto/rijndael.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rijndaelKeySetupEnc |
|
79 |
10 |
745 |
| rijndaelKeySetupDec |
|
36 |
3 |
527 |
| rijndaelEncrypt |
|
150 |
6 |
3242 |
| rijndaelDecrypt |
|
150 |
6 |
3246 |
| rijndael_set_key_enc_only |
|
10 |
2 |
57 |
| rijndael_set_key |
|
12 |
3 |
76 |
| rijndael_decrypt |
|
4 |
1 |
32 |
| rijndael_encrypt |
|
4 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/crypto/idgen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| idgen32_g |
|
12 |
1 |
145 |
| idgen32_permute |
|
15 |
2 |
127 |
| idgen32_rekey |
|
8 |
1 |
51 |
| idgen32_init |
|
6 |
1 |
35 |
| idgen32 |
|
12 |
4 |
68 |
| Source file: /home/sergeyb/sources/src/sys/crypto/rmd160.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/key_wrap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aes_key_wrap_set_key |
|
4 |
1 |
28 |
| aes_key_wrap_set_key_wrap_only |
|
5 |
1 |
28 |
| aes_key_wrap |
|
23 |
3 |
202 |
| aes_key_unwrap |
|
23 |
3 |
220 |
| Source file: /home/sergeyb/sources/src/sys/crypto/xform.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/blf.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/chachapoly.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/poly1305.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/idgen.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/spr.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/xform_ipcomp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| deflate_global |
|
90 |
21 |
643 |
| Source file: /home/sergeyb/sources/src/sys/crypto/castsb.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/md5.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/cryptosoft.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/rmd160.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| RMD160Init |
|
9 |
1 |
59 |
| RMD160Update |
|
22 |
5 |
147 |
| RMD160Final |
|
16 |
4 |
129 |
| RMD160Transform |
|
189 |
3 |
3669 |
| Source file: /home/sergeyb/sources/src/sys/crypto/xform.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| des3_encrypt |
|
4 |
1 |
30 |
| des3_decrypt |
|
4 |
1 |
30 |
| des3_setkey |
|
7 |
4 |
59 |
| blf_encrypt |
|
4 |
1 |
24 |
| blf_decrypt |
|
4 |
1 |
24 |
| blf_setkey |
|
5 |
1 |
31 |
| null_setkey |
|
4 |
1 |
18 |
| null_encrypt |
|
3 |
1 |
11 |
| null_decrypt |
|
3 |
1 |
11 |
| cast5_encrypt |
|
4 |
1 |
24 |
| cast5_decrypt |
|
4 |
1 |
24 |
| cast5_setkey |
|
5 |
1 |
31 |
| aes_encrypt |
|
4 |
1 |
24 |
| aes_decrypt |
|
4 |
1 |
24 |
| aes_setkey |
|
4 |
1 |
29 |
| aes_ctr_reinit |
|
7 |
1 |
51 |
| aes_gcm_reinit |
|
8 |
1 |
62 |
| aes_ctr_crypt |
|
15 |
4 |
110 |
| aes_ctr_setkey |
|
11 |
3 |
79 |
| aes_xts_reinit |
|
13 |
2 |
97 |
| aes_xts_crypt |
|
21 |
5 |
195 |
| aes_xts_encrypt |
|
4 |
1 |
25 |
| aes_xts_decrypt |
|
4 |
1 |
25 |
| aes_xts_setkey |
|
10 |
3 |
80 |
| RMD160Update_int |
|
5 |
1 |
28 |
| MD5Update_int |
|
5 |
1 |
28 |
| SHA1Update_int |
|
5 |
1 |
28 |
| SHA256Update_int |
|
5 |
1 |
28 |
| SHA384Update_int |
|
5 |
1 |
28 |
| SHA512Update_int |
|
5 |
1 |
28 |
| deflate_compress |
|
4 |
1 |
27 |
| deflate_decompress |
|
4 |
1 |
27 |
| lzs_dummy |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/crypto/set_key.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| check_parity |
|
9 |
3 |
59 |
| des_is_weak_key |
|
9 |
3 |
57 |
| des_set_key |
|
48 |
6 |
597 |
| Source file: /home/sergeyb/sources/src/sys/crypto/arc4.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/cryptodev.h |
| Source file: /home/sergeyb/sources/src/sys/crypto/chachapoly.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| chacha20_setkey |
|
11 |
2 |
88 |
| chacha20_reinit |
|
5 |
1 |
40 |
| chacha20_crypt |
|
6 |
1 |
40 |
| Chacha20_Poly1305_Init |
|
5 |
1 |
27 |
| Chacha20_Poly1305_Setkey |
|
7 |
1 |
55 |
| Chacha20_Poly1305_Reinit |
|
8 |
1 |
78 |
| Chacha20_Poly1305_Update |
|
12 |
2 |
92 |
| Chacha20_Poly1305_Final |
|
6 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/crypto/michael.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/zutil.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/deflate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| deflateInit_ |
|
9 |
1 |
46 |
| deflateInit2_ |
|
76 |
28 |
645 |
| deflateSetDictionary |
|
32 |
12 |
233 |
| deflateReset |
|
26 |
9 |
172 |
| deflateSetHeader |
|
9 |
4 |
53 |
| deflatePrime |
|
10 |
3 |
69 |
| deflateParams |
|
29 |
13 |
203 |
| deflateTune |
|
16 |
3 |
81 |
| deflateBound |
|
15 |
5 |
95 |
| putShortMSB |
|
7 |
1 |
44 |
| flush_pending |
|
16 |
4 |
113 |
| deflate |
|
251 |
95 |
1989 |
| deflateEnd |
|
23 |
11 |
138 |
| deflateCopy |
|
40 |
10 |
428 |
| read_buf |
|
20 |
6 |
140 |
| lm_init |
|
17 |
2 |
126 |
| longest_match |
|
71 |
34 |
746 |
| longest_match_fast |
|
27 |
15 |
295 |
| check_match |
|
19 |
5 |
144 |
| fill_window |
|
46 |
16 |
385 |
| deflate_stored |
|
33 |
12 |
247 |
| deflate_fast |
|
60 |
25 |
462 |
| deflate_slow |
|
73 |
29 |
580 |
| deflate_rle |
|
43 |
13 |
273 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/crc32.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/zconf.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/inffixed.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/inffast.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/compress.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| compress2 |
|
29 |
7 |
200 |
| compress |
|
8 |
1 |
42 |
| compressBound |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/inftrees.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inflate_table |
|
184 |
42 |
1436 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/zlib.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/inflate.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/zutil.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zlibVersion |
|
4 |
1 |
8 |
| zlibCompileFlags |
|
46 |
29 |
306 |
| z_error |
|
6 |
1 |
24 |
| zError |
|
5 |
1 |
15 |
| zmemcpy |
|
10 |
3 |
49 |
| zmemcmp |
|
11 |
3 |
73 |
| zmemzero |
|
9 |
3 |
40 |
| zcalloc |
|
17 |
5 |
147 |
| zcfree |
|
19 |
5 |
109 |
| zcalloc |
|
5 |
2 |
32 |
| zcfree |
|
5 |
2 |
23 |
| zcalloc |
|
11 |
4 |
70 |
| zcfree |
|
7 |
2 |
25 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/infback.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inflateBackInit_ |
|
33 |
11 |
236 |
| fixedtables |
|
31 |
8 |
237 |
| inflateBack |
|
328 |
73 |
2221 |
| inflateBackEnd |
|
10 |
4 |
60 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/zopenbsd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zcalloc |
|
6 |
1 |
31 |
| zcfree |
|
6 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/adler32.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| adler32 |
|
55 |
13 |
261 |
| adler32_combine |
|
20 |
5 |
158 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/inffast.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inflate_fast |
|
223 |
44 |
1433 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/trees.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/trees.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| send_bits |
|
18 |
3 |
138 |
| tr_static_init |
|
54 |
16 |
474 |
| gen_trees_header |
|
39 |
7 |
334 |
| _tr_init |
|
17 |
2 |
106 |
| init_block |
|
11 |
4 |
116 |
| pqdownheap |
|
18 |
5 |
141 |
| gen_bitlen |
|
56 |
14 |
496 |
| gen_codes |
|
23 |
5 |
203 |
| build_tree |
|
48 |
11 |
494 |
| scan_tree |
|
38 |
11 |
270 |
| send_tree |
|
40 |
13 |
322 |
| build_bl_tree |
|
15 |
3 |
142 |
| send_all_trees |
|
22 |
6 |
223 |
| _tr_stored_block |
|
11 |
2 |
88 |
| _tr_align |
|
15 |
4 |
98 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/deflate.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/crc32.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| make_crc_table |
|
52 |
14 |
407 |
| write_table |
|
9 |
5 |
73 |
| get_crc_table |
|
6 |
3 |
23 |
| crc32 |
|
26 |
10 |
139 |
| crc32_little |
|
29 |
7 |
193 |
| crc32_big |
|
31 |
7 |
209 |
| gf2_matrix_times |
|
14 |
3 |
53 |
| gf2_matrix_square |
|
8 |
2 |
49 |
| crc32_combine |
|
34 |
7 |
180 |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/inftrees.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libz/inflate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inflateReset |
|
23 |
3 |
156 |
| inflatePrime |
|
14 |
5 |
100 |
| inflateInit2_ |
|
39 |
13 |
268 |
| inflateInit_ |
|
7 |
1 |
33 |
| fixedtables |
|
31 |
8 |
237 |
| makefixed |
|
37 |
7 |
247 |
| updatewindow |
|
42 |
9 |
295 |
| inflate |
|
591 |
198 |
4042 |
| inflateEnd |
|
13 |
5 |
95 |
| inflateSetDictionary |
|
35 |
9 |
221 |
| inflateGetHeader |
|
12 |
4 |
77 |
| syncsearch |
|
21 |
6 |
106 |
| inflateSync |
|
34 |
8 |
262 |
| inflateSyncPoint |
|
8 |
4 |
55 |
| inflateCopy |
|
40 |
12 |
324 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/hppa/prefix.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/i386/SYS.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/i386/DEFS.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/sparc64/SYS.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/sparc64/DEFS.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/powerpc/__eabi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __eabi |
|
3 |
1 |
6 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/mips64/SYS.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/arch/mips64/DEFS.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strncmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strncmp |
|
12 |
5 |
83 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/udivdi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __udivdi3 |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/max.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| max |
|
4 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/lmin.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lmin |
|
4 |
2 |
21 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/milieu.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/ulmin.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ulmin |
|
4 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strlcat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strlcat |
|
22 |
6 |
128 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/imax.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imax |
|
4 |
2 |
21 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strncasecmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strncasecmp |
|
22 |
14 |
140 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/ashldi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __ashldi3 |
|
16 |
3 |
124 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/random.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| random |
|
13 |
2 |
73 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strcmp |
|
7 |
3 |
56 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/ulmax.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ulmax |
|
4 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/muldi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __muldi3 |
|
34 |
9 |
248 |
| __lmulq |
|
43 |
7 |
289 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/memmove.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memmove |
|
14 |
4 |
81 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/softfloat-specialize.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| float32_is_nan |
|
4 |
1 |
22 |
| float32_is_signaling_nan |
|
4 |
2 |
29 |
| float32ToCommonNaN |
|
9 |
2 |
54 |
| commonNaNToFloat32 |
|
4 |
1 |
33 |
| propagateFloat32NaN |
|
25 |
10 |
172 |
| float64ToCommonNaN |
|
9 |
2 |
49 |
| commonNaNToFloat64 |
|
7 |
1 |
36 |
| propagateFloat64NaN |
|
25 |
10 |
178 |
| floatx80_is_nan |
|
4 |
2 |
32 |
| floatx80_is_signaling_nan |
|
9 |
3 |
53 |
| floatx80ToCommonNaN |
|
9 |
2 |
53 |
| commonNaNToFloatx80 |
|
7 |
1 |
51 |
| propagateFloatx80NaN |
|
25 |
10 |
162 |
| float128_is_nan |
|
6 |
3 |
44 |
| float128_is_signaling_nan |
|
6 |
3 |
42 |
| float128ToCommonNaN |
|
8 |
2 |
59 |
| commonNaNToFloat128 |
|
7 |
1 |
59 |
| propagateFloat128NaN |
|
25 |
10 |
196 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/bcopy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcopy |
|
41 |
10 |
304 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/mcount.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _MCOUNT_DECL |
|
74 |
18 |
412 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/divdi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __divdi3 |
|
15 |
4 |
87 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/funcs.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/adddi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __adddi3 |
|
9 |
1 |
95 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strlen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strlen |
|
7 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/memcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memcmp |
|
11 |
4 |
75 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/negdi2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __negdi2 |
|
8 |
1 |
67 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/flsl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| flsl |
|
9 |
3 |
50 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/memcpy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memcpy |
|
8 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/fls.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fls |
|
9 |
3 |
50 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/umoddi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __umoddi3 |
|
6 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/memset.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memset |
|
37 |
11 |
209 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/xordi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __xordi3 |
|
9 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/qdivrem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __qdivrem |
|
121 |
22 |
1120 |
| shl |
|
8 |
2 |
97 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/iordi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __iordi3 |
|
9 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/subdi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __subdi3 |
|
9 |
1 |
95 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/lmax.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lmax |
|
4 |
2 |
21 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/moddi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __moddi3 |
|
15 |
4 |
83 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/softfloat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| roundAndPackInt32 |
|
35 |
12 |
195 |
| roundAndPackInt64 |
|
38 |
13 |
202 |
| roundAndPackInt64NoOverflow |
|
31 |
9 |
154 |
| extractFloat32Frac |
|
4 |
1 |
12 |
| extractFloat32Exp |
|
4 |
1 |
17 |
| extractFloat32Sign |
|
4 |
1 |
13 |
| normalizeFloat32Subnormal |
|
7 |
1 |
42 |
| packFloat32 |
|
4 |
1 |
40 |
| roundAndPackFloat32 |
|
49 |
17 |
290 |
| normalizeRoundAndPackFloat32 |
|
6 |
1 |
40 |
| extractFloat64Frac |
|
4 |
1 |
18 |
| extractFloat64Exp |
|
4 |
1 |
20 |
| extractFloat64Sign |
|
4 |
1 |
16 |
| normalizeFloat64Subnormal |
|
7 |
1 |
42 |
| packFloat64 |
|
5 |
1 |
43 |
| roundAndPackFloat64 |
|
51 |
17 |
299 |
| normalizeRoundAndPackFloat64 |
|
6 |
1 |
40 |
| extractFloatx80Frac |
|
4 |
1 |
12 |
| extractFloatx80Exp |
|
4 |
1 |
14 |
| extractFloatx80Sign |
|
4 |
1 |
15 |
| normalizeFloatx80Subnormal |
|
7 |
1 |
40 |
| packFloatx80 |
|
7 |
1 |
43 |
| roundAndPackFloatx80 |
|
155 |
59 |
865 |
| normalizeRoundAndPackFloatx80 |
|
16 |
2 |
82 |
| extractFloat128Frac1 |
|
4 |
1 |
12 |
| extractFloat128Frac0 |
|
4 |
1 |
17 |
| extractFloat128Exp |
|
4 |
1 |
19 |
| extractFloat128Sign |
|
4 |
1 |
15 |
| normalizeFloat128Subnormal |
|
27 |
3 |
129 |
| packFloat128 |
|
7 |
1 |
58 |
| roundAndPackFloat128 |
|
86 |
29 |
424 |
| normalizeRoundAndPackFloat128 |
|
22 |
3 |
120 |
| int32_to_float32 |
|
8 |
4 |
61 |
| int32_to_float64 |
|
13 |
3 |
73 |
| int32_to_floatx80 |
|
13 |
3 |
80 |
| int32_to_float128 |
|
13 |
3 |
84 |
| int64_to_float32 |
|
23 |
5 |
120 |
| int64_to_float64 |
|
10 |
4 |
66 |
| int64_to_floatx80 |
|
11 |
3 |
71 |
| int64_to_float128 |
|
24 |
4 |
132 |
| float32_to_int32 |
|
17 |
5 |
103 |
| float32_to_int32_round_to_zero |
|
29 |
10 |
170 |
| float32_to_int64 |
|
23 |
6 |
137 |
| float32_to_int64_round_to_zero |
|
33 |
10 |
181 |
| float32_to_float64 |
|
19 |
5 |
126 |
| float32_to_floatx80 |
|
19 |
5 |
130 |
| float32_to_float128 |
|
19 |
5 |
132 |
| float32_round_to_int |
|
49 |
18 |
272 |
| addFloat32Sigs |
|
60 |
13 |
325 |
| subFloat32Sigs |
|
64 |
14 |
340 |
| float32_add |
|
12 |
2 |
60 |
| float32_sub |
|
12 |
2 |
60 |
| float32_mul |
|
51 |
14 |
350 |
| float32_div |
|
53 |
14 |
373 |
| float32_rem |
|
91 |
25 |
604 |
| float32_sqrt |
|
45 |
11 |
295 |
| float32_eq |
|
12 |
8 |
93 |
| float32_le |
|
14 |
8 |
117 |
| float32_lt |
|
14 |
8 |
117 |
| float32_eq_signaling |
|
10 |
6 |
79 |
| float32_le_quiet |
|
16 |
10 |
131 |
| float32_lt_quiet |
|
16 |
10 |
131 |
| float64_to_int32 |
|
14 |
5 |
94 |
| float64_to_int32_round_to_zero |
|
33 |
11 |
175 |
| float64_to_int64 |
|
29 |
7 |
156 |
| float64_to_int64_no_overflow |
|
23 |
4 |
120 |
| float64_to_int64_round_to_zero |
|
39 |
12 |
205 |
| float64_to_float32 |
|
21 |
5 |
111 |
| float64_to_floatx80 |
|
20 |
5 |
128 |
| float64_to_float128 |
|
20 |
5 |
143 |
| float64_round_to_int |
|
50 |
18 |
281 |
| addFloat64Sigs |
|
60 |
13 |
337 |
| subFloat64Sigs |
|
64 |
14 |
352 |
| float64_add |
|
12 |
2 |
60 |
| float64_sub |
|
12 |
2 |
60 |
| float64_mul |
|
49 |
14 |
354 |
| float64_div |
|
61 |
15 |
432 |
| float64_rem |
|
76 |
23 |
507 |
| float64_sqrt |
|
42 |
10 |
320 |
| float64_eq |
|
13 |
8 |
99 |
| float64_le |
|
18 |
8 |
129 |
| float64_lt |
|
18 |
8 |
129 |
| float64_eq_signaling |
|
10 |
6 |
79 |
| float64_le_quiet |
|
16 |
10 |
131 |
| float64_lt_quiet |
|
16 |
10 |
131 |
| floatx80_to_int32 |
|
14 |
4 |
95 |
| floatx80_to_int32_round_to_zero |
|
32 |
11 |
176 |
| floatx80_to_int64 |
|
27 |
6 |
137 |
| floatx80_to_int64_round_to_zero |
|
31 |
11 |
180 |
| floatx80_to_float32 |
|
18 |
5 |
108 |
| floatx80_to_float64 |
|
18 |
5 |
110 |
| floatx80_to_float128 |
|
14 |
3 |
100 |
| floatx80_round_to_int |
|
63 |
20 |
376 |
| addFloatx80Sigs |
|
55 |
13 |
352 |
| subFloatx80Sigs |
|
57 |
14 |
389 |
| floatx80_add |
|
12 |
2 |
60 |
| floatx80_sub |
|
12 |
2 |
60 |
| floatx80_mul |
|
50 |
14 |
367 |
| floatx80_div |
|
71 |
16 |
545 |
| floatx80_rem |
|
88 |
22 |
638 |
| floatx80_sqrt |
|
61 |
12 |
539 |
| floatx80_eq |
|
20 |
10 |
139 |
| floatx80_le |
|
23 |
8 |
175 |
| floatx80_lt |
|
23 |
8 |
175 |
| floatx80_eq_signaling |
|
17 |
8 |
125 |
| floatx80_le_quiet |
|
26 |
10 |
189 |
| floatx80_lt_quiet |
|
26 |
10 |
189 |
| float128_to_int32 |
|
16 |
5 |
115 |
| float128_to_int32_round_to_zero |
|
35 |
11 |
192 |
| float128_to_int64 |
|
30 |
8 |
173 |
| float128_to_int64_round_to_zero |
|
48 |
17 |
286 |
| float128_to_float32 |
|
25 |
5 |
132 |
| float128_to_float64 |
|
23 |
5 |
133 |
| float128_to_floatx80 |
|
25 |
5 |
167 |
| float128_round_to_int |
|
93 |
27 |
601 |
| addFloat128Sigs |
|
67 |
13 |
420 |
| subFloat128Sigs |
|
73 |
16 |
475 |
| float128_add |
|
12 |
2 |
60 |
| float128_sub |
|
12 |
2 |
60 |
| float128_mul |
|
55 |
14 |
461 |
| float128_div |
|
75 |
16 |
672 |
| float128_rem |
|
101 |
23 |
793 |
| float128_sqrt |
|
60 |
12 |
560 |
| float128_eq |
|
20 |
10 |
137 |
| float128_le |
|
23 |
8 |
173 |
| float128_lt |
|
23 |
8 |
173 |
| float128_eq_signaling |
|
17 |
8 |
123 |
| float128_le_quiet |
|
26 |
10 |
187 |
| float128_lt_quiet |
|
26 |
10 |
187 |
| float64_to_uint32_round_to_zero |
|
31 |
7 |
144 |
| float32_to_uint32_round_to_zero |
|
29 |
6 |
143 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/libkern.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imax |
|
4 |
2 |
21 |
| imin |
|
4 |
2 |
21 |
| lmax |
|
4 |
2 |
21 |
| lmin |
|
4 |
2 |
21 |
| max |
|
4 |
2 |
21 |
| min |
|
4 |
2 |
21 |
| ulmax |
|
4 |
2 |
21 |
| ulmin |
|
4 |
2 |
21 |
| abs |
|
4 |
2 |
19 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/htons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| htons |
|
6 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/bcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcmp |
|
15 |
4 |
81 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/lshrdi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __lshrdi3 |
|
16 |
3 |
124 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/scanc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scanc |
|
7 |
3 |
63 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strchr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strchr |
|
9 |
3 |
43 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/softfloat.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| float64_is_nan |
|
4 |
1 |
15 |
| float64_is_signaling_nan |
|
4 |
2 |
25 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strlcpy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strlcpy |
|
18 |
7 |
96 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/lshldi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __lshldi3 |
|
16 |
3 |
124 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/timingsafe_bcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| timingsafe_bcmp |
|
8 |
2 |
62 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strnlen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strnlen |
|
7 |
3 |
49 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strrchr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strrchr |
|
10 |
3 |
48 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/min.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| min |
|
4 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/ashrdi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __ashrdi3 |
|
18 |
3 |
148 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/imin.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imin |
|
4 |
2 |
21 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/bzero.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bzero |
|
6 |
2 |
31 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/anddi3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __anddi3 |
|
9 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/notdi2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __one_cmpldi2 |
|
8 |
1 |
52 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/ffs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs |
|
25 |
4 |
136 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/skpc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| skpc |
|
7 |
3 |
48 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/__main.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __main |
|
3 |
1 |
6 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/cmpdi2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __cmpdi2 |
|
8 |
5 |
97 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/explicit_bzero.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __explicit_bzero_hook |
|
3 |
1 |
10 |
| explicit_bzero |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/softfloat-macros.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| shift32RightJamming |
|
14 |
3 |
81 |
| shift64RightJamming |
|
14 |
3 |
81 |
| shift64ExtraRightJamming |
|
25 |
4 |
133 |
| shift128Right |
|
20 |
4 |
122 |
| shift128RightJamming |
|
28 |
5 |
182 |
| shift128ExtraRightJamming |
|
47 |
6 |
208 |
| shortShift128Left |
|
7 |
2 |
61 |
| shortShift192Left |
|
24 |
2 |
107 |
| add128 |
|
8 |
1 |
51 |
| add192 |
|
26 |
1 |
111 |
| sub128 |
|
6 |
1 |
44 |
| sub192 |
|
26 |
1 |
111 |
| mul64To128 |
|
20 |
1 |
158 |
| mul128By64To192 |
|
17 |
1 |
92 |
| mul128To256 |
|
26 |
1 |
186 |
| estimateDiv128To64 |
|
19 |
5 |
184 |
| estimateSqrt32 |
|
26 |
4 |
253 |
| countLeadingZeros32 |
|
33 |
3 |
582 |
| countLeadingZeros64 |
|
13 |
2 |
52 |
| eq128 |
|
4 |
2 |
29 |
| le128 |
|
4 |
3 |
37 |
| lt128 |
|
4 |
3 |
37 |
| ne128 |
|
4 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/strncpy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strncpy |
|
15 |
5 |
84 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/htonl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| htonl |
|
6 |
2 |
56 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/getsn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getsn |
|
40 |
12 |
159 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/memchr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memchr |
|
11 |
4 |
72 |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/quad.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libkern/ucmpdi2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __ucmpdi2 |
|
8 |
5 |
97 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strncmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strncmp |
|
8 |
6 |
57 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/bcrypt_pbkdf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcrypt_hash |
|
31 |
5 |
290 |
| bcrypt_pbkdf |
|
54 |
11 |
459 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/bcrypt_pbkdf.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/bootp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bootp |
|
40 |
7 |
257 |
| bootpsend |
|
11 |
5 |
78 |
| bootprecv |
|
73 |
37 |
508 |
| vend_cmu |
|
11 |
5 |
68 |
| vend_rfc1048 |
|
37 |
12 |
260 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/alloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alloc |
|
43 |
16 |
335 |
| free |
|
18 |
10 |
142 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/ufs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| read_inode |
|
34 |
4 |
213 |
| block_map |
|
50 |
12 |
366 |
| buf_read_file |
|
36 |
7 |
272 |
| search_directory |
|
34 |
9 |
231 |
| ufs_open |
|
111 |
29 |
682 |
| ufs_close |
|
8 |
2 |
48 |
| ufs_close_internal |
|
13 |
4 |
96 |
| ufs_read |
|
24 |
6 |
148 |
| ufs_write |
|
4 |
1 |
25 |
| ufs_seek |
|
18 |
4 |
89 |
| ufs_stat |
|
9 |
1 |
73 |
| ufs_readdir |
|
33 |
9 |
240 |
| ffs_oldfscompat |
|
18 |
4 |
127 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/ether.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sendether |
|
17 |
5 |
135 |
| readether |
|
23 |
9 |
172 |
| ether_sprintf |
|
13 |
2 |
83 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/bootparam.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/cread.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zcalloc |
|
4 |
1 |
26 |
| zcfree |
|
4 |
1 |
19 |
| get_byte |
|
18 |
5 |
112 |
| getLong |
|
12 |
2 |
92 |
| check_header |
|
51 |
21 |
341 |
| open |
|
27 |
7 |
192 |
| close |
|
19 |
4 |
118 |
| read |
|
81 |
21 |
603 |
| lseek |
|
65 |
17 |
396 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/disklabel.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getdisklabel |
|
21 |
7 |
150 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strcmp |
|
6 |
4 |
41 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/lseek.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| olseek |
|
24 |
7 |
126 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/sha1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| SHA1Transform |
|
44 |
2 |
1367 |
| SHA1Init |
|
9 |
1 |
59 |
| SHA1Update |
|
17 |
3 |
157 |
| SHA1Final |
|
25 |
7 |
235 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/netif.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/saerrno.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/nullfs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| null_open |
|
4 |
1 |
16 |
| null_close |
|
4 |
1 |
12 |
| null_read |
|
4 |
1 |
23 |
| null_write |
|
4 |
1 |
23 |
| null_seek |
|
5 |
1 |
23 |
| null_stat |
|
4 |
1 |
17 |
| null_readdir |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/stand.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/hmac_sha1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hmac_sha1 |
|
31 |
4 |
226 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/iodesc.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strerror.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strerror |
|
35 |
14 |
115 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/loadfile_elf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ELFNAME( exec) |
|
176 |
52 |
1434 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/ufs2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| read_inode |
|
33 |
4 |
210 |
| block_map |
|
50 |
12 |
366 |
| buf_read_file |
|
36 |
7 |
272 |
| search_directory |
|
34 |
9 |
231 |
| ufs2_open |
|
111 |
29 |
681 |
| ufs2_close |
|
8 |
2 |
48 |
| ufs2_close_internal |
|
13 |
4 |
96 |
| ufs2_read |
|
24 |
6 |
148 |
| ufs2_write |
|
4 |
1 |
25 |
| ufs2_seek |
|
18 |
4 |
89 |
| ufs2_stat |
|
9 |
1 |
73 |
| ufs2_readdir |
|
33 |
9 |
240 |
| ffs_oldfscompat |
|
18 |
4 |
127 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/pkcs5_pbkdf2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pkcs5_pbkdf2 |
|
40 |
9 |
367 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/getchar.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getchar |
|
10 |
5 |
50 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/softraid.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/net.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/netif.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| netif_init |
|
12 |
5 |
73 |
| netif_match |
|
8 |
3 |
53 |
| netif_select |
|
50 |
19 |
301 |
| netif_probe |
|
7 |
3 |
49 |
| netif_attach |
|
13 |
5 |
100 |
| netif_detach |
|
10 |
5 |
63 |
| netif_get |
|
16 |
8 |
117 |
| netif_put |
|
16 |
8 |
112 |
| socktodesc |
|
9 |
2 |
35 |
| netif_open |
|
25 |
5 |
146 |
| netif_close |
|
10 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/getfile.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getfile |
|
12 |
4 |
85 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strlen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strlen |
|
7 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/getln.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getln |
|
47 |
18 |
203 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/memcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memcmp |
|
11 |
4 |
75 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/ctime.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ctime |
|
35 |
10 |
298 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/netudp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sendudp |
|
50 |
10 |
429 |
| readudp |
|
93 |
37 |
670 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/write.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| write |
|
22 |
6 |
163 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strtol.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strtol |
|
73 |
33 |
418 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/sha2.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/closeall.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| closeall |
|
7 |
3 |
41 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/cd9660.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pnmatch |
|
14 |
4 |
81 |
| dirmatch |
|
25 |
15 |
168 |
| cd9660_open |
|
127 |
28 |
819 |
| cd9660_close |
|
7 |
1 |
41 |
| cd9660_read |
|
40 |
12 |
268 |
| cd9660_write |
|
4 |
1 |
23 |
| cd9660_seek |
|
18 |
4 |
83 |
| cd9660_stat |
|
8 |
1 |
61 |
| cd9660_readdir |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/memcpy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memcpy |
|
14 |
4 |
79 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/nfs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_getrootfh |
|
47 |
7 |
282 |
| nfs_lookupfh |
|
49 |
7 |
328 |
| nfs_readlink |
|
30 |
7 |
209 |
| nfs_readdata |
|
48 |
6 |
298 |
| nfs_mount |
|
21 |
5 |
141 |
| nfs_open |
|
87 |
24 |
503 |
| nfs_close |
|
10 |
4 |
60 |
| nfs_read |
|
29 |
11 |
173 |
| nfs_write |
|
4 |
1 |
25 |
| nfs_seek |
|
19 |
4 |
97 |
| nfs_stat |
|
14 |
1 |
127 |
| nfs_readdir |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/blowfish.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Blowfish_encipher |
|
20 |
1 |
281 |
| Blowfish_decipher |
|
20 |
1 |
281 |
| Blowfish_initstate |
|
274 |
1 |
2116 |
| Blowfish_stream2word |
|
16 |
3 |
84 |
| Blowfish_expand0state |
|
29 |
5 |
212 |
| Blowfish_expandstate |
|
34 |
5 |
268 |
| blf_key |
|
5 |
1 |
30 |
| blf_enc |
|
10 |
2 |
56 |
| blf_dec |
|
10 |
2 |
56 |
| blf_ecb_encrypt |
|
19 |
2 |
206 |
| blf_ecb_decrypt |
|
19 |
2 |
206 |
| blf_cbc_encrypt |
|
22 |
3 |
239 |
| blf_cbc_decrypt |
|
38 |
4 |
447 |
| report |
|
7 |
2 |
50 |
| main |
|
24 |
2 |
177 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/arp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arpwhohas |
|
56 |
9 |
397 |
| arpsend |
|
6 |
3 |
41 |
| arprecv |
|
49 |
27 |
306 |
| arp_reply |
|
29 |
13 |
246 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/readdir.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| opendir |
|
16 |
6 |
103 |
| readdir |
|
16 |
6 |
109 |
| closedir |
|
5 |
2 |
17 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/sha2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| SHA224Init |
|
7 |
1 |
49 |
| SHA224Final |
|
9 |
3 |
77 |
| SHA256Init |
|
7 |
1 |
49 |
| SHA256Transform |
|
44 |
3 |
509 |
| SHA256Transform |
|
57 |
3 |
448 |
| SHA256Update |
|
33 |
6 |
229 |
| SHA256Pad |
|
26 |
4 |
179 |
| SHA256Final |
|
9 |
3 |
77 |
| SHA512Init |
|
7 |
1 |
56 |
| SHA512Transform |
|
44 |
3 |
509 |
| SHA512Transform |
|
57 |
3 |
448 |
| SHA512Update |
|
33 |
6 |
229 |
| SHA512Pad |
|
26 |
4 |
201 |
| SHA512Final |
|
9 |
3 |
77 |
| SHA384Init |
|
7 |
1 |
56 |
| SHA384Final |
|
9 |
3 |
77 |
| SHA512_256Init |
|
7 |
1 |
56 |
| SHA512_256Final |
|
9 |
3 |
77 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/cd9660.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/hmac_sha1.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/memset.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memset |
|
7 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/sha1.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/dev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nodev |
|
4 |
1 |
11 |
| nullsys |
|
3 |
1 |
6 |
| noioctl |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/ioctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ioctl |
|
16 |
5 |
104 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/bootp.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/net.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sendrecv |
|
37 |
11 |
233 |
| inet_addr |
|
50 |
16 |
276 |
| inet_ntoa |
|
4 |
1 |
18 |
| intoa |
|
25 |
4 |
138 |
| number |
|
6 |
2 |
51 |
| ip_convertaddr |
|
23 |
10 |
173 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/stat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| stat |
|
11 |
5 |
85 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/tftp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| recvtftp |
|
34 |
9 |
231 |
| tftp_makereq |
|
34 |
3 |
248 |
| tftp_getnextblock |
|
25 |
3 |
184 |
| tftp_terminate |
|
19 |
2 |
148 |
| tftp_open |
|
20 |
3 |
129 |
| tftp_read |
|
52 |
18 |
293 |
| tftp_close |
|
8 |
2 |
44 |
| tftp_write |
|
4 |
1 |
23 |
| tftp_stat |
|
11 |
1 |
64 |
| tftp_seek |
|
17 |
3 |
76 |
| tftp_readdir |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/aes_xts.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/dkcksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dkcksum |
|
10 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/putchar.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| putchar |
|
27 |
8 |
91 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/rijndael.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/aes_xts.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aes_xts_reinit |
|
12 |
2 |
87 |
| aes_xts_crypt |
|
21 |
5 |
195 |
| aes_xts_encrypt |
|
4 |
1 |
22 |
| aes_xts_decrypt |
|
4 |
1 |
22 |
| aes_xts_setkey |
|
8 |
3 |
67 |
| aes_xts_zerokey |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/fstat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fstat |
|
14 |
4 |
90 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/exit.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| panic |
|
15 |
2 |
68 |
| exit |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/rijndael.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rijndaelKeySetupEnc |
|
79 |
10 |
745 |
| rijndaelKeySetupDec |
|
36 |
3 |
527 |
| rijndaelEncrypt |
|
150 |
6 |
3242 |
| rijndaelDecrypt |
|
150 |
6 |
3242 |
| rijndael_set_key_enc_only |
|
10 |
2 |
57 |
| rijndael_set_key |
|
12 |
3 |
76 |
| rijndael_decrypt |
|
4 |
1 |
32 |
| rijndael_encrypt |
|
4 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/bootparam.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bp_whoami |
|
77 |
8 |
481 |
| bp_getfile |
|
56 |
8 |
372 |
| xdr_string_encode |
|
13 |
1 |
84 |
| xdr_string_decode |
|
19 |
2 |
114 |
| xdr_inaddr_encode |
|
21 |
1 |
152 |
| xdr_inaddr_decode |
|
25 |
2 |
161 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/read.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| oread |
|
22 |
6 |
167 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strchr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strchr |
|
9 |
4 |
52 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/close.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| oclose |
|
23 |
9 |
152 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/in_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_cksum |
|
29 |
8 |
185 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/softraid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| printhex |
|
13 |
4 |
109 |
| sr_clear_keys |
|
23 |
4 |
138 |
| sr_crypto_calculate_check_hmac_sha1 |
|
14 |
1 |
113 |
| sr_crypto_decrypt_keys |
|
112 |
24 |
765 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/pkcs5_pbkdf2.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/nfsv2.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/ufs2.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strtoll.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strtoll |
|
71 |
29 |
402 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/rpcv2.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/globals.c |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/rarp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rarp_getipaddress |
|
54 |
10 |
364 |
| rarpsend |
|
6 |
3 |
41 |
| rarprecv |
|
43 |
24 |
269 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/loadfile.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loadfile |
|
37 |
14 |
264 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/printf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| printf |
|
7 |
1 |
35 |
| vprintf |
|
4 |
1 |
21 |
| kdoprnt |
|
122 |
43 |
714 |
| kprintn |
|
11 |
3 |
82 |
| kprintn64 |
|
11 |
3 |
81 |
| twiddle |
|
8 |
2 |
33 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/explicit_bzero.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| explicit_bzero |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/cons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cninit |
|
13 |
6 |
84 |
| cnset |
|
18 |
6 |
102 |
| cngetc |
|
6 |
2 |
32 |
| cnputc |
|
8 |
4 |
51 |
| cnischar |
|
6 |
2 |
32 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/rpc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rpc_call |
|
76 |
13 |
537 |
| recvrpc |
|
32 |
11 |
193 |
| rpc_fromaddr |
|
15 |
1 |
74 |
| rpc_pmap_getcache |
|
10 |
5 |
75 |
| rpc_pmap_putcache |
|
14 |
3 |
76 |
| rpc_getport |
|
46 |
7 |
277 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/strncpy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strncpy |
|
7 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/rpc.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/tftp.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/snprintf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sputchar |
|
6 |
2 |
21 |
| snprintf |
|
14 |
3 |
84 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/ufs.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/blowfish.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/open.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| oopen |
|
40 |
13 |
259 |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/nfs.h |
| Source file: /home/sergeyb/sources/src/sys/lib/libsa/loadfile.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_bio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_bioread |
|
142 |
47 |
995 |
| nfs_write |
|
135 |
39 |
955 |
| nfs_getcacheblk |
|
15 |
4 |
124 |
| nfs_vinvalbuf |
|
36 |
11 |
271 |
| nfs_asyncio |
|
20 |
5 |
103 |
| nfs_doio |
|
131 |
24 |
884 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_var.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_kq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_kqpoll |
|
63 |
14 |
405 |
| filt_nfsdetach |
|
25 |
4 |
164 |
| filt_nfsread |
|
16 |
5 |
118 |
| filt_nfsvnode |
|
10 |
3 |
54 |
| nfs_kqfilter |
|
54 |
8 |
313 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_aiod.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_aiod |
|
54 |
10 |
332 |
| nfs_set_naiod |
|
40 |
10 |
230 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_boot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_boot_init |
|
4 |
1 |
19 |
| nfs_boot_getfh |
|
5 |
1 |
26 |
| nfs_boot_init |
|
68 |
12 |
527 |
| nfs_boot_getfh |
|
48 |
9 |
326 |
| bp_whoami |
|
63 |
7 |
408 |
| bp_getfile |
|
43 |
7 |
269 |
| md_mount |
|
64 |
15 |
390 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_debug.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_show_all_nfsreqs |
|
7 |
2 |
47 |
| nfs_request_print |
|
13 |
2 |
103 |
| db_show_all_nfsnodes |
|
7 |
2 |
47 |
| nfs_node_print |
|
12 |
2 |
101 |
| Source file: /home/sergeyb/sources/src/sys/nfs/krpc.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfsm_subs.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/krpc_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| krpc_get_xid |
|
10 |
2 |
41 |
| krpc_portmap |
|
40 |
5 |
240 |
| krpc_call |
|
193 |
28 |
1282 |
| xdr_string_encode |
|
24 |
4 |
147 |
| xdr_string_decode |
|
25 |
5 |
163 |
| xdr_inaddr_encode |
|
18 |
1 |
132 |
| xdr_inaddr_decode |
|
25 |
4 |
185 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfsnode.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_cache_enter |
|
13 |
3 |
89 |
| nfs_null |
|
9 |
1 |
65 |
| nfs_access |
|
89 |
28 |
576 |
| nfs_open |
|
54 |
17 |
368 |
| nfs_close |
|
22 |
5 |
143 |
| nfs_getattr |
|
25 |
4 |
185 |
| nfs_setattr |
|
65 |
29 |
461 |
| nfs_setattrrpc |
|
47 |
7 |
353 |
| nfs_lookup |
|
211 |
65 |
1374 |
| nfs_read |
|
8 |
2 |
57 |
| nfs_readlink |
|
8 |
2 |
55 |
| nfs_readlinkrpc |
|
24 |
3 |
161 |
| nfs_readrpc |
|
57 |
13 |
400 |
| nfs_writerpc |
|
99 |
20 |
666 |
| nfs_mknodrpc |
|
82 |
17 |
609 |
| nfs_mknod |
|
11 |
2 |
67 |
| nfs_create |
|
88 |
20 |
657 |
| nfs_remove |
|
35 |
12 |
268 |
| nfs_removeit |
|
7 |
2 |
48 |
| nfs_removerpc |
|
26 |
3 |
185 |
| nfs_rename |
|
47 |
18 |
318 |
| nfs_renameit |
|
6 |
1 |
51 |
| nfs_renamerpc |
|
34 |
4 |
262 |
| nfs_link |
|
44 |
5 |
327 |
| nfs_symlink |
|
53 |
7 |
408 |
| nfs_mkdir |
|
68 |
12 |
485 |
| nfs_rmdir |
|
43 |
5 |
295 |
| nfs_readdir |
|
86 |
24 |
628 |
| nfs_readdirrpc |
|
158 |
30 |
1070 |
| nfs_readdirplusrpc |
|
190 |
32 |
1318 |
| nfs_sillyrename |
|
40 |
7 |
290 |
| nfs_lookitup |
|
65 |
15 |
422 |
| nfs_commit |
|
34 |
4 |
236 |
| nfs_bmap |
|
10 |
3 |
72 |
| nfs_strategy |
|
16 |
5 |
109 |
| nfs_fsync |
|
5 |
1 |
39 |
| nfs_flush |
|
136 |
38 |
846 |
| nfs_pathconf |
|
51 |
15 |
239 |
| nfs_advlock |
|
7 |
1 |
58 |
| nfs_print |
|
12 |
3 |
74 |
| nfs_bwrite |
|
5 |
1 |
27 |
| nfs_writebp |
|
77 |
18 |
487 |
| nfsspec_access |
|
22 |
7 |
136 |
| nfs_poll |
|
5 |
1 |
32 |
| nfsspec_read |
|
8 |
1 |
49 |
| nfsspec_write |
|
8 |
1 |
49 |
| nfsspec_close |
|
20 |
6 |
145 |
| nfsfifo_read |
|
8 |
1 |
49 |
| nfsfifo_write |
|
8 |
1 |
49 |
| nfsfifo_close |
|
26 |
8 |
181 |
| nfsfifo_reclaim |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfsproto.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_srvcache.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfsrv_cleanentry |
|
8 |
3 |
57 |
| nfsrv_initcache |
|
6 |
1 |
37 |
| nfsrv_getcache |
|
83 |
13 |
535 |
| nfsrv_updatecache |
|
29 |
8 |
159 |
| nfsrv_cleancache |
|
12 |
2 |
82 |
| nfsrv_lookupcache |
|
21 |
5 |
127 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfsrvcache.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfsdiskless.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_statfs |
|
65 |
7 |
511 |
| nfs_fsinfo |
|
55 |
11 |
407 |
| nfs_mountroot |
|
56 |
12 |
464 |
| nfs_mount_diskless |
|
17 |
3 |
131 |
| nfs_decode_args |
|
117 |
51 |
894 |
| nfs_mount |
|
53 |
14 |
419 |
| mountnfs |
|
55 |
3 |
423 |
| nfs_unmount |
|
18 |
3 |
112 |
| nfs_root |
|
12 |
2 |
78 |
| nfs_sync |
|
21 |
7 |
135 |
| nfs_vget |
|
4 |
1 |
22 |
| nfs_sysctl |
|
34 |
11 |
184 |
| nfs_fhtovp |
|
4 |
1 |
24 |
| nfs_vptofh |
|
4 |
1 |
19 |
| nfs_start |
|
4 |
1 |
22 |
| nfs_quotactl |
|
4 |
1 |
28 |
| nfs_checkexp |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_serv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfsrv3_access |
|
57 |
10 |
395 |
| nfsrv_getattr |
|
40 |
3 |
259 |
| nfsrv_setattr |
|
110 |
25 |
809 |
| nfsrv_lookup |
|
66 |
7 |
504 |
| nfsrv_readlink |
|
77 |
8 |
499 |
| nfsrv_read |
|
156 |
31 |
1073 |
| nfsrv_write |
|
152 |
30 |
1012 |
| nfsrv_create |
|
247 |
52 |
1680 |
| nfsrv_mknod |
|
146 |
28 |
1099 |
| nfsrv_remove |
|
71 |
12 |
468 |
| nfsrv_rename |
|
165 |
44 |
1142 |
| nfsrv_link |
|
91 |
14 |
630 |
| nfsrv_symlink |
|
140 |
22 |
959 |
| nfsrv_mkdir |
|
108 |
17 |
748 |
| nfsrv_rmdir |
|
79 |
12 |
498 |
| nfsrv_readdir |
|
173 |
26 |
1202 |
| nfsrv_readdirplus |
|
174 |
21 |
1224 |
| nfsrv_commit |
|
48 |
3 |
367 |
| nfsrv_statfs |
|
70 |
5 |
520 |
| nfsrv_fsinfo |
|
55 |
3 |
394 |
| nfsrv_pathconf |
|
55 |
6 |
387 |
| nfsrv_null |
|
13 |
1 |
85 |
| nfsrv_noop |
|
17 |
2 |
100 |
| nfsrv_access |
|
26 |
13 |
156 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_node.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfsnode_cmp |
|
6 |
2 |
55 |
| nfs_ninit |
|
4 |
1 |
19 |
| nfs_nget |
|
58 |
8 |
395 |
| nfs_inactive |
|
29 |
9 |
199 |
| nfs_reclaim |
|
26 |
9 |
175 |
| Source file: /home/sergeyb/sources/src/sys/nfs/rpcv2.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfsmount.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_subs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfsm_reqhead |
|
9 |
2 |
45 |
| nfs_get_xid |
|
10 |
2 |
46 |
| nfsm_rpchead |
|
50 |
6 |
371 |
| nfsm_mbuftouio |
|
59 |
13 |
357 |
| nfsm_uiotombuf |
|
34 |
6 |
207 |
| nfsm_buftombuf |
|
13 |
1 |
77 |
| nfsm_strtombuf |
|
17 |
1 |
124 |
| nfsm_disct |
|
51 |
11 |
326 |
| nfs_adv |
|
17 |
3 |
93 |
| nfs_init |
|
22 |
3 |
144 |
| nfs_vfs_init |
|
8 |
1 |
47 |
| nfs_loadattrcache |
|
143 |
28 |
1052 |
| nfs_attrtimeo |
|
21 |
5 |
116 |
| nfs_getattrcache |
|
33 |
10 |
220 |
| nfs_namei |
|
83 |
17 |
517 |
| nfsm_adj |
|
40 |
12 |
244 |
| nfsm_srvwcc |
|
19 |
2 |
132 |
| nfsm_srvpostop_attr |
|
15 |
2 |
95 |
| nfsm_srvfattr |
|
36 |
3 |
372 |
| nfsrv_fhtovp |
|
42 |
14 |
307 |
| netaddr_match |
|
15 |
4 |
77 |
| nfs_clearcommit |
|
20 |
5 |
142 |
| nfs_merge_commit_ranges |
|
16 |
4 |
109 |
| nfs_in_committed_range |
|
10 |
3 |
77 |
| nfs_in_tobecommitted_range |
|
10 |
3 |
77 |
| nfs_add_committed_range |
|
17 |
4 |
110 |
| nfs_del_committed_range |
|
21 |
7 |
140 |
| nfs_add_tobecommitted_range |
|
17 |
4 |
110 |
| nfs_del_tobecommitted_range |
|
21 |
7 |
140 |
| nfsrv_errmap |
|
20 |
7 |
124 |
| nfsm_v3attrbuild |
|
65 |
12 |
470 |
| nfsm_build |
|
19 |
3 |
107 |
| nfsm_fhtom |
|
9 |
2 |
66 |
| nfsm_srvfhtom |
|
8 |
2 |
43 |
| nfsm_srvsattr |
|
60 |
9 |
399 |
| txdr_nfsv2time |
|
13 |
3 |
95 |
| Source file: /home/sergeyb/sources/src/sys/nfs/xdr_subs.h |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_syscalls.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_nfssvc |
|
57 |
14 |
347 |
| nfssvc_addsock |
|
64 |
9 |
409 |
| nfssvc_nfsd |
|
135 |
31 |
809 |
| nfsrv_zapsock |
|
25 |
4 |
131 |
| nfsrv_slpderef |
|
7 |
3 |
55 |
| nfsrv_init |
|
33 |
7 |
202 |
| nfssvc_iod |
|
70 |
15 |
427 |
| nfs_getset_niothreads |
|
23 |
9 |
149 |
| nfsrv_getslp |
|
32 |
9 |
169 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs_socket.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nfs_init_rtt |
|
8 |
3 |
56 |
| nfs_update_rtt |
|
13 |
2 |
95 |
| nfs_estimate_rto |
|
26 |
7 |
155 |
| nfs_connect |
|
119 |
26 |
860 |
| nfs_reconnect |
|
17 |
4 |
111 |
| nfs_disconnect |
|
10 |
2 |
46 |
| nfs_send |
|
38 |
13 |
221 |
| nfs_receive |
|
165 |
49 |
1010 |
| nfs_reply |
|
64 |
16 |
389 |
| nfs_request |
|
127 |
30 |
840 |
| nfs_rephead |
|
67 |
14 |
391 |
| nfs_timer |
|
79 |
25 |
529 |
| nfs_sigintr |
|
12 |
7 |
94 |
| nfs_sndlock |
|
24 |
7 |
143 |
| nfs_sndunlock |
|
10 |
3 |
51 |
| nfs_rcvlock |
|
25 |
6 |
143 |
| nfs_rcvunlock |
|
10 |
3 |
48 |
| nfs_realign_fixup |
|
18 |
5 |
144 |
| nfs_realign |
|
31 |
8 |
198 |
| nfs_getreq |
|
104 |
27 |
721 |
| nfs_msg |
|
11 |
2 |
60 |
| nfsrv_rcv |
|
77 |
21 |
430 |
| nfsrv_getstream |
|
106 |
20 |
639 |
| nfsrv_dorec |
|
36 |
6 |
223 |
| nfsrv_wakenfsd |
|
19 |
4 |
94 |
| Source file: /home/sergeyb/sources/src/sys/nfs/nfs.h |
| Source file: /home/sergeyb/sources/src/sys/netmpls/mpls_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpls_output |
|
70 |
18 |
457 |
| mpls_do_cksum |
|
12 |
2 |
75 |
| mpls_getttl |
|
33 |
10 |
181 |
| Source file: /home/sergeyb/sources/src/sys/netmpls/mpls_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpls_input |
|
168 |
44 |
994 |
| mpls_ip_adjttl |
|
25 |
6 |
167 |
| mpls_ip6_adjttl |
|
12 |
3 |
76 |
| mpls_do_error |
|
77 |
14 |
623 |
| Source file: /home/sergeyb/sources/src/sys/netmpls/mpls_shim.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpls_shim_pop |
|
8 |
3 |
61 |
| mpls_shim_swap |
|
17 |
3 |
118 |
| mpls_shim_push |
|
10 |
2 |
78 |
| Source file: /home/sergeyb/sources/src/sys/netmpls/mpls_raw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpls_sysctl |
|
13 |
3 |
80 |
| Source file: /home/sergeyb/sources/src/sys/netmpls/mpls_proto.c |
| Source file: /home/sergeyb/sources/src/sys/netmpls/mpls.h |
| Source file: /home/sergeyb/sources/src/sys/conf/swapgeneric.c |
| Source file: /home/sergeyb/sources/src/sys/conf/param.c |
| Source file: /home/sergeyb/sources/src/sys/stand/boot/vars.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Xdebug |
|
10 |
6 |
75 |
| Xdb_console |
|
24 |
8 |
128 |
| Xtimeout |
|
8 |
2 |
52 |
| Xset |
|
10 |
2 |
57 |
| Xdevice |
|
8 |
2 |
48 |
| Ximage |
|
8 |
2 |
48 |
| Xaddr |
|
8 |
2 |
49 |
| Xtty |
|
20 |
4 |
105 |
| Xhowto |
|
19 |
7 |
95 |
| bootparse |
|
34 |
8 |
141 |
| Xenv |
|
32 |
12 |
215 |
| Source file: /home/sergeyb/sources/src/sys/stand/boot/cmd.h |
| Source file: /home/sergeyb/sources/src/sys/stand/boot/cmd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getcmd |
|
7 |
2 |
40 |
| read_conf |
|
51 |
16 |
304 |
| docmd |
|
42 |
17 |
295 |
| whatcmd |
|
13 |
5 |
93 |
| readline |
|
55 |
21 |
265 |
| nextword |
|
13 |
8 |
68 |
| print_help |
|
6 |
2 |
36 |
| Xhelp |
|
7 |
2 |
24 |
| Xmachine |
|
6 |
1 |
19 |
| Xecho |
|
8 |
2 |
44 |
| Xstty |
|
25 |
5 |
160 |
| Xtime |
|
7 |
2 |
33 |
| Xls |
|
32 |
8 |
210 |
| ls |
|
9 |
4 |
115 |
| Xnop |
|
8 |
2 |
26 |
| Xboot |
|
14 |
6 |
99 |
| qualify |
|
13 |
4 |
82 |
| Xreboot |
|
6 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/stand/boot/bootarg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| addbootarg |
|
9 |
1 |
82 |
| makebootargs |
|
24 |
7 |
171 |
| makebootargs32 |
|
37 |
7 |
265 |
| Source file: /home/sergeyb/sources/src/sys/stand/boot/boot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| boot |
|
55 |
13 |
371 |
| loadrandom |
|
30 |
9 |
219 |
| Source file: /home/sergeyb/sources/src/sys/stand/boot/bootarg.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/i386/efibind.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/amd64/efibind.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/arm64/efibind.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/arm/efibind.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efifs.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efifpswa.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efi.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efierr.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efi_nii.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efiapi.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efipxebc.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efistdarg.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/eficon.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efipart.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efigop.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efidevp.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efiprot.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efiser.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efidef.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efinet.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/eficonsctl.h |
| Source file: /home/sergeyb/sources/src/sys/stand/efi/include/efidebug.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_regdomain.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bsearch |
|
18 |
4 |
137 |
| ieee80211_regdomain_compare_cn |
|
5 |
1 |
44 |
| ieee80211_regdomain_compare_rn |
|
5 |
1 |
44 |
| ieee80211_name2countrycode |
|
9 |
2 |
65 |
| ieee80211_name2regdomain |
|
12 |
2 |
79 |
| ieee80211_countrycode2name |
|
9 |
3 |
62 |
| ieee80211_regdomain2name |
|
9 |
3 |
67 |
| ieee80211_regdomain2flag |
|
17 |
7 |
108 |
| ieee80211_countrycode2regdomain |
|
8 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_radiotap.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_has_seq |
|
5 |
1 |
24 |
| ieee80211_has_addr4 |
|
5 |
1 |
24 |
| ieee80211_has_qos |
|
6 |
1 |
32 |
| ieee80211_has_htc |
|
7 |
3 |
42 |
| ieee80211_get_qos |
|
9 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_var.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_mira.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_priv.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_crypto_ccmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_ccmp_set_key |
|
10 |
2 |
68 |
| ieee80211_ccmp_delete_key |
|
8 |
2 |
58 |
| ieee80211_ccmp_phase1 |
|
65 |
8 |
555 |
| ieee80211_ccmp_encrypt |
|
112 |
19 |
873 |
| ieee80211_ccmp_decrypt |
|
132 |
23 |
958 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_node.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_inact_timeout |
|
17 |
4 |
103 |
| ieee80211_node_cache_timeout |
|
6 |
1 |
32 |
| ieee80211_node_attach |
|
38 |
6 |
262 |
| ieee80211_alloc_node_helper |
|
10 |
3 |
59 |
| ieee80211_node_lateattach |
|
12 |
2 |
76 |
| ieee80211_node_detach |
|
16 |
2 |
123 |
| ieee80211_reset_scan |
|
8 |
3 |
68 |
| ieee80211_begin_scan |
|
25 |
7 |
150 |
| ieee80211_next_scan |
|
25 |
7 |
181 |
| ieee80211_create_ibss |
|
89 |
12 |
707 |
| ieee80211_match_bss |
|
90 |
46 |
649 |
| ieee80211_end_scan |
|
109 |
42 |
746 |
| ieee80211_choose_rsnparams |
|
38 |
10 |
234 |
| ieee80211_get_rate |
|
13 |
3 |
86 |
| ieee80211_node_alloc |
|
5 |
1 |
25 |
| ieee80211_node_cleanup |
|
8 |
2 |
53 |
| ieee80211_node_free |
|
5 |
1 |
30 |
| ieee80211_node_copy |
|
9 |
2 |
59 |
| ieee80211_node_getrssi |
|
5 |
1 |
20 |
| ieee80211_setup_node |
|
16 |
1 |
124 |
| ieee80211_alloc_node |
|
9 |
2 |
50 |
| ieee80211_dup_bss |
|
11 |
2 |
75 |
| ieee80211_find_node |
|
16 |
4 |
92 |
| ieee80211_find_txnode |
|
23 |
8 |
151 |
| ieee80211_needs_rxnode |
|
51 |
17 |
270 |
| ieee80211_find_rxnode |
|
27 |
7 |
224 |
| ieee80211_find_node_for_beacon |
|
18 |
7 |
123 |
| ieee80211_ba_del |
|
22 |
8 |
164 |
| ieee80211_free_node |
|
18 |
4 |
145 |
| ieee80211_release_node |
|
12 |
3 |
70 |
| ieee80211_free_allnodes |
|
12 |
3 |
77 |
| ieee80211_clean_cached |
|
13 |
3 |
79 |
| ieee80211_clean_nodes |
|
94 |
43 |
565 |
| ieee80211_iterate_nodes |
|
10 |
1 |
57 |
| ieee80211_setup_htcaps |
|
21 |
3 |
220 |
| ieee80211_clear_htcaps |
|
12 |
1 |
73 |
| ieee80211_setup_htop |
|
12 |
2 |
109 |
| ieee80211_setup_rates |
|
22 |
3 |
167 |
| ieee80211_iserp_sta |
|
15 |
5 |
118 |
| ieee80211_needs_auth |
|
3 |
1 |
14 |
| ieee80211_node_join_ht |
|
9 |
3 |
56 |
| ieee80211_node_join_rsn |
|
26 |
3 |
183 |
| ieee80211_count_longslotsta |
|
8 |
4 |
52 |
| ieee80211_count_nonerpsta |
|
8 |
4 |
49 |
| ieee80211_count_pssta |
|
8 |
4 |
49 |
| ieee80211_count_rekeysta |
|
8 |
4 |
49 |
| ieee80211_node_join_11g |
|
28 |
7 |
169 |
| ieee80211_node_join |
|
43 |
14 |
301 |
| ieee80211_node_leave_ht |
|
18 |
4 |
120 |
| ieee80211_node_leave_rsn |
|
21 |
3 |
131 |
| ieee80211_node_leave_11g |
|
26 |
8 |
160 |
| ieee80211_node_leave |
|
31 |
15 |
230 |
| ieee80211_do_slow_print |
|
13 |
5 |
89 |
| ieee80211_ibss_merge |
|
57 |
12 |
393 |
| ieee80211_set_tim |
|
7 |
2 |
42 |
| ieee80211_notify_dtim |
|
17 |
3 |
119 |
| ieee80211_node_cmp |
|
5 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_node.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_node_incref |
|
7 |
1 |
28 |
| ieee80211_node_decref |
|
9 |
1 |
36 |
| ieee80211_ref_node |
|
5 |
1 |
17 |
| ieee80211_unref_node |
|
5 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_crypto_bip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_bip_set_key |
|
10 |
2 |
66 |
| ieee80211_bip_delete_key |
|
8 |
2 |
58 |
| ieee80211_bip_encap |
|
48 |
3 |
402 |
| ieee80211_bip_decap |
|
41 |
3 |
354 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_proto.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_proto_attach |
|
15 |
1 |
104 |
| ieee80211_proto_detach |
|
6 |
1 |
36 |
| ieee80211_print_essid |
|
21 |
8 |
148 |
| ieee80211_dump_pkt |
|
57 |
14 |
410 |
| ieee80211_fix_rate |
|
65 |
23 |
451 |
| ieee80211_reset_erp |
|
22 |
12 |
124 |
| ieee80211_set_shortslottime |
|
9 |
3 |
44 |
| ieee80211_keyrun |
|
32 |
8 |
224 |
| ieee80211_node_gtk_rekey |
|
10 |
4 |
59 |
| ieee80211_setkeys |
|
24 |
4 |
197 |
| ieee80211_setkeysdone |
|
13 |
6 |
114 |
| ieee80211_gtk_rekey_timeout |
|
9 |
1 |
44 |
| ieee80211_sa_query_timeout |
|
13 |
2 |
69 |
| ieee80211_sa_query_request |
|
12 |
2 |
73 |
| ieee80211_ht_negotiate |
|
33 |
12 |
199 |
| ieee80211_tx_ba_timeout |
|
18 |
3 |
119 |
| ieee80211_rx_ba_timeout |
|
13 |
1 |
92 |
| ieee80211_addba_request |
|
21 |
2 |
162 |
| ieee80211_delba_request |
|
28 |
6 |
218 |
| ieee80211_auth_open |
|
87 |
21 |
521 |
| ieee80211_set_beacon_miss_threshold |
|
12 |
3 |
100 |
| ieee80211_newstate |
|
232 |
62 |
1085 |
| ieee80211_set_link_state |
|
19 |
5 |
76 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_rssadapt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_rssadapt_choose |
|
44 |
13 |
299 |
| ieee80211_rssadapt_updatestats |
|
10 |
1 |
94 |
| ieee80211_rssadapt_input |
|
10 |
2 |
84 |
| ieee80211_rssadapt_lower_rate |
|
33 |
4 |
255 |
| ieee80211_rssadapt_raise_rate |
|
49 |
12 |
436 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_amrr.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_regdomain.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_mira.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mira_fixedp_split |
|
8 |
1 |
66 |
| mira_fp_sprintf |
|
11 |
3 |
71 |
| mira_print_driver_stats |
|
9 |
1 |
83 |
| ieee80211_mira_get_rateset |
|
11 |
4 |
66 |
| ieee80211_mira_probe_timeout_up |
|
9 |
1 |
47 |
| ieee80211_mira_probe_timeout_down |
|
9 |
1 |
47 |
| ieee80211_mira_get_txrate |
|
11 |
1 |
52 |
| ieee80211_mira_legacy_txtime |
|
15 |
4 |
104 |
| ieee80211_mira_ht_txtime |
|
24 |
2 |
152 |
| ieee80211_mira_best_basic_rate |
|
14 |
5 |
99 |
| ieee80211_mira_ack_rate |
|
11 |
4 |
51 |
| ieee80211_mira_toverhead |
|
41 |
8 |
270 |
| ieee80211_mira_update_stats |
|
56 |
13 |
466 |
| ieee80211_mira_reset_goodput_stats |
|
10 |
2 |
70 |
| ieee80211_mira_reset_driver_stats |
|
8 |
1 |
39 |
| ieee80211_mira_next_lower_intra_rate |
|
19 |
5 |
126 |
| ieee80211_mira_next_intra_rate |
|
19 |
5 |
124 |
| ieee80211_mira_next_rateset |
|
30 |
10 |
174 |
| ieee80211_mira_best_mcs_in_rateset |
|
17 |
4 |
112 |
| ieee80211_mira_probe_next_rateset |
|
37 |
8 |
281 |
| ieee80211_mira_next_mcs |
|
12 |
3 |
65 |
| ieee80211_mira_prev_mcs |
|
12 |
3 |
65 |
| ieee80211_mira_probe_valid |
|
7 |
2 |
44 |
| ieee80211_mira_probe_done |
|
8 |
1 |
37 |
| ieee80211_mira_intra_mode_ra_finished |
|
52 |
16 |
333 |
| ieee80211_mira_trigger_next_rateset |
|
11 |
2 |
59 |
| ieee80211_mira_inter_mode_ra_finished |
|
5 |
1 |
27 |
| ieee80211_mira_best_rate |
|
28 |
8 |
196 |
| ieee80211_mira_update_probe_interval |
|
14 |
3 |
74 |
| ieee80211_mira_schedule_probe_timers |
|
27 |
7 |
197 |
| ieee80211_mira_check_probe_timers |
|
39 |
10 |
211 |
| ieee80211_mira_probe_next_rate |
|
14 |
3 |
105 |
| ieee80211_mira_valid_tx_mcs |
|
11 |
5 |
109 |
| ieee80211_mira_valid_rates |
|
14 |
4 |
80 |
| ieee80211_mira_mcs_below |
|
14 |
3 |
92 |
| ieee80211_mira_choose |
|
74 |
13 |
517 |
| ieee80211_mira_node_init |
|
10 |
1 |
63 |
| ieee80211_mira_cancel_timeouts |
|
6 |
2 |
41 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_crypto_wep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_wep_set_key |
|
9 |
2 |
54 |
| ieee80211_wep_delete_key |
|
8 |
2 |
58 |
| ieee80211_wep_encrypt |
|
98 |
18 |
753 |
| ieee80211_wep_decrypt |
|
90 |
15 |
645 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_crypto.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_crypto_attach |
|
16 |
2 |
92 |
| ieee80211_crypto_detach |
|
13 |
2 |
101 |
| ieee80211_crypto_clear_groupkeys |
|
10 |
3 |
73 |
| ieee80211_cipher_keylen |
|
17 |
6 |
49 |
| ieee80211_set_key |
|
23 |
6 |
98 |
| ieee80211_delete_key |
|
22 |
6 |
93 |
| ieee80211_get_txkey |
|
16 |
6 |
98 |
| ieee80211_encrypt |
|
23 |
6 |
108 |
| ieee80211_decrypt |
|
61 |
17 |
366 |
| ieee80211_prf |
|
22 |
3 |
146 |
| ieee80211_kdf |
|
25 |
3 |
187 |
| ieee80211_derive_ptk |
|
18 |
6 |
219 |
| ieee80211_pmkid_sha1 |
|
12 |
1 |
89 |
| ieee80211_pmkid_sha256 |
|
12 |
1 |
89 |
| ieee80211_derive_pmkid |
|
8 |
2 |
57 |
| ieee80211_eapol_key_mic |
|
26 |
4 |
200 |
| ieee80211_eapol_key_check_mic |
|
9 |
1 |
63 |
| ieee80211_eapol_key_encrypt |
|
40 |
9 |
323 |
| ieee80211_eapol_key_decrypt |
|
31 |
6 |
207 |
| ieee80211_pmksa_add |
|
28 |
6 |
197 |
| ieee80211_pmksa_find |
|
13 |
5 |
82 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_output |
|
34 |
9 |
245 |
| ieee80211_mgmt_output |
|
53 |
16 |
366 |
| ieee80211_up_to_ac |
|
33 |
9 |
126 |
| ieee80211_classify |
|
41 |
15 |
221 |
| ieee80211_encap |
|
155 |
35 |
1045 |
| ieee80211_add_capinfo |
|
21 |
8 |
121 |
| ieee80211_add_ssid |
|
7 |
1 |
42 |
| ieee80211_add_rates |
|
9 |
1 |
56 |
| ieee80211_add_ds_params |
|
8 |
1 |
47 |
| ieee80211_add_tim |
|
19 |
8 |
171 |
| ieee80211_add_ibss_params |
|
7 |
1 |
38 |
| ieee80211_add_edca_params |
|
19 |
2 |
151 |
| ieee80211_add_erp |
|
17 |
4 |
93 |
| ieee80211_add_qos_capability |
|
7 |
1 |
34 |
| ieee80211_add_wme_info |
|
11 |
1 |
65 |
| ieee80211_add_wme_param |
|
23 |
2 |
182 |
| ieee80211_add_rsn_body |
|
87 |
19 |
521 |
| ieee80211_add_rsn |
|
10 |
1 |
59 |
| ieee80211_add_wpa |
|
12 |
1 |
78 |
| ieee80211_add_xrates |
|
10 |
1 |
64 |
| ieee80211_add_htcaps |
|
18 |
1 |
141 |
| ieee80211_add_htop |
|
11 |
1 |
96 |
| ieee80211_add_tie |
|
8 |
1 |
44 |
| ieee80211_getmgmt |
|
17 |
5 |
102 |
| ieee80211_get_probe_req |
|
26 |
6 |
217 |
| ieee80211_get_probe_resp |
|
54 |
20 |
505 |
| ieee80211_get_auth |
|
16 |
2 |
112 |
| ieee80211_get_deauth |
|
12 |
2 |
76 |
| ieee80211_get_assoc_req |
|
59 |
22 |
468 |
| ieee80211_get_assoc_resp |
|
41 |
12 |
329 |
| ieee80211_get_disassoc |
|
12 |
2 |
76 |
| ieee80211_get_addba_req |
|
19 |
2 |
153 |
| ieee80211_get_addba_resp |
|
28 |
4 |
190 |
| ieee80211_get_delba |
|
20 |
3 |
137 |
| ieee80211_get_sa_query |
|
15 |
2 |
104 |
| ieee80211_get_action |
|
31 |
8 |
154 |
| ieee80211_send_mgmt |
|
76 |
25 |
459 |
| ieee80211_get_rts |
|
18 |
2 |
134 |
| ieee80211_get_cts_to_self |
|
16 |
2 |
117 |
| ieee80211_beacon_alloc |
|
72 |
23 |
650 |
| ieee80211_pwrsave |
|
26 |
8 |
185 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_pae_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_eapol_key_input |
|
80 |
28 |
538 |
| ieee80211_recv_4way_msg1 |
|
65 |
18 |
449 |
| ieee80211_recv_4way_msg2 |
|
38 |
10 |
280 |
| ieee80211_must_update_group_key |
|
6 |
3 |
45 |
| ieee80211_recv_4way_msg3 |
|
232 |
67 |
1550 |
| ieee80211_recv_4way_msg4 |
|
48 |
11 |
324 |
| ieee80211_recv_4way_msg2or4 |
|
37 |
10 |
214 |
| ieee80211_recv_rsn_group_msg1 |
|
130 |
31 |
887 |
| ieee80211_recv_wpa_group_msg1 |
|
73 |
16 |
500 |
| ieee80211_recv_group_msg2 |
|
38 |
9 |
229 |
| ieee80211_recv_eapol_key_req |
|
38 |
12 |
228 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_crypto_tkip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_tkip_set_key |
|
17 |
3 |
115 |
| ieee80211_tkip_delete_key |
|
8 |
2 |
58 |
| ieee80211_tkip_mic |
|
49 |
8 |
343 |
| ieee80211_tkip_encrypt |
|
107 |
17 |
878 |
| ieee80211_tkip_decrypt |
|
127 |
21 |
937 |
| ieee80211_tkip_deauth |
|
11 |
4 |
64 |
| ieee80211_michael_mic_failure_timeout |
|
5 |
1 |
21 |
| ieee80211_michael_mic_failure |
|
42 |
6 |
242 |
| Phase1 |
|
17 |
2 |
240 |
| Phase2 |
|
27 |
4 |
356 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_pae_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_send_eapol_key |
|
49 |
11 |
367 |
| ieee80211_eapol_timeout |
|
24 |
5 |
120 |
| ieee80211_add_gtk_kde |
|
16 |
2 |
117 |
| ieee80211_add_pmkid_kde |
|
9 |
1 |
58 |
| ieee80211_add_igtk_kde |
|
12 |
1 |
98 |
| ieee80211_get_eapol_key |
|
18 |
5 |
112 |
| ieee80211_send_4way_msg1 |
|
37 |
7 |
291 |
| ieee80211_send_4way_msg2 |
|
35 |
5 |
275 |
| ieee80211_send_4way_msg3 |
|
56 |
10 |
451 |
| ieee80211_send_4way_msg4 |
|
27 |
4 |
204 |
| ieee80211_send_group_msg1 |
|
61 |
13 |
457 |
| ieee80211_send_group_msg2 |
|
25 |
4 |
202 |
| ieee80211_send_eapol_key_req |
|
22 |
4 |
177 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_amrr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| is_min_rate |
|
6 |
2 |
35 |
| is_max_rate |
|
6 |
2 |
41 |
| increase_rate |
|
7 |
2 |
28 |
| decrease_rate |
|
7 |
2 |
28 |
| ieee80211_amrr_node_init |
|
8 |
1 |
45 |
| ieee80211_amrr_choose |
|
44 |
13 |
271 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_get_hdrlen |
|
12 |
4 |
69 |
| ieee80211_input |
|
281 |
88 |
1652 |
| ieee80211_defrag |
|
53 |
14 |
387 |
| ieee80211_defrag_timeout |
|
8 |
1 |
40 |
| ieee80211_input_ba |
|
61 |
10 |
456 |
| ieee80211_input_ba_seq |
|
25 |
4 |
206 |
| ieee80211_input_ba_flush |
|
13 |
2 |
135 |
| ieee80211_input_ba_gap_timeout |
|
20 |
4 |
154 |
| ieee80211_ba_move_window |
|
21 |
4 |
178 |
| ieee80211_deliver_data |
|
53 |
20 |
338 |
| ieee80211_decap |
|
58 |
14 |
427 |
| ieee80211_amsdu_decap |
|
63 |
14 |
405 |
| ieee80211_parse_edca_params_body |
|
22 |
5 |
172 |
| ieee80211_parse_edca_params |
|
8 |
2 |
45 |
| ieee80211_parse_wmm_params |
|
8 |
2 |
45 |
| ieee80211_parse_rsn_cipher |
|
33 |
14 |
129 |
| ieee80211_parse_rsn_akm |
|
23 |
9 |
99 |
| ieee80211_parse_rsn_body |
|
74 |
21 |
434 |
| ieee80211_parse_rsn |
|
9 |
2 |
57 |
| ieee80211_parse_wpa |
|
9 |
2 |
59 |
| ieee80211_save_ie |
|
14 |
6 |
106 |
| ieee80211_recv_probe_resp |
|
270 |
94 |
1792 |
| ieee80211_recv_probe_req |
|
79 |
23 |
515 |
| ieee80211_recv_auth |
|
30 |
4 |
232 |
| ieee80211_recv_assoc_req |
|
255 |
69 |
1531 |
| ieee80211_recv_assoc_resp |
|
127 |
42 |
812 |
| ieee80211_recv_deauth |
|
34 |
6 |
175 |
| ieee80211_recv_disassoc |
|
34 |
6 |
175 |
| ieee80211_recv_addba_req |
|
81 |
20 |
613 |
| ieee80211_addba_req_accept |
|
12 |
2 |
88 |
| ieee80211_addba_req_refuse |
|
11 |
1 |
80 |
| ieee80211_recv_addba_resp |
|
44 |
7 |
318 |
| ieee80211_recv_delba |
|
49 |
9 |
346 |
| ieee80211_recv_sa_query_req |
|
21 |
4 |
140 |
| ieee80211_recv_sa_query_resp |
|
23 |
4 |
148 |
| ieee80211_recv_action |
|
40 |
9 |
202 |
| ieee80211_recv_mgmt |
|
44 |
12 |
231 |
| ieee80211_recv_pspoll |
|
41 |
9 |
279 |
| ieee80211_recv_bar |
|
38 |
6 |
263 |
| ieee80211_bar_tid |
|
22 |
8 |
154 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_proto.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_channel_init |
|
34 |
9 |
237 |
| ieee80211_ifattach |
|
25 |
3 |
168 |
| ieee80211_ifdetach |
|
10 |
1 |
57 |
| ieee80211_mhz2ieee |
|
21 |
8 |
129 |
| ieee80211_chan2ieee |
|
16 |
5 |
104 |
| ieee80211_ieee2mhz |
|
21 |
8 |
125 |
| ieee80211_media_init |
|
108 |
34 |
816 |
| ieee80211_findrate |
|
9 |
3 |
63 |
| ieee80211_media_change |
|
127 |
46 |
693 |
| ieee80211_media_status |
|
53 |
15 |
257 |
| ieee80211_watchdog |
|
8 |
4 |
57 |
| ieee80211_setbasicrates |
|
27 |
5 |
181 |
| ieee80211_min_basic_rate |
|
18 |
7 |
127 |
| ieee80211_max_basic_rate |
|
14 |
5 |
103 |
| ieee80211_setmode |
|
59 |
18 |
404 |
| ieee80211_next_mode |
|
23 |
7 |
136 |
| ieee80211_chan2mode |
|
14 |
6 |
70 |
| ieee80211_mcs2media |
|
18 |
8 |
72 |
| ieee80211_media2mcs |
|
13 |
6 |
65 |
| ieee80211_rate2media |
|
56 |
8 |
332 |
| ieee80211_media2rate |
|
31 |
3 |
174 |
| ieee80211_rate2plcp |
|
27 |
17 |
146 |
| ieee80211_plcp2rate |
|
26 |
17 |
142 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_ioctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_node2req |
|
63 |
13 |
532 |
| ieee80211_req2node |
|
21 |
1 |
176 |
| ieee80211_disable_wep |
|
12 |
3 |
81 |
| ieee80211_disable_rsn |
|
9 |
1 |
57 |
| ieee80211_ioctl_setnwkeys |
|
43 |
15 |
324 |
| ieee80211_ioctl_getnwkeys |
|
16 |
4 |
84 |
| ieee80211_ioctl_setwpaparms |
|
62 |
22 |
379 |
| ieee80211_ioctl_getwpaparms |
|
37 |
15 |
243 |
| ieee80211_ioctl |
|
399 |
119 |
2377 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_rssadapt.h |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_crypto.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ieee80211_is_8021x_akm |
|
5 |
2 |
17 |
| ieee80211_is_sha256_akm |
|
5 |
2 |
17 |
| Source file: /home/sergeyb/sources/src/sys/net80211/ieee80211_ioctl.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/iscsi.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/cd.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsiconf.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _lto2b |
|
5 |
1 |
34 |
| _lto3b |
|
6 |
1 |
48 |
| _lto4b |
|
7 |
1 |
62 |
| _lto8b |
|
11 |
1 |
118 |
| _2btol |
|
6 |
1 |
33 |
| _3btol |
|
6 |
1 |
43 |
| _4btol |
|
7 |
1 |
53 |
| _5btol |
|
10 |
1 |
78 |
| _8btol |
|
13 |
1 |
133 |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_disk.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/ses.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_changer.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_scanner.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/ch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| chmatch |
|
9 |
1 |
60 |
| chattach |
|
12 |
1 |
84 |
| chopen |
|
49 |
11 |
392 |
| chclose |
|
6 |
1 |
46 |
| chioctl |
|
51 |
13 |
341 |
| ch_move |
|
32 |
8 |
280 |
| ch_exchange |
|
41 |
12 |
373 |
| ch_position |
|
27 |
5 |
194 |
| copy_voltag |
|
13 |
4 |
82 |
| copy_element_status |
|
9 |
3 |
63 |
| ch_usergetelemstatus |
|
57 |
9 |
428 |
| ch_getelemstatus |
|
25 |
3 |
164 |
| ch_get_params |
|
50 |
10 |
446 |
| ch_get_quirks |
|
13 |
2 |
87 |
| ch_interpret_sense |
|
26 |
7 |
166 |
| Source file: /home/sergeyb/sources/src/sys/scsi/st.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| stmatch |
|
9 |
1 |
60 |
| stattach |
|
20 |
1 |
162 |
| stactivate |
|
12 |
2 |
59 |
| stdetach |
|
12 |
3 |
100 |
| st_identify_drive |
|
15 |
2 |
96 |
| st_loadquirks |
|
19 |
3 |
113 |
| stopen |
|
48 |
11 |
291 |
| stclose |
|
38 |
9 |
226 |
| st_mount_tape |
|
56 |
14 |
385 |
| st_unmount |
|
19 |
4 |
126 |
| st_decide_mode |
|
74 |
28 |
389 |
| ststrategy |
|
48 |
10 |
285 |
| ststart |
|
98 |
19 |
610 |
| st_buf_done |
|
44 |
12 |
204 |
| stminphys |
|
9 |
2 |
60 |
| stread |
|
4 |
1 |
31 |
| stwrite |
|
4 |
1 |
31 |
| stioctl |
|
166 |
45 |
935 |
| st_read |
|
27 |
5 |
180 |
| st_read_block_limits |
|
36 |
6 |
244 |
| st_mode_sense |
|
39 |
8 |
261 |
| st_mode_select |
|
81 |
14 |
647 |
| st_erase |
|
22 |
3 |
129 |
| st_space |
|
109 |
31 |
585 |
| st_write_filemarks |
|
42 |
8 |
240 |
| st_check_eod |
|
19 |
6 |
112 |
| st_load |
|
31 |
6 |
195 |
| st_rewind |
|
25 |
5 |
161 |
| st_interpret_sense |
|
127 |
44 |
794 |
| st_touch_tape |
|
34 |
9 |
193 |
| Source file: /home/sergeyb/sources/src/sys/scsi/sd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdmatch |
|
9 |
1 |
60 |
| sdattach |
|
67 |
17 |
512 |
| sdactivate |
|
32 |
9 |
169 |
| sddetach |
|
9 |
1 |
62 |
| sdopen |
|
117 |
30 |
685 |
| sdclose |
|
49 |
12 |
312 |
| sdstrategy |
|
40 |
7 |
232 |
| sd_cmd_rw6 |
|
8 |
2 |
67 |
| sd_cmd_rw10 |
|
8 |
2 |
70 |
| sd_cmd_rw12 |
|
8 |
2 |
70 |
| sd_cmd_rw16 |
|
8 |
2 |
70 |
| sdstart |
|
57 |
16 |
429 |
| sd_buf_done |
|
50 |
13 |
257 |
| sdminphys |
|
21 |
5 |
126 |
| sdread |
|
4 |
1 |
31 |
| sdwrite |
|
4 |
1 |
31 |
| sdioctl |
|
119 |
37 |
732 |
| sd_ioctl_inquiry |
|
24 |
3 |
220 |
| sd_ioctl_cache |
|
67 |
19 |
435 |
| sdgetdisklabel |
|
44 |
5 |
361 |
| sd_interpret_sense |
|
36 |
11 |
228 |
| sdsize |
|
36 |
10 |
234 |
| sddump |
|
63 |
14 |
380 |
| viscpy |
|
12 |
5 |
63 |
| sd_read_cap_10 |
|
36 |
6 |
258 |
| sd_read_cap_16 |
|
45 |
8 |
321 |
| sd_size |
|
16 |
6 |
109 |
| sd_thin_pages |
|
52 |
14 |
323 |
| sd_vpd_block_limits |
|
25 |
6 |
168 |
| sd_vpd_thin |
|
27 |
8 |
172 |
| sd_thin_params |
|
14 |
4 |
80 |
| sd_get_parms |
|
123 |
51 |
901 |
| sd_flush |
|
29 |
5 |
173 |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_tape.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_debug.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/mpath_rdac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rdac_match |
|
16 |
5 |
135 |
| rdac_attach |
|
21 |
4 |
167 |
| rdac_detach |
|
6 |
1 |
44 |
| rdac_activate |
|
14 |
4 |
83 |
| rdac_mpath_start |
|
5 |
1 |
30 |
| rdac_mpath_checksense |
|
13 |
6 |
88 |
| rdac_mpath_status |
|
5 |
1 |
26 |
| rdac_status |
|
9 |
1 |
59 |
| rdac_status_done |
|
15 |
5 |
101 |
| rdac_groupid |
|
19 |
3 |
128 |
| rdac_extdevid |
|
29 |
5 |
247 |
| Source file: /home/sergeyb/sources/src/sys/scsi/mpath_hds.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hds_match |
|
18 |
6 |
156 |
| hds_attach |
|
24 |
5 |
198 |
| hds_detach |
|
6 |
1 |
44 |
| hds_activate |
|
12 |
3 |
63 |
| hds_mpath_start |
|
5 |
1 |
30 |
| hds_mpath_checksense |
|
4 |
1 |
14 |
| hds_mpath_status |
|
8 |
2 |
45 |
| hds_status |
|
9 |
1 |
59 |
| hds_status_done |
|
15 |
5 |
106 |
| hds_inquiry |
|
27 |
6 |
165 |
| hds_info |
|
32 |
8 |
222 |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_base.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scsi_init |
|
12 |
3 |
71 |
| scsi_req_probe |
|
13 |
2 |
86 |
| scsi_req_detach |
|
14 |
2 |
95 |
| scsi_plug_probe |
|
8 |
1 |
54 |
| scsi_plug_detach |
|
9 |
1 |
63 |
| scsi_pending_start |
|
10 |
2 |
52 |
| scsi_pending_finish |
|
12 |
2 |
61 |
| scsi_iopool_init |
|
10 |
1 |
79 |
| scsi_iopool_get |
|
8 |
1 |
37 |
| scsi_iopool_put |
|
6 |
1 |
32 |
| scsi_iopool_destroy |
|
19 |
5 |
138 |
| scsi_default_get |
|
4 |
1 |
13 |
| scsi_default_put |
|
5 |
3 |
23 |
| scsi_ioh_set |
|
8 |
1 |
55 |
| scsi_ioh_add |
|
20 |
4 |
100 |
| scsi_ioh_del |
|
19 |
4 |
95 |
| scsi_ioh_deq |
|
12 |
2 |
73 |
| scsi_ioh_pending |
|
8 |
1 |
44 |
| scsi_iopool_run |
|
20 |
6 |
115 |
| scsi_move |
|
7 |
2 |
48 |
| scsi_move_done |
|
9 |
1 |
52 |
| scsi_io_get |
|
15 |
3 |
91 |
| scsi_io_get_done |
|
4 |
1 |
19 |
| scsi_io_put |
|
5 |
1 |
25 |
| scsi_xsh_set |
|
7 |
1 |
53 |
| scsi_xsh_add |
|
16 |
3 |
108 |
| scsi_xsh_del |
|
25 |
6 |
160 |
| scsi_xsh_runqueue |
|
23 |
6 |
173 |
| scsi_xsh_ioh |
|
12 |
2 |
64 |
| scsi_xs_get |
|
31 |
8 |
209 |
| scsi_xs_get_done |
|
4 |
1 |
19 |
| scsi_link_shutdown |
|
38 |
12 |
293 |
| scsi_link_open |
|
11 |
2 |
60 |
| scsi_link_close |
|
9 |
3 |
64 |
| scsi_xs_io |
|
18 |
3 |
113 |
| scsi_xs_put |
|
8 |
1 |
48 |
| scsi_test_unit_ready |
|
17 |
2 |
104 |
| scsi_init_inquiry |
|
14 |
1 |
93 |
| scsi_inquire |
|
18 |
2 |
148 |
| scsi_inquire_vpd |
|
17 |
3 |
109 |
| scsi_prevent |
|
20 |
3 |
123 |
| scsi_start |
|
18 |
3 |
118 |
| scsi_mode_sense |
|
27 |
3 |
180 |
| scsi_mode_sense_big |
|
27 |
3 |
183 |
| scsi_mode_sense_page |
|
9 |
2 |
69 |
| scsi_mode_sense_big_page |
|
9 |
2 |
75 |
| scsi_do_mode_sense |
|
71 |
23 |
520 |
| scsi_mode_select |
|
25 |
2 |
166 |
| scsi_mode_select_big |
|
26 |
2 |
175 |
| scsi_report_luns |
|
24 |
2 |
162 |
| scsi_xs_exec |
|
15 |
5 |
104 |
| scsi_done |
|
11 |
5 |
75 |
| scsi_xs_sync |
|
22 |
7 |
141 |
| scsi_xs_sync_done |
|
11 |
3 |
64 |
| scsi_xs_error |
|
39 |
13 |
183 |
| scsi_delay |
|
18 |
6 |
98 |
| scsi_sense_print_debug |
|
17 |
6 |
129 |
| scsi_interpret_sense |
|
127 |
59 |
539 |
| sc_print_addr |
|
9 |
2 |
58 |
| asc2ascii |
|
4 |
1 |
30 |
| asc2ascii |
|
31 |
8 |
159 |
| scsi_print_sense |
|
55 |
16 |
352 |
| scsi_decode_sense |
|
51 |
15 |
264 |
| scsi_xs_show |
|
26 |
4 |
187 |
| scsi_show_mem |
|
11 |
3 |
65 |
| scsi_cmd_rw_decode |
|
36 |
10 |
216 |
| Source file: /home/sergeyb/sources/src/sys/scsi/sdvar.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/safte.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| safte_match |
|
47 |
14 |
351 |
| safte_attach |
|
46 |
10 |
301 |
| safte_detach |
|
21 |
6 |
157 |
| safte_read_config |
|
117 |
16 |
924 |
| safte_read_encstat |
|
125 |
28 |
715 |
| safte_ioctl |
|
14 |
2 |
70 |
| safte_bio_blink |
|
52 |
10 |
336 |
| safte_temp2uK |
|
11 |
2 |
56 |
| Source file: /home/sergeyb/sources/src/sys/scsi/mpath.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpath_match |
|
4 |
1 |
22 |
| mpath_attach |
|
17 |
1 |
134 |
| mpath_xs_stuffup |
|
5 |
1 |
20 |
| mpath_probe |
|
9 |
3 |
65 |
| mpath_next_path |
|
15 |
5 |
96 |
| mpath_cmd |
|
45 |
7 |
314 |
| mpath_start |
|
34 |
7 |
232 |
| mpath_done |
|
42 |
8 |
259 |
| mpath_failover |
|
6 |
2 |
32 |
| mpath_failover_start |
|
8 |
1 |
48 |
| mpath_failover_check |
|
11 |
2 |
63 |
| mpath_path_status |
|
19 |
4 |
141 |
| mpath_minphys |
|
16 |
3 |
115 |
| mpath_path_probe |
|
12 |
5 |
67 |
| mpath_path_attach |
|
76 |
21 |
540 |
| mpath_path_detach |
|
29 |
8 |
197 |
| mpath_bootdv |
|
23 |
5 |
136 |
| Source file: /home/sergeyb/sources/src/sys/scsi/ses.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ses_match |
|
14 |
6 |
101 |
| ses_attach |
|
57 |
14 |
409 |
| ses_detach |
|
29 |
8 |
229 |
| ses_read_config |
|
84 |
16 |
573 |
| ses_read_status |
|
26 |
4 |
166 |
| ses_make_sensors |
|
78 |
17 |
530 |
| ses_refresh_sensors |
|
51 |
13 |
262 |
| ses_ioctl |
|
14 |
2 |
70 |
| ses_write_config |
|
25 |
4 |
160 |
| ses_bio_blink |
|
43 |
7 |
281 |
| ses_psu2sensor |
|
4 |
2 |
31 |
| ses_cool2sensor |
|
45 |
19 |
182 |
| ses_temp2sensor |
|
7 |
1 |
54 |
| ses_dump_enc_desc |
|
16 |
2 |
155 |
| ses_dump_enc_string |
|
8 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/scsi/mpath_sym.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sym_match |
|
22 |
8 |
208 |
| sym_attach |
|
26 |
5 |
221 |
| sym_detach |
|
4 |
1 |
17 |
| sym_activate |
|
12 |
3 |
63 |
| sym_mpath_start |
|
5 |
1 |
30 |
| sym_mpath_checksense |
|
4 |
1 |
14 |
| sym_mpath_status |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/scsi/mpathvar.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsiconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scsiprint |
|
6 |
2 |
29 |
| scsibusmatch |
|
4 |
1 |
22 |
| scsibusattach |
|
30 |
9 |
239 |
| scsibusactivate |
|
5 |
1 |
38 |
| scsi_activate |
|
10 |
5 |
77 |
| scsi_activate_bus |
|
10 |
3 |
62 |
| scsi_activate_target |
|
10 |
3 |
69 |
| scsi_activate_lun |
|
20 |
3 |
105 |
| scsibusdetach |
|
11 |
3 |
71 |
| scsibussubmatch |
|
11 |
5 |
115 |
| scsibus_bioctl |
|
15 |
3 |
103 |
| scsi_probe_bus |
|
8 |
2 |
48 |
| scsi_probe_target |
|
44 |
12 |
320 |
| scsi_probe |
|
10 |
5 |
76 |
| scsi_probe_lun |
|
9 |
6 |
69 |
| scsi_detach_bus |
|
11 |
4 |
77 |
| scsi_detach |
|
10 |
5 |
85 |
| scsi_detach_target |
|
16 |
8 |
120 |
| scsi_detach_lun |
|
30 |
13 |
238 |
| scsi_get_link |
|
8 |
3 |
55 |
| scsi_add_link |
|
4 |
1 |
26 |
| scsi_remove_link |
|
4 |
1 |
28 |
| scsi_strvis |
|
42 |
23 |
301 |
| scsibus_printlink |
|
119 |
38 |
602 |
| scsibusprint |
|
8 |
2 |
45 |
| scsi_probedev |
|
146 |
45 |
1084 |
| scsi_inqmatch |
|
39 |
10 |
267 |
| scsi_devid |
|
36 |
11 |
217 |
| scsi_devid_pg83 |
|
80 |
20 |
432 |
| scsi_devid_pg80 |
|
41 |
4 |
333 |
| scsi_devid_wwn |
|
9 |
3 |
68 |
| scsi_minphys |
|
4 |
1 |
19 |
| devid_alloc |
|
13 |
2 |
92 |
| devid_copy |
|
5 |
1 |
19 |
| devid_free |
|
5 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/scsi/uk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ukmatch |
|
4 |
1 |
22 |
| ukattach |
|
11 |
1 |
79 |
| ukdetach |
|
12 |
5 |
100 |
| ukopen |
|
21 |
3 |
134 |
| ukclose |
|
11 |
2 |
78 |
| ukioctl |
|
11 |
2 |
78 |
| Source file: /home/sergeyb/sources/src/sys/scsi/safte.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/cd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cdmatch |
|
8 |
1 |
57 |
| cdattach |
|
23 |
4 |
202 |
| cdactivate |
|
18 |
4 |
91 |
| cddetach |
|
9 |
1 |
62 |
| cdopen |
|
78 |
17 |
481 |
| cdclose |
|
29 |
5 |
200 |
| cdstrategy |
|
35 |
6 |
210 |
| cdstart |
|
62 |
13 |
451 |
| cd_buf_done |
|
47 |
12 |
241 |
| cdminphys |
|
15 |
4 |
99 |
| cdread |
|
4 |
1 |
31 |
| cdwrite |
|
4 |
1 |
31 |
| cdioctl |
|
328 |
100 |
2134 |
| cdgetdisklabel |
|
43 |
6 |
337 |
| cd_setchan |
|
27 |
6 |
229 |
| cd_getvol |
|
21 |
5 |
194 |
| cd_setvol |
|
43 |
9 |
417 |
| cd_load_unload |
|
18 |
2 |
112 |
| cd_set_pa_immed |
|
30 |
8 |
218 |
| cd_play |
|
18 |
2 |
118 |
| cd_play_tracks |
|
42 |
9 |
309 |
| cd_play_msf |
|
23 |
2 |
148 |
| cd_pause |
|
17 |
2 |
103 |
| cd_reset |
|
12 |
2 |
62 |
| cd_read_subchannel |
|
25 |
3 |
168 |
| cd_read_toc |
|
26 |
3 |
164 |
| cd_load_toc |
|
13 |
3 |
128 |
| cd_get_parms |
|
14 |
5 |
122 |
| cdsize |
|
4 |
1 |
11 |
| cddump |
|
4 |
1 |
19 |
| dvd_auth |
|
150 |
21 |
1104 |
| dvd_read_physical |
|
49 |
5 |
418 |
| dvd_read_copyright |
|
33 |
4 |
214 |
| dvd_read_disckey |
|
31 |
4 |
227 |
| dvd_read_bca |
|
34 |
6 |
238 |
| dvd_read_manufact |
|
35 |
6 |
249 |
| dvd_read_struct |
|
17 |
6 |
94 |
| cd_interpret_sense |
|
25 |
7 |
159 |
| cd_size |
|
78 |
16 |
555 |
| cd_eject |
|
20 |
5 |
142 |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_message.h |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_ioctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scsi_ioc_cmd |
|
81 |
22 |
507 |
| scsi_ioc_ata_cmd |
|
78 |
19 |
467 |
| scsi_do_ioctl |
|
54 |
17 |
341 |
| Source file: /home/sergeyb/sources/src/sys/scsi/mpath_emc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| emc_match |
|
16 |
5 |
135 |
| emc_attach |
|
19 |
3 |
162 |
| emc_detach |
|
6 |
1 |
44 |
| emc_activate |
|
12 |
3 |
63 |
| emc_mpath_start |
|
5 |
1 |
30 |
| emc_mpath_checksense |
|
10 |
4 |
60 |
| emc_mpath_status |
|
5 |
1 |
26 |
| emc_status |
|
9 |
1 |
59 |
| emc_status_done |
|
13 |
3 |
80 |
| emc_sp_info |
|
13 |
2 |
91 |
| Source file: /home/sergeyb/sources/src/sys/scsi/scsi_all.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_user.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_deallocate |
|
8 |
3 |
51 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_fault.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvmfault_anonflush |
|
18 |
6 |
101 |
| uvmfault_init |
|
16 |
3 |
97 |
| uvmfault_amapcopy |
|
17 |
5 |
96 |
| uvmfault_anonget |
|
86 |
15 |
488 |
| uvmfault_update_stats |
|
17 |
5 |
105 |
| uvm_fault |
|
408 |
100 |
2638 |
| uvm_fault_wire |
|
15 |
4 |
84 |
| uvm_fault_unwire |
|
6 |
1 |
32 |
| uvm_fault_unwire_locked |
|
29 |
9 |
205 |
| uvmfault_unlockmaps |
|
12 |
3 |
50 |
| uvmfault_unlockall |
|
5 |
1 |
31 |
| uvmfault_lookup |
|
31 |
8 |
201 |
| uvmfault_relock |
|
14 |
3 |
68 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_io.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_io |
|
53 |
13 |
328 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_pmemrange.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_pdaemon.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_wait |
|
15 |
4 |
92 |
| uvmpd_tune |
|
12 |
4 |
122 |
| uvm_pageout |
|
72 |
16 |
432 |
| uvm_aiodone_daemon |
|
30 |
6 |
194 |
| uvmpd_scan_inactive |
|
213 |
47 |
1119 |
| uvmpd_scan |
|
68 |
23 |
445 |
| uvmpd_drop |
|
20 |
8 |
118 |
| uvmpd_hibernate |
|
8 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_extern.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_device.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_addr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_addr_entrybyspace |
|
14 |
4 |
83 |
| uvm_addr_align_forward |
|
11 |
4 |
95 |
| uvm_addr_align_backward |
|
11 |
4 |
95 |
| uvm_addr_fitspace |
|
30 |
8 |
167 |
| uvm_addr_init |
|
14 |
1 |
117 |
| uvm_addr_destroy |
|
5 |
2 |
25 |
| uvm_addr_align |
|
7 |
2 |
41 |
| uvm_addr_align_back |
|
7 |
2 |
41 |
| uvm_addr_linsearch |
|
50 |
22 |
360 |
| uvm_addr_invoke |
|
29 |
7 |
191 |
| uvm_addr_print |
|
14 |
3 |
104 |
| uaddr_destroy |
|
4 |
1 |
17 |
| uaddr_lin_create |
|
9 |
1 |
47 |
| uaddr_lin_select |
|
13 |
3 |
112 |
| uaddr_rnd_create |
|
10 |
2 |
64 |
| uaddr_rnd_select |
|
72 |
20 |
484 |
| uaddr_rnd_destroy |
|
4 |
1 |
17 |
| uaddr_rnd_insert |
|
5 |
1 |
21 |
| uaddr_rnd_remove |
|
5 |
1 |
21 |
| uaddr_rnd_print |
|
35 |
4 |
214 |
| uaddr_kbootstrap_select |
|
14 |
3 |
103 |
| uaddr_kbootstrap_destroy |
|
4 |
1 |
22 |
| uaddr_bestfit_create |
|
10 |
1 |
66 |
| uaddr_bestfit_destroy |
|
4 |
1 |
17 |
| uaddr_bestfit_insert |
|
13 |
2 |
74 |
| uaddr_bestfit_remove |
|
8 |
2 |
56 |
| uaddr_bestfit_select |
|
29 |
7 |
203 |
| uaddr_pivot_random |
|
9 |
2 |
51 |
| uaddr_pivot_newpivot |
|
80 |
14 |
521 |
| uaddr_pivot_select |
|
53 |
9 |
350 |
| uaddr_pivot_destroy |
|
4 |
1 |
17 |
| uaddr_pivot_insert |
|
31 |
7 |
185 |
| uaddr_pivot_remove |
|
14 |
4 |
107 |
| uaddr_pivot_create |
|
11 |
1 |
82 |
| uaddr_pivot_print |
|
37 |
9 |
250 |
| uaddr_stack_brk_select |
|
40 |
6 |
346 |
| uaddr_stack_brk_create |
|
9 |
1 |
47 |
| uvm_mapent_fspace_cmp |
|
7 |
4 |
64 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_glue.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_map.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_mapentry_addrcmp |
|
5 |
2 |
36 |
| uvm_mapent_copy |
|
12 |
1 |
83 |
| uvm_mapent_free_insert |
|
24 |
6 |
169 |
| uvm_mapent_free_remove |
|
14 |
4 |
101 |
| uvm_mapent_addr_insert |
|
19 |
4 |
148 |
| uvm_mapent_addr_remove |
|
9 |
2 |
58 |
| uvmspace_dused |
|
24 |
8 |
161 |
| uvm_map_entrybyaddr |
|
14 |
4 |
77 |
| dead_entry_push |
|
4 |
1 |
25 |
| uvm_map_sel_limits |
|
129 |
57 |
823 |
| uvm_map_isavail |
|
52 |
23 |
375 |
| uvm_map_findspace |
|
18 |
4 |
144 |
| uvm_map_addr_augment_get |
|
11 |
3 |
81 |
| uvm_map_addr_augment |
|
11 |
3 |
52 |
| uvm_mapanon |
|
108 |
25 |
777 |
| uvm_map |
|
170 |
57 |
1235 |
| uvm_mapent_isjoinable |
|
27 |
18 |
209 |
| uvm_mapent_merge |
|
17 |
1 |
126 |
| uvm_mapent_tryjoin |
|
21 |
9 |
138 |
| uvm_unmap_detach |
|
27 |
8 |
173 |
| uvm_unmap_detach_intrsafe |
|
11 |
2 |
74 |
| uvm_map_mkentry |
|
58 |
7 |
435 |
| uvm_mapent_alloc |
|
49 |
12 |
289 |
| uvm_mapent_free |
|
15 |
3 |
90 |
| uvm_map_lookup_entry |
|
7 |
4 |
61 |
| uvm_map_pie |
|
13 |
3 |
101 |
| uvm_unmap |
|
14 |
3 |
99 |
| uvm_mapent_mkfree |
|
32 |
9 |
201 |
| uvm_unmap_kill_entry |
|
26 |
6 |
213 |
| uvm_unmap_remove |
|
58 |
24 |
439 |
| uvm_map_pageable_pgon |
|
13 |
5 |
100 |
| uvm_map_pageable_wire |
|
73 |
34 |
462 |
| uvm_map_pageable |
|
67 |
21 |
423 |
| uvm_map_pageable_all |
|
37 |
10 |
246 |
| uvm_map_setup |
|
35 |
6 |
267 |
| uvm_map_teardown |
|
41 |
8 |
294 |
| uvm_map_setup_entries |
|
5 |
1 |
39 |
| uvm_map_splitentry |
|
61 |
13 |
460 |
| uvm_tree_assert |
|
15 |
4 |
74 |
| uvm_tree_sanity |
|
37 |
4 |
297 |
| uvm_tree_size_chk |
|
14 |
3 |
98 |
| vmspace_validate |
|
40 |
12 |
248 |
| uvm_map_init |
|
19 |
2 |
144 |
| uvm_map_printit |
|
68 |
11 |
571 |
| if |
|
3 |
1 |
9 |
| RBT_FOREACH |
|
7 |
2 |
54 |
| if |
|
3 |
1 |
20 |
| if |
|
24 |
8 |
138 |
| if |
|
7 |
2 |
38 |
| if |
|
4 |
2 |
30 |
| if |
|
3 |
1 |
17 |
| if |
|
12 |
3 |
55 |
| uvm_map_protect |
|
80 |
30 |
501 |
| uvmspace_alloc |
|
8 |
1 |
53 |
| uvmspace_init |
|
15 |
5 |
100 |
| uvmspace_share |
|
6 |
1 |
26 |
| uvmspace_exec |
|
41 |
8 |
309 |
| uvmspace_free |
|
9 |
4 |
49 |
| uvm_share |
|
63 |
16 |
395 |
| uvm_mapent_clone |
|
38 |
6 |
282 |
| uvm_mapent_share |
|
11 |
2 |
87 |
| uvm_mapent_forkshared |
|
13 |
2 |
111 |
| uvm_mapent_forkcopy |
|
55 |
12 |
317 |
| uvm_mapent_forkzero |
|
25 |
4 |
192 |
| uvmspace_fork |
|
59 |
14 |
359 |
| uvm_map_hint |
|
23 |
8 |
176 |
| uvm_map_submap |
|
28 |
13 |
191 |
| uvm_map_checkprot |
|
19 |
11 |
133 |
| uvm_map_create |
|
8 |
1 |
54 |
| uvm_map_deallocate |
|
17 |
2 |
105 |
| uvm_map_inherit |
|
33 |
10 |
182 |
| uvm_map_advice |
|
31 |
11 |
189 |
| uvm_map_extract |
|
90 |
25 |
581 |
| uvm_map_clean |
|
99 |
32 |
617 |
| uvm_map_clip_end |
|
7 |
2 |
58 |
| uvm_map_clip_start |
|
14 |
2 |
111 |
| uvm_map_boundfix |
|
4 |
3 |
28 |
| uvm_map_uaddr |
|
34 |
19 |
217 |
| uvm_map_uaddr_e |
|
4 |
1 |
25 |
| uvm_map_boundary |
|
30 |
6 |
255 |
| uvm_map_vmspace_update |
|
26 |
10 |
227 |
| uvm_map_kmem_grow |
|
24 |
6 |
177 |
| uvm_map_freelist_update_clear |
|
18 |
4 |
133 |
| uvm_map_freelist_update_refill |
|
12 |
1 |
79 |
| uvm_map_freelist_update |
|
11 |
2 |
78 |
| uvm_map_set_uaddr |
|
16 |
2 |
115 |
| uvm_map_fix_space |
|
62 |
20 |
432 |
| uvm_map_mquery |
|
79 |
22 |
464 |
| uvm_mapent_bias |
|
13 |
6 |
76 |
| vm_map_lock_try_ln |
|
31 |
6 |
193 |
| vm_map_lock_ln |
|
28 |
5 |
190 |
| vm_map_lock_read_ln |
|
10 |
2 |
78 |
| vm_map_unlock_ln |
|
10 |
2 |
78 |
| vm_map_unlock_read_ln |
|
10 |
2 |
78 |
| vm_map_downgrade_ln |
|
10 |
2 |
96 |
| vm_map_upgrade_ln |
|
13 |
2 |
114 |
| vm_map_busy_ln |
|
7 |
1 |
51 |
| vm_map_unbusy_ln |
|
11 |
2 |
78 |
| uvm_map_fill_vmmap |
|
41 |
4 |
275 |
| uvm_map_setup_md |
|
12 |
3 |
88 |
| uvm_map_setup_md |
|
11 |
3 |
80 |
| uvm_map_setup_md |
|
11 |
3 |
75 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_device.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udv_attach |
|
63 |
17 |
430 |
| udv_reference |
|
4 |
1 |
14 |
| udv_detach |
|
21 |
5 |
139 |
| udv_flush |
|
4 |
1 |
23 |
| udv_fault |
|
47 |
8 |
346 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_addr.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_object.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_vnode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvn_init |
|
5 |
1 |
22 |
| uvn_attach |
|
61 |
17 |
423 |
| uvn_reference |
|
10 |
4 |
58 |
| uvn_detach |
|
37 |
8 |
226 |
| uvm_vnp_terminate |
|
42 |
13 |
269 |
| uvn_flush |
|
141 |
42 |
907 |
| uvn_cluster |
|
12 |
3 |
83 |
| uvn_put |
|
6 |
1 |
48 |
| uvn_get |
|
79 |
20 |
479 |
| uvn_io |
|
81 |
25 |
549 |
| uvm_vnp_uncache |
|
20 |
7 |
132 |
| uvm_vnp_setsize |
|
11 |
3 |
66 |
| uvm_vnp_sync |
|
31 |
9 |
197 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_fault.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_init.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_init |
|
37 |
6 |
247 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_swap.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_stat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvmexp_print |
|
50 |
1 |
471 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_amap.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_unix.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_obreak |
|
32 |
6 |
236 |
| uvm_grow |
|
14 |
7 |
139 |
| uvm_coredump_walk_amap |
|
43 |
9 |
296 |
| uvm_should_coredump |
|
15 |
8 |
97 |
| noop |
|
5 |
1 |
26 |
| uvm_coredump_walkmap |
|
75 |
22 |
440 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_km.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_pager.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_pager_init |
|
12 |
3 |
77 |
| uvm_pseg_init |
|
6 |
1 |
40 |
| uvm_pseg_get |
|
34 |
10 |
195 |
| uvm_pseg_release |
|
26 |
8 |
193 |
| uvm_pagermapin |
|
29 |
5 |
179 |
| uvm_pagermapout |
|
6 |
1 |
43 |
| uvm_mk_pcluster |
|
67 |
20 |
437 |
| uvm_pager_put |
|
66 |
21 |
395 |
| uvm_pager_dropcluster |
|
39 |
12 |
278 |
| uvm_aio_biodone |
|
9 |
1 |
56 |
| uvm_aio_aiodone |
|
45 |
17 |
364 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_mmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_mquery |
|
39 |
8 |
251 |
| sys_mincore |
|
90 |
24 |
618 |
| uvm_wxcheck |
|
19 |
6 |
137 |
| sys_mmap |
|
153 |
51 |
1011 |
| sys_msync |
|
30 |
8 |
218 |
| sys_munmap |
|
30 |
7 |
206 |
| sys_mprotect |
|
25 |
5 |
183 |
| sys_minherit |
|
16 |
2 |
111 |
| sys_madvise |
|
37 |
9 |
207 |
| sys_mlock |
|
23 |
7 |
188 |
| sys_munlock |
|
18 |
4 |
134 |
| sys_mlockall |
|
17 |
6 |
124 |
| sys_munlockall |
|
5 |
1 |
39 |
| uvm_mmaplock |
|
34 |
8 |
196 |
| uvm_mmapanon |
|
30 |
9 |
203 |
| uvm_mmapfile |
|
55 |
20 |
387 |
| sys_kbind |
|
90 |
26 |
650 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_map.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_meter.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_meter |
|
7 |
3 |
40 |
| uvm_loadav |
|
37 |
10 |
240 |
| uvm_sysctl |
|
76 |
23 |
502 |
| uvm_total |
|
47 |
16 |
272 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_aobj.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uao_find_swhash_elt |
|
20 |
4 |
120 |
| uao_find_swslot |
|
14 |
4 |
79 |
| uao_set_swslot |
|
37 |
10 |
210 |
| uao_free |
|
36 |
8 |
238 |
| uao_shrink_flush |
|
8 |
1 |
63 |
| uao_shrink_hash |
|
31 |
5 |
232 |
| uao_shrink_convert |
|
27 |
6 |
191 |
| uao_shrink_array |
|
16 |
3 |
128 |
| uao_shrink |
|
11 |
3 |
73 |
| uao_grow_array |
|
16 |
3 |
128 |
| uao_grow_hash |
|
30 |
5 |
223 |
| uao_grow_convert |
|
25 |
4 |
171 |
| uao_grow |
|
11 |
3 |
73 |
| uao_create |
|
63 |
14 |
363 |
| uao_init |
|
11 |
2 |
64 |
| uao_reference |
|
4 |
1 |
14 |
| uao_reference_locked |
|
6 |
2 |
23 |
| uao_detach |
|
4 |
1 |
14 |
| uao_detach_locked |
|
30 |
5 |
172 |
| uao_flush |
|
64 |
15 |
347 |
| uao_get |
|
102 |
24 |
619 |
| uao_dropswap |
|
9 |
2 |
44 |
| uao_swap_off |
|
29 |
5 |
154 |
| uao_pagein |
|
42 |
12 |
221 |
| uao_pagein_page |
|
25 |
4 |
149 |
| uao_dropswap_range |
|
73 |
16 |
423 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_page.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vm_physseg_find |
|
9 |
4 |
60 |
| PHYS_TO_VM_PAGE |
|
8 |
2 |
54 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_pmemrange.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_pmr_pg_to_memtype |
|
6 |
2 |
23 |
| pow2divide |
|
7 |
2 |
41 |
| uvm_pmemrange_addr_cmp |
|
5 |
2 |
36 |
| uvm_pmemrange_use_cmp |
|
8 |
3 |
56 |
| uvm_pmr_addr_cmp |
|
7 |
2 |
49 |
| uvm_pmr_size_cmp |
|
11 |
3 |
81 |
| uvm_pmr_nfindsz |
|
17 |
5 |
131 |
| uvm_pmr_nextsz |
|
13 |
5 |
101 |
| uvm_pmr_pnaddr |
|
27 |
13 |
238 |
| uvm_pmr_remove_addr |
|
7 |
1 |
57 |
| uvm_pmr_remove_size |
|
20 |
5 |
147 |
| uvm_pmr_remove |
|
7 |
1 |
38 |
| uvm_pmr_insert_addr |
|
35 |
8 |
244 |
| uvm_pmr_insert_size |
|
24 |
7 |
203 |
| uvm_pmr_insert |
|
8 |
1 |
48 |
| uvm_pmr_findnextsegment |
|
27 |
11 |
198 |
| uvm_pmr_remove_1strange |
|
45 |
12 |
350 |
| uvm_pmr_extract_range |
|
40 |
9 |
343 |
| uvm_pmr_getpages |
|
189 |
57 |
1167 |
| uvm_pmr_freepages |
|
34 |
7 |
288 |
| uvm_pmr_freepageq |
|
29 |
6 |
186 |
| uvm_pmemrange_use_insert |
|
18 |
4 |
89 |
| uvm_pmr_assertvalid |
|
60 |
15 |
490 |
| uvm_pmr_split |
|
64 |
11 |
456 |
| uvm_pmr_use_inc |
|
23 |
2 |
152 |
| uvm_pmr_allocpmr |
|
20 |
3 |
129 |
| uvm_pmr_init |
|
17 |
2 |
134 |
| uvm_pmemrange_find |
|
14 |
4 |
75 |
| uvm_pmr_isfree |
|
18 |
5 |
138 |
| uvm_pmr_rootupdate |
|
61 |
20 |
413 |
| uvm_pmr_get1page |
|
92 |
26 |
551 |
| uvm_pmr_print |
|
34 |
5 |
231 |
| uvm_wait_pla |
|
35 |
9 |
235 |
| uvm_wakeup_pla |
|
20 |
5 |
124 |
| uvm_pagezero_thread |
|
29 |
5 |
171 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_vnode.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_amap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amap_list_insert |
|
4 |
1 |
19 |
| amap_list_remove |
|
4 |
1 |
16 |
| amap_chunk_get |
|
37 |
9 |
249 |
| amap_chunk_free |
|
18 |
5 |
123 |
| pp_getreflen |
|
10 |
2 |
73 |
| pp_setreflen |
|
9 |
2 |
60 |
| amap_init |
|
20 |
2 |
170 |
| amap_alloc1 |
|
70 |
16 |
480 |
| amap_alloc |
|
12 |
3 |
64 |
| amap_free |
|
16 |
6 |
140 |
| amap_wipeout |
|
28 |
6 |
172 |
| amap_copy |
|
86 |
23 |
621 |
| amap_cow_now |
|
48 |
9 |
290 |
| amap_splitref |
|
14 |
5 |
101 |
| amap_pp_establish |
|
10 |
2 |
66 |
| amap_pp_adjref |
|
44 |
11 |
317 |
| amap_wiperange_chunk |
|
27 |
5 |
201 |
| amap_wiperange |
|
39 |
12 |
270 |
| amap_swap_off |
|
36 |
9 |
211 |
| amap_lookup |
|
14 |
3 |
88 |
| amap_lookups |
|
23 |
5 |
199 |
| amap_populate |
|
12 |
2 |
75 |
| amap_add |
|
31 |
8 |
198 |
| amap_unadd |
|
21 |
5 |
144 |
| amap_ref |
|
15 |
9 |
107 |
| amap_unref |
|
17 |
11 |
128 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_pmap.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_ddb.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_swap_encrypt.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_anon.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_anon_init |
|
6 |
1 |
40 |
| uvm_analloc |
|
11 |
2 |
50 |
| uvm_anfree |
|
23 |
5 |
131 |
| uvm_anwait |
|
6 |
1 |
29 |
| uvm_anon_dropswap |
|
7 |
2 |
34 |
| uvm_anon_pagein |
|
26 |
5 |
119 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_param.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_km.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_km_init |
|
16 |
4 |
105 |
| uvm_km_suballoc |
|
24 |
6 |
199 |
| uvm_km_pgremove |
|
24 |
6 |
147 |
| uvm_km_pgremove_intrsafe |
|
14 |
4 |
77 |
| uvm_km_kmemalloc_pla |
|
66 |
13 |
447 |
| uvm_km_free |
|
4 |
1 |
32 |
| uvm_km_free_wakeup |
|
11 |
1 |
72 |
| uvm_km_alloc1 |
|
44 |
7 |
278 |
| uvm_km_valloc |
|
4 |
1 |
26 |
| uvm_km_valloc_try |
|
4 |
1 |
26 |
| uvm_km_valloc_align |
|
14 |
2 |
101 |
| uvm_km_valloc_prefer_wait |
|
18 |
4 |
129 |
| uvm_km_valloc_wait |
|
4 |
1 |
22 |
| uvm_km_page_init |
|
3 |
1 |
6 |
| uvm_km_page_lateinit |
|
3 |
1 |
6 |
| uvm_km_page_init |
|
41 |
12 |
285 |
| uvm_km_page_lateinit |
|
4 |
1 |
13 |
| uvm_km_createthread |
|
4 |
1 |
22 |
| uvm_km_thread |
|
59 |
14 |
388 |
| uvm_km_doputpage |
|
20 |
3 |
126 |
| km_alloc |
|
100 |
27 |
629 |
| km_free |
|
53 |
13 |
337 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_glue.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_kernacc |
|
12 |
2 |
82 |
| uvm_vslock |
|
13 |
2 |
91 |
| uvm_vsunlock |
|
9 |
2 |
64 |
| uvm_vslock_device |
|
64 |
11 |
436 |
| uvm_vsunlock_device |
|
21 |
4 |
143 |
| uvm_uarea_alloc |
|
9 |
1 |
47 |
| uvm_uarea_free |
|
5 |
1 |
29 |
| uvm_exit |
|
5 |
1 |
22 |
| uvm_init_limits |
|
8 |
1 |
69 |
| uvm_swapout_threads |
|
48 |
18 |
240 |
| uvm_atopg |
|
11 |
1 |
56 |
| uvm_pause |
|
10 |
2 |
37 |
| fill_vmmap |
|
10 |
2 |
53 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvmexp.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_swap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_swap_init |
|
16 |
4 |
114 |
| uvm_swap_initcrypt_all |
|
15 |
2 |
75 |
| uvm_swap_initcrypt |
|
7 |
1 |
54 |
| uvm_swap_allocpages |
|
21 |
4 |
141 |
| uvm_swap_freepages |
|
8 |
2 |
44 |
| uvm_swap_markdecrypt |
|
17 |
4 |
106 |
| uvm_swap_needdecrypt |
|
8 |
3 |
51 |
| uvm_swap_finicrypt_all |
|
19 |
4 |
115 |
| swaplist_insert |
|
24 |
6 |
163 |
| swaplist_find |
|
17 |
3 |
89 |
| swaplist_trim |
|
10 |
2 |
60 |
| swapdrum_add |
|
9 |
2 |
52 |
| swapdrum_getsdp |
|
14 |
3 |
69 |
| sys_swapctl |
|
125 |
24 |
814 |
| swap_on |
|
83 |
26 |
562 |
| swap_off |
|
33 |
8 |
223 |
| swstrategy |
|
31 |
4 |
173 |
| sw_reg_strategy |
|
97 |
12 |
679 |
| sw_reg_start |
|
17 |
5 |
99 |
| sw_reg_iodone |
|
5 |
1 |
31 |
| sw_reg_iodone_internal |
|
35 |
8 |
243 |
| uvm_swap_alloc |
|
32 |
7 |
190 |
| uvm_swap_markbad |
|
8 |
2 |
36 |
| uvm_swap_free |
|
31 |
8 |
180 |
| uvm_swap_put |
|
7 |
2 |
51 |
| uvm_swap_get |
|
16 |
5 |
94 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_object.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_objinit |
|
7 |
1 |
45 |
| uvm_objwire |
|
40 |
7 |
280 |
| uvm_objunwire |
|
13 |
2 |
80 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_pager.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_anon.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_aobj.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_swap_encrypt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| swap_encrypt_ctl |
|
25 |
7 |
145 |
| swap_key_create |
|
5 |
1 |
26 |
| swap_key_delete |
|
6 |
1 |
28 |
| swap_encrypt |
|
28 |
3 |
277 |
| swap_decrypt |
|
32 |
3 |
302 |
| swap_key_prepare |
|
12 |
5 |
84 |
| swap_key_cleanup |
|
7 |
3 |
36 |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm.h |
| Source file: /home/sergeyb/sources/src/sys/uvm/uvm_page.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uvm_pagecmp |
|
4 |
2 |
38 |
| uvm_pageinsert |
|
9 |
1 |
67 |
| uvm_pageremove |
|
9 |
1 |
60 |
| uvm_page_init |
|
60 |
8 |
472 |
| uvm_setpagesize |
|
11 |
5 |
80 |
| uvm_pageboot_alloc |
|
35 |
10 |
205 |
| uvm_page_physget |
|
59 |
22 |
405 |
| uvm_page_physload |
|
94 |
25 |
574 |
| uvm_page_physdump |
|
20 |
5 |
128 |
| uvm_shutdown |
|
4 |
2 |
10 |
| uvm_pagealloc_pg |
|
17 |
4 |
98 |
| uvm_pglistalloc |
|
38 |
13 |
305 |
| uvm_pglistfree |
|
4 |
1 |
14 |
| uvm_pagealloc_multi |
|
22 |
3 |
159 |
| uvm_pagerealloc_multi |
|
28 |
4 |
206 |
| uvm_pagealloc |
|
38 |
16 |
300 |
| uvm_pagerealloc |
|
12 |
3 |
58 |
| uvm_pagefree |
|
39 |
11 |
258 |
| uvm_page_unbusy |
|
34 |
8 |
189 |
| uvm_page_own |
|
21 |
5 |
105 |
| vm_physseg_find |
|
29 |
10 |
182 |
| PHYS_TO_VM_PAGE |
|
8 |
2 |
54 |
| uvm_pagelookup |
|
6 |
1 |
38 |
| uvm_pagewire |
|
20 |
5 |
124 |
| uvm_pageunwire |
|
10 |
2 |
56 |
| uvm_pagedeactivate |
|
21 |
6 |
149 |
| uvm_pageactivate |
|
20 |
5 |
127 |
| uvm_pagezero |
|
5 |
1 |
24 |
| uvm_pagecopy |
|
5 |
1 |
31 |
| uvm_pagecount |
|
17 |
3 |
105 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/deadfs/dead_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dead_open |
|
4 |
1 |
13 |
| dead_read |
|
9 |
3 |
53 |
| dead_write |
|
7 |
2 |
34 |
| dead_ioctl |
|
7 |
2 |
46 |
| dead_poll |
|
5 |
2 |
20 |
| dead_strategy |
|
13 |
3 |
81 |
| dead_lock |
|
8 |
3 |
57 |
| dead_bmap |
|
7 |
2 |
56 |
| dead_print |
|
5 |
1 |
16 |
| dead_ebadf |
|
4 |
1 |
13 |
| dead_badop |
|
4 |
1 |
13 |
| chkvnlock |
|
10 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fifofs/fifo_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fifo_open |
|
86 |
20 |
605 |
| fifo_read |
|
24 |
8 |
171 |
| fifo_write |
|
17 |
5 |
131 |
| fifo_ioctl |
|
21 |
6 |
142 |
| fifo_poll |
|
35 |
14 |
275 |
| fifo_inactive |
|
6 |
1 |
31 |
| fifo_close |
|
33 |
9 |
215 |
| fifo_reclaim |
|
13 |
2 |
80 |
| fifo_print |
|
8 |
1 |
35 |
| fifo_printinfo |
|
6 |
1 |
31 |
| fifo_pathconf |
|
20 |
4 |
77 |
| fifo_ebadf |
|
4 |
1 |
13 |
| fifo_advlock |
|
4 |
1 |
13 |
| fifo_badop |
|
5 |
1 |
18 |
| fifo_kqfilter |
|
22 |
3 |
132 |
| filt_fifordetach |
|
7 |
2 |
63 |
| filt_fiforead |
|
18 |
4 |
115 |
| filt_fifowdetach |
|
7 |
2 |
63 |
| filt_fifowrite |
|
18 |
4 |
123 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fifofs/fifo.h |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fusefs_node.h |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fuse_device.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fuse_dump_buff |
|
23 |
8 |
161 |
| fuse_lookup |
|
8 |
2 |
39 |
| fuse_create |
|
12 |
2 |
84 |
| fuse_destroy |
|
6 |
1 |
37 |
| fuse_device_cleanup |
|
43 |
10 |
218 |
| fuse_device_queue_fbuf |
|
10 |
2 |
58 |
| fuse_device_set_fmp |
|
8 |
3 |
47 |
| fuseattach |
|
4 |
1 |
13 |
| fuseopen |
|
10 |
3 |
63 |
| fuseclose |
|
22 |
5 |
139 |
| fuseioctl |
|
84 |
16 |
490 |
| fuseread |
|
37 |
8 |
255 |
| fusewrite |
|
58 |
16 |
343 |
| fusepoll |
|
17 |
7 |
128 |
| fusekqfilter |
|
23 |
4 |
120 |
| filt_fuse_rdetach |
|
6 |
1 |
41 |
| filt_fuse_read |
|
8 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fuse_file.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fusefs_file_open |
|
20 |
4 |
143 |
| fusefs_file_close |
|
19 |
5 |
155 |
| fusefs_fd_get |
|
6 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fusefs.h |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fusebuf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fb_setup |
|
16 |
2 |
109 |
| fb_queue |
|
10 |
2 |
64 |
| fb_delete |
|
7 |
2 |
36 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fuse_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fusefs_kqfilter |
|
22 |
4 |
112 |
| filt_fusefsdetach |
|
5 |
1 |
39 |
| filt_fusefsread |
|
15 |
4 |
109 |
| filt_fusefswrite |
|
9 |
2 |
46 |
| filt_fusefsvnode |
|
10 |
3 |
55 |
| fusefs_open |
|
29 |
7 |
193 |
| fusefs_close |
|
33 |
11 |
227 |
| fusefs_access |
|
54 |
14 |
374 |
| fusefs_getattr |
|
40 |
3 |
293 |
| fusefs_setattr |
|
96 |
29 |
602 |
| fusefs_ioctl |
|
4 |
1 |
13 |
| fusefs_link |
|
61 |
9 |
371 |
| fusefs_symlink |
|
50 |
6 |
326 |
| fusefs_readdir |
|
54 |
14 |
369 |
| fusefs_inactive |
|
25 |
4 |
186 |
| fusefs_readlink |
|
30 |
5 |
192 |
| fusefs_reclaim |
|
29 |
6 |
218 |
| fusefs_print |
|
9 |
1 |
55 |
| fusefs_create |
|
49 |
6 |
320 |
| fusefs_mknod |
|
55 |
7 |
367 |
| fusefs_read |
|
39 |
8 |
262 |
| fusefs_write |
|
51 |
9 |
340 |
| fusefs_poll |
|
5 |
1 |
32 |
| fusefs_rename |
|
93 |
23 |
608 |
| fusefs_mkdir |
|
47 |
6 |
313 |
| fusefs_rmdir |
|
51 |
8 |
305 |
| fusefs_remove |
|
45 |
6 |
268 |
| fusefs_strategy |
|
4 |
1 |
13 |
| fusefs_lock |
|
6 |
1 |
44 |
| fusefs_unlock |
|
7 |
1 |
40 |
| fusefs_islocked |
|
5 |
1 |
31 |
| fusefs_advlock |
|
7 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fuse_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fusefs_mount |
|
43 |
7 |
337 |
| fusefs_start |
|
4 |
1 |
22 |
| fusefs_unmount |
|
25 |
5 |
162 |
| fusefs_root |
|
10 |
2 |
61 |
| fusefs_quotactl |
|
5 |
1 |
28 |
| fusefs_statfs |
|
37 |
3 |
251 |
| fusefs_sync |
|
5 |
1 |
27 |
| fusefs_vget |
|
37 |
7 |
265 |
| fusefs_fhtovp |
|
4 |
1 |
24 |
| fusefs_vptofh |
|
4 |
1 |
19 |
| fusefs_init |
|
6 |
1 |
36 |
| fusefs_sysctl |
|
21 |
6 |
136 |
| fusefs_checkexp |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/miscfs/fuse/fuse_lookup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fusefs_lookup |
|
125 |
38 |
860 |
| Source file: /home/sergeyb/sources/src/sys/ufs/mfs/mfs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mfs_open |
|
8 |
3 |
37 |
| mfs_ioctl |
|
4 |
1 |
13 |
| mfs_strategy |
|
18 |
5 |
120 |
| mfs_doio |
|
20 |
4 |
138 |
| mfs_close |
|
22 |
6 |
141 |
| mfs_inactive |
|
9 |
4 |
62 |
| mfs_reclaim |
|
8 |
1 |
46 |
| mfs_print |
|
8 |
1 |
49 |
| mfs_badop |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/ufs/mfs/mfs_extern.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/mfs/mfs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mfs_mount |
|
65 |
15 |
530 |
| mfs_start |
|
30 |
10 |
186 |
| mfs_checkexp |
|
5 |
1 |
28 |
| mfs_init |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/ufs/mfs/mfsnode.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_balloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs1_balloc |
|
266 |
69 |
1945 |
| ffs2_balloc |
|
305 |
77 |
2189 |
| ffs_balloc |
|
8 |
3 |
75 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_alloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs_alloc |
|
45 |
14 |
327 |
| ffs_realloccg |
|
120 |
36 |
855 |
| ffs_inode_alloc |
|
62 |
16 |
457 |
| ffs_dirpref |
|
78 |
31 |
678 |
| ffs1_blkpref |
|
46 |
20 |
427 |
| ffs2_blkpref |
|
42 |
20 |
419 |
| ffs_hashalloc |
|
29 |
8 |
216 |
| ffs_cgread |
|
14 |
3 |
95 |
| ffs_fragextend |
|
43 |
11 |
373 |
| ffs_alloccg |
|
65 |
16 |
510 |
| ffs_alloccgblk |
|
44 |
9 |
368 |
| ffs_nodealloccg |
|
80 |
20 |
638 |
| ffs_blkfree |
|
81 |
13 |
702 |
| ffs_inode_free |
|
9 |
2 |
60 |
| ffs_freefile |
|
37 |
7 |
273 |
| ffs_mapsearch |
|
43 |
7 |
377 |
| ffs_clusteracct |
|
64 |
16 |
448 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs_checkrange |
|
28 |
7 |
184 |
| ffs_mountroot |
|
37 |
6 |
251 |
| ffs_mount |
|
175 |
53 |
1148 |
| ffs_reload_vnode |
|
30 |
5 |
222 |
| ffs_reload |
|
68 |
12 |
534 |
| ffs_validate |
|
20 |
12 |
151 |
| ffs_mountfs |
|
189 |
49 |
1331 |
| ffs_oldfscompat |
|
23 |
6 |
160 |
| ffs1_compat_read |
|
19 |
4 |
145 |
| ffs1_compat_write |
|
10 |
2 |
80 |
| ffs_unmount |
|
38 |
9 |
289 |
| ffs_flushfiles |
|
22 |
6 |
172 |
| ffs_statfs |
|
23 |
5 |
185 |
| ffs_sync_vnode |
|
19 |
6 |
146 |
| ffs_sync |
|
37 |
11 |
273 |
| ffs_vget |
|
82 |
19 |
599 |
| ffs_fhtovp |
|
11 |
3 |
83 |
| ffs_vptofh |
|
11 |
1 |
74 |
| ffs_sbupdate |
|
50 |
11 |
392 |
| ffs_init |
|
15 |
3 |
104 |
| ffs_sysctl |
|
51 |
24 |
374 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs_read |
|
67 |
23 |
468 |
| ffs_write |
|
101 |
38 |
740 |
| ffs_fsync |
|
67 |
25 |
456 |
| ffs_reclaim |
|
18 |
5 |
119 |
| ffsfifo_reclaim |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/softdep.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_inode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs_update |
|
39 |
12 |
295 |
| ffs_truncate |
|
194 |
55 |
1616 |
| ffs_indirtrunc |
|
95 |
24 |
639 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_softdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acquire_lock |
|
18 |
3 |
100 |
| free_lock |
|
7 |
2 |
42 |
| acquire_lock_interlocked |
|
18 |
3 |
101 |
| free_lock_interlocked |
|
7 |
2 |
42 |
| sema_init |
|
8 |
1 |
50 |
| sema_get |
|
18 |
5 |
110 |
| sema_release |
|
13 |
6 |
76 |
| softdep_free |
|
48 |
16 |
211 |
| softdep_freequeue_add |
|
7 |
1 |
33 |
| softdep_freequeue_process |
|
11 |
2 |
60 |
| worklist_insert |
|
11 |
3 |
64 |
| worklist_remove |
|
11 |
3 |
61 |
| workitem_free |
|
9 |
3 |
44 |
| add_to_worklist |
|
15 |
5 |
83 |
| softdep_process_worklist |
|
66 |
17 |
310 |
| process_worklist_item |
|
73 |
24 |
411 |
| softdep_move_dependencies |
|
17 |
4 |
112 |
| softdep_flushworklist |
|
25 |
5 |
153 |
| softdep_flushfiles |
|
17 |
7 |
116 |
| pagedep_lookup |
|
53 |
12 |
370 |
| inodedep_lookup |
|
57 |
12 |
366 |
| newblk_lookup |
|
33 |
6 |
216 |
| softdep_initialize |
|
51 |
2 |
489 |
| softdep_mount |
|
29 |
6 |
247 |
| softdep_setup_inomapdep |
|
16 |
2 |
103 |
| softdep_setup_blkmapdep |
|
11 |
2 |
83 |
| bmsafemap_lookup |
|
23 |
4 |
159 |
| softdep_setup_allocdirect |
|
74 |
16 |
515 |
| allocdirect_merge |
|
34 |
10 |
241 |
| newfreefrag |
|
19 |
3 |
142 |
| handle_workitem_freefrag |
|
14 |
1 |
104 |
| newallocindir |
|
13 |
1 |
89 |
| softdep_setup_allocindir_page |
|
17 |
4 |
143 |
| softdep_setup_allocindir_meta |
|
10 |
1 |
77 |
| setup_allocindir_phase2 |
|
96 |
21 |
627 |
| softdep_setup_freeblocks |
|
80 |
15 |
664 |
| deallocate_dependencies |
|
83 |
21 |
494 |
| free_allocdirect |
|
33 |
10 |
218 |
| free_newdirblk |
|
22 |
9 |
155 |
| softdep_freefile |
|
22 |
3 |
155 |
| check_inode_unwritten |
|
26 |
11 |
176 |
| free_inodedep |
|
16 |
10 |
121 |
| handle_workitem_freeblocks |
|
54 |
11 |
412 |
| indir_trunc |
|
64 |
14 |
446 |
| free_allocindir |
|
20 |
7 |
129 |
| softdep_setup_directory_add |
|
94 |
17 |
685 |
| softdep_change_directoryentry_offset |
|
37 |
6 |
244 |
| free_diradd |
|
39 |
9 |
271 |
| softdep_setup_remove |
|
18 |
3 |
124 |
| newdirrem |
|
53 |
12 |
374 |
| softdep_setup_directory_change |
|
42 |
6 |
309 |
| softdep_change_linkcnt |
|
16 |
3 |
104 |
| handle_workitem_remove |
|
64 |
10 |
436 |
| handle_workitem_freefile |
|
24 |
5 |
157 |
| softdep_disk_io_initiation |
|
60 |
14 |
343 |
| initiate_write_filepage |
|
29 |
5 |
172 |
| initiate_write_inodeblock_ufs1 |
|
98 |
30 |
753 |
| initiate_write_inodeblock_ufs2 |
|
141 |
50 |
1138 |
| softdep_disk_write_complete |
|
101 |
26 |
610 |
| handle_allocdirect_partdone |
|
36 |
12 |
205 |
| handle_allocindir_partdone |
|
25 |
6 |
166 |
| handle_written_inodeblock |
|
146 |
37 |
908 |
| diradd_inode_written |
|
15 |
3 |
99 |
| handle_written_mkdir |
|
22 |
5 |
144 |
| handle_written_filepage |
|
49 |
12 |
345 |
| softdep_load_inodeblock |
|
12 |
2 |
75 |
| softdep_update_inodeblock |
|
40 |
12 |
305 |
| merge_inode_lists |
|
24 |
6 |
175 |
| softdep_fsync |
|
94 |
22 |
585 |
| softdep_fsync_mountdev |
|
31 |
8 |
200 |
| softdep_sync_metadata |
|
180 |
47 |
1057 |
| flush_inodedep_deps |
|
68 |
19 |
385 |
| flush_pagedep_deps |
|
107 |
28 |
655 |
| softdep_slowdown |
|
10 |
3 |
46 |
| request_cleanup |
|
49 |
14 |
276 |
| pause_timer |
|
7 |
3 |
39 |
| clear_remove |
|
37 |
10 |
226 |
| clear_inodedeps |
|
55 |
19 |
395 |
| softdep_count_dependencies |
|
62 |
18 |
295 |
| getdirtybuf |
|
21 |
5 |
128 |
| drain_output |
|
15 |
4 |
91 |
| softdep_deallocate_dependencies |
|
7 |
2 |
48 |
| softdep_error |
|
4 |
1 |
20 |
| softdep_print |
|
8 |
1 |
71 |
| worklist_print |
|
108 |
16 |
731 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/fs.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_extern.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_tables.c |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs_bufatoff |
|
22 |
3 |
155 |
| ffs_fragacct |
|
24 |
5 |
176 |
| ffs_checkoverlap |
|
26 |
9 |
200 |
| ffs_isblock |
|
18 |
5 |
145 |
| ffs_clrblock |
|
18 |
5 |
120 |
| ffs_setblock |
|
18 |
5 |
120 |
| ffs_isfreeblock |
|
14 |
5 |
136 |
| ffs_vinit |
|
42 |
14 |
241 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ffs/ffs_softdep_stub.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softdep_flushfiles |
|
4 |
1 |
22 |
| softdep_mount |
|
5 |
1 |
29 |
| softdep_initialize |
|
4 |
1 |
8 |
| softdep_setup_inomapdep |
|
4 |
1 |
22 |
| softdep_setup_blkmapdep |
|
4 |
1 |
22 |
| softdep_setup_allocdirect |
|
5 |
1 |
34 |
| softdep_setup_allocindir_page |
|
5 |
1 |
36 |
| softdep_setup_allocindir_meta |
|
5 |
1 |
30 |
| softdep_setup_freeblocks |
|
4 |
1 |
17 |
| softdep_freefile |
|
4 |
1 |
20 |
| softdep_setup_directory_add |
|
6 |
1 |
38 |
| softdep_change_directoryentry_offset |
|
5 |
1 |
26 |
| softdep_setup_remove |
|
5 |
1 |
27 |
| softdep_setup_directory_change |
|
5 |
1 |
30 |
| softdep_change_linkcnt |
|
4 |
1 |
17 |
| softdep_load_inodeblock |
|
4 |
1 |
14 |
| softdep_update_inodeblock |
|
4 |
1 |
22 |
| softdep_fsync_mountdev |
|
4 |
1 |
14 |
| softdep_flushworklist |
|
5 |
1 |
28 |
| softdep_sync_metadata |
|
4 |
1 |
14 |
| softdep_slowdown |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_inode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ufs_inactive |
|
34 |
13 |
275 |
| ufs_reclaim |
|
21 |
8 |
118 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_dirhash.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ufsdirhash_build |
|
127 |
32 |
1008 |
| ufsdirhash_free |
|
30 |
5 |
227 |
| ufsdirhash_lookup |
|
108 |
31 |
711 |
| ufsdirhash_findfree |
|
68 |
19 |
464 |
| ufsdirhash_enduseful |
|
22 |
6 |
147 |
| ufsdirhash_add |
|
28 |
6 |
193 |
| ufsdirhash_remove |
|
19 |
3 |
124 |
| ufsdirhash_move |
|
20 |
4 |
123 |
| ufsdirhash_newblk |
|
26 |
5 |
149 |
| ufsdirhash_dirtrunc |
|
31 |
10 |
211 |
| ufsdirhash_checkblock |
|
44 |
18 |
322 |
| ufsdirhash_hash |
|
4 |
1 |
31 |
| ufsdirhash_adjfree |
|
21 |
9 |
200 |
| ufsdirhash_findslot |
|
13 |
4 |
114 |
| ufsdirhash_delslot |
|
17 |
4 |
136 |
| ufsdirhash_getprev |
|
20 |
5 |
141 |
| ufsdirhash_recycle |
|
41 |
5 |
278 |
| ufsdirhash_init |
|
10 |
1 |
68 |
| ufsdirhash_uninit |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_ihash.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ufs_ihash |
|
8 |
1 |
65 |
| ufs_ihashinit |
|
5 |
1 |
31 |
| ufs_ihashlookup |
|
13 |
4 |
72 |
| ufs_ihashget |
|
18 |
4 |
100 |
| ufs_ihashins |
|
18 |
3 |
114 |
| ufs_ihashrem |
|
11 |
4 |
66 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_quota_stub.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getinoquota |
|
3 |
1 |
14 |
| ufs_quota_alloc_blocks2 |
|
4 |
1 |
26 |
| ufs_quota_free_blocks2 |
|
4 |
1 |
26 |
| ufs_quota_alloc_inode2 |
|
4 |
1 |
23 |
| ufs_quota_free_inode2 |
|
4 |
1 |
23 |
| quotaoff |
|
3 |
1 |
22 |
| qsync |
|
3 |
1 |
14 |
| ufs_quotactl |
|
3 |
1 |
28 |
| ufs_quota_init |
|
2 |
1 |
6 |
| ufs_quota_delete |
|
3 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ufs_itimes |
|
34 |
11 |
233 |
| ufs_create |
|
12 |
2 |
73 |
| ufs_mknod |
|
23 |
3 |
157 |
| ufs_open |
|
11 |
4 |
80 |
| ufs_close |
|
8 |
2 |
42 |
| ufs_access |
|
34 |
17 |
212 |
| ufs_getattr |
|
34 |
3 |
312 |
| ufs_setattr |
|
109 |
49 |
870 |
| ufs_chmod |
|
22 |
11 |
201 |
| ufs_chown |
|
67 |
24 |
532 |
| ufs_ioctl |
|
5 |
2 |
20 |
| ufs_poll |
|
5 |
1 |
32 |
| ufs_remove |
|
24 |
5 |
154 |
| ufs_link |
|
63 |
13 |
402 |
| ufs_rename |
|
283 |
92 |
1895 |
| ufs_mkdir |
|
100 |
19 |
745 |
| ufs_rmdir |
|
68 |
16 |
419 |
| ufs_symlink |
|
25 |
3 |
187 |
| ufs_readdir |
|
70 |
13 |
597 |
| ufs_readlink |
|
13 |
4 |
116 |
| ufs_lock |
|
6 |
1 |
42 |
| ufs_unlock |
|
7 |
1 |
38 |
| ufs_islocked |
|
5 |
1 |
29 |
| ufs_strategy |
|
36 |
7 |
217 |
| ufs_print |
|
16 |
4 |
133 |
| ufsspec_read |
|
6 |
1 |
34 |
| ufsspec_write |
|
6 |
1 |
36 |
| ufsspec_close |
|
8 |
2 |
45 |
| ufsfifo_read |
|
6 |
1 |
34 |
| ufsfifo_write |
|
6 |
1 |
36 |
| ufsfifo_close |
|
8 |
2 |
45 |
| ufs_pathconf |
|
50 |
14 |
222 |
| ufs_advlock |
|
7 |
1 |
61 |
| ufs_makeinode |
|
63 |
16 |
500 |
| ufs_kqfilter |
|
22 |
4 |
112 |
| filt_ufsdetach |
|
5 |
1 |
39 |
| filt_ufsread |
|
15 |
4 |
112 |
| filt_ufswrite |
|
9 |
2 |
46 |
| filt_ufsvnode |
|
10 |
3 |
54 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ufs_start |
|
4 |
1 |
22 |
| ufs_root |
|
9 |
2 |
55 |
| ufs_check_export |
|
12 |
2 |
83 |
| ufs_init |
|
11 |
3 |
43 |
| ufs_fhtovp |
|
18 |
4 |
120 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_extern.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_quota.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dqref |
|
4 |
1 |
14 |
| getinoquota |
|
18 |
5 |
134 |
| ufs_quota_alloc_blocks2 |
|
34 |
14 |
235 |
| ufs_quota_free_blocks2 |
|
27 |
9 |
171 |
| chkdqchg |
|
38 |
12 |
268 |
| ufs_quota_alloc_inode2 |
|
31 |
12 |
214 |
| ufs_quota_free_inode2 |
|
23 |
8 |
149 |
| chkiqchg |
|
38 |
12 |
268 |
| chkdquot |
|
17 |
6 |
115 |
| quotaon_vnode |
|
13 |
4 |
85 |
| quotaon |
|
51 |
11 |
407 |
| quotaoff_vnode |
|
16 |
3 |
112 |
| quotaoff |
|
26 |
7 |
200 |
| getquota |
|
15 |
5 |
123 |
| setquota |
|
50 |
21 |
385 |
| setuse |
|
38 |
14 |
298 |
| qsync_vnode |
|
17 |
6 |
117 |
| qsync |
|
12 |
4 |
73 |
| ufs_quota_init |
|
6 |
1 |
36 |
| dqget |
|
94 |
25 |
698 |
| dqrele |
|
14 |
5 |
78 |
| dqsync |
|
44 |
12 |
324 |
| ufs_quota_delete |
|
12 |
3 |
76 |
| ufs_quotactl |
|
48 |
14 |
260 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_lookup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ufs_lookup |
|
302 |
95 |
2027 |
| ufs_dirbad |
|
9 |
2 |
71 |
| ufs_dirbadentry |
|
30 |
11 |
188 |
| ufs_makedirentry |
|
16 |
5 |
122 |
| ufs_direnter |
|
142 |
44 |
1145 |
| ufs_dirremove |
|
49 |
14 |
345 |
| ufs_dirrewrite |
|
31 |
5 |
198 |
| ufs_dirempty |
|
34 |
14 |
240 |
| ufs_checkpath |
|
55 |
16 |
298 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/dinode.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufs_bmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ufs_bmap |
|
10 |
3 |
76 |
| ufs_bmaparray |
|
90 |
41 |
723 |
| ufs_getlbns |
|
54 |
17 |
334 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/dir.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/quota.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/dirhash.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/ufsmount.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ufs/inode.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_extern.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_readwrite.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_read |
|
16 |
2 |
93 |
| ext2_ind_read |
|
60 |
21 |
441 |
| ext4_ext_read |
|
62 |
14 |
435 |
| ext2fs_write |
|
97 |
34 |
652 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_lookup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_dirconv2ffs |
|
9 |
2 |
76 |
| ext2fs_readdir |
|
57 |
8 |
395 |
| ext2fs_lookup |
|
216 |
66 |
1556 |
| ext2fs_search_dirblock |
|
62 |
16 |
453 |
| ext2fs_dirbadentry |
|
26 |
7 |
169 |
| ext2fs_direnter |
|
93 |
21 |
716 |
| ext2fs_dirremove |
|
26 |
4 |
189 |
| ext2fs_dirrewrite |
|
20 |
4 |
147 |
| ext2fs_dirempty |
|
29 |
11 |
210 |
| ext2fs_checkpath |
|
57 |
14 |
290 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_extents.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_bmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_bmap |
|
14 |
4 |
119 |
| ext4_bmapext |
|
21 |
5 |
168 |
| ext2fs_bmaparray |
|
85 |
36 |
646 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| e2fs_overflow |
|
4 |
2 |
28 |
| cg_has_sb |
|
13 |
9 |
87 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_inode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_size |
|
7 |
2 |
45 |
| ext2fs_setsize |
|
17 |
6 |
119 |
| ext2fs_inactive |
|
32 |
13 |
242 |
| ext2fs_update |
|
35 |
5 |
247 |
| ext2fs_truncate |
|
147 |
41 |
1180 |
| ext2fs_indirtrunc |
|
84 |
17 |
572 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_dinode.h |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_create |
|
7 |
1 |
46 |
| ext2fs_mknod |
|
22 |
3 |
150 |
| ext2fs_open |
|
8 |
3 |
54 |
| ext2fs_access |
|
11 |
3 |
90 |
| ext2fs_getattr |
|
37 |
8 |
326 |
| ext2fs_setattr |
|
100 |
49 |
771 |
| ext2fs_chmod |
|
19 |
9 |
164 |
| ext2fs_chown |
|
26 |
13 |
205 |
| ext2fs_remove |
|
27 |
6 |
147 |
| ext2fs_link |
|
53 |
11 |
309 |
| ext2fs_rename |
|
267 |
83 |
1669 |
| ext2fs_mkdir |
|
88 |
15 |
618 |
| ext2fs_rmdir |
|
43 |
8 |
252 |
| ext2fs_symlink |
|
27 |
4 |
184 |
| ext2fs_readlink |
|
13 |
2 |
92 |
| ext2fs_pathconf |
|
13 |
2 |
55 |
| ext2fs_advlock |
|
7 |
1 |
59 |
| ext2fs_makeinode |
|
48 |
11 |
336 |
| ext2fs_fsync |
|
7 |
1 |
54 |
| ext2fs_reclaim |
|
19 |
6 |
117 |
| ext2fsfifo_reclaim |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_bufatoff |
|
43 |
9 |
320 |
| ext2fs_checkoverlap |
|
25 |
9 |
188 |
| ext2fs_vinit |
|
39 |
8 |
228 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_balloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_buf_alloc |
|
183 |
33 |
1277 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_alloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_alloc |
|
32 |
9 |
210 |
| ext2fs_inode_alloc |
|
43 |
8 |
291 |
| ext2fs_dirpref |
|
15 |
5 |
107 |
| ext2fs_blkpref |
|
18 |
6 |
127 |
| ext2fs_hashalloc |
|
29 |
8 |
216 |
| ext2fs_alloccg |
|
56 |
14 |
386 |
| ext2fs_nodealloccg |
|
56 |
10 |
402 |
| ext2fs_blkfree |
|
31 |
4 |
208 |
| ext2fs_inode_free |
|
35 |
7 |
244 |
| ext2fs_mapsearch |
|
30 |
6 |
214 |
| ext2fs_fserr |
|
4 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_extents.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext4_ext_binsearch_index |
|
16 |
3 |
126 |
| ext4_ext_binsearch |
|
17 |
4 |
136 |
| ext4_ext_in_cache |
|
16 |
4 |
117 |
| ext4_ext_put_cache |
|
9 |
1 |
69 |
| ext4_ext_find_extent |
|
39 |
5 |
263 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_bswap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| e2fs_sb_bswap |
|
43 |
1 |
456 |
| e2fs_cg_bswap |
|
12 |
2 |
145 |
| e2fs_i_bswap |
|
28 |
2 |
280 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_dir.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inot2ext2dt |
|
21 |
8 |
81 |
| Source file: /home/sergeyb/sources/src/sys/ufs/ext2fs/ext2fs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ext2fs_init |
|
8 |
1 |
61 |
| ext2fs_mountroot |
|
35 |
6 |
285 |
| ext2fs_mount |
|
107 |
27 |
776 |
| ext2fs_reload_vnode |
|
30 |
5 |
228 |
| ext2fs_maxfilesize |
|
9 |
2 |
84 |
| e2fs_sbfill |
|
44 |
7 |
405 |
| ext2fs_reload |
|
35 |
6 |
253 |
| ext2fs_mountfs |
|
76 |
17 |
584 |
| ext2fs_unmount |
|
32 |
8 |
254 |
| ext2fs_flushfiles |
|
12 |
2 |
98 |
| ext2fs_statfs |
|
34 |
6 |
251 |
| ext2fs_sync_vnode |
|
19 |
7 |
145 |
| ext2fs_sync |
|
32 |
7 |
227 |
| ext2fs_vget |
|
76 |
12 |
536 |
| ext2fs_fhtovp |
|
26 |
8 |
183 |
| ext2fs_vptofh |
|
11 |
1 |
71 |
| ext2fs_sysctl |
|
5 |
1 |
36 |
| ext2fs_sbupdate |
|
14 |
2 |
95 |
| ext2fs_cgupdate |
|
19 |
6 |
172 |
| e2fs_sbcheck |
|
51 |
14 |
285 |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/bpb.h |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/msdosfs_vfsops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| msdosfs_mount |
|
118 |
31 |
812 |
| msdosfs_mountfs |
|
198 |
47 |
1497 |
| msdosfs_start |
|
4 |
1 |
22 |
| msdosfs_unmount |
|
24 |
5 |
173 |
| msdosfs_root |
|
12 |
3 |
86 |
| msdosfs_statfs |
|
14 |
1 |
101 |
| msdosfs_sync_vnode |
|
20 |
7 |
154 |
| msdosfs_sync |
|
24 |
5 |
163 |
| msdosfs_fhtovp |
|
14 |
2 |
96 |
| msdosfs_vptofh |
|
11 |
1 |
71 |
| msdosfs_check_export |
|
12 |
2 |
83 |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/bootsect.h |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/denode.h |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/msdosfs_vnops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| msdosfs_create |
|
43 |
10 |
326 |
| msdosfs_mknod |
|
8 |
1 |
48 |
| msdosfs_open |
|
6 |
2 |
18 |
| msdosfs_close |
|
12 |
3 |
79 |
| msdosfs_access |
|
18 |
6 |
153 |
| msdosfs_getattr |
|
62 |
13 |
517 |
| msdosfs_setattr |
|
127 |
54 |
898 |
| msdosfs_read |
|
61 |
16 |
442 |
| msdosfs_write |
|
129 |
39 |
908 |
| msdosfs_ioctl |
|
6 |
2 |
18 |
| msdosfs_poll |
|
5 |
1 |
32 |
| msdosfs_fsync |
|
7 |
1 |
52 |
| msdosfs_remove |
|
21 |
4 |
130 |
| msdosfs_link |
|
7 |
1 |
38 |
| msdosfs_rename |
|
212 |
61 |
1342 |
| msdosfs_mkdir |
|
79 |
13 |
691 |
| msdosfs_rmdir |
|
35 |
6 |
213 |
| msdosfs_symlink |
|
7 |
1 |
38 |
| msdosfs_readdir |
|
174 |
39 |
1141 |
| msdosfs_readlink |
|
6 |
2 |
18 |
| msdosfs_lock |
|
6 |
1 |
42 |
| msdosfs_unlock |
|
7 |
1 |
38 |
| msdosfs_islocked |
|
5 |
1 |
29 |
| msdosfs_bmap |
|
14 |
4 |
106 |
| msdosfs_strategy |
|
29 |
7 |
198 |
| msdosfs_print |
|
13 |
3 |
84 |
| msdosfs_advlock |
|
7 |
1 |
58 |
| msdosfs_pathconf |
|
27 |
7 |
123 |
| fileidhash |
|
11 |
1 |
74 |
| msdosfs_kqfilter |
|
22 |
4 |
112 |
| filt_msdosfsdetach |
|
5 |
1 |
39 |
| filt_msdosfsread |
|
15 |
4 |
109 |
| filt_msdosfswrite |
|
9 |
2 |
46 |
| filt_msdosfsvnode |
|
10 |
3 |
54 |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/msdosfs_fat.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fatblock |
|
14 |
4 |
103 |
| pcbmap |
|
96 |
31 |
583 |
| fc_lookup |
|
17 |
7 |
113 |
| fc_purge |
|
10 |
3 |
58 |
| updatefats |
|
35 |
9 |
232 |
| usemap_alloc |
|
5 |
1 |
35 |
| usemap_free |
|
5 |
1 |
37 |
| clusterfree |
|
14 |
3 |
77 |
| fatentry |
|
68 |
20 |
444 |
| fatchain |
|
55 |
14 |
345 |
| chainlength |
|
28 |
8 |
172 |
| chainalloc |
|
17 |
6 |
114 |
| clusteralloc |
|
61 |
14 |
487 |
| freeclusterchain |
|
52 |
12 |
338 |
| fillinusemap |
|
35 |
11 |
255 |
| extendfile |
|
76 |
18 |
488 |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/fat.h |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/direntry.h |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/msdosfs_lookup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| msdosfs_lookup |
|
270 |
90 |
1709 |
| createde |
|
81 |
20 |
559 |
| dosdirempty |
|
41 |
12 |
261 |
| doscheckpath |
|
68 |
23 |
404 |
| readep |
|
20 |
5 |
146 |
| readde |
|
5 |
1 |
41 |
| removede |
|
45 |
14 |
280 |
| uniqdosname |
|
43 |
12 |
271 |
| findwin95 |
|
33 |
8 |
184 |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/msdosfsmount.h |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/msdosfs_conv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| unix2dostime |
|
45 |
14 |
315 |
| dos2unixtime |
|
38 |
8 |
275 |
| dos2unixfn |
|
29 |
10 |
192 |
| unix2dosfn |
|
91 |
42 |
644 |
| unix2winfn |
|
40 |
11 |
322 |
| winChkName |
|
45 |
25 |
354 |
| win2unixfn |
|
72 |
25 |
544 |
| winChksum |
|
8 |
2 |
54 |
| winSlotCnt |
|
9 |
5 |
56 |
| Source file: /home/sergeyb/sources/src/sys/msdosfs/msdosfs_denode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| msdosfs_init |
|
6 |
1 |
41 |
| msdosfs_dehash |
|
9 |
1 |
78 |
| msdosfs_hashget |
|
20 |
9 |
123 |
| msdosfs_hashins |
|
20 |
7 |
136 |
| msdosfs_hashrem |
|
11 |
4 |
63 |
| deget |
|
91 |
18 |
586 |
| deupdat |
|
28 |
7 |
170 |
| detrunc |
|
78 |
21 |
531 |
| deextend |
|
25 |
8 |
189 |
| reinsert |
|
7 |
2 |
29 |
| msdosfs_reclaim |
|
21 |
7 |
127 |
| msdosfs_inactive |
|
31 |
11 |
223 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ipcomp.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipcompstat_inc |
|
4 |
1 |
15 |
| ipcompstat_add |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/netinet/in_proto.c |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_seq.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ipcomp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipcomp_attach |
|
4 |
1 |
9 |
| ipcomp_init |
|
24 |
3 |
138 |
| ipcomp_zeroize |
|
7 |
1 |
30 |
| ipcomp_input |
|
42 |
3 |
297 |
| ipcomp_input_cb |
|
106 |
18 |
784 |
| ipcomp_output |
|
119 |
20 |
814 |
| ipcomp_output_cb |
|
93 |
15 |
589 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ipsec_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipsec_init |
|
9 |
1 |
63 |
| ipsec_common_input |
|
156 |
35 |
1051 |
| ipsec_common_input_cb |
|
193 |
49 |
1312 |
| ipsec_sysctl |
|
34 |
5 |
196 |
| esp_sysctl |
|
20 |
4 |
114 |
| esp_sysctl_espstat |
|
9 |
1 |
82 |
| ah_sysctl |
|
20 |
4 |
112 |
| ah_sysctl_ahstat |
|
8 |
1 |
82 |
| ipcomp_sysctl |
|
20 |
4 |
112 |
| ipcomp_sysctl_ipcompstat |
|
10 |
1 |
82 |
| ah4_input |
|
6 |
1 |
45 |
| ah4_ctlinput |
|
7 |
3 |
52 |
| esp4_input |
|
6 |
1 |
45 |
| ipcomp4_input |
|
6 |
1 |
45 |
| ipsec_common_ctlinput |
|
40 |
11 |
290 |
| udpencap_ctlinput |
|
43 |
8 |
347 |
| esp4_ctlinput |
|
7 |
3 |
52 |
| ah6_input |
|
38 |
8 |
268 |
| esp6_input |
|
38 |
8 |
268 |
| ipcomp6_input |
|
38 |
8 |
268 |
| ipsec_forward_check |
|
15 |
2 |
117 |
| ipsec_local_check |
|
27 |
13 |
206 |
| Source file: /home/sergeyb/sources/src/sys/netinet/in_pcb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_pcbhash |
|
14 |
1 |
141 |
| in6_pcbhash |
|
14 |
1 |
141 |
| in_pcblhash |
|
9 |
1 |
84 |
| in_pcbinit |
|
14 |
3 |
103 |
| in_baddynamic |
|
13 |
5 |
64 |
| in_rootonly |
|
13 |
5 |
61 |
| in_pcballoc |
|
42 |
9 |
340 |
| in_pcbbind |
|
66 |
24 |
425 |
| in_pcbaddrisavail |
|
40 |
16 |
317 |
| in_pcbpickport |
|
41 |
10 |
243 |
| in_pcbconnect |
|
43 |
14 |
310 |
| in_pcbdisconnect |
|
15 |
5 |
70 |
| in_pcbdetach |
|
26 |
6 |
162 |
| in_setsockaddr |
|
11 |
1 |
85 |
| in_setpeeraddr |
|
15 |
3 |
107 |
| in_pcbnotifyall |
|
24 |
10 |
155 |
| in_losing |
|
28 |
4 |
199 |
| in_rtchange |
|
7 |
2 |
39 |
| in_pcblookup_local |
|
52 |
21 |
308 |
| in_pcbrtentry |
|
36 |
9 |
267 |
| in_pcbselsrc |
|
50 |
15 |
382 |
| in_pcbrehash |
|
19 |
3 |
147 |
| in_pcbresize |
|
28 |
5 |
207 |
| in_pcbhashlookup |
|
29 |
12 |
213 |
| in6_pcbhashlookup |
|
30 |
11 |
210 |
| in_pcblookup_listen |
|
61 |
29 |
422 |
| in6_pcblookup_listen |
|
61 |
27 |
420 |
| Source file: /home/sergeyb/sources/src/sys/netinet/raw_ip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rip_init |
|
4 |
1 |
14 |
| rip_input |
|
84 |
25 |
552 |
| rip_output |
|
56 |
17 |
438 |
| rip_ctloutput |
|
48 |
20 |
246 |
| rip_usrreq |
|
106 |
34 |
533 |
| rip_attach |
|
19 |
7 |
116 |
| rip_detach |
|
11 |
4 |
61 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_timer.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_icmp.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/in.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_canforward |
|
13 |
6 |
77 |
| in_socktrim |
|
11 |
3 |
79 |
| in_mask2len |
|
18 |
6 |
114 |
| in_len2mask |
|
11 |
3 |
84 |
| in_nam2sin |
|
14 |
5 |
96 |
| in_control |
|
13 |
5 |
80 |
| in_ioctl |
|
166 |
58 |
1095 |
| in_ifscrub |
|
7 |
3 |
53 |
| in_ifinit |
|
64 |
19 |
431 |
| in_purgeaddr |
|
18 |
2 |
109 |
| in_addhost |
|
4 |
1 |
30 |
| in_scrubhost |
|
4 |
1 |
30 |
| in_insert_prefix |
|
12 |
3 |
78 |
| in_remove_prefix |
|
7 |
2 |
57 |
| in_broadcast |
|
19 |
6 |
119 |
| in_addmulti |
|
29 |
4 |
234 |
| in_delmulti |
|
22 |
3 |
161 |
| in_hasmulti |
|
8 |
1 |
45 |
| in_ifdetach |
|
10 |
2 |
58 |
| in_prefixlen2mask |
|
7 |
2 |
41 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ipip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipip_init |
|
4 |
1 |
13 |
| ipip_input |
|
18 |
4 |
123 |
| ipip_input_if |
|
138 |
39 |
859 |
| ipip_output |
|
155 |
27 |
1139 |
| ipe4_attach |
|
4 |
1 |
9 |
| ipe4_init |
|
5 |
1 |
28 |
| ipe4_zeroize |
|
4 |
1 |
12 |
| ipe4_input |
|
6 |
1 |
33 |
| ipip_sysctl_ipipstat |
|
9 |
1 |
82 |
| ipip_sysctl |
|
18 |
4 |
103 |
| Source file: /home/sergeyb/sources/src/sys/netinet/icmp_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| icmpstat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet/udp.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip6.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/in_pcb.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_debug.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcp_trace |
|
88 |
24 |
556 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcpstat_inc |
|
4 |
1 |
15 |
| tcpstat_add |
|
4 |
1 |
20 |
| tcpstat_pkt |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_esp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| esp_attach |
|
4 |
1 |
9 |
| esp_init |
|
162 |
39 |
850 |
| esp_zeroize |
|
17 |
3 |
106 |
| esp_input |
|
151 |
28 |
1089 |
| esp_input_cb |
|
162 |
24 |
1162 |
| esp_output |
|
194 |
38 |
1477 |
| esp_output_cb |
|
46 |
7 |
269 |
| checkreplaywindow |
|
71 |
29 |
522 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipstat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet/if_ether.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arptimer |
|
13 |
3 |
81 |
| arp_rtrequest |
|
75 |
21 |
513 |
| arprequest |
|
32 |
2 |
320 |
| arpreply |
|
20 |
1 |
217 |
| arpresolve |
|
84 |
24 |
592 |
| arpinput |
|
20 |
7 |
155 |
| arpintr |
|
15 |
3 |
80 |
| in_arpinput |
|
72 |
24 |
560 |
| arpcache |
|
83 |
17 |
602 |
| arpinvalidate |
|
8 |
1 |
57 |
| arptfree |
|
10 |
2 |
65 |
| arplookup |
|
27 |
11 |
203 |
| arpproxy |
|
27 |
5 |
163 |
| revarpinput |
|
20 |
5 |
120 |
| in_revarpinput |
|
33 |
10 |
184 |
| revarprequest |
|
31 |
2 |
300 |
| revarpwhoarewe |
|
20 |
5 |
121 |
| revarpwhoami |
|
5 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/netinet/udp_usrreq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udp_init |
|
5 |
1 |
21 |
| udp_input |
|
359 |
141 |
2434 |
| udp_notify |
|
6 |
1 |
34 |
| udp6_ctlinput |
|
94 |
22 |
630 |
| udp_ctlinput |
|
40 |
18 |
281 |
| udp_output |
|
130 |
38 |
887 |
| udp_usrreq |
|
137 |
48 |
643 |
| udp_attach |
|
16 |
6 |
102 |
| udp_detach |
|
10 |
2 |
47 |
| udp_sysctl |
|
36 |
9 |
218 |
| udp_sysctl_udpstat |
|
14 |
2 |
132 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_mroute.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ipsec_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipsp_process_packet |
|
179 |
72 |
1227 |
| ipsp_process_done |
|
98 |
25 |
657 |
| ipsec_hdrsz |
|
39 |
13 |
218 |
| ipsec_adjust_mtu |
|
25 |
4 |
162 |
| Source file: /home/sergeyb/sources/src/sys/netinet/in4_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in4_cksum |
|
103 |
24 |
818 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_esp.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| espstat_inc |
|
4 |
1 |
15 |
| espstat_add |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_gre.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ah.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ah_attach |
|
4 |
1 |
9 |
| ah_init |
|
53 |
11 |
330 |
| ah_zeroize |
|
12 |
2 |
68 |
| ah_massage_headers |
|
217 |
47 |
1338 |
| ah_input |
|
127 |
17 |
938 |
| ah_input_cb |
|
141 |
21 |
1026 |
| ah_output |
|
182 |
30 |
1421 |
| ah_output_cb |
|
51 |
7 |
305 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_gre.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gre_input2 |
|
78 |
26 |
427 |
| gre_input |
|
21 |
7 |
122 |
| gre_mobile_input |
|
58 |
12 |
494 |
| gre_lookup |
|
16 |
6 |
126 |
| gre_sysctl |
|
21 |
4 |
120 |
| ipmobile_sysctl |
|
17 |
3 |
88 |
| gre_usrreq |
|
26 |
11 |
189 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_divert.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divstat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcp_init |
|
22 |
4 |
187 |
| tcp_template |
|
69 |
12 |
433 |
| tcp_respond |
|
102 |
28 |
783 |
| tcp_newtcpcb |
|
39 |
8 |
268 |
| tcp_drop |
|
14 |
4 |
89 |
| tcp_close |
|
23 |
2 |
133 |
| tcp_reaper |
|
6 |
1 |
28 |
| tcp_freeq |
|
12 |
2 |
73 |
| tcp_rscale |
|
7 |
3 |
40 |
| tcp_notify |
|
17 |
8 |
113 |
| tcp6_ctlinput |
|
74 |
22 |
509 |
| tcp_ctlinput |
|
89 |
27 |
652 |
| tcp6_mtudisc_callback |
|
5 |
1 |
38 |
| tcp_mtudisc |
|
23 |
9 |
145 |
| tcp_mtudisc_increase |
|
10 |
4 |
67 |
| tcp_set_iss_tsm |
|
34 |
3 |
263 |
| tcp_signature_tdb_attach |
|
4 |
1 |
11 |
| tcp_signature_tdb_init |
|
12 |
4 |
98 |
| tcp_signature_tdb_zeroize |
|
9 |
2 |
50 |
| tcp_signature_tdb_input |
|
4 |
1 |
25 |
| tcp_signature_tdb_output |
|
5 |
1 |
30 |
| tcp_signature_apply |
|
5 |
1 |
34 |
| tcp_signature |
|
56 |
8 |
418 |
| Source file: /home/sergeyb/sources/src/sys/netinet/in_systm.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ecn.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_carp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| carp_vhost_entry::SRPL_ENTRY |
|
7 |
1 |
34 |
| carp_hmac_prepare |
|
11 |
2 |
56 |
| carp_hmac_prepare_ctx |
|
76 |
21 |
704 |
| carp_hmac_generate |
|
12 |
1 |
115 |
| carp_hmac_verify |
|
12 |
3 |
83 |
| carp_proto_input |
|
12 |
2 |
75 |
| carp_proto_input_if |
|
58 |
10 |
397 |
| carp6_proto_input |
|
12 |
2 |
75 |
| carp6_proto_input_if |
|
47 |
6 |
317 |
| carp_proto_input_c |
|
96 |
24 |
611 |
| carp_sysctl_carpstat |
|
9 |
1 |
82 |
| carp_sysctl |
|
19 |
5 |
122 |
| carpattach |
|
8 |
2 |
43 |
| carp_clone_create |
|
43 |
4 |
316 |
| carp_new_vhost |
|
31 |
4 |
222 |
| carp_clone_destroy |
|
16 |
2 |
110 |
| carp_del_all_timeouts |
|
10 |
1 |
55 |
| carpdetach |
|
30 |
5 |
202 |
| carp_ifdetach |
|
8 |
1 |
53 |
| carp_destroy_vhosts |
|
11 |
2 |
66 |
| carp_prepare_ad |
|
12 |
2 |
82 |
| carp_send_ad_all |
|
22 |
5 |
119 |
| carp_vhe_send_ad_all |
|
9 |
2 |
44 |
| carp_timer_ad |
|
6 |
1 |
21 |
| carp_send_ad |
|
191 |
32 |
1390 |
| carp_send_arp |
|
12 |
2 |
82 |
| carp_send_na |
|
15 |
3 |
97 |
| carp_update_lsmask |
|
17 |
4 |
106 |
| carp_iamatch |
|
12 |
2 |
68 |
| carp_ourether |
|
17 |
5 |
128 |
| carp_vhe_match |
|
11 |
3 |
81 |
| carp_input |
|
54 |
11 |
351 |
| carp_lsdrop |
|
36 |
9 |
236 |
| carp_timer_down |
|
6 |
1 |
21 |
| carp_master_down |
|
24 |
7 |
110 |
| carp_setrun_all |
|
8 |
1 |
41 |
| carp_setrun |
|
62 |
22 |
422 |
| carp_multicast_cleanup |
|
22 |
6 |
138 |
| carp_set_ifp |
|
64 |
16 |
451 |
| carp_set_vhe_enaddr |
|
16 |
5 |
122 |
| carp_set_enaddr |
|
23 |
11 |
234 |
| carp_addr_updated |
|
35 |
12 |
251 |
| carp_set_addr |
|
14 |
3 |
94 |
| carp_join_multicast |
|
17 |
3 |
121 |
| carp_set_addr6 |
|
13 |
3 |
86 |
| carp_join_multicast6 |
|
37 |
5 |
315 |
| carp_ioctl |
|
160 |
39 |
1017 |
| carp_check_dup_vhids |
|
26 |
6 |
148 |
| carp_vhids_ioctl |
|
44 |
15 |
353 |
| carp_ifgroup_ioctl |
|
19 |
5 |
138 |
| carp_ifgattr_ioctl |
|
8 |
3 |
71 |
| carp_start |
|
31 |
9 |
193 |
| carp_output |
|
24 |
5 |
165 |
| carp_set_state_all |
|
10 |
2 |
51 |
| carp_set_state |
|
33 |
6 |
213 |
| carp_group_demote_adj |
|
31 |
8 |
193 |
| carp_group_demote_count |
|
10 |
4 |
67 |
| carp_carpdev_state |
|
28 |
6 |
183 |
| carp_ether_addmulti |
|
32 |
5 |
255 |
| carp_ether_delmulti |
|
31 |
8 |
241 |
| carp_ether_purgemulti |
|
22 |
3 |
155 |
| carp_vh_ref |
|
5 |
1 |
27 |
| carp_vh_unref |
|
8 |
2 |
53 |
| carp_sc_ref |
|
5 |
1 |
27 |
| carp_sc_unref |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ether.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mplsip_input |
|
12 |
2 |
59 |
| mplsip_decap |
|
27 |
8 |
190 |
| mplsip_getgif |
|
51 |
10 |
396 |
| mplsip_output |
|
82 |
17 |
591 |
| Source file: /home/sergeyb/sources/src/sys/netinet/udp_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| udpstat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_mroute.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mfc_find |
|
25 |
6 |
169 |
| ip_mrouter_set |
|
36 |
10 |
165 |
| ip_mrouter_get |
|
24 |
5 |
103 |
| mrt_ioctl |
|
22 |
4 |
105 |
| get_sg_cnt |
|
23 |
5 |
169 |
| get_vif_cnt |
|
14 |
2 |
98 |
| mrt_sysctl_vif |
|
38 |
7 |
237 |
| mrt_rtwalk_mfcsysctl |
|
48 |
12 |
360 |
| mrt_sysctl_mfc |
|
24 |
7 |
182 |
| ip_mrouter_init |
|
20 |
8 |
142 |
| mrouter_rtwalk_delete |
|
9 |
2 |
58 |
| ip_mrouter_done |
|
19 |
2 |
111 |
| get_version |
|
7 |
1 |
40 |
| set_api_config |
|
25 |
6 |
150 |
| get_api_support |
|
9 |
3 |
53 |
| get_api_config |
|
9 |
3 |
53 |
| add_vif |
|
51 |
11 |
378 |
| del_vif |
|
15 |
4 |
106 |
| vif_delete |
|
14 |
2 |
127 |
| mfc_expire_route |
|
20 |
4 |
133 |
| mfc_add_route |
|
38 |
4 |
266 |
| update_mfc_params |
|
68 |
12 |
470 |
| mfc_add |
|
20 |
4 |
148 |
| add_mfc |
|
25 |
6 |
220 |
| del_mfc |
|
24 |
4 |
195 |
| socket_send |
|
11 |
3 |
73 |
| ip_mforward |
|
52 |
11 |
391 |
| ip_mdq |
|
63 |
13 |
430 |
| if_lookupbyvif |
|
15 |
4 |
81 |
| rt_mcast_add |
|
21 |
4 |
137 |
| rt_mcast_del |
|
21 |
3 |
130 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_id.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip_randomid |
|
24 |
4 |
148 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_usrreq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcp_usrreq |
|
175 |
60 |
1019 |
| tcp_ctloutput |
|
122 |
41 |
641 |
| tcp_attach |
|
39 |
15 |
262 |
| tcp_detach |
|
26 |
6 |
128 |
| tcp_disconnect |
|
16 |
5 |
106 |
| tcp_usrclosed |
|
24 |
10 |
109 |
| tcp_ident |
|
91 |
30 |
625 |
| tcp_sysctl_tcpstat |
|
121 |
3 |
659 |
| tcp_sysctl |
|
115 |
35 |
717 |
| tcp_update_sndspace |
|
22 |
8 |
209 |
| tcp_update_rcvspace |
|
22 |
8 |
165 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_icmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| icmp_init |
|
8 |
2 |
28 |
| icmp_do_error |
|
89 |
28 |
695 |
| icmp_error |
|
8 |
3 |
66 |
| icmp_input |
|
12 |
2 |
77 |
| icmp_input_if |
|
285 |
109 |
1748 |
| icmp_reflect |
|
100 |
29 |
691 |
| icmp_send |
|
19 |
4 |
160 |
| iptime |
|
8 |
1 |
51 |
| icmp_sysctl |
|
40 |
8 |
196 |
| icmp_sysctl_icmpstat |
|
14 |
2 |
132 |
| icmp_mtudisc_clone |
|
48 |
9 |
329 |
| icmp_mtudisc |
|
38 |
15 |
253 |
| icmp_mtudisc_timeout |
|
22 |
5 |
168 |
| icmp_ratelimit |
|
7 |
2 |
38 |
| icmp_redirect_timeout |
|
12 |
3 |
78 |
| icmp_do_exthdr |
|
41 |
8 |
365 |
| Source file: /home/sergeyb/sources/src/sys/netinet/igmp.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/inet_ntop.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inet_ntop |
|
11 |
4 |
68 |
| sockaddr_ntop |
|
24 |
8 |
181 |
| inet_ntop4 |
|
12 |
3 |
91 |
| inet_ntop6 |
|
76 |
35 |
609 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_fsm.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/in_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_cksum |
|
78 |
18 |
566 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_timer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcp_timer_init |
|
11 |
5 |
46 |
| tcp_delack |
|
11 |
2 |
50 |
| tcp_slowtimo |
|
8 |
1 |
29 |
| tcp_canceltimers |
|
6 |
2 |
32 |
| tcp_timer_freesack |
|
11 |
2 |
55 |
| tcp_timer_rexmt |
|
98 |
31 |
659 |
| tcp_timer_persist |
|
27 |
7 |
152 |
| tcp_timer_keep |
|
29 |
8 |
180 |
| tcp_timer_2msl |
|
15 |
5 |
86 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ether.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| etheripstat_inc |
|
4 |
1 |
15 |
| etheripstat_add |
|
4 |
1 |
20 |
| etheripstat_pkt |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_carp.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| carpstat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ipsp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tdb_hash |
|
12 |
1 |
101 |
| reserve_spi |
|
67 |
20 |
380 |
| gettdb |
|
15 |
7 |
124 |
| gettdbbysrcdst |
|
35 |
21 |
328 |
| ipsp_aux_match |
|
19 |
9 |
109 |
| gettdbbydst |
|
21 |
8 |
160 |
| gettdbbysrc |
|
22 |
8 |
160 |
| tdb_hashstats |
|
22 |
8 |
150 |
| tdb_walk |
|
19 |
8 |
151 |
| tdb_timeout |
|
11 |
3 |
59 |
| tdb_firstuse |
|
11 |
3 |
56 |
| tdb_soft_timeout |
|
10 |
2 |
49 |
| tdb_soft_firstuse |
|
11 |
3 |
57 |
| tdb_rehash |
|
47 |
5 |
364 |
| puttdb |
|
34 |
5 |
272 |
| tdb_unlink |
|
52 |
11 |
304 |
| tdb_delete |
|
6 |
1 |
23 |
| tdb_alloc |
|
14 |
1 |
104 |
| tdb_free |
|
35 |
11 |
250 |
| tdb_init |
|
16 |
4 |
117 |
| ipsp_address |
|
13 |
4 |
77 |
| ipsp_is_unspecified |
|
18 |
7 |
70 |
| ipsp_ids_match |
|
4 |
1 |
19 |
| ipsp_ids_insert |
|
31 |
7 |
182 |
| ipsp_ids_lookup |
|
7 |
1 |
33 |
| ipsp_ids_timeout |
|
13 |
1 |
98 |
| ipsp_ids_free |
|
7 |
2 |
52 |
| ipsp_id_cmp |
|
12 |
5 |
84 |
| ipsp_ids_cmp |
|
8 |
2 |
53 |
| ipsp_ids_flow_cmp |
|
8 |
3 |
46 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_spd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spd_table_get |
|
11 |
3 |
53 |
| spd_table_add |
|
26 |
7 |
174 |
| spd_table_walk |
|
13 |
3 |
101 |
| ipsp_spd_lookup |
|
310 |
100 |
2167 |
| ipsec_delete_policy |
|
24 |
7 |
171 |
| ipsp_delete_acquire_timo |
|
7 |
1 |
28 |
| ipsp_delete_acquire |
|
10 |
2 |
61 |
| ipsp_pending_acquire |
|
10 |
2 |
61 |
| ipsp_acquire_sa |
|
84 |
11 |
686 |
| ipsp_spd_inp |
|
21 |
9 |
136 |
| ipsec_get_acquire |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip_output |
|
256 |
99 |
1750 |
| ip_output_ipsec_lookup |
|
24 |
8 |
170 |
| ip_output_ipsec_send |
|
49 |
21 |
378 |
| ip_fragment |
|
95 |
16 |
687 |
| ip_insertoptions |
|
36 |
6 |
323 |
| ip_optcopy |
|
32 |
12 |
232 |
| ip_ctloutput |
|
319 |
125 |
1434 |
| ip_pcbopts |
|
59 |
16 |
449 |
| ip_setmoptions |
|
207 |
50 |
1288 |
| ip_getmoptions |
|
36 |
9 |
220 |
| ip_freemoptions |
|
10 |
3 |
69 |
| ip_mloopback |
|
12 |
2 |
92 |
| in_cksum_phdr |
|
13 |
2 |
87 |
| in_delayed_cksum |
|
27 |
7 |
182 |
| in_proto_cksum_out |
|
41 |
18 |
359 |
| Source file: /home/sergeyb/sources/src/sys/netinet/in_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifmatoinm |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/netinet/if_ether.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/igmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| igmp_init |
|
19 |
2 |
125 |
| rti_fill |
|
23 |
5 |
136 |
| rti_find |
|
18 |
4 |
111 |
| rti_delete |
|
12 |
3 |
79 |
| igmp_input |
|
15 |
2 |
90 |
| igmp_input_if |
|
176 |
53 |
967 |
| igmp_joingroup |
|
20 |
5 |
121 |
| igmp_leavegroup |
|
21 |
10 |
100 |
| igmp_fasttimo |
|
12 |
2 |
47 |
| igmp_checktimer |
|
25 |
6 |
133 |
| igmp_slowtimo |
|
12 |
4 |
60 |
| igmp_sendpkt |
|
42 |
4 |
321 |
| igmp_sysctl |
|
22 |
5 |
125 |
| igmp_sysctl_igmpstat |
|
14 |
2 |
132 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip_init |
|
41 |
14 |
367 |
| ip_ours |
|
8 |
2 |
54 |
| ipintr |
|
12 |
4 |
75 |
| ipv4_input |
|
7 |
1 |
47 |
| ip_input_if |
|
149 |
46 |
980 |
| ip_local |
|
72 |
18 |
490 |
| ip_deliver |
|
66 |
25 |
338 |
| in_ouraddr |
|
51 |
15 |
332 |
| ip_reass |
|
130 |
24 |
993 |
| ip_freef |
|
13 |
2 |
78 |
| ip_slowtimo |
|
12 |
2 |
60 |
| ip_flush |
|
9 |
4 |
53 |
| ip_dooptions |
|
183 |
37 |
1263 |
| save_rte |
|
17 |
3 |
135 |
| ip_srcroute |
|
33 |
6 |
266 |
| ip_stripoptions |
|
16 |
2 |
138 |
| ip_forward |
|
115 |
34 |
748 |
| ip_sysctl |
|
96 |
44 |
507 |
| ip_sysctl_ipstat |
|
13 |
2 |
132 |
| ip_savecontrol |
|
69 |
22 |
540 |
| ip_send_dispatch |
|
14 |
3 |
83 |
| ip_send |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_output.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcp_print_holes |
|
13 |
3 |
69 |
| tcp_sack_output |
|
20 |
8 |
107 |
| tcp_sack_adjust |
|
22 |
7 |
125 |
| tcp_output |
|
535 |
201 |
3890 |
| tcp_setpersist |
|
14 |
4 |
105 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_divert.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divert_init |
|
5 |
1 |
21 |
| divert_output |
|
78 |
20 |
518 |
| divert_packet |
|
54 |
9 |
322 |
| divert_usrreq |
|
58 |
22 |
267 |
| divert_attach |
|
16 |
5 |
90 |
| divert_detach |
|
9 |
2 |
45 |
| divert_sysctl_divstat |
|
14 |
2 |
132 |
| divert_sysctl |
|
32 |
6 |
178 |
| Source file: /home/sergeyb/sources/src/sys/netinet/inet_nat64.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inet_nat64_mask |
|
12 |
3 |
77 |
| inet_nat64 |
|
13 |
3 |
76 |
| inet_nat64_inet |
|
31 |
11 |
191 |
| inet_nat64_inet6 |
|
33 |
11 |
206 |
| inet_nat46 |
|
17 |
4 |
94 |
| inet_nat46_inet |
|
8 |
1 |
75 |
| inet_nat46_inet6 |
|
9 |
1 |
98 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ipsp.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/icmp6.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| icmp6stat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_input.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcp_reass |
|
67 |
16 |
489 |
| tcp_flush_queue |
|
30 |
9 |
227 |
| tcp_input |
|
977 |
330 |
6286 |
| tcp_dooptions |
|
130 |
46 |
868 |
| tcp_seq_subtract |
|
4 |
1 |
22 |
| tcp_update_sack_list |
|
71 |
23 |
599 |
| tcp_sack_option |
|
147 |
34 |
1033 |
| tcp_del_sackholes |
|
23 |
8 |
156 |
| tcp_clean_sackreport |
|
7 |
2 |
51 |
| tcp_sack_partialack |
|
12 |
2 |
88 |
| tcp_pulloutofband |
|
20 |
4 |
132 |
| tcp_xmit_timer |
|
30 |
7 |
227 |
| tcp_mss |
|
76 |
26 |
529 |
| tcp_hdrsz |
|
22 |
8 |
109 |
| tcp_mss_update |
|
29 |
6 |
170 |
| tcp_newreno_partialack |
|
18 |
3 |
139 |
| tcp_mss_adv |
|
25 |
8 |
140 |
| syn_cache_rm |
|
10 |
1 |
64 |
| syn_cache_put |
|
10 |
2 |
67 |
| syn_cache_init |
|
16 |
2 |
144 |
| syn_cache_insert |
|
73 |
18 |
503 |
| syn_cache_timer |
|
25 |
4 |
119 |
| syn_cache_reaper |
|
6 |
1 |
27 |
| syn_cache_cleanup |
|
12 |
3 |
67 |
| syn_cache_lookup |
|
28 |
7 |
219 |
| syn_cache_get |
|
150 |
38 |
1062 |
| syn_cache_reset |
|
15 |
4 |
101 |
| syn_cache_unreach |
|
19 |
5 |
118 |
| Source file: /home/sergeyb/sources/src/sys/netinet/igmp_var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| igmpstat_inc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ecn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip_ecn_ingress |
|
18 |
8 |
79 |
| ip_ecn_egress |
|
26 |
11 |
121 |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ah.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahstat_inc |
|
4 |
1 |
15 |
| ahstat_add |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/netinet/in.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| satosin |
|
4 |
1 |
21 |
| sintosa |
|
4 |
1 |
21 |
| ifatoia |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/netinet/tcp_debug.h |
| Source file: /home/sergeyb/sources/src/sys/netinet/ip_ipip.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipipstat_inc |
|
4 |
1 |
15 |
| ipipstat_add |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/m88k_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| setregs |
|
31 |
10 |
198 |
| copystr |
|
20 |
5 |
102 |
| regdump |
|
48 |
12 |
489 |
| set_cpu_number |
|
10 |
2 |
52 |
| signotify |
|
5 |
1 |
21 |
| cpu_unidle |
|
5 |
2 |
26 |
| need_resched |
|
9 |
3 |
45 |
| dosoftint |
|
10 |
5 |
66 |
| spl0 |
|
12 |
2 |
57 |
| vector_init |
|
50 |
11 |
312 |
| atomic_init |
|
20 |
5 |
107 |
| cpu_emergency_disable |
|
22 |
4 |
127 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/m88100_fp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m88100_fpu_precise_exception |
|
17 |
3 |
95 |
| m88100_fpu_parse_single |
|
9 |
1 |
58 |
| m88100_fpu_fetch |
|
37 |
12 |
204 |
| m88100_fpu_emulate |
|
136 |
48 |
933 |
| m88100_fpu_imprecise_exception |
|
49 |
8 |
332 |
| m88100_fpu_checksig |
|
34 |
14 |
215 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
17 |
7 |
72 |
| mmclose |
|
4 |
1 |
23 |
| mmrw |
|
60 |
19 |
354 |
| mmmmap |
|
4 |
1 |
19 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/mplock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mp_lock_spin |
|
12 |
5 |
62 |
| __mp_lock |
|
20 |
4 |
127 |
| __mp_unlock |
|
16 |
4 |
103 |
| __mp_release_all |
|
17 |
3 |
108 |
| __mp_release_all_but_one |
|
16 |
3 |
102 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/m88110_fp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m88110_fpu_exception |
|
69 |
17 |
387 |
| m88110_fpu_fetch |
|
35 |
12 |
196 |
| m88110_fpu_emulate |
|
170 |
65 |
1174 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m88k_dmx_print |
|
59 |
19 |
513 |
| m88k_db_print_frame |
|
152 |
46 |
1171 |
| m88k_db_registers |
|
8 |
1 |
40 |
| m88k_db_trap |
|
31 |
9 |
140 |
| kdbprinttrap |
|
9 |
3 |
45 |
| db_enter |
|
5 |
1 |
13 |
| ddb_break_trap |
|
11 |
3 |
47 |
| ddb_entry_trap |
|
7 |
1 |
30 |
| db_read_bytes |
|
8 |
2 |
43 |
| db_write_bytes |
|
40 |
14 |
276 |
| m88k_db_where |
|
16 |
3 |
84 |
| m88k_db_frame_search |
|
17 |
4 |
94 |
| m88k_db_cpu_cmd |
|
42 |
10 |
237 |
| db_machine_init |
|
5 |
2 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/m88100_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dae_print |
|
9 |
2 |
84 |
| dae_print_one |
|
47 |
11 |
220 |
| data_access_emulation |
|
13 |
2 |
96 |
| dae_process |
|
109 |
30 |
613 |
| m88100_apply_patches |
|
11 |
3 |
114 |
| m88100_smp_setup |
|
5 |
1 |
21 |
| m88100_mp_atomic_begin |
|
8 |
1 |
36 |
| m88100_mp_atomic_end |
|
5 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_read_regs |
|
7 |
1 |
45 |
| process_write_regs |
|
11 |
1 |
77 |
| process_set_pc |
|
10 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
25 |
6 |
234 |
| cpu_exit |
|
5 |
1 |
19 |
| vmapbuf |
|
28 |
5 |
210 |
| vunmapbuf |
|
16 |
3 |
115 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/db_sstep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inst_branch_or_call |
|
15 |
8 |
63 |
| branch_taken |
|
22 |
9 |
125 |
| db_set_single_step |
|
18 |
8 |
104 |
| db_clear_single_step |
|
17 |
7 |
66 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/sig_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sendsig |
|
49 |
16 |
484 |
| sys_sigreturn |
|
37 |
11 |
318 |
| local_stack_frame |
|
30 |
13 |
169 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/in_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_cksum_internal |
|
34 |
9 |
157 |
| in_cksum |
|
4 |
1 |
26 |
| in4_cksum |
|
23 |
5 |
220 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| br_dest |
|
7 |
2 |
38 |
| m88k_instruction_info |
|
43 |
3 |
358 |
| hex_value_needs_0x |
|
18 |
6 |
82 |
| frame_is_sane |
|
33 |
18 |
220 |
| m88k_exception_name |
|
27 |
19 |
123 |
| db_trace_get_val |
|
13 |
2 |
66 |
| save_reg |
|
9 |
2 |
46 |
| print_args |
|
24 |
8 |
117 |
| is_jump_source_ok |
|
30 |
11 |
191 |
| stack_decode |
|
143 |
43 |
826 |
| db_stack_trace_cmd2 |
|
61 |
15 |
438 |
| db_stack_trace_print |
|
91 |
32 |
539 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/softintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softintr_init |
|
11 |
2 |
61 |
| softintr_dispatch |
|
18 |
3 |
109 |
| softintr_establish |
|
31 |
8 |
145 |
| softintr_disestablish |
|
12 |
2 |
79 |
| softintr_schedule |
|
12 |
2 |
86 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/fpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_store |
|
51 |
15 |
251 |
| fpu_precision |
|
4 |
1 |
26 |
| fpu_compare |
|
125 |
46 |
678 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/m8820x_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m8820x_cmmu_set_reg |
|
12 |
4 |
79 |
| m8820x_cmmu_set_reg_if_mode |
|
14 |
5 |
93 |
| m8820x_cmmu_set_cmd |
|
13 |
4 |
88 |
| m8820x_cmmu_set_cmd_if_mode |
|
15 |
5 |
102 |
| m8820x_cmmu_set_cmd_if_addr |
|
17 |
6 |
114 |
| m8820x_cmmu_wait |
|
15 |
6 |
92 |
| m8820x_dbatc_set |
|
4 |
1 |
27 |
| m8820x_ibatc_set |
|
4 |
1 |
27 |
| m8820x_batc_setup |
|
52 |
14 |
336 |
| m8820x_cpu_configuration_print |
|
41 |
13 |
249 |
| m8820x_cmmu_configuration_print |
|
54 |
18 |
328 |
| m8820x_init |
|
8 |
2 |
28 |
| m8820x_initialize_cpu |
|
65 |
11 |
509 |
| m8820x_shutdown |
|
15 |
4 |
82 |
| m8820x_apr_cmode |
|
16 |
7 |
91 |
| m8820x_pte_cmode |
|
14 |
6 |
71 |
| m8820x_set_sapr |
|
7 |
1 |
27 |
| m8820x_set_uapr |
|
11 |
1 |
48 |
| m8820x_tlbis |
|
10 |
1 |
47 |
| m8820x_tlbiu |
|
10 |
1 |
47 |
| m8820x_tlbia |
|
10 |
1 |
41 |
| m8820x_cache_wbinv |
|
24 |
4 |
128 |
| m8820x_dcache_wb |
|
26 |
4 |
132 |
| m8820x_icache_inv |
|
26 |
4 |
132 |
| m8820x_cmmu_wb_locked |
|
10 |
2 |
46 |
| m8820x_cmmu_wbinv_locked |
|
7 |
2 |
38 |
| m8820x_cmmu_inv_locked |
|
7 |
2 |
38 |
| m8820x_dma_cachectl |
|
76 |
21 |
477 |
| m8820x_dma_cachectl_local |
|
3 |
1 |
13 |
| m8820x_enable_other_cmmu_cache |
|
10 |
3 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pg_to_pvh |
|
4 |
1 |
17 |
| sdt_pte |
|
4 |
1 |
28 |
| pmap_pte |
|
8 |
2 |
42 |
| pmap_extract |
|
14 |
3 |
64 |
| pmap_translation_info |
|
69 |
20 |
375 |
| tlb_flush |
|
14 |
5 |
79 |
| tlb_kflush |
|
10 |
3 |
54 |
| pmap_activate |
|
15 |
3 |
93 |
| pmap_deactivate |
|
5 |
1 |
24 |
| pmap_expand_kmap |
|
28 |
6 |
184 |
| pmap_expand |
|
20 |
4 |
126 |
| pmap_steal_memory |
|
18 |
5 |
128 |
| pmap_map |
|
61 |
20 |
423 |
| pmap_bootstrap |
|
95 |
18 |
845 |
| pmap_bootstrap_cpu |
|
7 |
2 |
40 |
| pmap_unmap_firmware |
|
7 |
2 |
27 |
| pmap_init |
|
7 |
1 |
59 |
| pmap_create |
|
20 |
3 |
120 |
| pmap_destroy |
|
20 |
4 |
134 |
| pmap_reference |
|
4 |
1 |
12 |
| pmap_collect |
|
29 |
6 |
198 |
| pmap_enter |
|
91 |
28 |
586 |
| pmap_kenter_pa |
|
18 |
6 |
135 |
| pmap_remove_pte |
|
50 |
13 |
327 |
| pmap_remove_range |
|
26 |
7 |
150 |
| pmap_remove |
|
9 |
1 |
44 |
| pmap_kremove |
|
33 |
8 |
197 |
| pmap_remove_page |
|
22 |
4 |
130 |
| pmap_protect |
|
36 |
8 |
208 |
| pmap_unwire |
|
9 |
2 |
44 |
| pmap_copy_page |
|
10 |
2 |
81 |
| pmap_zero_page |
|
8 |
2 |
59 |
| pmap_changebit |
|
32 |
8 |
216 |
| pmap_testbit |
|
35 |
9 |
235 |
| pmap_unsetbit |
|
39 |
10 |
250 |
| pmap_is_modified |
|
11 |
4 |
60 |
| pmap_is_referenced |
|
4 |
1 |
17 |
| pmap_page_protect |
|
7 |
3 |
47 |
| pmap_clean_page |
|
10 |
5 |
50 |
| pmap_proc_iflush |
|
23 |
6 |
135 |
| pmap_set_modify |
|
22 |
7 |
128 |
| pmap_cache_ctrl |
|
36 |
14 |
257 |
| pmap_page_uncache |
|
31 |
8 |
193 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| printtrap |
|
23 |
8 |
121 |
| panictrap |
|
10 |
3 |
57 |
| interrupt |
|
7 |
1 |
33 |
| nmi |
|
4 |
1 |
15 |
| nmi_wrapup |
|
4 |
1 |
14 |
| ast |
|
9 |
1 |
54 |
| m88100_trap |
|
266 |
63 |
1456 |
| m88110_trap |
|
318 |
92 |
1725 |
| error_fatal |
|
9 |
3 |
55 |
| m88100_syscall |
|
70 |
12 |
473 |
| m88110_syscall |
|
67 |
12 |
431 |
| child_return |
|
22 |
6 |
130 |
| ss_get_value |
|
15 |
1 |
108 |
| ss_put_value |
|
15 |
1 |
108 |
| ss_branch_taken |
|
24 |
10 |
136 |
| ss_inst_branch_or_call |
|
15 |
8 |
63 |
| ss_put_breakpoint |
|
12 |
3 |
87 |
| process_sstep |
|
33 |
11 |
261 |
| splassert_check |
|
9 |
2 |
46 |
| double_reg_fixup |
|
74 |
20 |
483 |
| cache_flush |
|
30 |
11 |
184 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| printcmp |
|
12 |
4 |
60 |
| cregname |
|
23 |
7 |
129 |
| symofset |
|
10 |
2 |
76 |
| oimmed |
|
20 |
5 |
111 |
| ctrlregs |
|
26 |
7 |
196 |
| sindou |
|
76 |
23 |
474 |
| jump |
|
11 |
2 |
70 |
| instset |
|
27 |
7 |
162 |
| obranch |
|
12 |
2 |
77 |
| brcond |
|
22 |
5 |
162 |
| otrap |
|
16 |
4 |
124 |
| obit |
|
12 |
2 |
106 |
| bitman |
|
8 |
1 |
67 |
| immem |
|
47 |
11 |
244 |
| nimmem |
|
64 |
23 |
381 |
| lognim |
|
11 |
2 |
92 |
| onimmed |
|
26 |
7 |
155 |
| pinst |
|
40 |
9 |
252 |
| m88k_print_instruction |
|
20 |
6 |
112 |
| db_disasm |
|
10 |
3 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/m88k/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/asm_macro.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| set_psr |
|
5 |
1 |
22 |
| get_psr |
|
6 |
1 |
25 |
| ff1 |
|
5 |
1 |
28 |
| get_cpu_pid |
|
6 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/mmu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| invalidate_pte |
|
8 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/lock.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __cpu_simple_lock_init |
|
4 |
1 |
13 |
| __cpu_simple_lock_try |
|
7 |
1 |
42 |
| __cpu_simple_lock |
|
9 |
4 |
34 |
| __cpu_simple_unlock |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/m8820x.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __m88k_get_tcb |
|
6 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/ieeefp.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| countLeadingZeros32 |
|
6 |
2 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| curcpu |
|
6 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atomic_setbits_int |
|
8 |
1 |
40 |
| atomic_clearbits_int |
|
8 |
1 |
40 |
| atomic_add_int_nv_sp |
|
11 |
1 |
52 |
| atomic_sub_int_nv_sp |
|
11 |
1 |
52 |
| atomic_cas_uint_sp |
|
12 |
2 |
61 |
| atomic_swap_uint_sp |
|
11 |
1 |
51 |
| atomic_clear_int |
|
8 |
1 |
42 |
| __sync_synchronize |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/pmap_table.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/cmmu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/mplock.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mp_lock_init |
|
6 |
1 |
29 |
| __mp_acquire_count |
|
5 |
2 |
22 |
| __mp_lock_held |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/m88100.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m88100_rewind_insn |
|
5 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/m88k/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/octeon/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octeon_memory_init |
|
47 |
11 |
346 |
| mips_init |
|
193 |
33 |
1337 |
| consinit |
|
9 |
2 |
31 |
| cpu_startup |
|
19 |
3 |
137 |
| octeon_cpuspeed |
|
6 |
1 |
28 |
| octeon_ioclock_speed |
|
17 |
3 |
78 |
| octeon_tlb_init |
|
28 |
5 |
124 |
| get_ncpusfound |
|
10 |
3 |
62 |
| process_bootargs |
|
19 |
6 |
116 |
| cpu_sysctl |
|
10 |
2 |
54 |
| boot |
|
47 |
12 |
223 |
| dumpconf |
|
16 |
7 |
123 |
| dumpsys |
|
3 |
1 |
5 |
| is_memory_range |
|
14 |
6 |
101 |
| ioclock_get_timecount |
|
5 |
1 |
25 |
| hw_cpu_boot_secondary |
|
14 |
3 |
83 |
| hw_cpu_hatch |
|
20 |
1 |
109 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/octeon/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_configure |
|
9 |
1 |
39 |
| findtype |
|
22 |
5 |
125 |
| parse_uboot_root |
|
19 |
5 |
101 |
| diskconf |
|
7 |
2 |
34 |
| device_register |
|
14 |
6 |
62 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/octeon/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
26 |
8 |
157 |
| writedisklabel |
|
30 |
4 |
213 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/octeon/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_establish |
|
7 |
1 |
51 |
| pciide_machdep_compat_intr_disestablish |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/octeon/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
7 |
4 |
44 |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/octeon/openprom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| openpromattach |
|
3 |
1 |
7 |
| openpromopen |
|
4 |
1 |
23 |
| openpromclose |
|
4 |
1 |
23 |
| openpromcheckid |
|
7 |
4 |
50 |
| openpromgetstr |
|
11 |
2 |
81 |
| openpromioctl |
|
136 |
34 |
841 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/octeon/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _dmamap_create |
|
20 |
3 |
152 |
| _dmamap_destroy |
|
4 |
1 |
19 |
| _dmamap_load |
|
18 |
3 |
119 |
| _dmamap_load_mbuf |
|
27 |
8 |
192 |
| _dmamap_load_uio |
|
34 |
9 |
239 |
| _dmamap_load_raw |
|
57 |
16 |
397 |
| _dmamap_unload |
|
5 |
1 |
22 |
| _dmamap_sync |
|
54 |
13 |
263 |
| _dmamem_alloc |
|
7 |
1 |
61 |
| _dmamem_free |
|
17 |
3 |
114 |
| _dmamem_map |
|
51 |
11 |
373 |
| _dmamem_unmap |
|
6 |
2 |
41 |
| _dmamem_mmap |
|
20 |
7 |
135 |
| _dmamap_load_buffer |
|
66 |
15 |
465 |
| _dmamem_alloc_range |
|
43 |
9 |
292 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxnpireg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxsmi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxsmi_match |
|
5 |
1 |
34 |
| cn30xxsmi_attach |
|
18 |
3 |
139 |
| cn30xxsmi_read |
|
20 |
5 |
122 |
| cn30xxsmi_write |
|
22 |
4 |
134 |
| cn30xxsmi_get_phy |
|
47 |
11 |
218 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octeon_intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octeon_intr_register |
|
17 |
4 |
99 |
| octeon_intr_init |
|
4 |
1 |
12 |
| octeon_intr_establish |
|
5 |
1 |
45 |
| octeon_intr_establish_fdt |
|
6 |
1 |
45 |
| octeon_intr_establish_fdt_idx |
|
29 |
6 |
187 |
| octeon_intr_disestablish |
|
4 |
1 |
15 |
| octeon_intr_disestablish_fdt |
|
7 |
1 |
46 |
| hw_ipi_intr_establish |
|
4 |
1 |
27 |
| hw_ipi_intr_set |
|
4 |
1 |
14 |
| hw_ipi_intr_clear |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/simplebusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxipd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxipd_init |
|
18 |
3 |
122 |
| cn30xxipd_enable |
|
8 |
1 |
40 |
| cn30xxipd_config |
|
38 |
1 |
232 |
| cn30xxipd_offload |
|
15 |
7 |
93 |
| cn30xxipd_sub_port_fcs |
|
10 |
2 |
64 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxfauvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxfau_op_iobdma |
|
11 |
1 |
81 |
| cn30xxfau_op_iobdma_store_data |
|
11 |
1 |
98 |
| cn30xxfau_op_inc_fetch_8 |
|
5 |
1 |
29 |
| cn30xxfau_op_inc_read_8 |
|
5 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpip.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxpip_init |
|
19 |
3 |
130 |
| cn30xxpip_port_config |
|
34 |
1 |
248 |
| cn30xxpip_prt_cfg_enable |
|
11 |
2 |
65 |
| cn30xxpip_stats |
|
21 |
5 |
150 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxgmxvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxgmx_link_status |
|
5 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxsmireg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octeon_pcibusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octxctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octxctl_match |
|
10 |
3 |
69 |
| octxctl_attach |
|
64 |
12 |
490 |
| octxctl_uctl_init |
|
90 |
7 |
541 |
| octxctl_dwc3_init |
|
41 |
5 |
295 |
| octxctl_read_1 |
|
4 |
1 |
30 |
| octxctl_read_2 |
|
4 |
1 |
30 |
| octxctl_read_4 |
|
4 |
1 |
26 |
| octxctl_write_1 |
|
5 |
1 |
34 |
| octxctl_write_2 |
|
5 |
1 |
34 |
| octxctl_write_4 |
|
5 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxgmxreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octhcireg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octmmcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxfpavar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxfpa_load |
|
9 |
1 |
41 |
| cn30xxfpa_iobdma |
|
4 |
1 |
18 |
| cn30xxfpa_store |
|
11 |
1 |
62 |
| cn30xxfpa_buf_get_paddr |
|
4 |
1 |
17 |
| cn30xxfpa_buf_put_paddr |
|
6 |
1 |
49 |
| cn30xxfpa_buf_put |
|
8 |
1 |
71 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octciu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octciu_match |
|
5 |
1 |
34 |
| octciu_attach |
|
37 |
8 |
267 |
| octciu_init |
|
27 |
2 |
266 |
| octciu_intr_establish |
|
35 |
9 |
270 |
| octciu_intr_establish_fdt_idx |
|
17 |
4 |
159 |
| octciu_intr_disestablish |
|
31 |
6 |
215 |
| octciu_intr_makemasks |
|
35 |
7 |
362 |
| octciu_next_irq |
|
15 |
2 |
64 |
| octciu_intr_bank |
|
62 |
16 |
418 |
| octciu_intr0 |
|
9 |
2 |
78 |
| octciu_intr2 |
|
8 |
2 |
61 |
| octciu_splx |
|
20 |
4 |
193 |
| octciu_ipi_intr |
|
12 |
2 |
99 |
| octciu_ipi_establish |
|
11 |
2 |
87 |
| octciu_ipi_set |
|
5 |
1 |
32 |
| octciu_ipi_clear |
|
7 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpowvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxpow_ops_get_work_load |
|
10 |
1 |
39 |
| cn30xxpow_ops_get_work_iobdma |
|
15 |
1 |
74 |
| cn30xxpow_ops_null_rd_iobdma |
|
12 |
1 |
61 |
| cn30xxpow_store |
|
26 |
1 |
116 |
| cn30xxpow_ops_swtag |
|
13 |
1 |
31 |
| cn30xxpow_ops_swtag_full |
|
13 |
1 |
37 |
| cn30xxpow_ops_swtag_desched |
|
13 |
1 |
37 |
| cn30xxpow_ops_desched |
|
13 |
1 |
28 |
| cn30xxpow_ops_addwq |
|
13 |
1 |
40 |
| cn30xxpow_ops_upd_wqp_grp |
|
13 |
1 |
31 |
| cn30xxpow_ops_clr_nsched |
|
13 |
1 |
31 |
| cn30xxpow_ops_nop |
|
13 |
1 |
27 |
| cn30xxpow_tag_sw_pending |
|
12 |
1 |
29 |
| cn30xxpow_tag_sw_wait |
|
5 |
2 |
14 |
| cn30xxpow_config_int_pc |
|
12 |
3 |
88 |
| cn30xxpow_config_int_pc_rate |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octsctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octsctl_match |
|
6 |
2 |
43 |
| octsctl_attach |
|
54 |
7 |
430 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octeon_pcibus_irq.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octcf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octcfprobe |
|
8 |
2 |
46 |
| octcfattach |
|
73 |
12 |
489 |
| octcfactivate |
|
4 |
1 |
15 |
| octcfdetach |
|
9 |
1 |
62 |
| octcfstrategy |
|
37 |
6 |
223 |
| octcfstart |
|
10 |
2 |
62 |
| _octcfstart |
|
17 |
2 |
135 |
| octcfdone |
|
12 |
2 |
80 |
| octcfread |
|
5 |
1 |
42 |
| octcfwrite |
|
5 |
1 |
42 |
| octcfopen |
|
43 |
9 |
266 |
| octcfclose |
|
14 |
2 |
102 |
| octcfgetdefaultlabel |
|
19 |
1 |
167 |
| octcfgetdisklabel |
|
10 |
1 |
62 |
| octcfioctl |
|
57 |
14 |
385 |
| wdformat |
|
5 |
1 |
21 |
| octcfsize |
|
24 |
6 |
174 |
| octcfdump |
|
4 |
1 |
19 |
| octcf_read_sectors |
|
25 |
6 |
163 |
| octcf_write_sectors |
|
23 |
6 |
159 |
| octcf_command |
|
8 |
1 |
98 |
| octcf_wait_busy |
|
14 |
4 |
93 |
| octcf_get_params |
|
60 |
14 |
494 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpkovar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxpko_cmd_word0 |
|
23 |
1 |
289 |
| cn30xxpko_cmd_word1 |
|
10 |
1 |
102 |
| cn30xxpko_op_store |
|
11 |
1 |
71 |
| cn30xxpko_op_doorbell_write |
|
9 |
1 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/simplebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| simplebus_match |
|
11 |
4 |
80 |
| simplebus_attach |
|
36 |
6 |
339 |
| simplebus_submatch |
|
8 |
2 |
69 |
| simplebus_attach_node |
|
55 |
14 |
528 |
| simplebus_bs_map |
|
36 |
10 |
320 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxuart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_fdt_init_cons |
|
8 |
1 |
39 |
| cn30xxuart_probe |
|
5 |
1 |
34 |
| cn30xxuart_attach |
|
34 |
8 |
236 |
| cn30xxuart_intr |
|
5 |
1 |
16 |
| cn30xxuart_delay |
|
15 |
2 |
71 |
| cn30xxuart_wait_txhr_empty |
|
6 |
3 |
40 |
| cn30xxuartcninit |
|
3 |
1 |
9 |
| cn30xxuartcnprobe |
|
3 |
1 |
9 |
| cn30xxuartcnpollc |
|
3 |
1 |
10 |
| cn30xxuartcnputc |
|
8 |
1 |
39 |
| cn30xxuartcngetc |
|
9 |
2 |
51 |
| uartbus_read_1 |
|
4 |
1 |
31 |
| uartbus_write_1 |
|
7 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxciureg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxsmivar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxcorereg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octeon_bus_space.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| generic_space_read_1 |
|
4 |
1 |
26 |
| generic_space_read_2 |
|
4 |
1 |
26 |
| generic_space_read_4 |
|
4 |
1 |
26 |
| generic_space_read_8 |
|
4 |
1 |
26 |
| generic_space_write_1 |
|
5 |
1 |
30 |
| generic_space_write_2 |
|
5 |
1 |
30 |
| generic_space_write_4 |
|
5 |
1 |
30 |
| generic_space_write_8 |
|
5 |
1 |
30 |
| generic_space_read_raw_2 |
|
10 |
2 |
64 |
| generic_space_write_raw_2 |
|
10 |
2 |
65 |
| generic_space_read_raw_4 |
|
10 |
2 |
64 |
| generic_space_write_raw_4 |
|
10 |
2 |
65 |
| generic_space_read_raw_8 |
|
10 |
2 |
64 |
| generic_space_write_raw_8 |
|
10 |
2 |
65 |
| generic_space_map |
|
6 |
1 |
32 |
| generic_space_unmap |
|
3 |
1 |
13 |
| generic_space_region |
|
6 |
1 |
30 |
| generic_space_vaddr |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/if_cnmac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cnmac_buf_init |
|
15 |
3 |
95 |
| cnmac_match |
|
9 |
2 |
61 |
| cnmac_attach |
|
67 |
3 |
536 |
| cnmac_pip_init |
|
11 |
1 |
69 |
| cnmac_ipd_init |
|
9 |
1 |
52 |
| cnmac_pko_init |
|
10 |
1 |
61 |
| cnmac_board_mac_addr |
|
26 |
6 |
117 |
| cnmac_mii_readreg |
|
5 |
1 |
39 |
| cnmac_mii_writereg |
|
5 |
1 |
43 |
| cnmac_mii_statchg |
|
12 |
2 |
92 |
| cnmac_mediainit |
|
22 |
2 |
169 |
| cnmac_mediastatus |
|
9 |
1 |
71 |
| cnmac_mediachange |
|
7 |
2 |
42 |
| cnmac_send_queue_flush_prefetch |
|
6 |
1 |
34 |
| cnmac_send_queue_flush_fetch |
|
9 |
2 |
54 |
| cnmac_send_queue_flush |
|
14 |
2 |
89 |
| cnmac_send_queue_is_full |
|
10 |
3 |
50 |
| cnmac_send_queue_add |
|
9 |
2 |
60 |
| cnmac_send_queue_del |
|
13 |
2 |
80 |
| cnmac_buf_free_work |
|
22 |
3 |
147 |
| cnmac_ioctl |
|
50 |
15 |
293 |
| cnmac_send_makecmd_w0 |
|
14 |
2 |
66 |
| cnmac_send_makecmd_w1 |
|
7 |
1 |
24 |
| cnmac_kvtophys |
|
10 |
6 |
71 |
| cnmac_send_makecmd_gbuf |
|
23 |
5 |
150 |
| cnmac_send_makecmd |
|
27 |
5 |
178 |
| cnmac_send_cmd |
|
31 |
3 |
191 |
| cnmac_send_buf |
|
16 |
3 |
90 |
| cnmac_send |
|
24 |
3 |
130 |
| cnmac_start |
|
35 |
9 |
194 |
| cnmac_watchdog |
|
10 |
1 |
64 |
| cnmac_init |
|
21 |
2 |
137 |
| cnmac_stop |
|
14 |
1 |
95 |
| cnmac_reset |
|
8 |
1 |
40 |
| cnmac_configure |
|
12 |
1 |
80 |
| cnmac_configure_common |
|
15 |
2 |
71 |
| cnmac_mbuf_alloc |
|
22 |
4 |
145 |
| cnmac_recv_mbuf |
|
50 |
7 |
372 |
| cnmac_recv_check |
|
15 |
5 |
100 |
| cnmac_recv |
|
24 |
4 |
152 |
| cnmac_intr |
|
43 |
5 |
281 |
| cnmac_free_task |
|
24 |
6 |
136 |
| cnmac_tick_free |
|
13 |
3 |
82 |
| cnmac_tick_misc |
|
12 |
1 |
79 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpko.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxpko_init |
|
19 |
3 |
130 |
| cn30xxpko_enable |
|
10 |
1 |
51 |
| cn30xxpko_reset |
|
7 |
1 |
36 |
| cn30xxpko_config |
|
7 |
1 |
50 |
| cn30xxpko_port_enable |
|
15 |
2 |
108 |
| cn30xxpko_port_config |
|
23 |
2 |
185 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
7 |
2 |
37 |
| mainbus_attach |
|
23 |
5 |
186 |
| mainbus_print |
|
4 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/amdcf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amdcf_match |
|
10 |
3 |
65 |
| amdcf_attach |
|
39 |
4 |
419 |
| amdcf_detach |
|
9 |
1 |
60 |
| amdcfopen |
|
38 |
8 |
231 |
| amdcfgetdisklabel |
|
20 |
1 |
172 |
| amdcfclose |
|
13 |
2 |
89 |
| amdcfread |
|
4 |
1 |
31 |
| amdcfwrite |
|
5 |
2 |
34 |
| amdcfstrategy |
|
35 |
6 |
206 |
| amdcfioctl |
|
56 |
14 |
372 |
| amdcfdump |
|
4 |
1 |
19 |
| amdcfsize |
|
23 |
6 |
161 |
| amdcfstart |
|
8 |
2 |
45 |
| _amdcfstart |
|
20 |
4 |
135 |
| amdcfdone |
|
12 |
2 |
80 |
| amdcf_disk_read |
|
18 |
5 |
112 |
| amdcf_disk_write |
|
26 |
7 |
161 |
| cfi_block_start |
|
23 |
5 |
187 |
| cfi_block_finish |
|
11 |
1 |
61 |
| cfi_write_block |
|
30 |
7 |
206 |
| cfi_erase_block |
|
12 |
2 |
70 |
| cfi_wait_ready |
|
26 |
10 |
168 |
| cfi_array_write |
|
5 |
1 |
40 |
| cfi_amd_write |
|
6 |
1 |
51 |
| cfi_read |
|
5 |
1 |
37 |
| cfi_write |
|
6 |
1 |
41 |
| cfi_make_cmd |
|
10 |
3 |
65 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxfpa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxfpa_bootstrap |
|
7 |
1 |
38 |
| cn30xxfpa_reset |
|
3 |
1 |
6 |
| cn30xxfpa_buf_init |
|
26 |
3 |
175 |
| cn30xxfpa_buf_get |
|
11 |
2 |
57 |
| cn30xxfpa_buf_dma_alloc |
|
28 |
6 |
209 |
| cn30xxfpa_query |
|
6 |
1 |
36 |
| cn30xxfpa_init |
|
7 |
2 |
35 |
| cn30xxfpa_init_regs |
|
10 |
2 |
60 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octuctl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octuctl_read_1 |
|
4 |
1 |
30 |
| octuctl_read_2 |
|
4 |
1 |
30 |
| octuctl_read_4 |
|
4 |
1 |
26 |
| octuctl_write_1 |
|
4 |
1 |
34 |
| octuctl_write_2 |
|
4 |
1 |
34 |
| octuctl_write_4 |
|
4 |
1 |
30 |
| octuctl_match |
|
5 |
1 |
34 |
| octuctlprint |
|
4 |
1 |
18 |
| octuctl_clock_setup |
|
50 |
3 |
367 |
| octuctl_attach |
|
62 |
9 |
479 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octxctlreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxbootbusreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octdwctwo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octdwctwo_match |
|
13 |
4 |
56 |
| octdwctwo_attach |
|
59 |
3 |
492 |
| octdwctwo_set_dma_addr |
|
9 |
1 |
50 |
| octdwctwo_reg2_rd |
|
6 |
1 |
33 |
| octdwctwo_reg2_wr |
|
5 |
1 |
43 |
| octdwctwo_reg_set |
|
9 |
1 |
65 |
| octdwctwo_reg_clear |
|
9 |
1 |
65 |
| octdwctwo_read_4 |
|
4 |
1 |
30 |
| octdwctwo_write_4 |
|
5 |
1 |
34 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpow.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxpow_work_request_async |
|
4 |
1 |
17 |
| cn30xxpow_work_response_async |
|
10 |
2 |
43 |
| cn30xxpow_bootstrap |
|
6 |
1 |
30 |
| cn30xxpow_config_int |
|
11 |
1 |
64 |
| cn30xxpow_config |
|
7 |
1 |
25 |
| cn30xxpow_intr_establish |
|
21 |
2 |
153 |
| cn30xxpow_init |
|
6 |
1 |
29 |
| cn30xxpow_init_regs |
|
8 |
2 |
45 |
| cn30xxpow_intr_work |
|
29 |
5 |
182 |
| cn30xxpow_intr |
|
9 |
1 |
58 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octuctlreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octmmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octmmc_match |
|
6 |
2 |
43 |
| octmmc_attach |
|
141 |
27 |
1008 |
| octmmc_acquire |
|
31 |
4 |
209 |
| octmmc_release |
|
4 |
1 |
15 |
| octmmc_init_bus |
|
33 |
4 |
213 |
| octmmc_intr |
|
19 |
6 |
110 |
| octmmc_host_reset |
|
11 |
1 |
49 |
| octmmc_host_ocr |
|
4 |
1 |
12 |
| octmmc_host_maxblklen |
|
4 |
1 |
10 |
| octmmc_card_detect |
|
4 |
1 |
10 |
| octmmc_bus_power |
|
6 |
2 |
24 |
| octmmc_bus_clock |
|
23 |
5 |
136 |
| octmmc_bus_width |
|
21 |
4 |
76 |
| octmmc_exec_command |
|
13 |
4 |
66 |
| octmmc_exec_dma |
|
92 |
23 |
645 |
| octmmc_exec_pio |
|
73 |
19 |
516 |
| octmmc_dma_load_6130 |
|
20 |
4 |
149 |
| octmmc_dma_unload_6130 |
|
6 |
2 |
29 |
| octmmc_dma_load_7890 |
|
18 |
4 |
134 |
| octmmc_dma_unload_7890 |
|
4 |
1 |
18 |
| octmmc_crtype_fixup |
|
28 |
7 |
110 |
| octmmc_get_response |
|
16 |
2 |
149 |
| octmmc_wait_intr |
|
12 |
3 |
78 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpkoreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octcit.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octcit_match |
|
5 |
1 |
34 |
| octcit_attach |
|
43 |
8 |
334 |
| intsn_hash |
|
6 |
1 |
34 |
| octcit_init |
|
19 |
1 |
250 |
| octcit_intr_establish |
|
5 |
1 |
45 |
| octcit_intr_establish_intsn |
|
35 |
6 |
279 |
| octcit_intr_establish_fdt_idx |
|
22 |
5 |
178 |
| octcit_intr_disestablish |
|
40 |
8 |
297 |
| octcit_intr |
|
68 |
16 |
417 |
| octcit_splx |
|
14 |
4 |
100 |
| octcit_ipi_intr |
|
8 |
2 |
48 |
| octcit_ipi_establish |
|
13 |
2 |
93 |
| octcit_ipi_set |
|
5 |
1 |
29 |
| octcit_ipi_clear |
|
7 |
1 |
44 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxfpareg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxipdvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxasxreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octrng.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octrng_match |
|
8 |
2 |
58 |
| octrng_attach |
|
17 |
2 |
124 |
| octrng_rnd |
|
9 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxfaureg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octeon_pcibus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpipvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxasxvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxasx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxasx_init |
|
16 |
3 |
106 |
| cn30xxasx_enable |
|
6 |
1 |
29 |
| cn30xxasx_enable_tx |
|
11 |
2 |
65 |
| cn30xxasx_enable_rx |
|
11 |
2 |
65 |
| cn30xxasx_clk_set |
|
6 |
1 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/if_cnmacvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxipdreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octeon_iobus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iobusmatch |
|
6 |
2 |
31 |
| iobusprint |
|
11 |
4 |
76 |
| iobussubmatch |
|
10 |
4 |
97 |
| iobusattach |
|
49 |
8 |
291 |
| iobussearch |
|
24 |
6 |
193 |
| iobus_space_map |
|
13 |
3 |
79 |
| iobus_space_unmap |
|
3 |
1 |
13 |
| iobus_pa_to_device |
|
4 |
1 |
13 |
| iobus_device_to_pa |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/iobusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octehci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octehci_match |
|
5 |
1 |
36 |
| octehci_attach |
|
43 |
3 |
372 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxfau.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxfau_op_load |
|
10 |
1 |
70 |
| cn30xxfau_op_store |
|
10 |
1 |
74 |
| cn30xxfau_op_load_paddr |
|
9 |
1 |
66 |
| cn30xxfau_op_store_paddr |
|
8 |
1 |
53 |
| cn30xxfau_op_init |
|
5 |
1 |
27 |
| cn30xxfau_op_save |
|
5 |
1 |
21 |
| cn30xxfau_op_restore |
|
4 |
1 |
21 |
| cn30xxfau_op_inc_8 |
|
7 |
1 |
41 |
| cn30xxfau_op_incwait_8 |
|
7 |
1 |
41 |
| cn30xxfau_op_add_8 |
|
4 |
1 |
23 |
| cn30xxfau_op_set_8 |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octrtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octrtc_match |
|
12 |
4 |
87 |
| octrtc_attach |
|
8 |
1 |
53 |
| octrtc_gettime |
|
48 |
11 |
426 |
| octrtc_read |
|
31 |
16 |
214 |
| octrtc_settime |
|
35 |
7 |
265 |
| octrtc_write |
|
19 |
5 |
127 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpowreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octcib_match |
|
5 |
1 |
34 |
| octcib_attach |
|
46 |
8 |
365 |
| octcib_establish |
|
46 |
9 |
343 |
| octcib_disestablish |
|
29 |
6 |
171 |
| octcib_intr |
|
39 |
13 |
232 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxuartreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxgmx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxgmx_match |
|
10 |
3 |
72 |
| cn30xxgmx_get_phy_phandle |
|
13 |
2 |
69 |
| cn30xxgmx_attach |
|
73 |
11 |
493 |
| cn30xxgmx_print |
|
14 |
3 |
84 |
| cn30xxgmx_init |
|
88 |
24 |
500 |
| cn30xxgmx_link_enable |
|
17 |
3 |
92 |
| cn30xxgmx_stats_init |
|
11 |
1 |
75 |
| cn30xxgmx_tx_stats_rd_clr |
|
5 |
2 |
28 |
| cn30xxgmx_rx_stats_rd_clr |
|
5 |
2 |
28 |
| cn30xxgmx_rx_stats_dec_bad |
|
6 |
1 |
32 |
| cn30xxgmx_tx_ovr_bp_enable |
|
17 |
2 |
145 |
| cn30xxgmx_rx_pause_enable |
|
9 |
2 |
38 |
| cn30xxgmx_tx_int_enable |
|
12 |
2 |
54 |
| cn30xxgmx_rx_int_enable |
|
26 |
2 |
84 |
| cn30xxgmx_rx_frm_ctl_enable |
|
10 |
1 |
64 |
| cn30xxgmx_rx_frm_ctl_disable |
|
5 |
1 |
22 |
| cn30xxgmx_rx_frm_ctl_xable |
|
12 |
2 |
58 |
| cn30xxgmx_tx_thresh |
|
5 |
1 |
24 |
| cn30xxgmx_set_mac_addr |
|
13 |
2 |
86 |
| cn30xxgmx_set_filter |
|
62 |
8 |
434 |
| cn30xxgmx_port_enable |
|
5 |
1 |
29 |
| cn30xxgmx_reset_speed |
|
12 |
2 |
65 |
| cn30xxgmx_reset_timing |
|
5 |
1 |
24 |
| cn30xxgmx_reset_board |
|
4 |
1 |
12 |
| cn30xxgmx_reset_flowctl |
|
25 |
7 |
145 |
| cn30xxgmx_rgmii_enable |
|
9 |
2 |
47 |
| cn30xxgmx_rgmii_speed |
|
34 |
6 |
174 |
| cn30xxgmx_rgmii_speed_newlink |
|
8 |
1 |
33 |
| cn30xxgmx_rgmii_speed_newlink_log |
|
64 |
14 |
303 |
| cn30xxgmx_rgmii_speed_speed |
|
46 |
5 |
230 |
| cn30xxgmx_rgmii_timing |
|
28 |
3 |
98 |
| cn30xxgmx_sgmii_enable |
|
46 |
8 |
272 |
| cn30xxgmx_sgmii_speed |
|
50 |
6 |
290 |
| cn30xxgmx_sgmii_timing |
|
14 |
1 |
43 |
| cn30xxgmx_stats |
|
18 |
1 |
152 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/cn30xxpipreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octeon_pcibus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octeon_pcibus_match |
|
11 |
3 |
71 |
| octeon_pcibus_attach |
|
32 |
1 |
250 |
| octeon_pcibus_pa_to_device |
|
5 |
1 |
29 |
| octeon_pcibus_device_to_pa |
|
5 |
1 |
28 |
| octeon_pcibus_print |
|
8 |
2 |
47 |
| octeon_pcibus_attach_hook |
|
4 |
1 |
19 |
| octeon_pcibus_bus_maxdevs |
|
4 |
1 |
16 |
| octeon_pcibus_make_tag |
|
4 |
1 |
39 |
| octeon_pcibus_decompose_tag |
|
9 |
4 |
77 |
| octeon_pcibus_pci_conf_size |
|
4 |
1 |
14 |
| octeon_pcibus_pci_conf_read |
|
21 |
4 |
109 |
| octeon_pcibus_pci_conf_write |
|
19 |
4 |
106 |
| octeon_pcibus_pci_intr_map |
|
23 |
8 |
168 |
| octeon_pcibus_pci_intr_string |
|
6 |
1 |
36 |
| octeon_pcibus_pci_intr_establish |
|
5 |
1 |
46 |
| octeon_pcibus_pci_intr_disestablish |
|
7 |
1 |
37 |
| octeon_pcibus_io_map |
|
10 |
2 |
59 |
| octeon_pcibus_mem_map |
|
10 |
2 |
59 |
| octeon_pcibus_get_resource_extent |
|
33 |
9 |
188 |
| octeon_pcibus_intr_map |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octohci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octohci_match |
|
5 |
1 |
36 |
| octohci_attach |
|
40 |
3 |
346 |
| octohci_attach_deferred |
|
19 |
2 |
126 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/dev/octuctlvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/octeon_model.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| octeon_get_chipid |
|
12 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/memconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/octeonvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ffs64 |
|
10 |
1 |
34 |
| ffs32 |
|
10 |
1 |
34 |
| octeon_xkphys_read_8 |
|
6 |
1 |
32 |
| octeon_xkphys_write_8 |
|
8 |
2 |
63 |
| octeon_iobdma_write_8 |
|
5 |
1 |
22 |
| octeon_lmtdma_write_8 |
|
4 |
1 |
24 |
| octeon_cvmseg_read_8 |
|
4 |
1 |
20 |
| octeon_cvmseg_write_8 |
|
4 |
1 |
24 |
| octeon_get_coreid |
|
10 |
1 |
25 |
| octeon_get_cycles |
|
10 |
1 |
28 |
| octeon_get_cvmmemctl |
|
10 |
1 |
28 |
| octeon_set_cvmmemctl |
|
8 |
1 |
26 |
| octeon_synciobdma |
|
8 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/tcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/openpromio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/octeonreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/cpustate.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/pci_machdep.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_conf_read_db |
|
9 |
1 |
75 |
| pci_conf_write_db |
|
7 |
1 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_copy_1 |
|
8 |
2 |
63 |
| bus_space_copy_2 |
|
8 |
2 |
64 |
| bus_space_copy_4 |
|
8 |
2 |
64 |
| bus_space_copy_8 |
|
8 |
2 |
64 |
| bus_space_barrier |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/mips_opcode.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/regdef.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/include/regnum.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/stand/boot/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mips_init |
|
9 |
1 |
48 |
| cnspeed |
|
4 |
1 |
13 |
| ttyname |
|
4 |
1 |
10 |
| ttydev |
|
4 |
1 |
13 |
| devboot |
|
23 |
6 |
130 |
| parse_rootdev |
|
14 |
4 |
69 |
| getsecs |
|
6 |
1 |
34 |
| machdep |
|
4 |
1 |
9 |
| _rtt |
|
6 |
2 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/stand/boot/uart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cn30xxuart_delay |
|
11 |
1 |
59 |
| cn30xxuart_wait_txhr_empty |
|
6 |
3 |
40 |
| cn30xxuartcninit |
|
7 |
1 |
37 |
| cn30xxuartcnprobe |
|
5 |
1 |
26 |
| cn30xxuartcnputc |
|
8 |
1 |
36 |
| cn30xxuartcngetc |
|
13 |
4 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/stand/boot/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| delay |
|
6 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/stand/boot/devopen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devparse |
|
42 |
15 |
321 |
| devopen |
|
13 |
3 |
114 |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/stand/boot/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/octeon/stand/boot/exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_loadfile |
|
2 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/sti_pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sti_pci_is_console |
|
27 |
6 |
157 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/dino.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dinomatch |
|
13 |
4 |
73 |
| dino_attach_hook |
|
4 |
1 |
19 |
| dino_maxdevs |
|
4 |
1 |
16 |
| dino_make_tag |
|
6 |
4 |
60 |
| dino_decompose_tag |
|
9 |
4 |
71 |
| dino_conf_size |
|
4 |
1 |
14 |
| dino_conf_read |
|
13 |
1 |
77 |
| dino_conf_write |
|
14 |
1 |
89 |
| dino_intr_map |
|
11 |
2 |
70 |
| dino_intr_string |
|
6 |
1 |
34 |
| dino_intr_establish |
|
16 |
5 |
140 |
| dino_intr_disestablish |
|
7 |
2 |
54 |
| dino_iomap |
|
11 |
3 |
69 |
| dino_memmap |
|
48 |
12 |
245 |
| dino_subregion |
|
6 |
1 |
33 |
| dino_ioalloc |
|
19 |
6 |
131 |
| dino_memalloc |
|
20 |
4 |
142 |
| dino_unmap |
|
14 |
3 |
73 |
| dino_free |
|
4 |
1 |
23 |
| dino_barrier |
|
4 |
1 |
24 |
| dino_alloc_parent |
|
42 |
6 |
272 |
| dino_vaddr |
|
7 |
2 |
32 |
| dino_r1 |
|
14 |
2 |
88 |
| dino_r2 |
|
16 |
3 |
94 |
| dino_r4 |
|
14 |
2 |
77 |
| dino_r8 |
|
10 |
2 |
51 |
| dino_w1 |
|
12 |
2 |
84 |
| dino_w2 |
|
16 |
3 |
96 |
| dino_w4 |
|
13 |
2 |
76 |
| dino_w8 |
|
8 |
2 |
46 |
| dino_rm_1 |
|
15 |
3 |
101 |
| dino_rm_2 |
|
17 |
4 |
107 |
| dino_rm_4 |
|
15 |
3 |
98 |
| dino_rm_8 |
|
4 |
1 |
26 |
| dino_wm_1 |
|
15 |
3 |
102 |
| dino_wm_2 |
|
17 |
4 |
108 |
| dino_wm_4 |
|
15 |
3 |
99 |
| dino_wm_8 |
|
4 |
1 |
27 |
| dino_sm_1 |
|
15 |
3 |
98 |
| dino_sm_2 |
|
18 |
4 |
108 |
| dino_sm_4 |
|
16 |
3 |
99 |
| dino_sm_8 |
|
4 |
1 |
25 |
| dino_rrm_2 |
|
19 |
4 |
117 |
| dino_rrm_4 |
|
17 |
3 |
108 |
| dino_rrm_8 |
|
5 |
1 |
26 |
| dino_wrm_2 |
|
20 |
4 |
121 |
| dino_wrm_4 |
|
18 |
3 |
112 |
| dino_wrm_8 |
|
5 |
1 |
27 |
| dino_rr_1 |
|
18 |
4 |
122 |
| dino_rr_2 |
|
23 |
5 |
144 |
| dino_rr_4 |
|
20 |
4 |
124 |
| dino_rr_8 |
|
4 |
1 |
26 |
| dino_wr_1 |
|
18 |
4 |
123 |
| dino_wr_2 |
|
23 |
5 |
145 |
| dino_wr_4 |
|
20 |
4 |
125 |
| dino_wr_8 |
|
4 |
1 |
27 |
| dino_rrr_2 |
|
22 |
5 |
139 |
| dino_rrr_4 |
|
19 |
4 |
119 |
| dino_rrr_8 |
|
5 |
1 |
26 |
| dino_wrr_2 |
|
23 |
5 |
142 |
| dino_wrr_4 |
|
20 |
4 |
122 |
| dino_wrr_8 |
|
5 |
1 |
27 |
| dino_sr_1 |
|
18 |
4 |
117 |
| dino_sr_2 |
|
21 |
5 |
128 |
| dino_sr_4 |
|
18 |
4 |
108 |
| dino_sr_8 |
|
4 |
1 |
25 |
| dino_cp_1 |
|
6 |
2 |
48 |
| dino_cp_2 |
|
9 |
2 |
56 |
| dino_cp_4 |
|
9 |
2 |
56 |
| dino_cp_8 |
|
9 |
2 |
56 |
| dino_dmamap_create |
|
7 |
1 |
56 |
| dino_dmamap_destroy |
|
5 |
1 |
27 |
| dino_dmamap_load |
|
6 |
1 |
53 |
| dino_dmamap_load_mbuf |
|
5 |
1 |
42 |
| dino_dmamap_load_uio |
|
5 |
1 |
42 |
| dino_dmamap_load_raw |
|
6 |
1 |
51 |
| dino_dmamap_unload |
|
5 |
1 |
27 |
| dino_dmamap_sync |
|
6 |
1 |
45 |
| dino_dmamem_alloc |
|
8 |
1 |
62 |
| dino_dmamem_free |
|
5 |
1 |
33 |
| dino_dmamem_map |
|
6 |
1 |
52 |
| dino_dmamem_unmap |
|
5 |
1 |
32 |
| dino_dmamem_mmap |
|
6 |
1 |
51 |
| dinoprint |
|
7 |
2 |
40 |
| dinoattach |
|
110 |
16 |
808 |
| dino_clear_pdc_mappings |
|
10 |
2 |
52 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpumatch |
|
11 |
4 |
66 |
| cpuattach |
|
80 |
13 |
566 |
| cpu_boot_secondary_processors |
|
27 |
6 |
180 |
| cpu_hw_init |
|
9 |
1 |
56 |
| cpu_hatch |
|
21 |
2 |
115 |
| cpu_unidle |
|
5 |
2 |
24 |
| need_resched |
|
8 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/asp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aspmatch |
|
11 |
3 |
54 |
| aspattach |
|
44 |
3 |
391 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/com_ssio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_ssio_match |
|
10 |
4 |
75 |
| com_ssio_attach |
|
22 |
4 |
169 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/wax.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| waxmatch |
|
13 |
4 |
67 |
| waxattach |
|
41 |
3 |
355 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/cpudevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/elroyvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/com_dino.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_dino_match |
|
10 |
3 |
57 |
| com_dino_attach |
|
26 |
4 |
200 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/siop_sgc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siop_sgc_match |
|
8 |
3 |
48 |
| siop_sgc_attach |
|
41 |
3 |
385 |
| siop_sgc_reset |
|
8 |
1 |
74 |
| siop_sgc_r1 |
|
4 |
1 |
31 |
| siop_sgc_r2 |
|
10 |
2 |
70 |
| siop_sgc_w1 |
|
4 |
1 |
35 |
| siop_sgc_w2 |
|
4 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/elroyreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/phantomas.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| phantomasmatch |
|
8 |
3 |
52 |
| phantomasattach |
|
8 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/ssiovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/lpt_ssio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lpt_ssio_match |
|
10 |
4 |
75 |
| lpt_ssio_attach |
|
14 |
2 |
103 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/ssio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ssio_match |
|
24 |
6 |
209 |
| ssio_attach |
|
82 |
9 |
724 |
| ssio_intr |
|
21 |
4 |
168 |
| ssio_intr_establish |
|
11 |
4 |
81 |
| ssio_print |
|
12 |
5 |
77 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/viper.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/apic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apic_write |
|
6 |
1 |
50 |
| apic_read |
|
5 |
1 |
38 |
| apic_attach |
|
15 |
3 |
102 |
| apic_intr_map |
|
16 |
3 |
127 |
| apic_intr_string |
|
7 |
1 |
42 |
| apic_intr_establish |
|
53 |
10 |
411 |
| apic_intr_disestablish |
|
3 |
1 |
12 |
| apic_intr |
|
19 |
5 |
121 |
| apic_get_int_tbl |
|
21 |
5 |
159 |
| apic_get_int_ent0 |
|
41 |
10 |
217 |
| apic_dump |
|
17 |
3 |
185 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/mongoosereg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/lcd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lcd_match |
|
7 |
2 |
47 |
| lcd_attach |
|
28 |
4 |
223 |
| lcd_mountroot |
|
9 |
1 |
80 |
| lcd_write |
|
7 |
2 |
45 |
| lcd_blink |
|
7 |
1 |
67 |
| lcd_blink_finish |
|
10 |
2 |
58 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/power.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| powermatch |
|
8 |
3 |
59 |
| powerattach |
|
29 |
8 |
163 |
| power_intr |
|
6 |
1 |
26 |
| power_thread_create |
|
7 |
2 |
42 |
| power_thread_dr |
|
15 |
4 |
78 |
| power_thread_reg |
|
12 |
3 |
70 |
| power_cold_hook_reg |
|
9 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/astro.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| astro_match |
|
11 |
5 |
69 |
| astro_attach |
|
67 |
6 |
562 |
| iommu_dvmamap_create |
|
21 |
3 |
133 |
| iommu_dvmamap_destroy |
|
10 |
3 |
59 |
| iommu_iomap_load_map |
|
51 |
7 |
387 |
| iommu_dvmamap_load |
|
10 |
2 |
74 |
| iommu_dvmamap_load_mbuf |
|
9 |
2 |
63 |
| iommu_dvmamap_load_uio |
|
6 |
1 |
47 |
| iommu_dvmamap_load_raw |
|
7 |
1 |
56 |
| iommu_dvmamap_unload |
|
20 |
3 |
154 |
| iommu_dvmamap_sync |
|
4 |
1 |
20 |
| iommu_dvmamem_alloc |
|
8 |
1 |
62 |
| iommu_dvmamem_free |
|
5 |
1 |
33 |
| iommu_dvmamem_map |
|
6 |
1 |
52 |
| iommu_dvmamem_unmap |
|
5 |
1 |
32 |
| iommu_dvmamem_mmap |
|
6 |
1 |
51 |
| iomap_compare |
|
5 |
3 |
44 |
| iommu_iomap_create |
|
14 |
3 |
95 |
| iommu_iomap_destroy |
|
7 |
3 |
39 |
| iommu_iomap_insert_page |
|
21 |
4 |
140 |
| iommu_iomap_translate |
|
14 |
2 |
89 |
| iommu_iomap_clear_pages |
|
5 |
1 |
27 |
| iommu_enter |
|
21 |
4 |
162 |
| iommu_remove |
|
19 |
5 |
130 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/sti_sgc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sti_sgc_getrom |
|
21 |
8 |
120 |
| sti_sgc_probe |
|
60 |
19 |
439 |
| sti_sgc_attach |
|
30 |
8 |
242 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_initclocks |
|
12 |
1 |
70 |
| cpu_hardclock |
|
29 |
9 |
187 |
| inittodr |
|
27 |
7 |
190 |
| resettodr |
|
11 |
3 |
60 |
| setstatclockrate |
|
3 |
1 |
7 |
| itmr_get_timecount |
|
6 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/mongoose.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mg_eisa_attach_hook |
|
4 |
1 |
19 |
| mg_intr_map |
|
5 |
1 |
23 |
| mg_intr_string |
|
6 |
1 |
33 |
| mg_isa_attach_hook |
|
4 |
1 |
19 |
| mg_intr_establish |
|
36 |
13 |
251 |
| mg_intr_disestablish |
|
15 |
4 |
91 |
| mg_intr_check |
|
4 |
1 |
17 |
| mg_intr |
|
11 |
1 |
65 |
| mg_eisa_iomap |
|
11 |
3 |
85 |
| mg_eisa_memmap |
|
5 |
1 |
25 |
| mg_eisa_memunmap |
|
3 |
1 |
14 |
| mg_isa_barrier |
|
4 |
1 |
24 |
| mg_isa_r2 |
|
5 |
1 |
38 |
| mg_isa_r4 |
|
5 |
1 |
38 |
| mg_isa_w2 |
|
4 |
1 |
36 |
| mg_isa_w4 |
|
4 |
1 |
36 |
| mg_isa_rm_2 |
|
6 |
2 |
47 |
| mg_isa_rm_4 |
|
6 |
2 |
47 |
| mg_isa_wm_2 |
|
9 |
2 |
58 |
| mg_isa_wm_4 |
|
9 |
2 |
58 |
| mg_isa_sm_2 |
|
7 |
2 |
46 |
| mg_isa_sm_4 |
|
7 |
2 |
46 |
| mg_isa_rr_2 |
|
9 |
2 |
61 |
| mg_isa_rr_4 |
|
9 |
2 |
61 |
| mg_isa_wr_2 |
|
9 |
2 |
62 |
| mg_isa_wr_4 |
|
9 |
2 |
62 |
| mg_isa_sr_2 |
|
7 |
2 |
53 |
| mg_isa_sr_4 |
|
7 |
2 |
53 |
| mgattach_common |
|
72 |
3 |
671 |
| mgprint |
|
9 |
2 |
44 |
| mgmatch_gedoens |
|
17 |
5 |
104 |
| mgattach_gedoens |
|
29 |
4 |
214 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/elroy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| elroy_match |
|
10 |
6 |
78 |
| elroy_write32 |
|
4 |
1 |
17 |
| elroy_read32 |
|
4 |
1 |
13 |
| elroy_attach_hook |
|
4 |
1 |
19 |
| elroy_maxdevs |
|
4 |
1 |
16 |
| elroy_make_tag |
|
6 |
4 |
60 |
| elroy_decompose_tag |
|
9 |
4 |
71 |
| elroy_conf_size |
|
4 |
1 |
14 |
| elroy_conf_read |
|
27 |
3 |
229 |
| elroy_conf_write |
|
29 |
3 |
266 |
| elroy_iomap |
|
10 |
2 |
66 |
| elroy_memmap |
|
9 |
2 |
62 |
| elroy_subregion |
|
6 |
1 |
33 |
| elroy_ioalloc |
|
18 |
4 |
142 |
| elroy_memalloc |
|
10 |
2 |
76 |
| elroy_unmap |
|
5 |
1 |
32 |
| elroy_free |
|
4 |
1 |
23 |
| elroy_barrier |
|
11 |
2 |
62 |
| elroy_alloc_parent |
|
43 |
7 |
277 |
| elroy_vaddr |
|
4 |
1 |
20 |
| elroy_r1 |
|
5 |
1 |
27 |
| elroy_r2 |
|
7 |
1 |
41 |
| elroy_r4 |
|
7 |
1 |
39 |
| elroy_r8 |
|
7 |
1 |
39 |
| elroy_w1 |
|
5 |
1 |
31 |
| elroy_w2 |
|
7 |
1 |
43 |
| elroy_w4 |
|
6 |
1 |
38 |
| elroy_w8 |
|
5 |
1 |
34 |
| elroy_rm_1 |
|
8 |
2 |
51 |
| elroy_rm_2 |
|
8 |
2 |
54 |
| elroy_rm_4 |
|
8 |
2 |
54 |
| elroy_rm_8 |
|
8 |
2 |
54 |
| elroy_wm_1 |
|
8 |
2 |
52 |
| elroy_wm_2 |
|
8 |
2 |
55 |
| elroy_wm_4 |
|
8 |
2 |
55 |
| elroy_wm_8 |
|
8 |
2 |
55 |
| elroy_sm_1 |
|
8 |
2 |
48 |
| elroy_sm_2 |
|
9 |
2 |
55 |
| elroy_sm_4 |
|
9 |
2 |
55 |
| elroy_sm_8 |
|
9 |
2 |
55 |
| elroy_rrm_2 |
|
10 |
2 |
64 |
| elroy_rrm_4 |
|
10 |
2 |
64 |
| elroy_rrm_8 |
|
10 |
2 |
64 |
| elroy_wrm_2 |
|
11 |
2 |
68 |
| elroy_wrm_4 |
|
11 |
2 |
68 |
| elroy_wrm_8 |
|
11 |
2 |
68 |
| elroy_rr_1 |
|
8 |
2 |
52 |
| elroy_rr_2 |
|
10 |
2 |
63 |
| elroy_rr_4 |
|
10 |
2 |
63 |
| elroy_rr_8 |
|
10 |
2 |
63 |
| elroy_wr_1 |
|
8 |
2 |
53 |
| elroy_wr_2 |
|
10 |
2 |
64 |
| elroy_wr_4 |
|
10 |
2 |
64 |
| elroy_wr_8 |
|
10 |
2 |
64 |
| elroy_rrr_2 |
|
10 |
2 |
65 |
| elroy_rrr_4 |
|
10 |
2 |
65 |
| elroy_rrr_8 |
|
10 |
2 |
65 |
| elroy_wrr_2 |
|
11 |
2 |
68 |
| elroy_wrr_4 |
|
11 |
2 |
68 |
| elroy_wrr_8 |
|
11 |
2 |
68 |
| elroy_sr_1 |
|
8 |
2 |
49 |
| elroy_sr_2 |
|
9 |
2 |
56 |
| elroy_sr_4 |
|
9 |
2 |
56 |
| elroy_sr_8 |
|
9 |
2 |
56 |
| elroy_cp_1 |
|
6 |
2 |
48 |
| elroy_cp_2 |
|
9 |
2 |
56 |
| elroy_cp_4 |
|
9 |
2 |
56 |
| elroy_cp_8 |
|
9 |
2 |
56 |
| elroy_dmamap_create |
|
7 |
1 |
56 |
| elroy_dmamap_destroy |
|
5 |
1 |
27 |
| elroy_dmamap_load |
|
6 |
1 |
53 |
| elroy_dmamap_load_mbuf |
|
5 |
1 |
42 |
| elroy_dmamap_load_uio |
|
5 |
1 |
42 |
| elroy_dmamap_load_raw |
|
6 |
1 |
51 |
| elroy_dmamap_unload |
|
5 |
1 |
27 |
| elroy_dmamap_sync |
|
6 |
1 |
42 |
| elroy_dmamem_alloc |
|
8 |
1 |
62 |
| elroy_dmamem_free |
|
5 |
1 |
33 |
| elroy_dmamem_map |
|
6 |
1 |
52 |
| elroy_dmamem_unmap |
|
5 |
1 |
32 |
| elroy_dmamem_mmap |
|
6 |
1 |
51 |
| elroy_print |
|
7 |
2 |
40 |
| elroy_attach |
|
89 |
15 |
712 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/lasi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lasimatch |
|
11 |
3 |
55 |
| lasiattach |
|
93 |
32 |
635 |
| lasi_gsc_attach |
|
9 |
1 |
62 |
| lasi_cold_hook |
|
18 |
5 |
74 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/gecko.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gecko_match |
|
11 |
5 |
75 |
| gecko_attach |
|
19 |
3 |
141 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/pdc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pdc_init |
|
36 |
8 |
325 |
| pdcmatch |
|
11 |
3 |
61 |
| pdcattach |
|
11 |
2 |
62 |
| pdcopen |
|
41 |
9 |
271 |
| pdcclose |
|
16 |
3 |
108 |
| pdcread |
|
13 |
3 |
91 |
| pdcwrite |
|
13 |
3 |
91 |
| pdcioctl |
|
22 |
5 |
143 |
| pdcparam |
|
6 |
1 |
21 |
| pdcstart |
|
16 |
3 |
88 |
| pdcstop |
|
12 |
3 |
59 |
| pdctimeout |
|
12 |
3 |
78 |
| pdctty |
|
9 |
3 |
51 |
| pdccnlookc |
|
15 |
3 |
96 |
| pdccngetc |
|
10 |
3 |
37 |
| pdccnputc |
|
14 |
3 |
83 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/uturn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uturnmatch |
|
14 |
5 |
75 |
| uturnattach |
|
36 |
10 |
223 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/cpudevs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/dev/mongoosevar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hppa_cpuspeed |
|
5 |
1 |
22 |
| hppa_init |
|
87 |
11 |
695 |
| cpuid |
|
151 |
45 |
966 |
| cpu_startup |
|
21 |
3 |
154 |
| delay_init |
|
18 |
4 |
96 |
| delay |
|
17 |
5 |
86 |
| fall |
|
10 |
4 |
61 |
| ficacheall |
|
6 |
1 |
31 |
| fdcacheall |
|
6 |
1 |
31 |
| ptlball |
|
25 |
7 |
178 |
| hpti_g |
|
5 |
1 |
34 |
| pbtlb_g |
|
4 |
1 |
11 |
| ibtlb_g |
|
9 |
3 |
71 |
| btlb_insert |
|
39 |
15 |
302 |
| boot |
|
53 |
12 |
282 |
| cpu_dumpsize |
|
8 |
2 |
51 |
| hpmc_dump |
|
5 |
1 |
15 |
| cpu_dump |
|
12 |
1 |
118 |
| dumpsys |
|
47 |
16 |
329 |
| kcopy |
|
4 |
1 |
30 |
| copystr |
|
4 |
1 |
36 |
| copyinstr |
|
5 |
1 |
42 |
| copyoutstr |
|
5 |
1 |
42 |
| copyin |
|
5 |
1 |
36 |
| copyout |
|
5 |
1 |
36 |
| copyin32 |
|
5 |
1 |
31 |
| setstack |
|
10 |
2 |
82 |
| setregs |
|
30 |
1 |
316 |
| sendsig |
|
82 |
9 |
805 |
| sys_sigreturn |
|
71 |
7 |
696 |
| signotify |
|
5 |
1 |
21 |
| cpu_sysctl |
|
35 |
9 |
215 |
| consinit |
|
3 |
1 |
6 |
| blink_led_register |
|
10 |
3 |
66 |
| blink_led_timeout |
|
16 |
3 |
117 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| heartbeat |
|
27 |
5 |
196 |
| dumpconf |
|
18 |
6 |
101 |
| print_devpath |
|
13 |
5 |
135 |
| pdc_scanbus |
|
114 |
35 |
923 |
| hppa_mod_info |
|
13 |
5 |
89 |
| device_register |
|
61 |
25 |
344 |
| cpu_configure |
|
13 |
4 |
65 |
| diskconf |
|
8 |
3 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
29 |
9 |
181 |
| readliflabel |
|
99 |
23 |
714 |
| writedisklabel |
|
35 |
5 |
261 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/lock_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __cpu_cas |
|
21 |
3 |
121 |
| ___mp_lock_init |
|
9 |
1 |
57 |
| __mp_lock_spin |
|
12 |
5 |
62 |
| ___mp_lock |
|
22 |
6 |
140 |
| ___mp_unlock |
|
17 |
4 |
101 |
| ___mp_release_all |
|
19 |
6 |
120 |
| ___mp_release_all_but_one |
|
14 |
6 |
92 |
| ___mp_acquire_count |
|
5 |
2 |
24 |
| __mp_lock_held |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memmatch |
|
8 |
3 |
48 |
| memattach |
|
73 |
27 |
471 |
| viper_setintrwnd |
|
7 |
2 |
35 |
| viper_eisa_en |
|
16 |
2 |
80 |
| mmopen |
|
17 |
7 |
72 |
| mmclose |
|
4 |
1 |
23 |
| mmrw |
|
58 |
16 |
344 |
| mmmmap |
|
9 |
5 |
57 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysarch |
|
15 |
1 |
59 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
13 |
| iskmemdev |
|
5 |
2 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_enter |
|
7 |
2 |
30 |
| db_read_bytes |
|
6 |
2 |
38 |
| db_write_bytes |
|
8 |
2 |
62 |
| kdbprinttrap |
|
10 |
3 |
54 |
| db_ktrap |
|
28 |
6 |
121 |
| db_valid_breakpoint |
|
4 |
1 |
12 |
| db_stack_trace_print |
|
64 |
17 |
480 |
| db_save_stack_trace |
|
16 |
4 |
108 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_read_regs |
|
52 |
1 |
500 |
| process_read_fpregs |
|
6 |
1 |
44 |
| process_write_regs |
|
39 |
1 |
399 |
| process_write_fpregs |
|
6 |
1 |
44 |
| process_set_pc |
|
6 |
1 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
49 |
5 |
535 |
| cpu_exit |
|
8 |
1 |
46 |
| vmapbuf |
|
25 |
5 |
181 |
| vunmapbuf |
|
14 |
3 |
103 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| splassert_check |
|
6 |
2 |
40 |
| cpu_intr_init |
|
36 |
5 |
260 |
| cpu_intr_findirq |
|
9 |
4 |
49 |
| cpu_intr_map |
|
33 |
6 |
236 |
| cpu_intr_establish |
|
40 |
9 |
324 |
| cpu_intr |
|
49 |
17 |
328 |
| intr_barrier |
|
4 |
1 |
13 |
| softintr_establish |
|
32 |
7 |
219 |
| softintr_disestablish |
|
26 |
5 |
158 |
| softintr_schedule |
|
5 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mbus_add_mapping |
|
64 |
20 |
411 |
| mbus_map |
|
15 |
4 |
97 |
| mbus_unmap |
|
17 |
5 |
99 |
| mbus_alloc |
|
21 |
6 |
150 |
| mbus_free |
|
4 |
1 |
23 |
| mbus_subregion |
|
6 |
1 |
33 |
| mbus_barrier |
|
4 |
1 |
24 |
| mbus_vaddr |
|
4 |
1 |
20 |
| mbus_r1 |
|
4 |
1 |
29 |
| mbus_r2 |
|
4 |
1 |
29 |
| mbus_r4 |
|
4 |
1 |
29 |
| mbus_r8 |
|
4 |
1 |
29 |
| mbus_w1 |
|
4 |
1 |
33 |
| mbus_w2 |
|
4 |
1 |
33 |
| mbus_w4 |
|
4 |
1 |
33 |
| mbus_w8 |
|
4 |
1 |
33 |
| mbus_rm_1 |
|
6 |
2 |
44 |
| mbus_rm_2 |
|
6 |
2 |
44 |
| mbus_rm_4 |
|
6 |
2 |
44 |
| mbus_rm_8 |
|
6 |
2 |
44 |
| mbus_wm_1 |
|
6 |
2 |
45 |
| mbus_wm_2 |
|
6 |
2 |
45 |
| mbus_wm_4 |
|
6 |
2 |
45 |
| mbus_wm_8 |
|
6 |
2 |
45 |
| mbus_sm_1 |
|
6 |
2 |
39 |
| mbus_sm_2 |
|
6 |
2 |
39 |
| mbus_sm_4 |
|
6 |
2 |
39 |
| mbus_sm_8 |
|
6 |
2 |
39 |
| mbus_rr_1 |
|
6 |
2 |
49 |
| mbus_rr_2 |
|
6 |
2 |
49 |
| mbus_rr_4 |
|
6 |
2 |
49 |
| mbus_rr_8 |
|
6 |
2 |
49 |
| mbus_wr_1 |
|
6 |
2 |
50 |
| mbus_wr_2 |
|
6 |
2 |
50 |
| mbus_wr_4 |
|
6 |
2 |
50 |
| mbus_wr_8 |
|
6 |
2 |
50 |
| mbus_sr_1 |
|
6 |
2 |
46 |
| mbus_sr_2 |
|
6 |
2 |
46 |
| mbus_sr_4 |
|
6 |
2 |
46 |
| mbus_sr_8 |
|
6 |
2 |
46 |
| mbus_cp_1 |
|
8 |
2 |
66 |
| mbus_cp_2 |
|
8 |
2 |
66 |
| mbus_cp_4 |
|
8 |
2 |
66 |
| mbus_cp_8 |
|
8 |
2 |
66 |
| mbus_dmamap_create |
|
22 |
3 |
151 |
| mbus_dmamap_unload |
|
5 |
1 |
23 |
| mbus_dmamap_destroy |
|
6 |
2 |
35 |
| _bus_dmamap_load_buffer |
|
53 |
13 |
378 |
| mbus_dmamap_load |
|
19 |
3 |
119 |
| mbus_dmamap_load_mbuf |
|
28 |
8 |
192 |
| mbus_dmamap_load_uio |
|
37 |
10 |
250 |
| mbus_dmamap_load_raw |
|
21 |
7 |
172 |
| mbus_dmamap_sync |
|
23 |
7 |
147 |
| mbus_dmamem_alloc |
|
24 |
5 |
183 |
| mbus_dmamem_free |
|
18 |
4 |
124 |
| mbus_dmamem_map |
|
6 |
1 |
41 |
| mbus_dmamem_unmap |
|
3 |
1 |
14 |
| mbus_dmamem_mmap |
|
5 |
1 |
29 |
| mbmatch |
|
10 |
2 |
42 |
| mbattach |
|
83 |
28 |
602 |
| cpu_gethpa |
|
7 |
1 |
28 |
| mbprint |
|
18 |
6 |
115 |
| mbsubmatch |
|
17 |
7 |
135 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mtx_init |
|
10 |
2 |
66 |
| __mtx_enter |
|
5 |
2 |
19 |
| __mtx_enter_try |
|
27 |
8 |
148 |
| __mtx_enter |
|
10 |
5 |
66 |
| __mtx_enter_try |
|
5 |
1 |
19 |
| __mtx_leave |
|
13 |
5 |
68 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/in_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_cksum |
|
40 |
14 |
212 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/fpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_proc_flush |
|
4 |
1 |
16 |
| fpu_proc_save |
|
4 |
1 |
16 |
| fpu_proc |
|
23 |
9 |
159 |
| fpu_cpu_save |
|
24 |
6 |
141 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/wscons_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wscnprobe |
|
3 |
1 |
9 |
| wscninit |
|
3 |
1 |
9 |
| wscnputc |
|
4 |
2 |
17 |
| wscngetc |
|
5 |
2 |
20 |
| wscnpollc |
|
4 |
2 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/ipi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hppa_ipi_init |
|
5 |
1 |
30 |
| hppa_ipi_intr |
|
17 |
3 |
95 |
| hppa_ipi_send |
|
14 |
2 |
99 |
| hppa_ipi_broadcast |
|
11 |
4 |
57 |
| hppa_ipi_nop |
|
3 |
1 |
6 |
| hppa_ipi_halt |
|
7 |
2 |
28 |
| hppa_ipi_fpu_save |
|
4 |
1 |
11 |
| hppa_ipi_fpu_flush |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_lock |
|
5 |
2 |
25 |
| pmap_unlock |
|
5 |
2 |
25 |
| pmap_pagealloc |
|
8 |
2 |
48 |
| pmap_hash |
|
5 |
1 |
48 |
| pmap_vtag |
|
5 |
1 |
36 |
| pmap_sdir_set |
|
8 |
3 |
44 |
| pmap_sdir_get |
|
6 |
1 |
30 |
| pmap_pde_get |
|
4 |
1 |
27 |
| pmap_pde_set |
|
8 |
3 |
57 |
| pmap_pde_alloc |
|
30 |
4 |
195 |
| pmap_pde_ptp |
|
9 |
3 |
80 |
| pmap_pde_release |
|
23 |
6 |
156 |
| pmap_pte_get |
|
4 |
1 |
27 |
| pmap_pte_set |
|
10 |
4 |
72 |
| pmap_pte_flush |
|
16 |
5 |
115 |
| pmap_vp_find |
|
7 |
2 |
48 |
| pmap_dump_table |
|
29 |
10 |
191 |
| pmap_dump_pv |
|
10 |
3 |
65 |
| pmap_check_alias |
|
18 |
5 |
129 |
| pmap_pv_alloc |
|
8 |
1 |
50 |
| pmap_pv_free |
|
6 |
2 |
38 |
| pmap_pv_enter |
|
13 |
1 |
104 |
| pmap_pv_remove |
|
13 |
4 |
108 |
| pmap_bootstrap |
|
112 |
18 |
862 |
| pmap_init |
|
20 |
2 |
158 |
| pmap_virtual_space |
|
5 |
1 |
24 |
| pmap_create |
|
21 |
3 |
176 |
| pmap_destroy |
|
17 |
2 |
118 |
| pmap_reference |
|
5 |
1 |
32 |
| pmap_collect |
|
4 |
1 |
22 |
| pmap_enter |
|
77 |
20 |
560 |
| pmap_remove |
|
49 |
12 |
332 |
| pmap_write_protect |
|
39 |
7 |
271 |
| pmap_page_remove |
|
34 |
4 |
242 |
| pmap_unwire |
|
19 |
5 |
130 |
| pmap_changebit |
|
33 |
6 |
227 |
| pmap_testbit |
|
16 |
3 |
132 |
| pmap_extract |
|
12 |
3 |
78 |
| pmap_activate |
|
6 |
1 |
42 |
| pmap_deactivate |
|
3 |
1 |
9 |
| pmap_flush_page |
|
15 |
3 |
133 |
| pmap_zero_page |
|
9 |
1 |
64 |
| pmap_copy_page |
|
13 |
1 |
108 |
| pmap_kenter_pa |
|
28 |
7 |
217 |
| pmap_kremove |
|
37 |
10 |
271 |
| pmap_proc_iflush |
|
8 |
1 |
58 |
| pmap_unmap_direct |
|
6 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inst_store |
|
6 |
4 |
40 |
| ast |
|
8 |
2 |
43 |
| trap |
|
374 |
140 |
2129 |
| child_return |
|
11 |
1 |
63 |
| ss_get_value |
|
15 |
1 |
108 |
| ss_put_value |
|
15 |
1 |
108 |
| ss_clear_breakpoints |
|
8 |
2 |
71 |
| process_sstep |
|
30 |
8 |
250 |
| syscall |
|
111 |
27 |
684 |
| pcxs_unaligned |
|
50 |
17 |
234 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/hppa/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iExInit |
|
37 |
10 |
239 |
| addDasm |
|
9 |
1 |
55 |
| unitDasm |
|
12 |
3 |
86 |
| iaDasm |
|
13 |
2 |
91 |
| shdDasm |
|
13 |
2 |
98 |
| extrDasm |
|
9 |
1 |
62 |
| vextrDasm |
|
9 |
1 |
57 |
| depDasm |
|
9 |
1 |
64 |
| vdepDasm |
|
9 |
1 |
57 |
| depiDasm |
|
9 |
1 |
64 |
| vdepiDasm |
|
8 |
1 |
57 |
| subDCond |
|
24 |
17 |
150 |
| addDCond |
|
24 |
17 |
150 |
| unitDCond |
|
20 |
13 |
118 |
| edDCond |
|
16 |
9 |
86 |
| ldDasm |
|
24 |
6 |
178 |
| stDasm |
|
21 |
4 |
139 |
| ldxDasm |
|
31 |
12 |
217 |
| stsDasm |
|
21 |
8 |
154 |
| stbysDasm |
|
22 |
8 |
157 |
| limmDasm |
|
8 |
1 |
42 |
| blDasm |
|
17 |
6 |
109 |
| brDasm |
|
8 |
2 |
51 |
| bvDasm |
|
8 |
2 |
51 |
| beDasm |
|
18 |
3 |
115 |
| cbDasm |
|
16 |
4 |
131 |
| cbiDasm |
|
16 |
4 |
131 |
| bbDasm |
|
16 |
3 |
117 |
| ariDasm |
|
15 |
6 |
120 |
| scDasm |
|
29 |
12 |
274 |
| mmgtDasm |
|
55 |
20 |
443 |
| brkDasm |
|
8 |
1 |
42 |
| floatDasm |
|
74 |
29 |
607 |
| fcoprDasm |
|
74 |
29 |
591 |
| coprDasm |
|
81 |
26 |
574 |
| lpkDasm |
|
30 |
13 |
209 |
| diagDasm |
|
18 |
4 |
120 |
| fmpysubDasm |
|
15 |
2 |
125 |
| fmpyaddDasm |
|
19 |
9 |
212 |
| db_disasm |
|
43 |
17 |
286 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/pmap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_prefer |
|
7 |
2 |
38 |
| pmap_prot |
|
5 |
2 |
38 |
| pmap_page_protect |
|
9 |
3 |
52 |
| pmap_protect |
|
9 |
3 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/iomod.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/nvm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __hppa_get_tcb |
|
6 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/pdc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| curcpu |
|
6 |
1 |
25 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/cpufunc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ldsid |
|
5 |
1 |
29 |
| mtsm |
|
6 |
1 |
30 |
| iitlba |
|
5 |
1 |
36 |
| idtlba |
|
5 |
1 |
36 |
| iitlbp |
|
5 |
1 |
36 |
| idtlbp |
|
5 |
1 |
36 |
| pitlb |
|
5 |
1 |
28 |
| pdtlb |
|
5 |
1 |
28 |
| pitlbe |
|
5 |
1 |
28 |
| pdtlbe |
|
5 |
1 |
28 |
| ledctl |
|
24 |
9 |
116 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/rbus_machdep.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| md_space_map |
|
7 |
2 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/intr.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spllower |
|
10 |
1 |
58 |
| splraise |
|
9 |
2 |
50 |
| splx |
|
4 |
1 |
15 |
| hppa_intr_disable |
|
7 |
1 |
29 |
| hppa_intr_enable |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/isa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __cpu_simple_lock_init |
|
4 |
1 |
13 |
| __cpu_simple_lock_ldcws |
|
6 |
1 |
38 |
| __cpu_simple_lock_try |
|
4 |
1 |
18 |
| __cpu_simple_lock |
|
5 |
2 |
17 |
| __cpu_simple_unlock |
|
4 |
1 |
13 |
| atomic_enter |
|
8 |
1 |
33 |
| atomic_leave |
|
5 |
1 |
20 |
| _atomic_cas_uint |
|
11 |
2 |
57 |
| _atomic_cas_ulong |
|
11 |
2 |
57 |
| _atomic_cas_ptr |
|
12 |
2 |
70 |
| _atomic_swap_uint |
|
10 |
1 |
47 |
| _atomic_swap_ulong |
|
10 |
1 |
47 |
| _atomic_swap_ptr |
|
11 |
1 |
60 |
| _atomic_add_int_nv |
|
10 |
1 |
49 |
| _atomic_add_long_nv |
|
10 |
1 |
49 |
| atomic_setbits_int |
|
7 |
1 |
33 |
| atomic_clearbits_int |
|
7 |
1 |
33 |
| atomic_setbits_long |
|
7 |
1 |
33 |
| atomic_clearbits_long |
|
7 |
1 |
33 |
| __insn_barrier |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/bus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/eisa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/db_machdep.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inst_call |
|
5 |
3 |
32 |
| inst_branch |
|
6 |
4 |
40 |
| inst_return |
|
4 |
2 |
24 |
| inst_trap_return |
|
3 |
1 |
16 |
| next_instr_address |
|
3 |
1 |
17 |
| branch_taken1 |
|
3 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/som.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/hil_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/gscbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gscmatch |
|
8 |
1 |
41 |
| gscattach |
|
16 |
4 |
126 |
| gscprint |
|
9 |
2 |
44 |
| gsc_intr_disestablish |
|
8 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/osiop_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| osiop_gsc_match |
|
10 |
3 |
53 |
| osiop_gsc_attach |
|
33 |
5 |
234 |
| osiop_gsc_intr |
|
18 |
4 |
113 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/gsckbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gsckbc_match |
|
17 |
6 |
128 |
| probe_readtmo |
|
36 |
8 |
267 |
| probe_readretry |
|
9 |
3 |
53 |
| probe_sendtmo |
|
14 |
4 |
87 |
| probe_sendack |
|
20 |
6 |
98 |
| probe_ident |
|
44 |
11 |
279 |
| gsckbc_attach |
|
50 |
11 |
377 |
| pckbc_wait_output |
|
13 |
3 |
60 |
| pckbc_send_cmd |
|
11 |
2 |
61 |
| pckbc_poll_data1 |
|
17 |
3 |
84 |
| pckbc_send_devcmd |
|
7 |
1 |
35 |
| pckbc_submatch |
|
12 |
3 |
83 |
| pckbc_attach_slot |
|
20 |
4 |
130 |
| pckbcprint |
|
9 |
3 |
46 |
| pckbc_init_slotdata |
|
11 |
2 |
71 |
| pckbc_flush |
|
7 |
1 |
40 |
| pckbc_poll_data |
|
14 |
5 |
95 |
| pckbc_xt_translation |
|
5 |
1 |
15 |
| pckbc_slot_enable |
|
6 |
1 |
19 |
| pckbc_set_poll |
|
16 |
3 |
78 |
| pckbc_poll_cmd1 |
|
58 |
19 |
306 |
| pckbc_poll_cmd |
|
21 |
6 |
147 |
| pckbc_cleanqueue |
|
14 |
5 |
96 |
| pckbc_cleanup |
|
17 |
4 |
111 |
| pckbc_start |
|
27 |
6 |
166 |
| pckbc_cmdresponse |
|
44 |
15 |
268 |
| pckbc_enqueue_cmd |
|
52 |
15 |
364 |
| pckbc_set_inputhandler |
|
15 |
2 |
92 |
| gsckbcintr |
|
31 |
9 |
211 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/if_ie_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ie_gsc_reset |
|
26 |
8 |
153 |
| ie_gsc_attend |
|
9 |
1 |
54 |
| ie_gsc_run |
|
4 |
1 |
11 |
| ie_gsc_port |
|
32 |
6 |
181 |
| ie_gsc_intrhook |
|
18 |
5 |
73 |
| ie_gsc_read16 |
|
8 |
1 |
49 |
| ie_gsc_write16 |
|
9 |
1 |
55 |
| ie_gsc_write24 |
|
11 |
1 |
90 |
| ie_gsc_memcopyin |
|
9 |
1 |
62 |
| ie_gsc_memcopyout |
|
9 |
1 |
63 |
| ie_gsc_probe |
|
11 |
4 |
63 |
| ie_gsc_attach |
|
77 |
14 |
593 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/siop_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siop_gsc_match |
|
8 |
3 |
48 |
| siop_gsc_attach |
|
35 |
2 |
339 |
| siop_gsc_reset |
|
8 |
1 |
74 |
| siop_gsc_r1 |
|
4 |
1 |
31 |
| siop_gsc_r2 |
|
10 |
2 |
70 |
| siop_gsc_w1 |
|
4 |
1 |
35 |
| siop_gsc_w2 |
|
4 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/harmonyvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/arcofi_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arcofi_gsc_match |
|
9 |
4 |
58 |
| arcofi_gsc_attach |
|
23 |
4 |
183 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/gscbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/hil_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hil_gsc_match |
|
8 |
3 |
52 |
| hil_gsc_attach |
|
18 |
3 |
167 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/mongoose_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mgmatch_gsc |
|
8 |
3 |
52 |
| mgattach_gsc |
|
26 |
4 |
213 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/oosiop_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| oosiop_gsc_match |
|
10 |
3 |
53 |
| oosiop_gsc_attach |
|
34 |
5 |
240 |
| oosiop_gsc_intr |
|
9 |
2 |
41 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/com_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_gsc_probe |
|
12 |
5 |
75 |
| com_gsc_attach |
|
26 |
5 |
199 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/harmonyreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/gsckbcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/lpt_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lpt_gsc_probe |
|
40 |
11 |
294 |
| lpt_gsc_attach |
|
18 |
2 |
129 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/fdc_gsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdc_gsc_probe |
|
16 |
4 |
106 |
| fdc_gsc_attach |
|
15 |
2 |
99 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/gsc/harmony.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| harmony_match |
|
24 |
9 |
156 |
| harmony_attach |
|
90 |
10 |
757 |
| harmony_reset_codec |
|
9 |
1 |
50 |
| harmony_acc_tmo |
|
6 |
1 |
30 |
| harmony_intr |
|
53 |
8 |
330 |
| harmony_intr_enable |
|
5 |
1 |
27 |
| harmony_intr_disable |
|
5 |
1 |
27 |
| harmony_open |
|
8 |
2 |
40 |
| harmony_close |
|
8 |
1 |
36 |
| harmony_set_params |
|
49 |
11 |
256 |
| harmony_round_blocksize |
|
4 |
1 |
16 |
| harmony_commit_settings |
|
54 |
15 |
317 |
| harmony_halt_output |
|
6 |
1 |
26 |
| harmony_halt_input |
|
6 |
1 |
26 |
| harmony_set_port |
|
77 |
24 |
474 |
| harmony_get_port |
|
71 |
22 |
415 |
| harmony_query_devinfo |
|
116 |
12 |
1140 |
| harmony_allocm |
|
35 |
6 |
274 |
| harmony_freem |
|
16 |
3 |
145 |
| harmony_round_buffersize |
|
4 |
1 |
33 |
| harmony_get_props |
|
4 |
1 |
13 |
| harmony_trigger_output |
|
46 |
5 |
337 |
| harmony_start_cp |
|
32 |
5 |
216 |
| harmony_trigger_input |
|
27 |
3 |
199 |
| harmony_speed_bits |
|
28 |
9 |
220 |
| harmony_set_gainctl |
|
35 |
5 |
313 |
| harmony_try_more |
|
28 |
9 |
256 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/boot/exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_loadfile |
|
8 |
1 |
62 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/mkboot/mkboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
79 |
11 |
706 |
| putfile |
|
103 |
29 |
911 |
| cksum |
|
6 |
2 |
51 |
| usage |
|
8 |
1 |
25 |
| lifname |
|
17 |
6 |
105 |
| bcddate |
|
19 |
1 |
190 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/cdboot/cdboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| boot |
|
22 |
2 |
151 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/cdboot/elf64.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ELFNAME( exec) |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/dev_hppa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| machdep |
|
34 |
6 |
267 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/lif.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lif_open |
|
79 |
31 |
625 |
| lif_close |
|
7 |
1 |
33 |
| lif_read |
|
33 |
8 |
245 |
| lif_write |
|
8 |
1 |
31 |
| lif_seek |
|
21 |
4 |
93 |
| lif_stat |
|
11 |
2 |
71 |
| lif_readdir |
|
23 |
7 |
167 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/dk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dk_disklabel |
|
9 |
3 |
60 |
| dkopen |
|
27 |
13 |
173 |
| dkclose |
|
7 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/ct.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ctopen |
|
7 |
2 |
47 |
| ctclose |
|
7 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/elf32.c |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/itecons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cnspeed |
|
4 |
1 |
13 |
| ite_probe |
|
20 |
5 |
162 |
| ite_init |
|
26 |
10 |
202 |
| ite_putc |
|
10 |
2 |
57 |
| ite_getc |
|
37 |
18 |
220 |
| ite_pollc |
|
5 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/time.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getsecs |
|
15 |
7 |
83 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/cmd_hppa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| print_console |
|
53 |
10 |
385 |
| set_graphics |
|
46 |
11 |
278 |
| set_serial |
|
71 |
22 |
395 |
| set_console |
|
25 |
10 |
189 |
| Xconsole |
|
39 |
7 |
186 |
| print_keyboard |
|
42 |
7 |
242 |
| set_keyboard |
|
24 |
6 |
135 |
| Xkeyboard |
|
39 |
7 |
186 |
| bus_walk |
|
121 |
34 |
730 |
| pci_bus_walk |
|
59 |
18 |
381 |
| dino_conf_read |
|
13 |
1 |
105 |
| elroy_conf_read |
|
27 |
3 |
279 |
| path_match |
|
10 |
7 |
107 |
| path_shift |
|
10 |
1 |
99 |
| register_device |
|
28 |
7 |
162 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/elf64.c |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/pdc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pdc_init |
|
14 |
5 |
107 |
| iodcstrategy |
|
99 |
40 |
681 |
| pdc_findev |
|
98 |
37 |
776 |
| fall |
|
10 |
4 |
61 |
| fcacheall |
|
24 |
6 |
164 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/dev_hppa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devopen |
|
42 |
15 |
321 |
| devboot |
|
44 |
8 |
258 |
| ttyname |
|
8 |
1 |
41 |
| ttydev |
|
14 |
9 |
132 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/stand/libsa/lf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lfopen |
|
7 |
2 |
45 |
| lfclose |
|
6 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dfmpy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbl_fmpy |
|
246 |
73 |
1399 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/fcnvxf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_to_sgl_fcnvxf |
|
48 |
11 |
244 |
| sgl_to_dbl_fcnvxf |
|
30 |
4 |
194 |
| dbl_to_sgl_fcnvxf |
|
66 |
14 |
336 |
| dbl_to_dbl_fcnvxf |
|
70 |
14 |
373 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sgl_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/mpys.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpys |
|
11 |
5 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sfmpy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_fmpy |
|
227 |
73 |
1206 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/fcnvfxt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_to_sgl_fcnvfxt |
|
43 |
13 |
245 |
| sgl_to_dbl_fcnvfxt |
|
54 |
13 |
296 |
| dbl_to_sgl_fcnvfxt |
|
44 |
12 |
260 |
| dbl_to_dbl_fcnvfxt |
|
53 |
13 |
295 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/hppa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/fpbits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/mpyaccs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpyaccs |
|
16 |
4 |
106 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/mpyaccu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpyaccu |
|
15 |
3 |
95 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sfsub.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_fsub |
|
330 |
72 |
1409 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/md.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/divufr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divufr |
|
15 |
3 |
64 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dbl_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sfsqrt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_fsqrt |
|
88 |
22 |
483 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/cnv_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dfadd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbl_fadd |
|
336 |
72 |
1582 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dfsqrt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbl_fsqrt |
|
97 |
22 |
607 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/mpyscv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpyscv |
|
7 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/divsfm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divsfm |
|
41 |
12 |
185 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/frnd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_frnd |
|
74 |
26 |
421 |
| dbl_frnd |
|
77 |
26 |
467 |
| quad_frnd |
|
6 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sfdiv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_fdiv |
|
252 |
78 |
1278 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/mpyucv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpyucv |
|
7 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/divsim.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divsim |
|
44 |
12 |
191 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/divuir.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divuir |
|
11 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/fcnvfx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_to_sgl_fcnvfx |
|
76 |
30 |
403 |
| sgl_to_dbl_fcnvfx |
|
101 |
30 |
492 |
| dbl_to_sgl_fcnvfx |
|
96 |
37 |
525 |
| dbl_to_dbl_fcnvfx |
|
100 |
30 |
497 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/mpyu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpyu |
|
11 |
2 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/divsir.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divsir |
|
38 |
10 |
173 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sfadd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_fadd |
|
328 |
72 |
1396 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sfrem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_frem |
|
140 |
35 |
748 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dfcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbl_fcmp |
|
105 |
28 |
516 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dfrem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbl_frem |
|
147 |
36 |
908 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dfdiv.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbl_fdiv |
|
263 |
80 |
1458 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/fcnvff.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_to_dbl_fcnvff |
|
50 |
7 |
271 |
| dbl_to_sgl_fcnvff |
|
114 |
35 |
616 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/divsfr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| divsfr |
|
38 |
11 |
176 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/dfsub.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbl_fsub |
|
334 |
72 |
1595 |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/quad_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/hppa/spmath/sfcmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sgl_fcmp |
|
83 |
24 |
395 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/isa_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isa_defaultirq |
|
24 |
5 |
203 |
| isa_nmi |
|
5 |
1 |
18 |
| isa_strayintr |
|
6 |
3 |
37 |
| intr_calculatemasks |
|
64 |
20 |
478 |
| fakeintr |
|
5 |
1 |
13 |
| isa_intr_alloc |
|
39 |
14 |
230 |
| isa_intr_check |
|
20 |
9 |
95 |
| isa_intr_establish |
|
78 |
24 |
491 |
| isa_intr_disestablish |
|
23 |
8 |
150 |
| isa_attach_hook |
|
8 |
2 |
36 |
| _isa_bus_dmamap_create |
|
42 |
10 |
272 |
| _isa_bus_dmamap_destroy |
|
8 |
2 |
50 |
| _isa_bus_dmamap_load |
|
32 |
7 |
219 |
| _isa_bus_dmamap_load_mbuf |
|
5 |
1 |
23 |
| _isa_bus_dmamap_load_uio |
|
5 |
1 |
23 |
| _isa_bus_dmamap_load_raw |
|
5 |
1 |
28 |
| _isa_bus_dmamap_unload |
|
9 |
3 |
59 |
| _isa_bus_dmamap_sync |
|
25 |
13 |
196 |
| _isa_bus_dmamem_alloc |
|
13 |
2 |
105 |
| _isa_dma_check_buffer |
|
35 |
9 |
195 |
| _isa_dma_alloc_bouncebuf |
|
26 |
3 |
164 |
| _isa_dma_free_bouncebuf |
|
12 |
1 |
68 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/joy_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| joy_isa_probe |
|
11 |
2 |
70 |
| joy_isa_attach |
|
13 |
3 |
102 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/npx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_save |
|
8 |
2 |
36 |
| npxdna_notset |
|
4 |
1 |
14 |
| npxprobe1 |
|
35 |
5 |
168 |
| npxprobe |
|
42 |
2 |
271 |
| npxinit |
|
20 |
5 |
126 |
| npxattach |
|
32 |
7 |
156 |
| npxintr |
|
48 |
11 |
344 |
| npxtrap |
|
22 |
3 |
155 |
| x86fpflags_to_siginfo |
|
18 |
3 |
80 |
| npxdna_xmm |
|
53 |
7 |
389 |
| npxdna_s87 |
|
51 |
7 |
372 |
| npxsave_cpu |
|
26 |
6 |
159 |
| npxsave_proc |
|
26 |
8 |
186 |
| fpu_kernel_enter |
|
25 |
5 |
114 |
| fpu_kernel_exit |
|
4 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/joyreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/nvram.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/isapnp_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isapnp_map |
|
8 |
3 |
39 |
| isapnp_unmap |
|
3 |
1 |
9 |
| isapnp_map_readport |
|
11 |
6 |
72 |
| isapnp_unmap_readport |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/ahc_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ahc_isa_irq |
|
22 |
7 |
103 |
| ahc_isa_idstring |
|
35 |
6 |
257 |
| ahc_isa_match |
|
33 |
9 |
191 |
| ahc_isa_probe |
|
30 |
7 |
195 |
| ahc_isa_attach |
|
85 |
14 |
555 |
| aha2840_load_seeprom |
|
75 |
18 |
505 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/mms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmsprobe |
|
21 |
4 |
130 |
| mmsattach |
|
21 |
2 |
162 |
| mms_enable |
|
10 |
2 |
63 |
| mms_disable |
|
6 |
1 |
36 |
| mms_ioctl |
|
10 |
3 |
58 |
| mmsintr |
|
34 |
11 |
280 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mc146818_read |
|
12 |
1 |
59 |
| mc146818_write |
|
10 |
1 |
54 |
| startclocks |
|
11 |
2 |
60 |
| rtcdrain |
|
8 |
3 |
43 |
| clockintr |
|
14 |
3 |
56 |
| rtcintr |
|
16 |
3 |
73 |
| gettick |
|
48 |
12 |
310 |
| i8254_delay |
|
30 |
5 |
166 |
| calibrate_cyclecounter_ctr |
|
28 |
6 |
201 |
| calibrate_cyclecounter |
|
10 |
2 |
64 |
| i8254_initclocks |
|
9 |
1 |
54 |
| rtcstart |
|
8 |
1 |
56 |
| rtcstop |
|
4 |
1 |
15 |
| rtcget |
|
7 |
2 |
41 |
| rtcput |
|
4 |
1 |
15 |
| hexdectodec |
|
4 |
1 |
29 |
| dectohexdec |
|
4 |
1 |
38 |
| cmoscheck |
|
9 |
2 |
61 |
| clock_expandyear |
|
35 |
13 |
195 |
| inittodr |
|
43 |
6 |
273 |
| resettodr |
|
32 |
5 |
215 |
| setstatclockrate |
|
11 |
3 |
44 |
| i8254_inittimecounter |
|
4 |
1 |
12 |
| i8254_inittimecounter_simple |
|
11 |
1 |
50 |
| i8254_startclock |
|
7 |
1 |
47 |
| i8254_simple_get_timecount |
|
4 |
1 |
18 |
| i8254_get_timecount |
|
20 |
2 |
108 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/isa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/isapnp_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/lms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lmsprobe |
|
29 |
5 |
194 |
| lmsattach |
|
21 |
2 |
162 |
| lms_enable |
|
10 |
2 |
54 |
| lms_disable |
|
6 |
1 |
36 |
| lms_ioctl |
|
10 |
3 |
58 |
| lmsintr |
|
33 |
10 |
304 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/joy.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| joyopen |
|
16 |
4 |
112 |
| joyclose |
|
8 |
1 |
58 |
| joyread |
|
35 |
12 |
289 |
| joyioctl |
|
33 |
9 |
197 |
| joy_get_tick |
|
8 |
1 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/isa/joy_isapnp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| joy_isapnp_probe |
|
4 |
1 |
22 |
| joy_isapnp_attach |
|
13 |
3 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/codepatch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/pmap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_page_protect |
|
10 |
3 |
54 |
| pmap_protect |
|
10 |
3 |
65 |
| pmap_growkernel |
|
4 |
1 |
16 |
| pmap_enter |
|
4 |
1 |
38 |
| pmap_extract |
|
4 |
1 |
29 |
| pmap_is_active |
|
4 |
2 |
29 |
| pmap_is_curpmap |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/mpbiosvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/vmmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/gdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/i8259.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/acpiapm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/mouse.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/kvm86.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/hibernate.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/npx.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __i386_read_tcb |
|
6 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/cpuvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/biosvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| curcpu |
|
8 |
1 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/cpufunc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| invlpg |
|
4 |
1 |
21 |
| lidt |
|
4 |
1 |
22 |
| lldt |
|
4 |
1 |
19 |
| ltr |
|
4 |
1 |
19 |
| lcr0 |
|
4 |
1 |
19 |
| rcr0 |
|
6 |
1 |
23 |
| rcr2 |
|
6 |
1 |
23 |
| lcr3 |
|
4 |
1 |
19 |
| rcr3 |
|
6 |
1 |
23 |
| lcr4 |
|
4 |
1 |
19 |
| rcr4 |
|
6 |
1 |
23 |
| tlbflush |
|
6 |
1 |
32 |
| disable_intr |
|
4 |
1 |
12 |
| enable_intr |
|
4 |
1 |
12 |
| read_eflags |
|
6 |
1 |
25 |
| write_eflags |
|
4 |
1 |
19 |
| intr_disable |
|
7 |
1 |
24 |
| intr_restore |
|
4 |
1 |
12 |
| wbinvd |
|
4 |
1 |
12 |
| clflush |
|
4 |
1 |
24 |
| mfence |
|
4 |
1 |
16 |
| rdtsc |
|
6 |
1 |
25 |
| wrmsr |
|
4 |
1 |
27 |
| rdmsr |
|
6 |
1 |
31 |
| monitor |
|
5 |
1 |
38 |
| mwait |
|
4 |
1 |
27 |
| rdmsr_locked |
|
8 |
1 |
39 |
| wrmsr_locked |
|
6 |
1 |
35 |
| breakpoint |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/ioctl_fd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/rbus_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/smbiosvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/apicvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/specialreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/pic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/pio.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __inbc |
|
6 |
1 |
29 |
| __inb |
|
6 |
1 |
29 |
| insb |
|
5 |
1 |
39 |
| __inwc |
|
6 |
1 |
29 |
| __inw |
|
6 |
1 |
29 |
| insw |
|
5 |
1 |
39 |
| __inlc |
|
6 |
1 |
29 |
| __inl |
|
6 |
1 |
29 |
| insl |
|
5 |
1 |
39 |
| __outbc |
|
4 |
1 |
27 |
| __outb |
|
4 |
1 |
27 |
| outsb |
|
5 |
1 |
38 |
| __outwc |
|
4 |
1 |
27 |
| __outw |
|
4 |
1 |
27 |
| outsw |
|
5 |
1 |
38 |
| __outlc |
|
4 |
1 |
27 |
| __outl |
|
4 |
1 |
27 |
| outsl |
|
5 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/joystick.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/segments.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/i82489var.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i82489_readreg |
|
5 |
1 |
29 |
| i82489_writereg |
|
7 |
1 |
56 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _atomic_cas_uint |
|
7 |
1 |
57 |
| _atomic_cas_ulong |
|
7 |
1 |
57 |
| _atomic_cas_ptr |
|
7 |
1 |
66 |
| _atomic_swap_uint |
|
7 |
1 |
47 |
| _atomic_swap_ulong |
|
7 |
1 |
47 |
| _atomic_swap_ptr |
|
7 |
1 |
56 |
| _atomic_inc_int |
|
5 |
1 |
23 |
| _atomic_inc_long |
|
5 |
1 |
23 |
| _atomic_dec_int |
|
5 |
1 |
23 |
| _atomic_dec_long |
|
5 |
1 |
23 |
| _atomic_add_int |
|
6 |
1 |
32 |
| _atomic_add_long |
|
6 |
1 |
32 |
| _atomic_sub_int |
|
6 |
1 |
32 |
| _atomic_sub_long |
|
6 |
1 |
32 |
| _atomic_add_int_nv |
|
7 |
1 |
45 |
| _atomic_add_long_nv |
|
7 |
1 |
45 |
| _atomic_sub_int_nv |
|
7 |
1 |
47 |
| _atomic_sub_long_nv |
|
7 |
1 |
47 |
| i386_atomic_testset_uq |
|
6 |
1 |
54 |
| i386_atomic_testset_ul |
|
5 |
1 |
37 |
| i386_atomic_testset_i |
|
5 |
1 |
37 |
| i386_atomic_setbits_l |
|
4 |
1 |
31 |
| i386_atomic_clearbits_l |
|
5 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/bus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/hibernate_var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/mpbiosreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/intrdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/tss.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/i82489reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/cputypes.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/vga_post.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/amdmsr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/vm86.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clr_vif |
|
7 |
1 |
35 |
| set_vif |
|
9 |
3 |
80 |
| set_vflags |
|
11 |
3 |
110 |
| get_vflags |
|
9 |
1 |
64 |
| set_vflags_short |
|
10 |
2 |
94 |
| get_vflags_short |
|
9 |
1 |
68 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/i82093var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/i82093reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/pctr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/eisa/eisa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/eisa/eisa_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eisa_attach_hook |
|
4 |
1 |
19 |
| eisa_maxslots |
|
4 |
1 |
12 |
| eisa_intr_map |
|
14 |
3 |
67 |
| eisa_intr_string |
|
8 |
4 |
59 |
| eisa_intr_establish |
|
7 |
4 |
75 |
| eisa_intr_disestablish |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/acpiapm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpiapmopen |
|
6 |
2 |
38 |
| acpiapmclose |
|
6 |
2 |
38 |
| acpiapmioctl |
|
6 |
2 |
43 |
| acpiapmkqfilter |
|
6 |
2 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_init_first |
|
4 |
1 |
10 |
| replacesmap |
|
12 |
2 |
56 |
| cpu_match |
|
10 |
3 |
65 |
| cpu_attach |
|
90 |
22 |
563 |
| cpu_init |
|
30 |
11 |
170 |
| cpu_init_vmm |
|
11 |
3 |
76 |
| patinit |
|
13 |
2 |
99 |
| rdrand |
|
27 |
9 |
127 |
| cpu_activate |
|
11 |
3 |
53 |
| cpu_boot_secondary_processors |
|
18 |
6 |
103 |
| cpu_init_idle_pcbs |
|
15 |
5 |
73 |
| cpu_boot_secondary |
|
21 |
7 |
135 |
| cpu_hatch |
|
27 |
4 |
151 |
| cpu_copy_trampoline |
|
13 |
1 |
83 |
| cpu_init_tss |
|
15 |
1 |
159 |
| cpu_set_tss_gates |
|
20 |
2 |
198 |
| mp_cpu_start |
|
25 |
4 |
156 |
| mp_cpu_start_cleanup |
|
5 |
1 |
25 |
| cpu_idle_mwait_cycle |
|
15 |
5 |
104 |
| cpu_init_mwait |
|
30 |
11 |
191 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/lapic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lapic_map |
|
12 |
2 |
57 |
| lapic_enable |
|
4 |
1 |
15 |
| lapic_disable |
|
4 |
1 |
13 |
| lapic_set_softvectors |
|
6 |
1 |
27 |
| lapic_set_lvt |
|
48 |
16 |
338 |
| lapic_boot_init |
|
15 |
4 |
95 |
| lapic_gettick |
|
4 |
1 |
12 |
| lapic_clockintr |
|
6 |
1 |
25 |
| lapic_startclock |
|
7 |
1 |
38 |
| lapic_initclocks |
|
5 |
1 |
14 |
| wait_next_cycle |
|
11 |
3 |
46 |
| lapic_calibrate_timer |
|
41 |
5 |
289 |
| lapic_delay |
|
20 |
5 |
95 |
| i82489_icr_wait |
|
10 |
5 |
50 |
| i386_ipi_init |
|
12 |
2 |
72 |
| i386_ipi |
|
12 |
2 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/esm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| esm_probe |
|
35 |
20 |
160 |
| esm_match |
|
7 |
3 |
54 |
| esm_attach |
|
45 |
6 |
342 |
| esm_activate |
|
9 |
2 |
33 |
| esm_watchdog |
|
45 |
11 |
312 |
| esm_refresh |
|
109 |
27 |
659 |
| esm_get_devmap |
|
39 |
7 |
359 |
| esm_devmap |
|
112 |
28 |
424 |
| esm_make_sensors |
|
98 |
21 |
697 |
| esm_thresholds |
|
26 |
2 |
218 |
| esm_bmc_ready |
|
10 |
4 |
67 |
| esm_cmd |
|
36 |
8 |
232 |
| esm_smb_cmd |
|
18 |
4 |
147 |
| esm_val2temp |
|
4 |
1 |
21 |
| esm_val2volts |
|
4 |
1 |
17 |
| esm_val2amps |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/acpi_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpi_map |
|
18 |
3 |
129 |
| acpi_unmap |
|
5 |
1 |
33 |
| acpi_scan |
|
22 |
9 |
171 |
| acpi_probe |
|
31 |
9 |
178 |
| acpi_acquire_glk |
|
11 |
3 |
70 |
| acpi_release_glk |
|
9 |
2 |
56 |
| acpi_attach_machdep |
|
25 |
1 |
174 |
| acpi_sleep_clocks |
|
6 |
2 |
24 |
| acpi_resume_clocks |
|
14 |
6 |
57 |
| acpi_sleep_cpu |
|
33 |
9 |
216 |
| acpi_resume_cpu |
|
7 |
2 |
39 |
| acpi_sleep_mp |
|
14 |
4 |
71 |
| acpi_resume_mp |
|
30 |
5 |
196 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/mp_setperf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mp_setperf |
|
8 |
1 |
33 |
| i386_setperf_ipi |
|
4 |
1 |
14 |
| mp_setperf_init |
|
8 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/db_mp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_enter_ddb |
|
52 |
19 |
321 |
| db_startcpu |
|
8 |
3 |
45 |
| db_stopcpu |
|
12 |
4 |
73 |
| i386_ipi_db |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/est.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| est_acpi_init |
|
26 |
5 |
175 |
| est_acpi_pss_changed |
|
34 |
6 |
221 |
| est_init |
|
106 |
32 |
733 |
| est_setperf |
|
16 |
3 |
103 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cyrix_read_reg |
|
5 |
1 |
20 |
| cyrix_write_reg |
|
5 |
1 |
24 |
| cpuid |
|
12 |
1 |
42 |
| cpu_startup |
|
39 |
4 |
295 |
| i386_proc0_tss_init |
|
13 |
1 |
120 |
| i386_init_pcb_tss |
|
7 |
1 |
51 |
| winchip_cpu_setup |
|
10 |
2 |
55 |
| cyrix3_setperf_setup |
|
10 |
3 |
50 |
| cyrix3_cpu_setup |
|
101 |
38 |
581 |
| via_update_sensor |
|
18 |
4 |
94 |
| cyrix6x86_cpu_setup |
|
23 |
4 |
160 |
| natsem6x86_cpu_setup |
|
12 |
2 |
57 |
| intel586_cpu_setup |
|
8 |
2 |
31 |
| amd_family5_setperf_setup |
|
4 |
1 |
13 |
| amd_family5_setup |
|
14 |
6 |
62 |
| amd_family6_setperf_setup |
|
14 |
4 |
60 |
| amd_family6_setup |
|
15 |
4 |
88 |
| intelcore_update_sensor |
|
25 |
10 |
168 |
| intel686_cpusensors_setup |
|
11 |
3 |
91 |
| intel686_setperf_setup |
|
14 |
4 |
99 |
| intel686_common_cpu_setup |
|
16 |
4 |
80 |
| intel686_cpu_setup |
|
20 |
8 |
139 |
| intel686_p4_cpu_setup |
|
6 |
2 |
31 |
| tm86_cpu_setup |
|
4 |
2 |
13 |
| intel686_cpu_name |
|
33 |
11 |
104 |
| cyrix3_cpu_name |
|
13 |
3 |
45 |
| identifycpu |
|
332 |
126 |
2258 |
| tm86_cpu_name |
|
14 |
3 |
65 |
| cyrix3_get_bus_clock |
|
21 |
5 |
75 |
| p4_get_bus_clock |
|
44 |
9 |
184 |
| p3_get_bus_clock |
|
115 |
35 |
417 |
| p4_update_cpuspeed |
|
15 |
2 |
73 |
| p3_update_cpuspeed |
|
20 |
3 |
138 |
| pentium_cpuspeed |
|
5 |
1 |
18 |
| sendsig |
|
78 |
12 |
709 |
| sys_sigreturn |
|
61 |
12 |
496 |
| cpu_kick |
|
14 |
4 |
67 |
| signotify |
|
5 |
1 |
21 |
| cpu_unidle |
|
9 |
4 |
52 |
| boot |
|
60 |
18 |
303 |
| dumpconf |
|
18 |
8 |
143 |
| cpu_dump |
|
11 |
1 |
109 |
| reserve_dumppages |
|
5 |
1 |
18 |
| dumpsys |
|
60 |
22 |
436 |
| setregs |
|
37 |
3 |
362 |
| setgate |
|
12 |
1 |
87 |
| unsetgate |
|
11 |
1 |
57 |
| setregion |
|
5 |
1 |
34 |
| setsegment |
|
14 |
1 |
106 |
| fix_f00f |
|
16 |
1 |
121 |
| cpu_init_idt |
|
6 |
1 |
36 |
| init386 |
|
171 |
57 |
1685 |
| consinit |
|
3 |
1 |
6 |
| cpu_reset |
|
19 |
3 |
125 |
| cpu_initclocks |
|
4 |
1 |
13 |
| need_resched |
|
8 |
2 |
35 |
| idt_vec_alloc |
|
8 |
3 |
47 |
| idt_vec_set |
|
4 |
1 |
35 |
| idt_vec_free |
|
4 |
1 |
16 |
| cpu_sysctl |
|
77 |
30 |
545 |
| bus_space_map |
|
37 |
12 |
209 |
| _bus_space_map |
|
9 |
2 |
52 |
| bus_space_alloc |
|
37 |
11 |
224 |
| bus_mem_add_mapping |
|
27 |
8 |
179 |
| bus_space_unmap |
|
32 |
10 |
218 |
| _bus_space_unmap |
|
26 |
8 |
173 |
| bus_space_free |
|
4 |
1 |
22 |
| bus_space_subregion |
|
6 |
1 |
32 |
| bus_space_mmap |
|
6 |
2 |
38 |
| splassert_check |
|
7 |
4 |
55 |
| copyin32 |
|
6 |
2 |
38 |
| softintr |
|
6 |
1 |
37 |
| splraise |
|
6 |
1 |
22 |
| splx |
|
4 |
1 |
12 |
| spllower |
|
6 |
1 |
22 |
| intr_handler |
|
15 |
7 |
84 |
| intr_barrier |
|
4 |
1 |
13 |
| cpu_check_vmm_cap |
|
56 |
13 |
363 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/dkcsum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dkcsumattach |
|
110 |
36 |
790 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/pctr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| p5ctrrd |
|
12 |
1 |
86 |
| pctrrd |
|
13 |
5 |
104 |
| pctrattach |
|
23 |
6 |
117 |
| pctropen |
|
6 |
2 |
35 |
| pctrclose |
|
4 |
1 |
23 |
| p5ctrsel |
|
20 |
5 |
117 |
| pctrsel |
|
24 |
6 |
132 |
| pctrioctl |
|
30 |
11 |
160 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/k6_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| k6_mrmake |
|
17 |
8 |
149 |
| k6_mrinit |
|
24 |
5 |
201 |
| k6_mrset |
|
43 |
11 |
277 |
| k6_mrinit_cpu |
|
17 |
2 |
103 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/vm86.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| is_bitset |
|
11 |
1 |
64 |
| fast_intxx |
|
29 |
5 |
236 |
| vm86_return |
|
11 |
3 |
66 |
| vm86_gpfault |
|
75 |
16 |
426 |
| i386_vm86 |
|
47 |
8 |
257 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/bus_space.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i386_bus_space_io_read_1 |
|
4 |
1 |
20 |
| i386_bus_space_io_read_2 |
|
4 |
1 |
20 |
| i386_bus_space_io_read_4 |
|
4 |
1 |
20 |
| i386_bus_space_io_read_multi_1 |
|
5 |
1 |
28 |
| i386_bus_space_io_read_multi_2 |
|
5 |
1 |
28 |
| i386_bus_space_io_read_multi_4 |
|
5 |
1 |
28 |
| i386_bus_space_io_read_region_1 |
|
14 |
1 |
65 |
| i386_bus_space_io_read_region_2 |
|
14 |
1 |
65 |
| i386_bus_space_io_read_region_4 |
|
14 |
1 |
65 |
| i386_bus_space_io_write_1 |
|
4 |
1 |
22 |
| i386_bus_space_io_write_2 |
|
4 |
1 |
22 |
| i386_bus_space_io_write_4 |
|
4 |
1 |
22 |
| i386_bus_space_io_write_multi_1 |
|
5 |
1 |
29 |
| i386_bus_space_io_write_multi_2 |
|
5 |
1 |
29 |
| i386_bus_space_io_write_multi_4 |
|
5 |
1 |
29 |
| i386_bus_space_io_write_region_1 |
|
14 |
1 |
67 |
| i386_bus_space_io_write_region_2 |
|
14 |
1 |
67 |
| i386_bus_space_io_write_region_4 |
|
14 |
1 |
67 |
| i386_bus_space_io_set_multi_1 |
|
10 |
1 |
47 |
| i386_bus_space_io_set_multi_2 |
|
10 |
1 |
47 |
| i386_bus_space_io_set_multi_4 |
|
10 |
1 |
47 |
| i386_bus_space_io_set_region_1 |
|
12 |
1 |
53 |
| i386_bus_space_io_set_region_2 |
|
12 |
1 |
53 |
| i386_bus_space_io_set_region_4 |
|
12 |
1 |
53 |
| i386_bus_space_io_copy_1 |
|
17 |
1 |
71 |
| i386_bus_space_io_copy_2 |
|
17 |
1 |
71 |
| i386_bus_space_io_copy_4 |
|
17 |
1 |
71 |
| i386_bus_space_io_vaddr |
|
4 |
1 |
12 |
| i386_bus_space_io_mmap |
|
4 |
1 |
22 |
| i386_bus_space_mem_read_1 |
|
4 |
1 |
29 |
| i386_bus_space_mem_read_2 |
|
4 |
1 |
29 |
| i386_bus_space_mem_read_4 |
|
4 |
1 |
29 |
| i386_bus_space_mem_read_multi_1 |
|
12 |
1 |
59 |
| i386_bus_space_mem_read_multi_2 |
|
12 |
1 |
63 |
| i386_bus_space_mem_read_multi_4 |
|
12 |
1 |
59 |
| i386_bus_space_mem_read_region_1 |
|
8 |
1 |
46 |
| i386_bus_space_mem_read_region_2 |
|
8 |
1 |
46 |
| i386_bus_space_mem_read_region_4 |
|
8 |
1 |
46 |
| i386_bus_space_mem_write_1 |
|
4 |
1 |
34 |
| i386_bus_space_mem_write_2 |
|
4 |
1 |
34 |
| i386_bus_space_mem_write_4 |
|
4 |
1 |
34 |
| i386_bus_space_mem_write_multi_1 |
|
12 |
1 |
61 |
| i386_bus_space_mem_write_multi_2 |
|
12 |
1 |
61 |
| i386_bus_space_mem_write_multi_4 |
|
12 |
1 |
61 |
| i386_bus_space_mem_write_region_1 |
|
8 |
1 |
48 |
| i386_bus_space_mem_write_region_2 |
|
8 |
1 |
48 |
| i386_bus_space_mem_write_region_4 |
|
8 |
1 |
48 |
| i386_bus_space_mem_set_multi_1 |
|
10 |
1 |
49 |
| i386_bus_space_mem_set_multi_2 |
|
10 |
1 |
49 |
| i386_bus_space_mem_set_multi_4 |
|
10 |
1 |
49 |
| i386_bus_space_mem_set_region_1 |
|
11 |
1 |
54 |
| i386_bus_space_mem_set_region_2 |
|
11 |
1 |
54 |
| i386_bus_space_mem_set_region_4 |
|
11 |
1 |
54 |
| i386_bus_space_mem_copy_1 |
|
8 |
1 |
49 |
| i386_bus_space_mem_copy_2 |
|
8 |
1 |
49 |
| i386_bus_space_mem_copy_4 |
|
8 |
1 |
49 |
| i386_bus_space_mem_vaddr |
|
4 |
1 |
16 |
| i386_bus_space_mem_mmap |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/ioapic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ioapic_lock |
|
7 |
2 |
31 |
| ioapic_unlock |
|
5 |
2 |
27 |
| ioapic_read_ul |
|
7 |
1 |
36 |
| ioapic_write_ul |
|
5 |
1 |
33 |
| ioapic_read |
|
9 |
1 |
44 |
| ioapic_write |
|
7 |
1 |
41 |
| ioapic_find |
|
13 |
5 |
70 |
| ioapic_find_bybase |
|
10 |
4 |
56 |
| ioapic_add |
|
6 |
1 |
22 |
| ioapic_print_redir |
|
6 |
1 |
59 |
| ioapic_match |
|
8 |
2 |
63 |
| ioapic_set_id |
|
13 |
2 |
82 |
| ioapic_attach |
|
61 |
12 |
467 |
| ioapic_activate |
|
11 |
2 |
65 |
| apic_set_redir |
|
38 |
10 |
246 |
| apic_vectorset |
|
31 |
8 |
216 |
| ioapic_enable |
|
35 |
10 |
211 |
| ioapic_hwmask |
|
13 |
2 |
78 |
| ioapic_hwunmask |
|
13 |
2 |
78 |
| apic_intr_establish |
|
66 |
20 |
445 |
| apic_intr_disestablish |
|
41 |
12 |
283 |
| apic_stray |
|
10 |
2 |
51 |
| ioapic_dump |
|
13 |
4 |
81 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| unmap_startup |
|
9 |
2 |
48 |
| cpu_configure |
|
32 |
12 |
166 |
| device_register |
|
3 |
1 |
13 |
| diskconf |
|
40 |
9 |
261 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/powernow-k8.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| k8pnow_read_pending_wait |
|
11 |
3 |
49 |
| k8_powernow_setperf |
|
10 |
2 |
59 |
| k8pnow_transition |
|
65 |
20 |
446 |
| k8pnow_decode_pst |
|
21 |
4 |
156 |
| k8pnow_states |
|
36 |
8 |
261 |
| k8pnow_acpi_states |
|
27 |
6 |
214 |
| k8pnow_acpi_pss_changed |
|
18 |
1 |
116 |
| k8pnow_acpi_init |
|
19 |
2 |
127 |
| k8_powernow_init |
|
52 |
12 |
314 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/nvram.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nvramattach |
|
10 |
5 |
40 |
| nvramopen |
|
8 |
4 |
57 |
| nvramclose |
|
4 |
1 |
23 |
| nvramread |
|
21 |
8 |
165 |
| nvram_get_byte |
|
6 |
2 |
31 |
| nvram_csum_valid |
|
13 |
3 |
84 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
43 |
13 |
306 |
| writedisklabel |
|
30 |
4 |
213 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/kvm86.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kvm86_init |
|
33 |
4 |
287 |
| kvm86_prepare |
|
9 |
1 |
79 |
| kvm86_map |
|
4 |
1 |
35 |
| kvm86_mapbios |
|
7 |
2 |
44 |
| kvm86_bios_addpage |
|
12 |
3 |
84 |
| kvm86_bios_delpage |
|
5 |
1 |
35 |
| kvm86_bios_read |
|
20 |
3 |
146 |
| kvm86_bioscall |
|
21 |
2 |
131 |
| kvm86_simplecall |
|
25 |
1 |
180 |
| kvm86_gpfault |
|
56 |
10 |
417 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/gdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| setgdt |
|
12 |
3 |
103 |
| gdt_init |
|
22 |
3 |
163 |
| gdt_alloc_cpu |
|
20 |
3 |
175 |
| gdt_init_cpu |
|
6 |
1 |
33 |
| gdt_get_slot |
|
15 |
3 |
64 |
| gdt_put_slot |
|
8 |
1 |
41 |
| tss_alloc |
|
8 |
1 |
52 |
| tss_free |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/esmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/longrun.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| longrun_init |
|
6 |
1 |
28 |
| longrun_update |
|
11 |
1 |
57 |
| longrun_setperf |
|
21 |
2 |
149 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/powernow.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| k6_powernow_init |
|
21 |
4 |
106 |
| k6_powernow_setperf |
|
15 |
1 |
93 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/apic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apic_format_redir |
|
8 |
2 |
56 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
24 |
13 |
114 |
| mmclose |
|
6 |
3 |
36 |
| mmrw |
|
71 |
18 |
452 |
| mmmmap |
|
32 |
15 |
166 |
| mmioctl |
|
9 |
4 |
55 |
| mem_ioctl |
|
39 |
10 |
301 |
| mem_range_attr_get |
|
11 |
3 |
70 |
| mem_range_attr_set |
|
6 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i386_iopl |
|
19 |
8 |
120 |
| i386_get_threadbase |
|
6 |
1 |
41 |
| i386_set_threadbase |
|
11 |
3 |
86 |
| sys_sysarch |
|
46 |
10 |
263 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/amd64errata.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amd64_errata_testmsr |
|
10 |
2 |
56 |
| amd64_errata_setmsr |
|
15 |
4 |
104 |
| amd64_errata |
|
76 |
31 |
487 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/rbus_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rbus_pccbb_parent_mem |
|
11 |
2 |
67 |
| rbus_pccbb_parent_io |
|
14 |
3 |
86 |
| pccbb_attach_hook |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/amdmsr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amdmsr_probe |
|
17 |
7 |
109 |
| amdmsr_match |
|
5 |
1 |
44 |
| amdmsr_attach |
|
4 |
1 |
23 |
| amdmsropen |
|
12 |
7 |
71 |
| amdmsrclose |
|
5 |
2 |
24 |
| amdmsrioctl |
|
15 |
3 |
79 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
4 |
3 |
33 |
| iszerodev |
|
4 |
2 |
24 |
| getnulldev |
|
4 |
1 |
14 |
| dev_rawpart |
|
14 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kdbprinttrap |
|
9 |
3 |
50 |
| db_ktrap |
|
65 |
16 |
393 |
| db_sysregs_cmd |
|
22 |
1 |
188 |
| db_cpuinfo_cmd |
|
31 |
9 |
149 |
| db_startproc_cmd |
|
16 |
9 |
103 |
| db_stopproc_cmd |
|
17 |
9 |
105 |
| db_ddbproc_cmd |
|
16 |
6 |
86 |
| db_machine_init |
|
9 |
5 |
47 |
| db_enter |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/hibernate_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_hibernate_io_function |
|
28 |
16 |
225 |
| get_hibernate_info_md |
|
62 |
12 |
525 |
| hibernate_enter_resume_mapping |
|
7 |
2 |
34 |
| hibernate_enter_resume_4m_pde |
|
7 |
1 |
44 |
| hibernate_enter_resume_4k_pte |
|
7 |
1 |
42 |
| hibernate_enter_resume_4k_pde |
|
7 |
1 |
39 |
| hibernate_populate_resume_pt |
|
50 |
5 |
410 |
| hibernate_inflate_skip |
|
7 |
3 |
42 |
| hibernate_enable_intr_machdep |
|
4 |
1 |
10 |
| hibernate_disable_intr_machdep |
|
4 |
1 |
10 |
| hibernate_quiesce_cpus |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/db_memrw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_read_bytes |
|
7 |
2 |
41 |
| db_write_text |
|
37 |
10 |
220 |
| db_write_bytes |
|
13 |
4 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/bios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| biosprobe |
|
12 |
6 |
84 |
| biosattach |
|
223 |
73 |
1650 |
| bios_getopt |
|
85 |
33 |
506 |
| bios_print |
|
8 |
2 |
44 |
| bios32_service |
|
45 |
8 |
313 |
| bios32_cleanup |
|
13 |
3 |
81 |
| biosopen |
|
8 |
2 |
50 |
| biosclose |
|
8 |
2 |
50 |
| biosioctl |
|
12 |
2 |
64 |
| bios_sysctl |
|
27 |
10 |
183 |
| bios_getdiskinfo |
|
19 |
7 |
89 |
| smbios_find_table |
|
40 |
16 |
298 |
| smbios_get_string |
|
19 |
7 |
131 |
| fixstring |
|
19 |
9 |
170 |
| smbios_info |
|
106 |
35 |
821 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_frame |
|
4 |
1 |
18 |
| process_fpframe |
|
4 |
1 |
21 |
| process_xmm_to_s87 |
|
24 |
4 |
254 |
| process_fninit_xmm |
|
9 |
1 |
62 |
| process_read_regs |
|
30 |
3 |
231 |
| process_read_fpregs |
|
24 |
5 |
175 |
| process_s87_to_xmm |
|
24 |
4 |
254 |
| process_write_regs |
|
33 |
5 |
266 |
| process_write_fpregs |
|
18 |
5 |
123 |
| process_read_xmmregs |
|
14 |
4 |
93 |
| process_write_xmmregs |
|
13 |
4 |
94 |
| process_sstep |
|
9 |
2 |
44 |
| process_set_pc |
|
6 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
28 |
7 |
270 |
| cpu_exit |
|
7 |
3 |
42 |
| kvtop |
|
7 |
2 |
42 |
| vmapbuf |
|
21 |
3 |
155 |
| vunmapbuf |
|
14 |
2 |
103 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/mpbios_intr_fixup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpbios_icu_lookup |
|
9 |
4 |
58 |
| nforce4_mpbios_fixup |
|
23 |
6 |
194 |
| mcp04_mpbios_fixup |
|
13 |
3 |
99 |
| via8237_mpbios_fixup |
|
6 |
1 |
38 |
| mpbios_pin_fixup |
|
24 |
7 |
194 |
| mpbios_intr_fixup |
|
37 |
11 |
243 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/ipifuncs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i386_ipi_nop |
|
3 |
1 |
9 |
| i386_ipi_halt |
|
14 |
2 |
63 |
| i386_ipi_flush_fpu |
|
5 |
2 |
26 |
| i386_ipi_synch_fpu |
|
5 |
2 |
26 |
| i386_ipi_reload_mtrr |
|
5 |
2 |
27 |
| i386_spurious |
|
4 |
1 |
11 |
| i386_send_ipi |
|
8 |
2 |
48 |
| i386_fast_ipi |
|
7 |
2 |
42 |
| i386_broadcast_ipi |
|
17 |
4 |
86 |
| i386_ipi_handler |
|
15 |
4 |
93 |
| i386_ipi_start_vmm |
|
4 |
1 |
14 |
| i386_ipi_stop_vmm |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
4 |
1 |
22 |
| mainbus_attach |
|
92 |
28 |
672 |
| mainbus_print |
|
9 |
3 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/i686_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mtrr2mrt |
|
6 |
3 |
29 |
| mtrrconflict |
|
10 |
6 |
50 |
| mem_range_match |
|
10 |
4 |
78 |
| mrfetch |
|
74 |
20 |
596 |
| mtrrtype |
|
12 |
4 |
60 |
| mrt2mtrr |
|
6 |
1 |
22 |
| mrstore |
|
7 |
2 |
27 |
| mrstoreone |
|
61 |
12 |
453 |
| mtrrfixsearch |
|
9 |
4 |
82 |
| mrsetlow |
|
17 |
7 |
174 |
| mrsetvariable |
|
35 |
12 |
249 |
| mrset |
|
32 |
11 |
212 |
| mrinit |
|
57 |
12 |
431 |
| mrinit_cpu |
|
4 |
1 |
14 |
| mrreload_cpu |
|
6 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/p4tcc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| p4tcc_init |
|
29 |
12 |
120 |
| p4tcc_cpuspeed |
|
5 |
1 |
24 |
| p4tcc_setperf |
|
21 |
6 |
137 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/mpbios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpbios_match |
|
8 |
2 |
58 |
| mpbios_attach |
|
4 |
1 |
23 |
| mp_print |
|
7 |
2 |
40 |
| mp_match |
|
8 |
2 |
68 |
| mpbios_map |
|
18 |
2 |
125 |
| mpbios_unmap |
|
5 |
1 |
33 |
| mpbios_probe |
|
81 |
19 |
450 |
| mpbios_cksum |
|
9 |
2 |
49 |
| mpbios_search |
|
22 |
5 |
189 |
| mpbios_scan |
|
97 |
26 |
543 |
| mpbios_invent |
|
28 |
6 |
168 |
| mpbios_cpu |
|
24 |
6 |
157 |
| mp_cfg_special_intr |
|
20 |
4 |
100 |
| mp_cfg_pci_intr |
|
33 |
8 |
152 |
| mp_cfg_eisa_intr |
|
40 |
9 |
189 |
| mp_cfg_isa_intr |
|
33 |
8 |
152 |
| mp_print_special_intr |
|
3 |
1 |
7 |
| mp_print_pci_intr |
|
4 |
1 |
29 |
| mp_print_isa_intr |
|
4 |
1 |
14 |
| mp_print_eisa_intr |
|
4 |
1 |
14 |
| mpbios_bus |
|
42 |
8 |
325 |
| mpbios_ioapic |
|
15 |
3 |
124 |
| mpbios_int |
|
95 |
17 |
557 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/k1x-pstate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| k1x_setperf |
|
10 |
2 |
60 |
| k1x_transition |
|
25 |
7 |
153 |
| k1x_acpi_states |
|
21 |
4 |
152 |
| k1x_acpi_init |
|
9 |
2 |
47 |
| k1x_init |
|
27 |
6 |
154 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_i386_numargs |
|
20 |
5 |
135 |
| db_nextframe |
|
33 |
6 |
202 |
| db_is_trap |
|
22 |
13 |
143 |
| db_stack_trace_print |
|
120 |
36 |
764 |
| db_save_stack_trace |
|
36 |
7 |
222 |
| db_get_pc |
|
9 |
2 |
87 |
| db_get_probe_addr |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/pmapae.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_pte2flags |
|
5 |
3 |
34 |
| pmap_sync_flags_pte_pae |
|
6 |
2 |
37 |
| pmap_map_ptes_pae |
|
24 |
8 |
197 |
| pmap_unmap_ptes_pae |
|
14 |
4 |
81 |
| pmap_pte_set_pae |
|
12 |
2 |
66 |
| pmap_pte_setbits_pae |
|
7 |
1 |
51 |
| pmap_pte_bits_pae |
|
5 |
1 |
24 |
| pmap_pte_paddr_pae |
|
5 |
1 |
24 |
| pmap_bootstrap_pae |
|
92 |
13 |
785 |
| pmap_alloc_ptp_pae |
|
15 |
2 |
113 |
| pmap_get_ptp_pae |
|
16 |
6 |
111 |
| pmap_drop_ptp_pae |
|
12 |
3 |
119 |
| pmap_pinit_pd_pae |
|
38 |
2 |
440 |
| pmap_extract_pae |
|
15 |
4 |
105 |
| pmap_zero_phys_pae |
|
12 |
4 |
78 |
| pmap_zero_page_uncached_pae |
|
13 |
4 |
85 |
| pmap_copy_page_pae |
|
18 |
5 |
161 |
| pmap_remove_ptes_pae |
|
38 |
15 |
244 |
| pmap_do_remove_pae |
|
61 |
19 |
398 |
| pmap_page_remove_pae |
|
63 |
12 |
466 |
| pmap_test_attrs_pae |
|
25 |
5 |
183 |
| pmap_clear_attrs_pae |
|
32 |
6 |
234 |
| pmap_write_protect_pae |
|
48 |
15 |
321 |
| pmap_unwire_pae |
|
23 |
7 |
135 |
| pmap_enter_pae |
|
142 |
49 |
805 |
| pmap_growkernel_pae |
|
33 |
6 |
202 |
| pmap_prealloc_lowmem_ptp_pae |
|
9 |
1 |
62 |
| pmap_tmpmap_pa_pae |
|
10 |
4 |
62 |
| pmap_tmpunmap_pa_pae |
|
10 |
5 |
61 |
| vtophys_pae |
|
4 |
1 |
26 |
| pmap_flush_page_pae |
|
14 |
4 |
93 |
| pmap_convert |
|
51 |
8 |
361 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/softintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softintr_init |
|
11 |
2 |
64 |
| softintr_dispatch |
|
20 |
3 |
117 |
| softintr_establish |
|
29 |
6 |
140 |
| softintr_disestablish |
|
12 |
2 |
79 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/esmreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/codepatch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| codepatch_fill_nop |
|
38 |
9 |
180 |
| codepatch_maprw |
|
15 |
2 |
137 |
| codepatch_unmaprw |
|
7 |
2 |
43 |
| codepatch_nop |
|
17 |
3 |
97 |
| codepatch_replace |
|
22 |
4 |
146 |
| codepatch_call |
|
24 |
4 |
170 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/powernow-k7.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| k7_powernow_setperf |
|
42 |
13 |
300 |
| k7pnow_decode_pst |
|
25 |
6 |
193 |
| k7pnow_states |
|
38 |
11 |
272 |
| k7pnow_acpi_states |
|
29 |
7 |
214 |
| k7pnow_acpi_pss_changed |
|
13 |
1 |
74 |
| k7pnow_acpi_init |
|
19 |
3 |
117 |
| k7_powernow_init |
|
54 |
12 |
347 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/wscons_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wscnprobe |
|
13 |
4 |
70 |
| wscninit |
|
9 |
2 |
34 |
| wscnputc |
|
4 |
1 |
17 |
| wscngetc |
|
4 |
1 |
15 |
| wscnpollc |
|
4 |
1 |
17 |
| wscn_video_init |
|
7 |
5 |
37 |
| wscn_input_init |
|
11 |
8 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/mtrr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mem_range_attach |
|
22 |
13 |
167 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/vmm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vmm_enabled |
|
21 |
8 |
102 |
| vmm_probe |
|
7 |
2 |
53 |
| vmm_attach |
|
45 |
9 |
293 |
| vmmopen |
|
8 |
3 |
45 |
| vmmioctl |
|
38 |
10 |
212 |
| pledge_ioctl_vmm |
|
18 |
10 |
69 |
| vmmclose |
|
4 |
1 |
21 |
| vm_resetcpu |
|
40 |
7 |
236 |
| vm_intr_pending |
|
26 |
7 |
159 |
| vm_rwregs |
|
34 |
10 |
231 |
| vm_find |
|
17 |
4 |
111 |
| vmm_start |
|
29 |
9 |
160 |
| vmm_stop |
|
29 |
9 |
154 |
| start_vmm_on_cpu |
|
37 |
9 |
188 |
| stop_vmm_on_cpu |
|
20 |
5 |
98 |
| vm_create_check_mem_ranges |
|
35 |
18 |
268 |
| vm_create |
|
56 |
7 |
400 |
| vm_impl_init_vmx |
|
46 |
7 |
305 |
| vm_impl_init_svm |
|
40 |
6 |
274 |
| vm_impl_init |
|
11 |
5 |
65 |
| vm_impl_deinit_vmx |
|
3 |
1 |
9 |
| vm_impl_deinit_svm |
|
3 |
1 |
9 |
| vm_impl_deinit |
|
11 |
5 |
54 |
| vcpu_reload_vmcs_vmx |
|
14 |
5 |
66 |
| vcpu_readregs_vmx |
|
77 |
22 |
561 |
| vcpu_readregs_svm |
|
5 |
1 |
22 |
| vcpu_writeregs_vmx |
|
83 |
25 |
560 |
| vcpu_writeregs_svm |
|
74 |
4 |
846 |
| vcpu_reset_regs_svm |
|
40 |
2 |
297 |
| svm_setmsrbr |
|
19 |
6 |
146 |
| svm_setmsrbw |
|
19 |
6 |
146 |
| svm_setmsrbrw |
|
5 |
1 |
26 |
| vmx_setmsrbr |
|
14 |
4 |
104 |
| vmx_setmsrbw |
|
14 |
4 |
106 |
| vmx_setmsrbrw |
|
5 |
1 |
26 |
| vcpu_reset_regs_vmx |
|
278 |
50 |
1504 |
| vcpu_init_vmx |
|
138 |
31 |
819 |
| vcpu_reset_regs |
|
13 |
5 |
75 |
| vcpu_init_svm |
|
75 |
14 |
485 |
| vcpu_init |
|
15 |
5 |
82 |
| vcpu_deinit_vmx |
|
15 |
5 |
109 |
| vcpu_deinit_svm |
|
15 |
5 |
113 |
| vcpu_deinit |
|
11 |
5 |
54 |
| vm_teardown |
|
18 |
3 |
120 |
| vcpu_vmx_check_cap |
|
50 |
13 |
205 |
| vcpu_vmx_compute_ctrl |
|
89 |
35 |
458 |
| vm_get_info |
|
52 |
6 |
366 |
| vm_terminate |
|
34 |
7 |
201 |
| vm_run |
|
69 |
19 |
424 |
| vcpu_must_stop |
|
9 |
3 |
48 |
| vcpu_run_vmx |
|
227 |
52 |
1092 |
| vmx_handle_intr |
|
15 |
2 |
81 |
| vmx_handle_hlt |
|
15 |
3 |
71 |
| vmx_get_exit_info |
|
10 |
3 |
54 |
| vmx_handle_exit |
|
73 |
15 |
311 |
| vmm_get_guest_memtype |
|
18 |
6 |
116 |
| vmm_get_guest_faulttype |
|
9 |
3 |
39 |
| vmx_get_exit_qualification |
|
8 |
2 |
36 |
| vmx_get_guest_faulttype |
|
15 |
4 |
69 |
| svm_get_guest_faulttype |
|
4 |
1 |
12 |
| vmx_fault_page |
|
14 |
3 |
83 |
| vmx_handle_np_fault |
|
27 |
4 |
141 |
| vmx_handle_inout |
|
38 |
12 |
277 |
| vmx_handle_cr |
|
38 |
7 |
192 |
| vmx_handle_rdmsr |
|
25 |
3 |
152 |
| vmx_handle_wrmsr |
|
21 |
3 |
126 |
| vmm_handle_cpuid |
|
229 |
32 |
1164 |
| vcpu_run_svm |
|
4 |
1 |
19 |
| vmx_exit_reason_decode |
|
67 |
61 |
378 |
| vmx_instruction_error_decode |
|
23 |
18 |
120 |
| vcpu_state_decode |
|
11 |
6 |
48 |
| dump_vcpu |
|
100 |
4 |
750 |
| vmx_dump_vmcs_field |
|
25 |
8 |
149 |
| vmx_dump_vmcs |
|
442 |
46 |
2383 |
| vmx_vcpu_dump_regs |
|
252 |
42 |
1436 |
| msr_name_decode |
|
29 |
24 |
156 |
| vmm_segment_desc_decode |
|
59 |
25 |
400 |
| vmm_decode_cr0 |
|
24 |
3 |
166 |
| vmm_decode_cr3 |
|
15 |
3 |
94 |
| vmm_decode_cr4 |
|
32 |
3 |
230 |
| vmm_decode_apicbase_msr_value |
|
16 |
3 |
102 |
| vmm_decode_ia32_fc_value |
|
20 |
4 |
130 |
| vmm_decode_mtrrcap_value |
|
19 |
4 |
119 |
| vmm_decode_perf_status_value |
|
4 |
1 |
18 |
| vmm_decode_perf_ctl_value |
|
5 |
2 |
33 |
| vmm_decode_mtrrdeftype_value |
|
29 |
9 |
180 |
| vmm_decode_efer_value |
|
17 |
3 |
111 |
| vmm_decode_msr_value |
|
13 |
8 |
93 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_pte2flags |
|
5 |
3 |
34 |
| pmap_sync_flags_pte_86 |
|
6 |
2 |
37 |
| pmap_apte_flush |
|
5 |
1 |
14 |
| pmap_map_ptes_86 |
|
22 |
8 |
134 |
| pmap_unmap_ptes_86 |
|
11 |
4 |
58 |
| pmap_exec_account |
|
17 |
8 |
131 |
| pmap_exec_fixup |
|
24 |
6 |
166 |
| pmap_pte_set_86 |
|
7 |
1 |
46 |
| pmap_pte_setbits_86 |
|
7 |
1 |
46 |
| pmap_pte_bits_86 |
|
5 |
1 |
24 |
| pmap_pte_paddr_86 |
|
5 |
1 |
24 |
| pmap_tmpmap_pa |
|
14 |
5 |
76 |
| pmap_tmpunmap_pa |
|
16 |
6 |
77 |
| vtophys |
|
7 |
2 |
37 |
| setcslimit |
|
9 |
1 |
86 |
| pmap_kenter_pa |
|
23 |
11 |
164 |
| pmap_kremove |
|
13 |
4 |
79 |
| pmap_bootstrap |
|
68 |
7 |
572 |
| pmap_prealloc_lowmem_ptp |
|
13 |
2 |
74 |
| pmap_init |
|
6 |
1 |
26 |
| pmap_pv_page_alloc |
|
8 |
2 |
64 |
| pmap_pv_page_free |
|
4 |
1 |
29 |
| pmap_enter_pv |
|
11 |
1 |
83 |
| pmap_remove_pv |
|
15 |
4 |
104 |
| pmap_alloc_ptp_86 |
|
15 |
2 |
113 |
| pmap_get_ptp_86 |
|
16 |
6 |
111 |
| pmap_drop_ptp_86 |
|
12 |
3 |
119 |
| pmap_create |
|
20 |
2 |
140 |
| pmap_pinit_pd_86 |
|
17 |
2 |
168 |
| pmap_destroy |
|
23 |
7 |
159 |
| pmap_reference |
|
4 |
1 |
19 |
| pmap_activate |
|
6 |
1 |
35 |
| pmap_switch |
|
22 |
5 |
173 |
| pmap_deactivate |
|
3 |
1 |
9 |
| pmap_extract_86 |
|
15 |
4 |
105 |
| pmap_virtual_space |
|
5 |
1 |
22 |
| pmap_zero_page |
|
4 |
1 |
17 |
| pmap_zero_phys_86 |
|
12 |
4 |
78 |
| pmap_zero_page_uncached_86 |
|
13 |
4 |
85 |
| pmap_flush_cache |
|
12 |
3 |
64 |
| pmap_flush_page |
|
20 |
5 |
110 |
| pmap_copy_page_86 |
|
18 |
5 |
161 |
| pmap_remove_ptes_86 |
|
38 |
15 |
244 |
| pmap_remove |
|
4 |
1 |
26 |
| pmap_do_remove_86 |
|
61 |
18 |
387 |
| pmap_page_remove_86 |
|
63 |
12 |
464 |
| pmap_test_attrs_86 |
|
25 |
5 |
183 |
| pmap_clear_attrs_86 |
|
31 |
6 |
228 |
| pmap_write_protect_86 |
|
48 |
13 |
307 |
| pmap_unwire_86 |
|
22 |
7 |
127 |
| pmap_collect |
|
5 |
1 |
20 |
| pmap_enter_86 |
|
140 |
48 |
792 |
| pmap_growkernel_86 |
|
32 |
6 |
198 |
| pmap_tlb_shootpage |
|
31 |
10 |
189 |
| pmap_tlb_shootrange |
|
34 |
11 |
213 |
| pmap_tlb_shoottlb |
|
28 |
8 |
161 |
| pmap_tlb_droppmap |
|
31 |
10 |
183 |
| pmap_tlb_shootwait |
|
5 |
2 |
16 |
| pmap_tlb_shootpage |
|
5 |
2 |
24 |
| pmap_tlb_shootrange |
|
6 |
2 |
37 |
| pmap_tlb_shoottlb |
|
4 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| trap |
|
297 |
81 |
1752 |
| ast |
|
11 |
1 |
66 |
| syscall |
|
78 |
20 |
459 |
| child_return |
|
9 |
1 |
52 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/apm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apm_get_event |
|
7 |
1 |
37 |
| apm_err_translate |
|
33 |
14 |
96 |
| apm_perror |
|
8 |
1 |
42 |
| apm_suspend |
|
33 |
5 |
146 |
| apm_resume |
|
5 |
1 |
27 |
| apm_record_event |
|
11 |
3 |
65 |
| apm_handle_event |
|
116 |
36 |
558 |
| apm_periodic_check |
|
37 |
14 |
194 |
| apm_powmgt_enable |
|
9 |
4 |
60 |
| apm_powmgt_engage |
|
12 |
4 |
79 |
| apm_devpowmgt_enable |
|
12 |
4 |
79 |
| apm_set_powstate |
|
16 |
6 |
95 |
| apm_cpu_slow |
|
13 |
4 |
85 |
| apm_cpu_busy |
|
13 |
5 |
64 |
| apm_cpu_idle |
|
17 |
5 |
104 |
| apm_set_ver |
|
37 |
12 |
228 |
| apm_disconnect |
|
13 |
4 |
88 |
| apmprobe |
|
30 |
13 |
230 |
| apmattach |
|
108 |
16 |
817 |
| apm_thread_create |
|
20 |
4 |
92 |
| apm_thread |
|
10 |
2 |
58 |
| apmopen |
|
38 |
11 |
205 |
| apmclose |
|
20 |
6 |
122 |
| apmioctl |
|
115 |
35 |
652 |
| filt_apmrdetach |
|
7 |
1 |
53 |
| filt_apmread |
|
6 |
3 |
35 |
| apmkqfilter |
|
19 |
5 |
118 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/via.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| viac3_crypto_setup |
|
22 |
3 |
147 |
| viac3_crypto_newsession |
|
133 |
28 |
884 |
| viac3_crypto_freesession |
|
28 |
6 |
203 |
| viac3_cbc |
|
12 |
1 |
100 |
| viac3_crypto_swauth |
|
10 |
2 |
58 |
| viac3_crypto_encdec |
|
78 |
17 |
652 |
| viac3_crypto_process |
|
49 |
16 |
258 |
| viac3_rnd |
|
17 |
4 |
141 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _bus_dmamap_create |
|
22 |
3 |
160 |
| _bus_dmamap_destroy |
|
7 |
1 |
45 |
| _bus_dmamap_load |
|
18 |
3 |
116 |
| _bus_dmamap_load_mbuf |
|
28 |
8 |
189 |
| _bus_dmamap_load_uio |
|
37 |
10 |
247 |
| _bus_dmamap_load_raw |
|
54 |
15 |
381 |
| _bus_dmamap_unload |
|
5 |
1 |
22 |
| _bus_dmamap_sync |
|
5 |
1 |
29 |
| _bus_dmamem_alloc |
|
7 |
1 |
63 |
| _bus_dmamem_free |
|
17 |
3 |
108 |
| _bus_dmamem_map |
|
37 |
8 |
267 |
| _bus_dmamem_unmap |
|
6 |
3 |
43 |
| _bus_dmamem_mmap |
|
22 |
8 |
145 |
| _bus_dmamap_load_buffer |
|
54 |
13 |
363 |
| _bus_dmamem_alloc_range |
|
46 |
10 |
309 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/i386/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_read_address |
|
72 |
13 |
419 |
| db_print_address |
|
18 |
7 |
129 |
| db_disasm_esc |
|
75 |
19 |
441 |
| db_disasm |
|
296 |
81 |
1655 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/pxeboot/pxe_udp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sendudp |
|
4 |
1 |
26 |
| readudp |
|
4 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/pxeboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/pxeboot/devopen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devopen |
|
47 |
22 |
331 |
| devboot |
|
8 |
1 |
40 |
| ttyname |
|
6 |
1 |
37 |
| ttydev |
|
13 |
9 |
126 |
| cnspeed |
|
6 |
2 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/pxeboot/open.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| oopen |
|
47 |
15 |
289 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/cdboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/softraid_i386.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| srprobe_meta_opt_load |
|
35 |
7 |
287 |
| srprobe_keydisk_load |
|
26 |
4 |
209 |
| srprobe |
|
131 |
29 |
913 |
| sr_strategy |
|
55 |
13 |
420 |
| sr_getdisklabel |
|
31 |
7 |
255 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/dev_i386.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devopen |
|
23 |
13 |
159 |
| devboot |
|
38 |
12 |
247 |
| ttyname |
|
6 |
1 |
37 |
| ttydev |
|
13 |
9 |
124 |
| cnspeed |
|
6 |
2 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/debug.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| machdep |
|
15 |
4 |
92 |
| check_skip_conf |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/debug_md.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/memprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| checkA20 |
|
12 |
2 |
71 |
| bios_E820 |
|
23 |
7 |
163 |
| bios_8800 |
|
13 |
3 |
82 |
| bios_int12 |
|
10 |
2 |
64 |
| addrprobe |
|
26 |
7 |
190 |
| badprobe |
|
12 |
4 |
71 |
| memprobe |
|
35 |
13 |
243 |
| dump_biosmem |
|
16 |
4 |
111 |
| mem_limit |
|
16 |
7 |
130 |
| mem_delete |
|
30 |
11 |
242 |
| mem_add |
|
32 |
11 |
226 |
| mem_pass |
|
8 |
2 |
45 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/softraid_i386.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/gidt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/elf32.c |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/cpuprobe.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/pxe_net.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/cmd_i386.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Xdiskinfo |
|
5 |
1 |
13 |
| Xregs |
|
5 |
1 |
11 |
| Xboot |
|
47 |
18 |
387 |
| Xmemory |
|
55 |
16 |
253 |
| Xcomaddr |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/disk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/ps2probe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ps2probe |
|
12 |
2 |
69 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/time.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcdtoint |
|
4 |
1 |
26 |
| compute |
|
11 |
4 |
96 |
| bios_time_date |
|
20 |
2 |
115 |
| biosdate |
|
4 |
1 |
19 |
| biostime |
|
4 |
1 |
19 |
| getsecs |
|
12 |
4 |
92 |
| sleep |
|
7 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/debug.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| debug_init |
|
3 |
1 |
6 |
| dump_regs |
|
18 |
3 |
162 |
| dump_mem |
|
9 |
5 |
87 |
| d_putc |
|
12 |
5 |
92 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/pxeboot.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/pxe.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/exec_i386.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_loadfile |
|
55 |
14 |
430 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/biosdev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| biosdreset |
|
7 |
2 |
55 |
| bios_getdiskinfo |
|
52 |
22 |
359 |
| CHS_rw |
|
21 |
3 |
129 |
| EDD_rw |
|
19 |
5 |
183 |
| biosd_io |
|
65 |
22 |
479 |
| biosd_diskio |
|
4 |
1 |
39 |
| findopenbsd |
|
53 |
17 |
326 |
| bios_getdisklabel |
|
24 |
10 |
153 |
| biosopen |
|
125 |
38 |
741 |
| biosdisk_err |
|
7 |
4 |
36 |
| biosdisk_errno |
|
8 |
4 |
48 |
| biosstrategy |
|
24 |
8 |
184 |
| biosclose |
|
5 |
1 |
18 |
| biosioctl |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/biosdev.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/cpuprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpuid |
|
13 |
1 |
45 |
| cpuprobe |
|
51 |
7 |
323 |
| dump_cpuinfo |
|
10 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/smpprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mp_checksum |
|
8 |
3 |
60 |
| mp_probefloat |
|
24 |
9 |
132 |
| smpprobe |
|
23 |
6 |
186 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/elf64.c |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/biosprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getSYSCONFaddr |
|
14 |
2 |
77 |
| getEBDAaddr |
|
17 |
3 |
85 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/pxe_netif.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/diskprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| diskinfo_init |
|
6 |
1 |
32 |
| floppyprobe |
|
19 |
5 |
123 |
| hardprobe |
|
47 |
10 |
302 |
| efi_hardprobe |
|
43 |
5 |
238 |
| diskprobe |
|
27 |
8 |
185 |
| cdprobe |
|
49 |
5 |
407 |
| dklookup |
|
8 |
3 |
49 |
| dump_diskinfo |
|
22 |
5 |
141 |
| bios_dklookup |
|
8 |
2 |
32 |
| disksum |
|
26 |
9 |
193 |
| bootdev_has_hibernate |
|
4 |
2 |
23 |
| check_hibernate |
|
15 |
5 |
133 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/pxe_net.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| net_open |
|
28 |
11 |
121 |
| net_close |
|
19 |
8 |
83 |
| net_ioctl |
|
4 |
1 |
19 |
| net_strategy |
|
5 |
1 |
28 |
| net_getparams |
|
9 |
4 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/apmprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apm_check |
|
20 |
5 |
88 |
| apm_disconnect |
|
10 |
2 |
58 |
| apm_connect |
|
41 |
6 |
253 |
| apmprobe |
|
21 |
6 |
108 |
| apmfixmem |
|
7 |
3 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/pxe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pxesendudp |
|
20 |
3 |
133 |
| pxereadudp |
|
25 |
3 |
185 |
| pxe_netif_open |
|
22 |
5 |
122 |
| pxe_netif_close |
|
12 |
4 |
60 |
| pxe_netif_shutdown |
|
5 |
2 |
15 |
| pxesocktodesc |
|
8 |
3 |
23 |
| pxeprobe |
|
8 |
3 |
28 |
| pxe_init |
|
103 |
26 |
626 |
| pxeinfo |
|
30 |
8 |
228 |
| pxe_shutdown |
|
29 |
10 |
161 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/pciprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciprobe |
|
23 |
5 |
174 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/bioscons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pc_probe |
|
12 |
3 |
91 |
| pc_init |
|
3 |
1 |
9 |
| pc_getc |
|
16 |
3 |
124 |
| pc_getshifts |
|
7 |
1 |
43 |
| pc_putc |
|
5 |
1 |
38 |
| com_probe |
|
11 |
2 |
82 |
| com_init |
|
17 |
6 |
144 |
| com_getc |
|
9 |
4 |
75 |
| comspeed |
|
37 |
16 |
261 |
| com_putc |
|
7 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/stand/libsa/gateA20.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gateA20on |
|
4 |
1 |
11 |
| gateA20 |
|
27 |
11 |
192 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pciide_gcsc_reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/ichpcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ichpcib_match |
|
7 |
2 |
54 |
| ichpcib_attach |
|
32 |
5 |
231 |
| ichss_present |
|
50 |
21 |
316 |
| ichss_setperf |
|
30 |
6 |
166 |
| ichpcib_get_timecount |
|
14 |
3 |
97 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pci_intr_fixup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciintr_icu_lookup |
|
10 |
4 |
60 |
| pciintr_link_lookup |
|
9 |
3 |
53 |
| pciintr_link_alloc |
|
39 |
8 |
268 |
| pciintr_pir_lookup |
|
14 |
5 |
79 |
| pciintr_bitmap_count_irq |
|
12 |
4 |
77 |
| pciintr_link_init |
|
30 |
7 |
199 |
| pciintr_guess_irq |
|
20 |
6 |
115 |
| pciintr_link_fixup |
|
55 |
16 |
345 |
| pci_intr_route_link |
|
50 |
18 |
308 |
| pci_intr_post_fixup |
|
32 |
14 |
201 |
| pci_intr_header_fixup |
|
54 |
17 |
391 |
| pci_intr_fixup |
|
94 |
29 |
634 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/elan520.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| elansc_match |
|
8 |
3 |
54 |
| elansc_attach |
|
85 |
8 |
704 |
| elansc_activate |
|
9 |
2 |
33 |
| elansc_tc_read |
|
11 |
2 |
92 |
| elansc_wdogctl |
|
24 |
2 |
163 |
| elansc_wdogctl_cb |
|
19 |
4 |
117 |
| elansc_update_cpuspeed |
|
8 |
1 |
50 |
| elansc_setperf |
|
18 |
4 |
110 |
| elansc_cpuspeed |
|
5 |
1 |
18 |
| elansc_gpio_pin_read |
|
10 |
2 |
71 |
| elansc_gpio_pin_write |
|
14 |
4 |
108 |
| elansc_gpio_pin_ctl |
|
14 |
4 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pci_addr_fixup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_addr_fixup |
|
51 |
4 |
341 |
| pciaddr_resource_reserve |
|
7 |
2 |
39 |
| pciaddr_resource_reserve_disabled |
|
8 |
2 |
39 |
| pciaddr_resource_allocate |
|
7 |
2 |
39 |
| pciaddr_resource_manage |
|
60 |
11 |
349 |
| pciaddr_do_resource_allocate |
|
35 |
9 |
250 |
| pciaddr_do_resource_reserve |
|
23 |
7 |
150 |
| pciaddr_do_resource_reserve_disabled |
|
25 |
8 |
170 |
| pciaddr_ioaddr |
|
6 |
2 |
33 |
| pciaddr_print_devid |
|
9 |
1 |
68 |
| pciaddr_device_is_agp |
|
20 |
5 |
124 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/rccosb4reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/sis85c503.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sis85c503_init |
|
9 |
2 |
56 |
| sis85c503_getclink |
|
13 |
5 |
67 |
| sis85c503_get_intr |
|
15 |
3 |
89 |
| sis85c503_set_intr |
|
17 |
3 |
117 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/agp_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_flush_cache |
|
4 |
1 |
10 |
| agp_flush_cache_range |
|
4 |
1 |
17 |
| agp_init_map |
|
25 |
4 |
171 |
| agp_destroy_map |
|
8 |
2 |
67 |
| agp_map_subregion |
|
6 |
1 |
43 |
| agp_unmap_subregion |
|
5 |
1 |
31 |
| agp_map_atomic |
|
15 |
3 |
111 |
| agp_unmap_atomic |
|
6 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/opti82c558reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pcibiosvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/piixpcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| piixpcib_int15_gsic_call |
|
19 |
3 |
135 |
| piixpcib_set_ownership |
|
18 |
2 |
87 |
| piixpcib_configure_speedstep |
|
27 |
5 |
124 |
| piixpcib_match |
|
7 |
2 |
54 |
| piixpcib_attach |
|
12 |
3 |
71 |
| piixpcib_getset_state |
|
36 |
8 |
147 |
| piixpcib_setperf |
|
32 |
11 |
145 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_establish |
|
10 |
1 |
71 |
| pciide_machdep_compat_intr_disestablish |
|
4 |
1 |
18 |
| gcsc_chip_map |
|
36 |
5 |
249 |
| gcsc_setup_channel |
|
34 |
10 |
211 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/gscpm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gscpm_match |
|
8 |
3 |
54 |
| gscpm_attach |
|
24 |
4 |
177 |
| gscpm_get_timecount |
|
5 |
1 |
34 |
| gscpm_setperf |
|
17 |
4 |
109 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/geodesc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| geodesc_match |
|
9 |
4 |
65 |
| geodesc_attach |
|
38 |
4 |
336 |
| geodesc_activate |
|
9 |
2 |
33 |
| geodesc_wdogctl_cb |
|
8 |
2 |
50 |
| geodesc_get_timecount |
|
5 |
1 |
34 |
| sc1100_sysreset |
|
5 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/opti82c558.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| opti82c558_init |
|
13 |
2 |
80 |
| opti82c558_getclink |
|
8 |
2 |
42 |
| opti82c558_get_intr |
|
12 |
3 |
86 |
| opti82c558_set_intr |
|
14 |
3 |
109 |
| opti82c558_get_trigger |
|
15 |
3 |
94 |
| opti82c558_set_trigger |
|
17 |
4 |
121 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/gscpmreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/vga_post.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vm86_emu_inb |
|
8 |
4 |
40 |
| vm86_emu_inw |
|
6 |
3 |
31 |
| vm86_emu_inl |
|
6 |
3 |
31 |
| vm86_emu_outb |
|
8 |
4 |
42 |
| vm86_emu_outw |
|
6 |
3 |
34 |
| vm86_emu_outl |
|
6 |
3 |
34 |
| vga_post_init |
|
56 |
6 |
440 |
| vga_post_call |
|
11 |
1 |
100 |
| vga_post_free |
|
8 |
1 |
59 |
| ddb_vgapost |
|
7 |
2 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/via8231reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/piixvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/elan520reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/rccosb4.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| osb4_init |
|
22 |
4 |
166 |
| osb4_getclink |
|
10 |
3 |
51 |
| osb4_get_intr |
|
12 |
3 |
91 |
| osb4_set_intr |
|
10 |
3 |
85 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_attach_hook |
|
78 |
40 |
345 |
| pci_bus_maxdevs |
|
7 |
2 |
27 |
| pci_make_tag |
|
22 |
9 |
148 |
| pci_decompose_tag |
|
23 |
9 |
166 |
| pci_conf_size |
|
10 |
4 |
49 |
| pci_mcfg_map_bus |
|
8 |
3 |
50 |
| pci_conf_read |
|
33 |
7 |
200 |
| pci_conf_write |
|
31 |
7 |
196 |
| pci_mode_detect |
|
54 |
17 |
317 |
| pci_intr_map_msi |
|
12 |
4 |
82 |
| pci_intr_map |
|
83 |
31 |
511 |
| pci_intr_string |
|
16 |
7 |
116 |
| pci_intr_establish |
|
60 |
17 |
509 |
| pci_intr_disestablish |
|
18 |
3 |
129 |
| pci_init_extents |
|
37 |
11 |
223 |
| pci_dev_postattach |
|
4 |
2 |
21 |
| pci_min_powerstate |
|
5 |
2 |
26 |
| pci_set_powerstate_md |
|
4 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/opti82c700reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pchb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pchbmatch |
|
17 |
5 |
114 |
| pchbattach |
|
187 |
50 |
1100 |
| pchbactivate |
|
19 |
3 |
101 |
| pchb_print |
|
8 |
2 |
49 |
| pchb_rnd |
|
14 |
3 |
95 |
| pchb_amd64ht_attach |
|
25 |
4 |
190 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcibmatch |
|
31 |
12 |
146 |
| pcibattach |
|
5 |
1 |
30 |
| pcib_callback |
|
11 |
3 |
65 |
| pcib_print |
|
6 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/piixreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/sis85c503reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/via8231.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| via8231_init |
|
19 |
5 |
127 |
| via8231_getclink |
|
10 |
5 |
80 |
| via8231_get_intr |
|
17 |
4 |
112 |
| via8231_set_intr |
|
19 |
5 |
140 |
| via8231_get_trigger |
|
20 |
7 |
130 |
| via8231_set_trigger |
|
36 |
11 |
205 |
| via8231_pir_dump |
|
7 |
1 |
44 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pcibios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcibiosprobe |
|
16 |
3 |
123 |
| pcibiosattach |
|
40 |
12 |
298 |
| pcibios_pir_init |
|
76 |
14 |
475 |
| pcibios_get_status |
|
33 |
3 |
215 |
| pcibios_get_intr_routing |
|
34 |
2 |
189 |
| pcibios_return_code |
|
41 |
10 |
162 |
| pcibios_print_exclirq |
|
12 |
4 |
71 |
| pcibios_print_pir_table |
|
16 |
3 |
103 |
| pci_device_foreach |
|
37 |
11 |
271 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pcic_pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcic_pci_machdep_intr_est |
|
4 |
1 |
10 |
| pcic_pci_machdep_pcic_intr_establish |
|
9 |
2 |
85 |
| pcic_pci_machdep_chip_intr_establish |
|
6 |
1 |
51 |
| pcic_pci_machdep_chip_intr_disestablish |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/via82c586.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| via82c586_init |
|
14 |
2 |
88 |
| via82c586_getclink |
|
8 |
2 |
42 |
| via82c586_get_intr |
|
13 |
3 |
83 |
| via82c586_set_intr |
|
18 |
5 |
142 |
| via82c586_get_trigger |
|
26 |
8 |
163 |
| via82c586_set_trigger |
|
26 |
8 |
172 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/via82c586reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/opti82c700.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| opti82c700_init |
|
14 |
3 |
85 |
| opti82c700_addr |
|
26 |
9 |
140 |
| opti82c700_getclink |
|
24 |
5 |
119 |
| opti82c700_get_intr |
|
13 |
3 |
93 |
| opti82c700_set_intr |
|
15 |
3 |
113 |
| opti82c700_get_trigger |
|
33 |
7 |
229 |
| opti82c700_set_trigger |
|
35 |
9 |
255 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/gscpcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gscpcib_match |
|
11 |
5 |
79 |
| gscpcib_attach |
|
39 |
6 |
275 |
| gscpcib_gpio_pin_select |
|
4 |
1 |
27 |
| gscpcib_gpio_pin_read |
|
10 |
2 |
71 |
| gscpcib_gpio_pin_write |
|
14 |
4 |
108 |
| gscpcib_gpio_pin_ctl |
|
18 |
4 |
105 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/pci_bus_fixup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_bus_check |
|
84 |
22 |
491 |
| pci_bus_assign |
|
59 |
16 |
413 |
| pci_bus_fixup |
|
10 |
3 |
53 |
| pcibus_print_devid |
|
9 |
1 |
68 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/amd756.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amd756_init |
|
15 |
3 |
89 |
| amd756_getclink |
|
7 |
2 |
42 |
| amd756_get_intr |
|
13 |
3 |
81 |
| amd756_set_intr |
|
14 |
3 |
98 |
| amd756_get_trigger |
|
20 |
5 |
110 |
| amd756_set_trigger |
|
21 |
5 |
127 |
| amd756_pir_dump |
|
8 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/glxsb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| glxsb_match |
|
8 |
3 |
54 |
| glxsb_attach |
|
36 |
7 |
240 |
| glxsb_activate |
|
15 |
4 |
68 |
| glxsb_rnd |
|
11 |
2 |
73 |
| glxsb_crypto_setup |
|
22 |
3 |
145 |
| glxsb_crypto_newsession |
|
130 |
28 |
860 |
| glxsb_crypto_freesession |
|
36 |
8 |
257 |
| glxsb_aes |
|
28 |
5 |
227 |
| glxsb_crypto_swauth |
|
10 |
2 |
58 |
| glxsb_crypto_swenc |
|
10 |
2 |
56 |
| glxsb_crypto_encdec |
|
99 |
22 |
726 |
| glxsb_crypto_process |
|
59 |
18 |
314 |
| glxsb_dma_alloc |
|
44 |
5 |
310 |
| glxsb_dma_pre_op |
|
5 |
1 |
35 |
| glxsb_dma_post_op |
|
5 |
1 |
35 |
| glxsb_dma_free |
|
7 |
1 |
67 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/piix.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| piix_init |
|
20 |
4 |
129 |
| piix_getclink |
|
21 |
6 |
136 |
| piix_get_intr |
|
20 |
4 |
117 |
| piix_set_intr |
|
19 |
4 |
131 |
| piix_get_trigger |
|
16 |
4 |
103 |
| piix_set_trigger |
|
17 |
4 |
120 |
| piix_pir_dump |
|
27 |
8 |
230 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/gscpcibreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/geodescreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/ali1543.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ali1543_init |
|
9 |
2 |
56 |
| ali1543_getclink |
|
8 |
2 |
42 |
| ali1543_get_intr |
|
14 |
4 |
90 |
| ali1543_set_intr |
|
17 |
5 |
145 |
| Source file: /home/sergeyb/sources/src/sys/arch/i386/pci/amd756reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/cbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cbus_match |
|
7 |
2 |
47 |
| cbus_attach |
|
32 |
6 |
274 |
| cbus_print |
|
9 |
3 |
58 |
| cbus_intr_setstate |
|
10 |
2 |
60 |
| cbus_intr_setenabled |
|
10 |
2 |
60 |
| cbus_intr_establish |
|
39 |
7 |
273 |
| cbus_intr_ack |
|
8 |
1 |
48 |
| cbus_alloc_bus_tag |
|
15 |
2 |
112 |
| cbus_get_channel_endpoint |
|
40 |
9 |
315 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/msi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| msi_eq_alloc |
|
33 |
6 |
232 |
| msi_eq_free |
|
10 |
1 |
84 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ldcvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fdreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vpci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vpci_match |
|
7 |
2 |
52 |
| vpci_attach |
|
45 |
4 |
408 |
| vpci_init_iommu |
|
13 |
2 |
98 |
| vpci_init_msi |
|
54 |
9 |
406 |
| vpci_print |
|
6 |
2 |
29 |
| vpci_conf_size |
|
4 |
1 |
13 |
| vpci_conf_read |
|
8 |
2 |
61 |
| vpci_conf_write |
|
7 |
1 |
49 |
| vpci_intr_map |
|
17 |
3 |
109 |
| vpci_alloc_mem_tag |
|
6 |
1 |
25 |
| vpci_alloc_io_tag |
|
6 |
1 |
25 |
| vpci_alloc_bus_tag |
|
20 |
2 |
148 |
| vpci_alloc_dma_tag |
|
19 |
2 |
120 |
| vpci_alloc_chipset |
|
11 |
2 |
70 |
| vpci_dmamap_create |
|
8 |
1 |
65 |
| vpci_bus_map |
|
22 |
6 |
201 |
| vpci_bus_mmap |
|
19 |
5 |
173 |
| vpci_intr_establish |
|
52 |
10 |
381 |
| vpci_intr_ack |
|
4 |
1 |
18 |
| vpci_msi_ack |
|
3 |
1 |
9 |
| vpci_msi_eq_intr |
|
37 |
8 |
267 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/centralvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fhc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fhc_attach |
|
54 |
5 |
556 |
| fhc_print |
|
12 |
3 |
73 |
| fhc_get_string |
|
14 |
4 |
100 |
| fhc_alloc_bus_tag |
|
15 |
2 |
113 |
| _fhc_bus_map |
|
26 |
6 |
220 |
| fhc_find_intr_handle |
|
16 |
5 |
66 |
| fhc_intr_establish |
|
43 |
7 |
283 |
| fhc_led_blink |
|
16 |
2 |
101 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/comms_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| comms_ismouse |
|
6 |
2 |
24 |
| comms_match |
|
19 |
8 |
152 |
| comms_attach |
|
39 |
7 |
342 |
| comms_disable |
|
9 |
1 |
46 |
| comms_enable |
|
10 |
1 |
49 |
| comms_softintr |
|
15 |
4 |
87 |
| comms_hardintr |
|
41 |
14 |
250 |
| comms_speed_change |
|
16 |
2 |
134 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fhc_central.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fhc_central_match |
|
9 |
2 |
52 |
| fhc_central_attach |
|
51 |
7 |
426 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/sab82532reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/starfire.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| starfire_pc_ittrans_init |
|
8 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/viovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/creator.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| creator_match |
|
10 |
3 |
63 |
| creator_attach |
|
86 |
15 |
709 |
| creator_ioctl |
|
116 |
27 |
797 |
| creator_setcursor |
|
53 |
16 |
483 |
| creator_curs_enable |
|
10 |
4 |
58 |
| creator_updatecursor |
|
20 |
4 |
160 |
| creator_mmap |
|
41 |
13 |
260 |
| creator_ras_fifo_wait |
|
13 |
3 |
68 |
| creator_ras_wait |
|
13 |
4 |
72 |
| creator_ras_init |
|
18 |
1 |
108 |
| creator_ras_eraserows |
|
35 |
6 |
261 |
| creator_ras_erasecols |
|
32 |
6 |
237 |
| creator_ras_fill |
|
8 |
1 |
41 |
| creator_ras_copyrows |
|
37 |
7 |
261 |
| creator_ras_setfg |
|
11 |
2 |
53 |
| creator_load_firmware |
|
40 |
5 |
315 |
| creator_load_sram |
|
39 |
2 |
163 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/auxio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| auxio_ebus_match |
|
8 |
1 |
44 |
| auxio_ebus_attach |
|
43 |
9 |
267 |
| auxio_sbus_match |
|
8 |
1 |
44 |
| auxio_sbus_attach |
|
23 |
6 |
147 |
| auxio_attach_common |
|
8 |
1 |
40 |
| auxio_led_blink |
|
20 |
4 |
132 |
| auxio_fd_control |
|
19 |
4 |
139 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/sbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/beeper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| beeper_match |
|
10 |
2 |
53 |
| beeper_attach |
|
23 |
5 |
166 |
| beeper_stop |
|
11 |
1 |
58 |
| beeper_bell |
|
28 |
7 |
165 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/creatorvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pyro.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pyro_match |
|
12 |
4 |
87 |
| pyro_attach |
|
31 |
5 |
245 |
| pyro_init |
|
49 |
8 |
436 |
| pyro_init_iommu |
|
21 |
4 |
165 |
| pyro_init_msi |
|
45 |
5 |
396 |
| pyro_print |
|
6 |
2 |
29 |
| pyro_conf_size |
|
4 |
1 |
13 |
| pyro_conf_read |
|
17 |
2 |
105 |
| pyro_conf_write |
|
5 |
1 |
41 |
| pyro_intr_map |
|
17 |
3 |
120 |
| pyro_alloc_mem_tag |
|
6 |
1 |
25 |
| pyro_alloc_io_tag |
|
6 |
1 |
25 |
| pyro_alloc_config_tag |
|
6 |
1 |
25 |
| pyro_alloc_bus_tag |
|
20 |
2 |
148 |
| pyro_alloc_dma_tag |
|
19 |
2 |
120 |
| pyro_alloc_chipset |
|
11 |
2 |
70 |
| pyro_dmamap_create |
|
8 |
1 |
65 |
| pyro_bus_map |
|
31 |
6 |
250 |
| pyro_bus_mmap |
|
24 |
5 |
203 |
| pyro_intr_establish |
|
80 |
11 |
557 |
| pyro_msi_ack |
|
3 |
1 |
9 |
| pyro_msi_eq_intr |
|
29 |
4 |
216 |
| pyro_xir |
|
6 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ldc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ldc_rx_ctrl |
|
21 |
5 |
94 |
| ldc_rx_ctrl_vers |
|
31 |
7 |
137 |
| ldc_rx_ctrl_rts |
|
27 |
5 |
121 |
| ldc_rx_ctrl_rtr |
|
28 |
5 |
128 |
| ldc_rx_ctrl_rdx |
|
27 |
5 |
123 |
| ldc_rx_data |
|
31 |
7 |
232 |
| ldc_send_vers |
|
29 |
4 |
218 |
| ldc_send_ack |
|
29 |
4 |
218 |
| ldc_send_rts |
|
29 |
4 |
221 |
| ldc_send_rtr |
|
29 |
4 |
221 |
| ldc_send_rdx |
|
29 |
4 |
221 |
| ldc_send_unreliable |
|
46 |
8 |
364 |
| ldc_reset |
|
19 |
3 |
154 |
| ldc_queue_alloc |
|
36 |
6 |
255 |
| ldc_queue_free |
|
10 |
1 |
82 |
| ldc_map_alloc |
|
36 |
6 |
265 |
| ldc_map_free |
|
11 |
1 |
89 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ofwi2cvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/lom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lom_match |
|
8 |
3 |
58 |
| lom_attach |
|
100 |
22 |
885 |
| lom_activate |
|
11 |
2 |
43 |
| lom_read |
|
7 |
2 |
45 |
| lom_write |
|
7 |
2 |
44 |
| lom_queue_cmd |
|
7 |
2 |
39 |
| lom_dequeue_cmd |
|
12 |
2 |
70 |
| lom1_read |
|
15 |
3 |
95 |
| lom1_write |
|
14 |
3 |
91 |
| lom1_read_polled |
|
24 |
7 |
174 |
| lom1_write_polled |
|
25 |
7 |
176 |
| lom1_queue_cmd |
|
10 |
2 |
63 |
| lom1_process_queue |
|
7 |
1 |
36 |
| lom1_process_queue_locked |
|
41 |
7 |
283 |
| lom2_read |
|
15 |
3 |
95 |
| lom2_read_polled |
|
24 |
7 |
170 |
| lom2_write |
|
14 |
3 |
89 |
| lom2_write_polled |
|
46 |
16 |
334 |
| lom2_queue_cmd |
|
15 |
3 |
105 |
| lom2_intr |
|
36 |
5 |
254 |
| lom_init_desc |
|
55 |
16 |
307 |
| lom_refresh |
|
54 |
16 |
420 |
| lom1_write_hostname |
|
15 |
5 |
107 |
| lom2_write_hostname |
|
7 |
2 |
50 |
| lom_wdog_pat |
|
8 |
1 |
57 |
| lom_wdog_cb |
|
32 |
7 |
206 |
| lom_shutdown |
|
6 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ebusreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/bbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bbc_match |
|
7 |
2 |
47 |
| bbc_attach |
|
29 |
6 |
250 |
| bbc_xir |
|
10 |
3 |
65 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vsw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vsw_match |
|
7 |
2 |
47 |
| vsw_attach |
|
32 |
5 |
250 |
| vsw_get_channel_endpoint |
|
28 |
5 |
222 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdcmatch_sbus |
|
7 |
1 |
43 |
| fdcattach_sbus |
|
30 |
7 |
198 |
| fdcmatch_ebus |
|
7 |
1 |
43 |
| fdcattach_ebus |
|
43 |
9 |
312 |
| fdprint |
|
9 |
2 |
44 |
| fdconf |
|
28 |
16 |
201 |
| fdcattach |
|
44 |
8 |
306 |
| fdmatch |
|
44 |
12 |
306 |
| fdattach |
|
28 |
2 |
218 |
| fdactivate |
|
10 |
2 |
38 |
| fd_dev_to_type |
|
9 |
3 |
65 |
| fdstrategy |
|
57 |
16 |
365 |
| fdstart |
|
10 |
2 |
72 |
| fdfinish |
|
17 |
4 |
130 |
| fdc_reset |
|
14 |
3 |
92 |
| fd_set_motor |
|
15 |
5 |
106 |
| fd_motor_off |
|
10 |
1 |
55 |
| fd_motor_on |
|
12 |
3 |
78 |
| fdcresult |
|
24 |
5 |
162 |
| fdc_wrfifo |
|
17 |
3 |
102 |
| fdc_diskchange |
|
8 |
1 |
48 |
| fdopen |
|
38 |
9 |
234 |
| fdclose |
|
21 |
3 |
124 |
| fdread |
|
7 |
1 |
37 |
| fdwrite |
|
7 |
1 |
37 |
| fdcstart |
|
9 |
3 |
36 |
| fdcstatus |
|
35 |
8 |
198 |
| fdctimeout |
|
22 |
3 |
112 |
| fdcpseudointr |
|
9 |
1 |
39 |
| fdchwintr |
|
62 |
15 |
330 |
| fdcswintr |
|
20 |
4 |
84 |
| fdcstate |
|
330 |
88 |
2185 |
| fdcretry |
|
54 |
16 |
316 |
| fdsize |
|
5 |
1 |
15 |
| fddump |
|
8 |
1 |
29 |
| fdioctl |
|
101 |
29 |
689 |
| fdformat |
|
45 |
6 |
343 |
| fdgetdisklabel |
|
19 |
1 |
176 |
| fd_do_eject |
|
11 |
1 |
83 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/schizo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| schizo_match |
|
18 |
6 |
137 |
| schizo_attach |
|
28 |
4 |
213 |
| schizo_init |
|
87 |
15 |
735 |
| schizo_ue |
|
6 |
1 |
31 |
| schizo_ce |
|
6 |
1 |
31 |
| schizo_pci_error |
|
42 |
9 |
274 |
| schizo_safari_error |
|
12 |
1 |
102 |
| schizo_init_iommu |
|
50 |
6 |
443 |
| schizo_print |
|
6 |
2 |
29 |
| schizo_conf_size |
|
4 |
1 |
13 |
| schizo_conf_read |
|
17 |
2 |
100 |
| schizo_conf_write |
|
5 |
1 |
36 |
| schizo_intr_map |
|
17 |
3 |
120 |
| schizo_set_intr |
|
24 |
2 |
206 |
| schizo_alloc_mem_tag |
|
6 |
1 |
25 |
| schizo_alloc_io_tag |
|
6 |
1 |
25 |
| schizo_alloc_config_tag |
|
6 |
1 |
25 |
| schizo_alloc_bus_tag |
|
21 |
2 |
154 |
| schizo_alloc_dma_tag |
|
19 |
2 |
120 |
| schizo_alloc_chipset |
|
11 |
2 |
70 |
| schizo_dmamap_create |
|
8 |
1 |
65 |
| schizo_bus_map |
|
31 |
6 |
250 |
| schizo_bus_mmap |
|
24 |
5 |
203 |
| schizo_bus_addr |
|
21 |
6 |
166 |
| schizo_intr_establish |
|
43 |
8 |
292 |
| schizo_xir |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/msivar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/core.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| core_match |
|
7 |
2 |
47 |
| core_attach |
|
19 |
4 |
149 |
| core_print |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fhc_mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fhc_mainbus_match |
|
9 |
2 |
52 |
| fhc_mainbus_attach |
|
43 |
7 |
344 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/tda.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tda_match |
|
12 |
4 |
94 |
| tda_attach |
|
26 |
5 |
165 |
| tda_setspeed |
|
34 |
8 |
243 |
| tda_adjust |
|
41 |
8 |
244 |
| tda_full_blast |
|
28 |
4 |
191 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pcf8591_envctrl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ecadc_match |
|
7 |
2 |
47 |
| ecadc_attach |
|
83 |
14 |
891 |
| ecadc_refresh |
|
36 |
8 |
282 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pcf8591_ofw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcfadc_match |
|
7 |
2 |
47 |
| pcfadc_attach |
|
95 |
22 |
701 |
| pcfadc_refresh |
|
18 |
3 |
138 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/iommuvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pcfiic_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcfiic_ebus_match |
|
18 |
9 |
151 |
| pcfiic_ebus_attach |
|
71 |
20 |
601 |
| envctrl_scan |
|
23 |
1 |
171 |
| envctrltwo_scan |
|
14 |
1 |
105 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vdsk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vdsk_match |
|
7 |
2 |
47 |
| vdsk_attach |
|
112 |
15 |
899 |
| vdsk_tx_intr |
|
22 |
5 |
111 |
| vdsk_rx_intr |
|
59 |
12 |
344 |
| vdsk_rx_data |
|
21 |
6 |
120 |
| vdsk_rx_vio_ctrl |
|
21 |
5 |
104 |
| vdsk_rx_vio_ver_info |
|
24 |
5 |
139 |
| vdsk_rx_vio_attr_info |
|
28 |
7 |
168 |
| vdsk_rx_vio_dring_reg |
|
24 |
5 |
137 |
| vdsk_rx_vio_rdx |
|
30 |
5 |
162 |
| vdsk_rx_vio_data |
|
17 |
3 |
95 |
| vdsk_rx_vio_dring_data |
|
29 |
6 |
153 |
| vdsk_ldc_reset |
|
5 |
1 |
24 |
| vdsk_ldc_start |
|
5 |
1 |
27 |
| vdsk_sendmsg |
|
8 |
2 |
53 |
| vdsk_send_ver_info |
|
15 |
1 |
109 |
| vdsk_send_attr_info |
|
14 |
1 |
97 |
| vdsk_send_dring_reg |
|
18 |
1 |
139 |
| vdsk_send_rdx |
|
11 |
1 |
77 |
| vdsk_dring_alloc |
|
39 |
7 |
296 |
| vdsk_dring_free |
|
11 |
1 |
89 |
| vdsk_io_get |
|
14 |
3 |
68 |
| vdsk_io_put |
|
10 |
3 |
49 |
| vdsk_scsi_cmd |
|
59 |
24 |
273 |
| vdsk_submit_cmd |
|
103 |
18 |
821 |
| vdsk_complete_cmd |
|
20 |
3 |
154 |
| vdsk_scsi_inq |
|
8 |
2 |
47 |
| vdsk_scsi_inquiry |
|
27 |
4 |
197 |
| vdsk_scsi_capacity |
|
14 |
2 |
105 |
| vdsk_scsi_capacity16 |
|
10 |
1 |
88 |
| vdsk_scsi_done |
|
5 |
1 |
23 |
| vdsk_dev_probe |
|
7 |
2 |
36 |
| vdsk_dev_free |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/central.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| central_match |
|
9 |
2 |
52 |
| central_attach |
|
29 |
3 |
245 |
| central_get_string |
|
14 |
4 |
100 |
| central_print |
|
12 |
3 |
73 |
| central_alloc_bus_tag |
|
14 |
2 |
107 |
| _central_bus_map |
|
26 |
6 |
220 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/psychoreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/psycho.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| psycho_match |
|
17 |
5 |
131 |
| psycho_attach |
|
224 |
45 |
1775 |
| psycho_identify_pbm |
|
19 |
4 |
102 |
| psycho_map_psycho |
|
25 |
9 |
179 |
| psycho_print |
|
6 |
2 |
29 |
| psycho_set_intr |
|
21 |
2 |
173 |
| psycho_alloc_chipset |
|
11 |
2 |
70 |
| psycho_get_bus_range |
|
14 |
3 |
88 |
| psycho_get_ranges |
|
8 |
2 |
58 |
| psycho_ue |
|
13 |
1 |
96 |
| psycho_ce |
|
13 |
1 |
77 |
| psycho_bus_error |
|
17 |
2 |
142 |
| psycho_bus_a |
|
5 |
1 |
25 |
| psycho_bus_b |
|
5 |
1 |
25 |
| psycho_powerfail |
|
5 |
1 |
18 |
| psycho_wakeup |
|
6 |
1 |
31 |
| psycho_iommu_init |
|
32 |
3 |
258 |
| psycho_alloc_mem_tag |
|
6 |
1 |
25 |
| psycho_alloc_io_tag |
|
6 |
1 |
25 |
| psycho_alloc_config_tag |
|
6 |
1 |
25 |
| psycho_alloc_bus_tag |
|
21 |
2 |
154 |
| psycho_alloc_dma_tag |
|
23 |
3 |
138 |
| psycho_bus_map |
|
35 |
6 |
289 |
| psycho_bus_mmap |
|
28 |
5 |
234 |
| psycho_bus_addr |
|
21 |
6 |
166 |
| psycho_conf_size |
|
4 |
1 |
13 |
| psycho_conf_read |
|
17 |
2 |
100 |
| psycho_conf_write |
|
5 |
1 |
36 |
| psycho_intr_map |
|
22 |
6 |
166 |
| psycho_intr_establish |
|
78 |
14 |
529 |
| psycho_dmamap_create |
|
8 |
1 |
65 |
| psycho_sabre_dvmamap_sync |
|
10 |
3 |
68 |
| stick_get_timecount |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/led.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| led_match |
|
11 |
3 |
78 |
| led_attach |
|
33 |
3 |
286 |
| led_blink |
|
7 |
1 |
56 |
| led_blink_finish |
|
10 |
2 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/iommureg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/schizoreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ce4231.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ce4231_match |
|
10 |
3 |
61 |
| ce4231_attach |
|
84 |
9 |
625 |
| ce4231_write |
|
7 |
1 |
38 |
| ce4231_read |
|
7 |
1 |
35 |
| ce4231_set_speed |
|
52 |
9 |
433 |
| ce4231_open |
|
28 |
5 |
181 |
| ce4231_close |
|
10 |
1 |
51 |
| ce4231_set_params |
|
47 |
10 |
267 |
| ce4231_round_blocksize |
|
6 |
1 |
29 |
| ce4231_commit_settings |
|
56 |
16 |
412 |
| ce4231_halt_output |
|
10 |
1 |
61 |
| ce4231_halt_input |
|
10 |
1 |
61 |
| ce4231_set_outputs |
|
14 |
4 |
98 |
| ce4231_get_outputs |
|
13 |
4 |
75 |
| ce4231_set_port |
|
145 |
30 |
973 |
| ce4231_get_port |
|
100 |
31 |
676 |
| ce4231_query_devinfo |
|
147 |
16 |
1218 |
| ce4231_get_props |
|
5 |
1 |
15 |
| ce4231_pintr |
|
43 |
8 |
293 |
| ce4231_cintr |
|
43 |
8 |
293 |
| ce4231_alloc |
|
40 |
6 |
303 |
| ce4231_free |
|
21 |
3 |
156 |
| if |
|
5 |
1 |
26 |
| if |
|
5 |
1 |
41 |
| if |
|
5 |
1 |
26 |
| if |
|
5 |
1 |
41 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/iommu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iommu_strbuf_flush |
|
9 |
3 |
47 |
| iommu_init |
|
78 |
11 |
630 |
| iommu_reset |
|
17 |
5 |
111 |
| strbuf_reset |
|
17 |
4 |
112 |
| iommu_enter |
|
25 |
5 |
236 |
| iommu_remove |
|
25 |
9 |
186 |
| iommu_extract |
|
7 |
3 |
54 |
| iommu_lookup_tte |
|
7 |
3 |
52 |
| iommu_fetch_tte |
|
8 |
3 |
54 |
| iommu_tsb_entry |
|
10 |
4 |
78 |
| iommu_strbuf_flush_done |
|
49 |
8 |
299 |
| iommu_dvmamap_create |
|
26 |
6 |
171 |
| iommu_dvmamap_destroy |
|
10 |
3 |
66 |
| iommu_dvmamap_load |
|
133 |
38 |
878 |
| iommu_dvmamap_load_raw |
|
144 |
39 |
971 |
| iommu_dvmamap_append_range |
|
57 |
15 |
360 |
| iommu_dvmamap_load_seg |
|
42 |
8 |
258 |
| iommu_dvmamap_load_mlist |
|
25 |
5 |
152 |
| iommu_dvmamap_unload |
|
36 |
11 |
229 |
| iommu_dvmamap_validate_map |
|
53 |
13 |
331 |
| iommu_dvmamap_print_map |
|
75 |
18 |
496 |
| _iommu_dvmamap_sync |
|
29 |
12 |
217 |
| iommu_dvmamap_sync |
|
20 |
10 |
135 |
| iommu_dvmamap_sync_range |
|
26 |
9 |
189 |
| iommu_dvmamem_alloc |
|
12 |
1 |
106 |
| iommu_dvmamem_free |
|
8 |
1 |
53 |
| iommu_iomap_create |
|
21 |
3 |
151 |
| iommu_iomap_destroy |
|
7 |
3 |
39 |
| iomap_compare |
|
5 |
3 |
44 |
| iommu_iomap_insert_page |
|
20 |
4 |
131 |
| iommu_iomap_load_map |
|
24 |
7 |
189 |
| iommu_iomap_unload_map |
|
15 |
5 |
136 |
| iommu_iomap_translate |
|
12 |
2 |
82 |
| iommu_iomap_clear_pages |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/sbbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sbbc_match |
|
8 |
3 |
56 |
| sbbc_attach |
|
83 |
18 |
718 |
| sbbc_intr |
|
15 |
2 |
87 |
| sbbc_send_intr |
|
5 |
1 |
24 |
| sbbc_attach_tod |
|
18 |
4 |
111 |
| sbbc_tod_gettime |
|
7 |
1 |
44 |
| sbbc_tod_settime |
|
6 |
1 |
38 |
| sbbc_attach_cons |
|
43 |
16 |
339 |
| sbbc_intr_cons |
|
9 |
7 |
53 |
| sbbc_softintr_cons |
|
17 |
4 |
116 |
| sbbc_cnlookc |
|
13 |
3 |
89 |
| sbbc_cngetc |
|
7 |
2 |
27 |
| sbbc_cnputc |
|
12 |
2 |
81 |
| sbbcopen |
|
30 |
7 |
220 |
| sbbcclose |
|
15 |
3 |
104 |
| sbbcread |
|
13 |
3 |
94 |
| sbbcwrite |
|
13 |
3 |
94 |
| sbbcioctl |
|
20 |
5 |
146 |
| sbbcstart |
|
15 |
3 |
86 |
| sbbcstop |
|
10 |
3 |
57 |
| sbbctty |
|
11 |
3 |
58 |
| sbbcparam |
|
7 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/power.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| power_match |
|
10 |
2 |
53 |
| power_attach |
|
39 |
9 |
300 |
| power_intr |
|
9 |
2 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vds.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vds_match |
|
7 |
2 |
47 |
| vds_attach |
|
32 |
5 |
250 |
| vds_get_channel_endpoint |
|
28 |
5 |
222 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/radeonfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeonfb_match |
|
12 |
3 |
86 |
| radeonfb_attach |
|
49 |
5 |
400 |
| radeonfb_ioctl |
|
61 |
19 |
364 |
| radeonfb_mmap |
|
36 |
15 |
252 |
| radeonfb_is_console |
|
5 |
1 |
18 |
| radeonfb_getcmap |
|
18 |
6 |
137 |
| radeonfb_putcmap |
|
27 |
7 |
257 |
| radeonfb_setcolor |
|
11 |
1 |
98 |
| radeonfb_copycols |
|
13 |
1 |
108 |
| radeonfb_erasecols |
|
13 |
1 |
119 |
| radeonfb_copyrows |
|
11 |
1 |
91 |
| radeonfb_eraserows |
|
20 |
3 |
163 |
| radeonfb_init |
|
9 |
1 |
69 |
| radeonfb_wait_fifo |
|
10 |
3 |
58 |
| radeonfb_wait |
|
19 |
5 |
120 |
| radeonfb_copyrect |
|
45 |
4 |
271 |
| radeonfb_fillrect |
|
30 |
2 |
200 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/creatorreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/z8530kbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zskbd_match |
|
17 |
4 |
99 |
| zskbd_attach |
|
90 |
15 |
666 |
| zskbd_init |
|
108 |
22 |
623 |
| zskbd_putc |
|
14 |
2 |
70 |
| zsenqueue_tx |
|
23 |
4 |
128 |
| zsstart_tx |
|
25 |
5 |
166 |
| zs_maskintr |
|
19 |
4 |
121 |
| zs_modem |
|
20 |
5 |
111 |
| zs_hwiflow |
|
15 |
3 |
116 |
| zskbd_rxint |
|
44 |
9 |
281 |
| zskbd_txint |
|
28 |
6 |
182 |
| zskbd_stint |
|
23 |
4 |
129 |
| zskbd_diag |
|
19 |
3 |
106 |
| zskbd_rxsoft |
|
65 |
16 |
423 |
| zskbd_txsoft |
|
4 |
1 |
11 |
| zskbd_stsoft |
|
18 |
3 |
94 |
| zskbd_softint |
|
20 |
4 |
91 |
| zskbd_cnpollc |
|
10 |
2 |
30 |
| zskbd_cngetc |
|
16 |
2 |
89 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/zs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zs_match_sbus |
|
11 |
2 |
64 |
| zs_match_fhc |
|
11 |
2 |
64 |
| zs_attach_sbus |
|
32 |
4 |
207 |
| zs_attach_fhc |
|
37 |
6 |
244 |
| zs_attach |
|
82 |
17 |
568 |
| zs_print |
|
11 |
3 |
60 |
| zshard |
|
12 |
6 |
88 |
| zssoft |
|
18 |
4 |
110 |
| zs_get_speed |
|
8 |
1 |
47 |
| zs_set_speed |
|
19 |
6 |
115 |
| zs_set_modes |
|
33 |
7 |
201 |
| zs_read_reg |
|
11 |
1 |
46 |
| zs_write_reg |
|
9 |
1 |
42 |
| zs_read_csr |
|
8 |
1 |
30 |
| zs_write_csr |
|
7 |
1 |
27 |
| zs_read_data |
|
8 |
1 |
30 |
| zs_write_data |
|
7 |
1 |
27 |
| zs_abort |
|
19 |
4 |
71 |
| zs_getc |
|
15 |
2 |
75 |
| zs_putc |
|
15 |
2 |
74 |
| zscngetc |
|
5 |
1 |
17 |
| zscnputc |
|
6 |
1 |
21 |
| zscnpollc |
|
9 |
2 |
25 |
| zs_console_flags |
|
30 |
9 |
179 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/com_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_ebus_match |
|
22 |
10 |
168 |
| com_ebus_attach |
|
80 |
19 |
685 |
| com_ebus_speed |
|
19 |
7 |
139 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ifb_ident.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifb_ident |
|
15 |
6 |
93 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ssm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ssm_match |
|
7 |
2 |
47 |
| ssm_attach |
|
25 |
4 |
217 |
| ssm_print |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/uperfvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vgafb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vgafbmatch |
|
22 |
9 |
148 |
| vgafbattach |
|
37 |
7 |
315 |
| vgafb_ioctl |
|
65 |
21 |
348 |
| vgafb_getcmap |
|
20 |
6 |
141 |
| vgafb_putcmap |
|
27 |
7 |
241 |
| vgafb_setcolor |
|
11 |
1 |
83 |
| vgafb_mmap |
|
33 |
13 |
209 |
| vgafb_is_console |
|
6 |
1 |
20 |
| vgafb_mapregs |
|
70 |
16 |
407 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/auxiovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/clkbrd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clkbrd_match |
|
7 |
2 |
47 |
| clkbrd_attach |
|
56 |
12 |
383 |
| clkbrd_led_blink |
|
15 |
2 |
91 |
| clkbrd_refresh |
|
22 |
5 |
139 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/gfxp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gfxp_match |
|
12 |
3 |
79 |
| gfxp_attach |
|
56 |
6 |
462 |
| gfxp_ioctl |
|
58 |
19 |
328 |
| gfxp_mmap |
|
30 |
13 |
203 |
| gfxp_is_console |
|
5 |
1 |
18 |
| gfxp_getcmap |
|
18 |
6 |
137 |
| gfxp_putcmap |
|
33 |
7 |
287 |
| gfxp_setcolor |
|
13 |
1 |
121 |
| gfxp_copycols |
|
13 |
1 |
108 |
| gfxp_erasecols |
|
13 |
1 |
119 |
| gfxp_copyrows |
|
11 |
1 |
91 |
| gfxp_eraserows |
|
20 |
3 |
163 |
| gfxp_init |
|
7 |
1 |
43 |
| gfxp_reinit |
|
14 |
2 |
115 |
| gfxp_indexed_write |
|
9 |
1 |
72 |
| gfxp_wait_fifo |
|
11 |
3 |
57 |
| gfxp_wait |
|
23 |
6 |
145 |
| gfxp_copyrect |
|
21 |
3 |
170 |
| gfxp_fillrect |
|
15 |
1 |
123 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fb_unblank |
|
5 |
2 |
24 |
| fb_setsize |
|
15 |
2 |
141 |
| a2int |
|
9 |
3 |
52 |
| fb_initwsd |
|
8 |
1 |
78 |
| fb_updatecursor |
|
8 |
3 |
57 |
| fbwscons_init |
|
51 |
16 |
404 |
| fbwscons_console_init |
|
41 |
13 |
300 |
| fbwscons_setcolormap |
|
20 |
5 |
201 |
| fbwscons_attach |
|
28 |
4 |
179 |
| fb_alloc_screen |
|
23 |
4 |
154 |
| fb_free_screen |
|
5 |
1 |
24 |
| fb_show_screen |
|
5 |
1 |
38 |
| fb_load_font |
|
6 |
1 |
44 |
| fb_list_font |
|
6 |
1 |
38 |
| fb_get_console_metrics |
|
16 |
5 |
130 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vcons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vcons_match |
|
7 |
2 |
47 |
| vcons_attach |
|
38 |
10 |
274 |
| vcons_intr |
|
7 |
2 |
33 |
| vcons_cnlookc |
|
11 |
5 |
54 |
| vcons_cngetc |
|
7 |
2 |
27 |
| vcons_cnputc |
|
4 |
2 |
20 |
| vconsopen |
|
30 |
7 |
220 |
| vconsclose |
|
15 |
3 |
104 |
| vconsread |
|
13 |
3 |
94 |
| vconswrite |
|
13 |
3 |
94 |
| vconsioctl |
|
20 |
5 |
146 |
| vconsstart |
|
15 |
3 |
86 |
| vconsstop |
|
10 |
3 |
57 |
| vconstty |
|
11 |
3 |
58 |
| vconsparam |
|
7 |
1 |
43 |
| vcons_softintr |
|
10 |
3 |
66 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fdvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/machfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| machfb_match |
|
14 |
4 |
109 |
| machfb_attach |
|
56 |
7 |
466 |
| machfb_ioctl |
|
51 |
16 |
311 |
| machfb_mmap |
|
30 |
13 |
203 |
| machfb_is_console |
|
5 |
1 |
18 |
| machfb_getcmap |
|
18 |
6 |
137 |
| machfb_putcmap |
|
31 |
7 |
288 |
| machfb_setcolor |
|
12 |
1 |
129 |
| machfb_copycols |
|
13 |
1 |
108 |
| machfb_erasecols |
|
13 |
1 |
119 |
| machfb_copyrows |
|
11 |
1 |
91 |
| machfb_eraserows |
|
20 |
3 |
163 |
| machfb_init |
|
69 |
1 |
695 |
| machfb_wait_fifo |
|
11 |
3 |
66 |
| machfb_wait |
|
12 |
3 |
65 |
| machfb_copyrect |
|
40 |
3 |
289 |
| machfb_fillrect |
|
24 |
1 |
221 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/upa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| upa_match |
|
7 |
2 |
47 |
| upa_attach |
|
41 |
9 |
348 |
| upa_print |
|
7 |
2 |
40 |
| upa_alloc_bus_tag |
|
15 |
2 |
113 |
| upa_bus_map |
|
28 |
8 |
218 |
| upa_bus_mmap |
|
26 |
8 |
219 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/cmp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cmp_match |
|
7 |
2 |
47 |
| cmp_attach |
|
19 |
4 |
147 |
| cmp_print |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ppm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ppm_match |
|
7 |
2 |
45 |
| ppm_attach |
|
46 |
8 |
366 |
| ppm_led_blink |
|
12 |
2 |
77 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/cons.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_attach_hook |
|
6 |
1 |
25 |
| pci_bus_maxdevs |
|
6 |
1 |
17 |
| pci_make_tag |
|
47 |
16 |
347 |
| pci_decompose_tag |
|
12 |
4 |
72 |
| pci_bus_frequency |
|
18 |
3 |
84 |
| sparc64_pci_enumerate_bus |
|
60 |
14 |
492 |
| pci_conf_size |
|
7 |
2 |
41 |
| pci_conf_read |
|
7 |
2 |
49 |
| pci_conf_write |
|
5 |
2 |
39 |
| pci_intr_map |
|
40 |
10 |
312 |
| pci_intr_map_msi |
|
10 |
3 |
77 |
| pci_intr_line |
|
4 |
1 |
15 |
| pci_intr_string |
|
13 |
2 |
80 |
| if |
|
4 |
1 |
16 |
| pci_intr_disestablish |
|
7 |
1 |
31 |
| pci_msi_enable |
|
16 |
3 |
137 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/clkbrdreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vdsp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vdsp_match |
|
7 |
2 |
47 |
| vdsp_attach |
|
51 |
6 |
389 |
| vdsp_tx_intr |
|
28 |
6 |
143 |
| vdsp_rx_intr |
|
58 |
11 |
339 |
| vdsp_rx_data |
|
21 |
6 |
120 |
| vdsp_rx_vio_ctrl |
|
21 |
5 |
104 |
| vdsp_rx_vio_ver_info |
|
39 |
6 |
251 |
| vdsp_rx_vio_attr_info |
|
26 |
5 |
157 |
| vdsp_rx_vio_dring_reg |
|
27 |
6 |
167 |
| vdsp_rx_vio_rdx |
|
18 |
3 |
96 |
| vdsp_rx_vio_data |
|
20 |
4 |
111 |
| vdsp_rx_vio_dring_data |
|
52 |
8 |
318 |
| vdsp_vd_task |
|
41 |
11 |
193 |
| vdsp_rx_vio_desc_data |
|
32 |
5 |
176 |
| vdsp_ldc_reset |
|
6 |
1 |
34 |
| vdsp_ldc_start |
|
3 |
1 |
9 |
| vdsp_sendmsg |
|
11 |
5 |
80 |
| vdsp_open |
|
59 |
10 |
423 |
| vdsp_close |
|
17 |
2 |
120 |
| vdsp_readlabel |
|
26 |
3 |
188 |
| vdsp_writelabel |
|
22 |
3 |
160 |
| vdsp_is_iso |
|
27 |
4 |
207 |
| vdsp_alloc |
|
19 |
1 |
160 |
| vdsp_read |
|
13 |
2 |
88 |
| vdsp_read_desc |
|
62 |
7 |
438 |
| vdsp_read_dring |
|
62 |
7 |
418 |
| vdsp_write_dring |
|
60 |
6 |
408 |
| vdsp_flush_dring |
|
10 |
2 |
57 |
| vdsp_get_vtoc |
|
84 |
11 |
635 |
| vdsp_set_vtoc |
|
77 |
10 |
644 |
| vdsp_get_diskgeom |
|
78 |
12 |
576 |
| vdsp_unimp |
|
8 |
1 |
47 |
| vdsp_ack_desc |
|
36 |
3 |
261 |
| vdspopen |
|
24 |
5 |
196 |
| vdspclose |
|
16 |
3 |
131 |
| vdspioctl |
|
11 |
3 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vrng.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vrng_match |
|
7 |
2 |
47 |
| vrng_attach |
|
39 |
7 |
307 |
| vrng_rnd |
|
21 |
7 |
130 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/sbusreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/lpt_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lpt_ebus_match |
|
11 |
3 |
62 |
| lpt_ebus_attach |
|
30 |
4 |
261 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/clkbrdvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fhcvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/environ.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| environ_match |
|
7 |
2 |
47 |
| environ_attach |
|
24 |
3 |
194 |
| environ_refresh |
|
17 |
3 |
95 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/viommu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| viommu_init |
|
26 |
3 |
200 |
| viommu_enter |
|
23 |
9 |
179 |
| viommu_remove |
|
16 |
7 |
128 |
| viommu_dvmamap_create |
|
23 |
3 |
143 |
| viommu_dvmamap_destroy |
|
10 |
3 |
66 |
| viommu_dvmamap_load |
|
120 |
29 |
792 |
| viommu_dvmamap_load_raw |
|
104 |
26 |
710 |
| viommu_dvmamap_append_range |
|
57 |
15 |
360 |
| viommu_dvmamap_load_seg |
|
42 |
8 |
258 |
| viommu_dvmamap_load_mlist |
|
25 |
5 |
152 |
| viommu_dvmamap_unload |
|
25 |
5 |
163 |
| viommu_dvmamap_sync |
|
17 |
9 |
110 |
| viommu_dvmamem_alloc |
|
12 |
1 |
106 |
| viommu_dvmamem_free |
|
8 |
1 |
53 |
| viommu_iomap_create |
|
14 |
3 |
95 |
| viommu_iomap_load_map |
|
12 |
2 |
91 |
| viommu_iomap_unload_map |
|
8 |
2 |
67 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vrtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vrtc_match |
|
7 |
2 |
47 |
| vrtc_attach |
|
14 |
2 |
86 |
| vrtc_gettime |
|
9 |
2 |
47 |
| vrtc_settime |
|
6 |
2 |
33 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/uperf_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uperf_ebus_match |
|
8 |
1 |
44 |
| uperf_ebus_attach |
|
35 |
6 |
253 |
| uperf_ebus_read_reg |
|
28 |
1 |
229 |
| uperf_ebus_write_reg |
|
28 |
1 |
239 |
| uperf_ebus_clrcnt |
|
16 |
4 |
80 |
| uperf_ebus_setcntsrc |
|
19 |
3 |
111 |
| uperf_ebus_getcntsrc |
|
14 |
3 |
86 |
| uperf_ebus_getcnt |
|
15 |
3 |
83 |
| uperf_ebus_xir |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/auxioreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ofwi2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ofwiic_pci_scan |
|
18 |
6 |
143 |
| ofwiic_scan |
|
44 |
14 |
383 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/psychovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pyrovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ebusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pckbc_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pckbc_ebus_match |
|
10 |
2 |
53 |
| pckbc_ebus_attach |
|
78 |
13 |
604 |
| pckbc_ebus_is_console |
|
17 |
6 |
100 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/starfire.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/beep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| beep_match |
|
7 |
2 |
47 |
| beep_attach |
|
37 |
8 |
307 |
| beep_setfreq |
|
32 |
9 |
309 |
| beep_stop |
|
11 |
1 |
56 |
| beep_bell |
|
26 |
8 |
161 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/prtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| prtc_match |
|
7 |
2 |
47 |
| prtc_attach |
|
14 |
2 |
86 |
| prtc_gettime |
|
16 |
3 |
115 |
| prtc_settime |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vcctty.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vcctty_match |
|
4 |
1 |
22 |
| vcctty_attach |
|
49 |
7 |
411 |
| vcctty_tx_intr |
|
27 |
6 |
138 |
| vcctty_rx_intr |
|
45 |
12 |
301 |
| vcctty_send_data |
|
25 |
6 |
209 |
| vcctty_send_break |
|
19 |
4 |
158 |
| vccttyopen |
|
31 |
7 |
228 |
| vccttyclose |
|
15 |
3 |
104 |
| vccttyread |
|
13 |
3 |
94 |
| vccttywrite |
|
13 |
3 |
94 |
| vccttyioctl |
|
31 |
7 |
179 |
| vccttystart |
|
20 |
4 |
125 |
| vccttystop |
|
10 |
3 |
57 |
| vccttytty |
|
11 |
3 |
58 |
| vccttyparam |
|
7 |
1 |
43 |
| vccttyhwiflow |
|
8 |
2 |
69 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vnet.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vnet_match |
|
7 |
2 |
47 |
| vnet_attach |
|
64 |
6 |
518 |
| vnet_tx_intr |
|
22 |
5 |
111 |
| vnet_rx_intr |
|
62 |
12 |
370 |
| vnet_handshake |
|
5 |
1 |
23 |
| vio_rx_data |
|
21 |
6 |
120 |
| vnet_rx_vio_ctrl |
|
21 |
5 |
104 |
| vnet_rx_vio_ver_info |
|
42 |
9 |
264 |
| vnet_rx_vio_attr_info |
|
32 |
7 |
193 |
| vnet_rx_vio_dring_reg |
|
32 |
6 |
210 |
| vnet_rx_vio_rdx |
|
33 |
6 |
191 |
| vnet_rx_vio_data |
|
21 |
5 |
121 |
| vnet_rx_vio_desc_data |
|
67 |
9 |
450 |
| vnet_rx_vio_dring_data |
|
108 |
18 |
748 |
| vnet_ldc_reset |
|
21 |
4 |
177 |
| vnet_ldc_start |
|
6 |
1 |
35 |
| vnet_sendmsg |
|
8 |
2 |
53 |
| vnet_send_ver_info |
|
14 |
1 |
101 |
| vnet_send_attr_info |
|
21 |
2 |
147 |
| vnet_send_dring_reg |
|
18 |
1 |
137 |
| vio_send_rdx |
|
10 |
1 |
58 |
| vnet_send_dring_data |
|
18 |
2 |
127 |
| vnet_start |
|
80 |
19 |
672 |
| vnet_start_desc |
|
59 |
9 |
487 |
| vnet_ioctl |
|
36 |
11 |
212 |
| vnet_watchdog |
|
5 |
1 |
29 |
| vnet_media_change |
|
4 |
1 |
14 |
| vnet_media_status |
|
8 |
3 |
49 |
| vnet_link_state |
|
14 |
4 |
79 |
| vnet_setmulti |
|
34 |
7 |
228 |
| vnet_init |
|
39 |
7 |
342 |
| vnet_stop |
|
22 |
1 |
189 |
| vnet_dring_alloc |
|
37 |
7 |
283 |
| vnet_dring_free |
|
11 |
1 |
89 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/uperf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| uperfopen |
|
11 |
3 |
65 |
| uperfclose |
|
7 |
1 |
30 |
| uperfioctl |
|
27 |
5 |
152 |
| uperf_getcntsrc |
|
24 |
6 |
131 |
| uperf_findbyval |
|
18 |
5 |
96 |
| uperf_setcntsrc |
|
22 |
5 |
124 |
| uperf_findbysrc |
|
17 |
5 |
95 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vldc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vldc_match |
|
8 |
3 |
58 |
| vldc_attach |
|
35 |
6 |
265 |
| vldc_get_channel_endpoint |
|
28 |
5 |
222 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/schizovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vbus_match |
|
7 |
2 |
47 |
| vbus_attach |
|
31 |
4 |
264 |
| vbus_print |
|
7 |
2 |
40 |
| vbus_cmp_cells |
|
9 |
3 |
70 |
| vbus_intr_map |
|
48 |
9 |
395 |
| vbus_intr_establish |
|
25 |
6 |
182 |
| vbus_intr_ack |
|
4 |
1 |
18 |
| vbus_alloc_bus_tag |
|
15 |
2 |
112 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/cbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ifb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ifbmatch |
|
4 |
1 |
23 |
| ifbattach |
|
105 |
15 |
807 |
| ifb_accel_identify |
|
11 |
5 |
63 |
| ifb_ioctl |
|
49 |
16 |
276 |
| ifb_dac_value |
|
7 |
1 |
78 |
| ifb_getcmap |
|
18 |
6 |
127 |
| ifb_putcmap |
|
27 |
7 |
243 |
| ifb_setcolor |
|
11 |
1 |
91 |
| ifb_setcolormap |
|
27 |
3 |
342 |
| ifb_mmap |
|
29 |
11 |
178 |
| ifb_burner |
|
17 |
4 |
84 |
| ifb_is_console |
|
5 |
1 |
16 |
| ifb_mapregs |
|
34 |
5 |
227 |
| ifb_putchar_dumb |
|
10 |
1 |
97 |
| ifb_copycols_dumb |
|
10 |
1 |
97 |
| ifb_erasecols_dumb |
|
10 |
1 |
97 |
| ifb_copyrows_dumb |
|
10 |
1 |
90 |
| ifb_eraserows_dumb |
|
10 |
1 |
90 |
| ifb_do_cursor_dumb |
|
61 |
11 |
428 |
| ifb_copycols |
|
13 |
1 |
108 |
| ifb_erasecols |
|
13 |
1 |
119 |
| ifb_copyrows |
|
11 |
1 |
91 |
| ifb_eraserows |
|
20 |
3 |
163 |
| ifb_copyrect |
|
5 |
1 |
53 |
| ifb_fillrect |
|
14 |
3 |
107 |
| ifb_rop |
|
5 |
1 |
59 |
| ifb_rop_common |
|
31 |
3 |
347 |
| ifb_rop_ifb |
|
10 |
1 |
117 |
| ifb_rop_jfb |
|
22 |
2 |
227 |
| ifb_rop_wait |
|
11 |
3 |
54 |
| ifb_do_cursor |
|
11 |
1 |
92 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/consinit.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| prom_cnprobe |
|
9 |
4 |
55 |
| prom_cngetc |
|
18 |
8 |
88 |
| prom_cninit |
|
5 |
3 |
31 |
| prom_cnputc |
|
9 |
3 |
54 |
| prom_cnpollc |
|
8 |
3 |
30 |
| consinit |
|
36 |
11 |
272 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/mgiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mgiic_match |
|
12 |
4 |
95 |
| mgiic_attach |
|
24 |
2 |
193 |
| mgiic_i2c_acquire_bus |
|
7 |
4 |
52 |
| mgiic_i2c_release_bus |
|
7 |
4 |
42 |
| mgiic_i2c_exec |
|
24 |
8 |
159 |
| mgiic_xmit |
|
56 |
14 |
347 |
| mgiic_recv |
|
67 |
15 |
413 |
| mgiic_read |
|
6 |
1 |
47 |
| mgiic_write |
|
7 |
1 |
52 |
| mgiic_control |
|
6 |
1 |
42 |
| mgiic_poll |
|
10 |
3 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vcc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vcc_match |
|
7 |
2 |
47 |
| vcc_attach |
|
35 |
6 |
265 |
| vcc_get_channel_endpoint |
|
28 |
5 |
222 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/viommuvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/gfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gfb_match |
|
7 |
2 |
47 |
| gfb_attach |
|
24 |
3 |
233 |
| gfb_ioctl |
|
38 |
15 |
203 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/wbsd_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wbsd_ebus_match |
|
7 |
2 |
47 |
| wbsd_ebus_attach |
|
22 |
3 |
193 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/fhcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ce4231var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/sab.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sab_match |
|
14 |
5 |
97 |
| sab_attach |
|
66 |
11 |
433 |
| sabtty_activate |
|
12 |
3 |
58 |
| sab_print |
|
10 |
2 |
49 |
| sab_intr |
|
17 |
8 |
140 |
| sab_softintr |
|
9 |
5 |
73 |
| sabtty_match |
|
9 |
2 |
47 |
| sabtty_attach |
|
78 |
11 |
456 |
| sabtty_intr |
|
91 |
28 |
554 |
| sabtty_softintr |
|
42 |
10 |
289 |
| sabttyopen |
|
98 |
22 |
689 |
| sabttyclose |
|
32 |
4 |
244 |
| sabttyread |
|
10 |
1 |
82 |
| sabttywrite |
|
10 |
1 |
82 |
| sabttyioctl |
|
61 |
14 |
372 |
| sabttytty |
|
7 |
1 |
46 |
| sabttystop |
|
18 |
3 |
120 |
| sabtty_mdmctrl |
|
67 |
16 |
382 |
| sabttyparam |
|
71 |
14 |
382 |
| sabtty_param |
|
8 |
1 |
64 |
| sabtty_start |
|
19 |
3 |
145 |
| sabtty_cec_wait |
|
11 |
4 |
58 |
| sabtty_tec_wait |
|
11 |
4 |
58 |
| sabtty_reset |
|
19 |
1 |
151 |
| sabtty_flush |
|
8 |
1 |
39 |
| sabtty_speed |
|
16 |
4 |
102 |
| sabtty_cnputc |
|
8 |
1 |
35 |
| sabtty_cngetc |
|
24 |
4 |
161 |
| sabtty_cnpollc |
|
25 |
4 |
156 |
| sab_cnputc |
|
9 |
2 |
36 |
| sab_cnpollc |
|
7 |
1 |
28 |
| sab_cngetc |
|
8 |
2 |
36 |
| sabtty_console_flags |
|
28 |
9 |
183 |
| sabtty_console_speed |
|
19 |
4 |
122 |
| sabtty_abort |
|
14 |
5 |
54 |
| sabtty_shutdown |
|
9 |
1 |
66 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmc_match |
|
7 |
2 |
47 |
| pmc_attach |
|
26 |
5 |
214 |
| pmc_activate |
|
9 |
2 |
33 |
| pmc_wdog_cb |
|
11 |
2 |
78 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/stp_sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| stpmatch |
|
8 |
1 |
44 |
| stpattach |
|
58 |
10 |
468 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/raptor.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| raptor_match |
|
12 |
3 |
79 |
| raptor_attach |
|
43 |
4 |
369 |
| raptor_ioctl |
|
47 |
16 |
273 |
| raptor_mmap |
|
30 |
13 |
203 |
| raptor_is_console |
|
5 |
1 |
18 |
| raptor_getcmap |
|
18 |
6 |
137 |
| raptor_putcmap |
|
32 |
7 |
291 |
| raptor_setcolor |
|
12 |
1 |
129 |
| raptor_copycols |
|
13 |
1 |
108 |
| raptor_erasecols |
|
13 |
1 |
119 |
| raptor_copyrows |
|
11 |
1 |
91 |
| raptor_eraserows |
|
20 |
3 |
163 |
| raptor_init |
|
43 |
6 |
348 |
| raptor_wait |
|
11 |
3 |
58 |
| raptor_copyrect |
|
28 |
4 |
202 |
| raptor_fillrect |
|
16 |
2 |
161 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/vldcp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vldcp_match |
|
12 |
5 |
100 |
| vldcp_attach |
|
53 |
11 |
410 |
| vldcp_tx_intr |
|
30 |
6 |
166 |
| vldcp_rx_intr |
|
37 |
7 |
210 |
| vldcp_lookup |
|
9 |
3 |
55 |
| vldcpopen |
|
24 |
5 |
195 |
| vldcpclose |
|
13 |
2 |
106 |
| vldcpread |
|
51 |
8 |
332 |
| vldcpwrite |
|
55 |
8 |
352 |
| vldcpioctl |
|
77 |
12 |
477 |
| vldcppoll |
|
37 |
13 |
267 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/comkbd_ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| comkbd_iskbd |
|
7 |
2 |
30 |
| comkbd_match |
|
22 |
8 |
164 |
| comkbd_attach |
|
79 |
14 |
634 |
| comkbd_cnpollc |
|
5 |
1 |
15 |
| comkbd_cngetc |
|
18 |
3 |
90 |
| comkbd_putc |
|
21 |
5 |
108 |
| comkbd_enqueue |
|
25 |
4 |
134 |
| comkbd_soft |
|
34 |
9 |
218 |
| comkbd_intr |
|
39 |
11 |
219 |
| comkbd_init |
|
59 |
15 |
312 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ebus_match |
|
29 |
16 |
230 |
| ebus_attach |
|
58 |
10 |
390 |
| ebus_setup_attach_args |
|
34 |
7 |
270 |
| ebus_destroy_attach_args |
|
11 |
5 |
93 |
| ebus_print |
|
14 |
5 |
127 |
| ebus_find_ino |
|
44 |
9 |
367 |
| ebus_alloc_mem_tag |
|
5 |
1 |
26 |
| ebus_alloc_io_tag |
|
5 |
1 |
26 |
| _ebus_alloc_bus_tag |
|
18 |
2 |
128 |
| ebus_alloc_dma_tag |
|
11 |
2 |
66 |
| _ebus_bus_map |
|
44 |
9 |
367 |
| ebus_bus_mmap |
|
23 |
5 |
178 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/sbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sbus_print |
|
21 |
4 |
147 |
| sbus_mb_match |
|
6 |
1 |
49 |
| sbus_xbox_match |
|
9 |
2 |
55 |
| sbus_xbox_attach |
|
16 |
1 |
153 |
| sbus_mb_attach |
|
67 |
8 |
628 |
| sbus_attach_common |
|
23 |
4 |
153 |
| sbus_setup_attach_args |
|
40 |
11 |
335 |
| sbus_destroy_attach_args |
|
8 |
1 |
68 |
| _sbus_bus_map |
|
30 |
6 |
246 |
| sbus_bus_addr |
|
14 |
3 |
105 |
| sbus_overtemp |
|
7 |
1 |
30 |
| sbus_get_intr |
|
34 |
8 |
269 |
| sbus_intr_establish |
|
79 |
14 |
585 |
| sbus_alloc_bustag |
|
20 |
3 |
139 |
| sbus_alloc_dma_tag |
|
19 |
2 |
111 |
| sbus_dmamap_create |
|
10 |
2 |
78 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/ebus_mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ebus_mainbus_match |
|
7 |
2 |
47 |
| ebus_mainbus_attach |
|
64 |
12 |
454 |
| ebus_alloc_bus_tag |
|
15 |
2 |
110 |
| ebus_mainbus_bus_map |
|
41 |
8 |
335 |
| ebus_mainbus_intr_establish |
|
80 |
19 |
585 |
| ebus_mainbus_intr_ack |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/rtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtc_match |
|
7 |
2 |
47 |
| rtc_attach |
|
52 |
10 |
420 |
| rtc_intr |
|
9 |
2 |
36 |
| rtc_read_reg |
|
5 |
1 |
43 |
| rtc_write_reg |
|
5 |
1 |
45 |
| rtc_gettime |
|
29 |
7 |
228 |
| rtc_settime |
|
23 |
1 |
173 |
| rtc_bq4802_gettime |
|
28 |
6 |
278 |
| rtc_bq4802_settime |
|
24 |
1 |
241 |
| rtc_getcal |
|
4 |
1 |
16 |
| rtc_setcal |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/dev/pcons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pconsmatch |
|
9 |
2 |
50 |
| pconsattach |
|
27 |
8 |
162 |
| pconsopen |
|
40 |
10 |
273 |
| pconsclose |
|
13 |
1 |
90 |
| pconsread |
|
9 |
1 |
65 |
| pconswrite |
|
9 |
1 |
65 |
| pconsioctl |
|
16 |
3 |
119 |
| pconstty |
|
6 |
1 |
29 |
| pconsstop |
|
6 |
1 |
19 |
| pconsstart |
|
31 |
5 |
176 |
| pconsparam |
|
9 |
1 |
45 |
| pcons_poll |
|
16 |
5 |
107 |
| pconsprobe |
|
6 |
4 |
35 |
| pcons_cnpollc |
|
20 |
6 |
107 |
| cn_init_magic |
|
5 |
1 |
20 |
| cn_destroy_magic |
|
5 |
1 |
20 |
| cn_set_magic |
|
40 |
14 |
207 |
| cn_get_magic |
|
29 |
7 |
148 |
| pcons_alloc_screen |
|
22 |
5 |
135 |
| pcons_free_screen |
|
5 |
1 |
24 |
| pcons_ioctl |
|
11 |
2 |
55 |
| pcons_mmap |
|
4 |
1 |
23 |
| pcons_show_screen |
|
5 |
1 |
38 |
| pcons_mapchar |
|
10 |
2 |
51 |
| pcons_putchar |
|
10 |
1 |
63 |
| pcons_wsdisplay_init |
|
23 |
4 |
164 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/instr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/tcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/mdesc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/sparc64.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/ioctl_fd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/openpromio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/rbus_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/endian.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mswap16 |
|
8 |
1 |
44 |
| __mswap32 |
|
8 |
1 |
44 |
| __mswap64 |
|
8 |
1 |
44 |
| __swapm16 |
|
6 |
1 |
38 |
| __swapm32 |
|
6 |
1 |
38 |
| __swapm64 |
|
6 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/idprom.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/boot_flag.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/fbvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _atomic_cas_uint |
|
7 |
1 |
56 |
| _atomic_cas_ulong |
|
7 |
1 |
56 |
| _atomic_cas_ptr |
|
7 |
1 |
67 |
| _atomic_swap_ptr |
|
10 |
2 |
58 |
| atomic_setbits_int |
|
9 |
2 |
51 |
| atomic_clearbits_int |
|
9 |
2 |
52 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/bppioctl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/openfirm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_barrier |
|
22 |
5 |
78 |
| bus_dmamap_create |
|
10 |
1 |
75 |
| bus_dmamap_destroy |
|
7 |
1 |
39 |
| bus_dmamap_load |
|
10 |
1 |
72 |
| bus_dmamap_load_mbuf |
|
10 |
1 |
61 |
| bus_dmamap_load_uio |
|
9 |
1 |
61 |
| bus_dmamap_load_raw |
|
10 |
1 |
70 |
| bus_dmamap_unload |
|
7 |
1 |
39 |
| bus_dmamap_sync |
|
8 |
1 |
54 |
| bus_dmamem_alloc |
|
10 |
1 |
81 |
| bus_dmamem_free |
|
7 |
1 |
45 |
| bus_dmamem_map |
|
10 |
1 |
71 |
| bus_dmamem_unmap |
|
7 |
1 |
44 |
| bus_dmamem_mmap |
|
10 |
1 |
70 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/z8530var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/psl.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getpstate |
|
4 |
1 |
14 |
| setpstate |
|
4 |
1 |
16 |
| getcwp |
|
4 |
1 |
14 |
| setcwp |
|
4 |
1 |
16 |
| getver |
|
4 |
1 |
14 |
| intr_disable |
|
7 |
1 |
32 |
| intr_restore |
|
4 |
1 |
16 |
| stxa_sync |
|
7 |
1 |
44 |
| _spl |
|
11 |
1 |
44 |
| _splraise |
|
8 |
2 |
37 |
| _splx |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/hypervisor.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/ctlreg.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asi_set |
|
4 |
1 |
16 |
| asi_get |
|
4 |
1 |
12 |
| flush |
|
6 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/fsr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/timerreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alloc_cpuinfo |
|
49 |
13 |
379 |
| cpu_match |
|
24 |
9 |
190 |
| cpu_attach |
|
123 |
33 |
896 |
| cpu_myid |
|
26 |
11 |
118 |
| cpu_init |
|
25 |
7 |
139 |
| sparc64_cpuspeed |
|
6 |
1 |
27 |
| hummingbird_div |
|
17 |
6 |
50 |
| hummingbird_estar_mode |
|
17 |
6 |
50 |
| hummingbird_enable_self_refresh |
|
8 |
1 |
40 |
| hummingbird_disable_self_refresh |
|
8 |
1 |
40 |
| hummingbird_set_refresh_count |
|
20 |
3 |
137 |
| hummingbird_setperf |
|
60 |
13 |
404 |
| hummingbird_init |
|
7 |
2 |
36 |
| cpu_boot_secondary_processors |
|
36 |
11 |
256 |
| cpu_hatch |
|
14 |
1 |
72 |
| need_resched |
|
9 |
3 |
43 |
| cpu_idle_enter |
|
6 |
2 |
26 |
| cpu_idle_cycle |
|
15 |
3 |
58 |
| cpu_idle_leave |
|
6 |
2 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/cache.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/emul.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readgpreg |
|
14 |
3 |
87 |
| writegpreg |
|
14 |
3 |
85 |
| readfpreg |
|
8 |
1 |
39 |
| writefpreg |
|
8 |
1 |
41 |
| decodeaddr |
|
16 |
4 |
91 |
| muldiv |
|
57 |
14 |
404 |
| emulinstr |
|
43 |
9 |
301 |
| swap_quad |
|
7 |
1 |
41 |
| emul_qf |
|
82 |
23 |
587 |
| emul_popc |
|
14 |
3 |
109 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/busop.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_read_multi_2 |
|
18 |
2 |
129 |
| bus_space_write_multi_2 |
|
18 |
2 |
131 |
| bus_space_set_multi_2 |
|
13 |
2 |
91 |
| bus_space_read_region_2 |
|
18 |
2 |
138 |
| bus_space_write_region_2 |
|
18 |
2 |
140 |
| bus_space_set_region_2 |
|
13 |
2 |
98 |
| bus_space_copy_2 |
|
21 |
2 |
171 |
| bus_space_read_multi_4 |
|
18 |
2 |
129 |
| bus_space_write_multi_4 |
|
18 |
2 |
131 |
| bus_space_set_multi_4 |
|
13 |
2 |
91 |
| bus_space_read_region_4 |
|
18 |
2 |
138 |
| bus_space_write_region_4 |
|
18 |
2 |
140 |
| bus_space_set_region_4 |
|
13 |
2 |
98 |
| bus_space_copy_4 |
|
21 |
2 |
171 |
| bus_space_read_multi_8 |
|
18 |
2 |
129 |
| bus_space_write_multi_8 |
|
18 |
2 |
131 |
| bus_space_set_multi_8 |
|
13 |
2 |
91 |
| bus_space_read_region_8 |
|
18 |
2 |
138 |
| bus_space_write_region_8 |
|
18 |
2 |
140 |
| bus_space_set_region_8 |
|
13 |
2 |
98 |
| bus_space_copy_8 |
|
21 |
2 |
171 |
| bus_space_read_multi_1 |
|
18 |
2 |
129 |
| bus_space_write_multi_1 |
|
18 |
2 |
131 |
| bus_space_set_multi_1 |
|
13 |
2 |
91 |
| bus_space_read_region_1 |
|
18 |
2 |
138 |
| bus_space_write_region_1 |
|
18 |
2 |
140 |
| bus_space_set_region_1 |
|
13 |
2 |
98 |
| bus_space_copy_1 |
|
21 |
2 |
171 |
| bus_space_read_raw_multi_2 |
|
19 |
2 |
136 |
| bus_space_write_raw_multi_2 |
|
19 |
2 |
138 |
| bus_space_set_raw_multi_2 |
|
14 |
2 |
98 |
| bus_space_read_raw_region_2 |
|
19 |
2 |
145 |
| bus_space_write_raw_region_2 |
|
19 |
2 |
147 |
| bus_space_set_raw_region_2 |
|
14 |
2 |
105 |
| bus_space_read_raw_multi_4 |
|
19 |
2 |
136 |
| bus_space_write_raw_multi_4 |
|
19 |
2 |
138 |
| bus_space_set_raw_multi_4 |
|
14 |
2 |
98 |
| bus_space_read_raw_region_4 |
|
19 |
2 |
145 |
| bus_space_write_raw_region_4 |
|
19 |
2 |
147 |
| bus_space_set_raw_region_4 |
|
14 |
2 |
105 |
| bus_space_read_raw_multi_8 |
|
19 |
2 |
136 |
| bus_space_write_raw_multi_8 |
|
19 |
2 |
138 |
| bus_space_set_raw_multi_8 |
|
14 |
2 |
98 |
| bus_space_read_raw_region_8 |
|
19 |
2 |
145 |
| bus_space_write_raw_region_8 |
|
19 |
2 |
147 |
| bus_space_set_raw_region_8 |
|
14 |
2 |
105 |
| bus_space_read_raw_multi_1 |
|
19 |
2 |
136 |
| bus_space_write_raw_multi_1 |
|
19 |
2 |
138 |
| bus_space_set_raw_multi_1 |
|
14 |
2 |
98 |
| bus_space_read_raw_region_1 |
|
19 |
2 |
145 |
| bus_space_write_raw_region_1 |
|
19 |
2 |
147 |
| bus_space_set_raw_region_1 |
|
14 |
2 |
105 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_startup |
|
23 |
5 |
167 |
| setregs |
|
57 |
9 |
395 |
| cpu_sysctl |
|
32 |
11 |
214 |
| sendsig |
|
51 |
11 |
489 |
| sys_sigreturn |
|
46 |
11 |
396 |
| signotify |
|
5 |
1 |
21 |
| boot |
|
64 |
19 |
336 |
| dumpconf |
|
14 |
5 |
87 |
| reserve_dumppages |
|
6 |
1 |
23 |
| dumpsys |
|
84 |
19 |
475 |
| trapdump |
|
24 |
1 |
240 |
| stackdump |
|
31 |
4 |
300 |
| _bus_dmamap_create |
|
29 |
3 |
188 |
| _bus_dmamap_destroy |
|
8 |
2 |
40 |
| _bus_dmamap_load |
|
23 |
3 |
130 |
| _bus_dmamap_load_mbuf |
|
57 |
12 |
360 |
| _bus_dmamap_load_uio |
|
52 |
11 |
371 |
| _bus_dmamap_load_raw |
|
10 |
1 |
44 |
| _bus_dmamap_load_buffer |
|
54 |
13 |
363 |
| _bus_dmamap_unload |
|
7 |
1 |
30 |
| _bus_dmamap_sync |
|
10 |
2 |
48 |
| _bus_dmamem_alloc |
|
34 |
7 |
232 |
| _bus_dmamem_free |
|
10 |
3 |
61 |
| _bus_dmamem_map |
|
47 |
9 |
282 |
| _bus_dmamem_unmap |
|
9 |
3 |
53 |
| _bus_dmamem_mmap |
|
24 |
7 |
142 |
| sparc_bus_map |
|
75 |
16 |
543 |
| sparc_bus_subregion |
|
8 |
1 |
39 |
| sparc_bus_protect |
|
29 |
7 |
199 |
| sparc_bus_unmap |
|
12 |
2 |
95 |
| sparc_bus_mmap |
|
9 |
2 |
54 |
| sparc_bus_addr |
|
9 |
3 |
56 |
| bus_intr_allocate |
|
19 |
2 |
138 |
| bus_intr_free |
|
4 |
1 |
17 |
| sparc_mainbus_intr_establish |
|
10 |
2 |
89 |
| sparc_bus_alloc |
|
6 |
1 |
41 |
| sparc_bus_free |
|
5 |
1 |
18 |
| bus_space_alloc |
|
10 |
1 |
84 |
| bus_space_free |
|
7 |
1 |
44 |
| bus_space_map |
|
25 |
4 |
140 |
| bus_space_protect |
|
9 |
1 |
59 |
| bus_space_unmap |
|
17 |
3 |
107 |
| bus_space_subregion |
|
28 |
5 |
174 |
| bus_space_mmap |
|
9 |
1 |
64 |
| bus_intr_establish |
|
10 |
1 |
85 |
| bus_space_vaddr |
|
13 |
4 |
87 |
| bus_space_render_tag |
|
12 |
3 |
77 |
| bus_space_assert |
|
25 |
4 |
162 |
| blink_led_register |
|
10 |
3 |
66 |
| blink_led_timeout |
|
16 |
3 |
117 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| str2hex |
|
36 |
18 |
234 |
| get_ncpus |
|
29 |
11 |
185 |
| bootstrap |
|
96 |
26 |
694 |
| bootpath_nodes |
|
21 |
7 |
135 |
| bootpath_build |
|
77 |
29 |
440 |
| bootpath_print |
|
14 |
4 |
113 |
| bootpath_store |
|
9 |
2 |
40 |
| cpu_configure |
|
56 |
17 |
341 |
| sun4v_soft_state_init |
|
8 |
2 |
33 |
| sun4v_set_soft_state |
|
12 |
4 |
70 |
| diskconf |
|
12 |
5 |
84 |
| sync_crash |
|
4 |
1 |
11 |
| clockfreq |
|
15 |
2 |
86 |
| mbprint |
|
11 |
4 |
76 |
| findroot |
|
8 |
2 |
44 |
| findnode |
|
11 |
4 |
79 |
| mainbus_match |
|
4 |
1 |
22 |
| mainbus_attach |
|
168 |
50 |
1304 |
| getprop |
|
21 |
5 |
134 |
| getproplen |
|
4 |
1 |
21 |
| getpropstring |
|
5 |
1 |
30 |
| getpropstringA |
|
8 |
2 |
57 |
| getpropint |
|
7 |
2 |
49 |
| getpropspeed |
|
16 |
6 |
109 |
| firstchild |
|
4 |
1 |
13 |
| nextsibling |
|
4 |
1 |
13 |
| checkstatus |
|
9 |
4 |
62 |
| node_has_property |
|
4 |
1 |
28 |
| romgetcursoraddr |
|
11 |
3 |
81 |
| callrom |
|
5 |
1 |
17 |
| getdevunit |
|
17 |
4 |
132 |
| device_register |
|
103 |
33 |
766 |
| nail_bootdev |
|
9 |
2 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
48 |
18 |
304 |
| writedisklabel |
|
23 |
3 |
154 |
| sun_extended_sum |
|
10 |
2 |
65 |
| disklabel_sun_to_bsd |
|
118 |
31 |
871 |
| disklabel_bsd_to_sun |
|
59 |
12 |
483 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/in4_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in4_cksum |
|
33 |
5 |
203 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
17 |
7 |
72 |
| mmclose |
|
4 |
1 |
23 |
| mmrw |
|
79 |
20 |
482 |
| mmmmap |
|
4 |
1 |
19 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysarch |
|
15 |
1 |
59 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/rbus_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rbus_pccbb_parent_mem |
|
36 |
11 |
306 |
| rbus_pccbb_parent_io |
|
36 |
11 |
306 |
| pccbb_attach_hook |
|
23 |
6 |
172 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/openfirm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| OF_peer |
|
18 |
2 |
78 |
| OF_child |
|
18 |
2 |
78 |
| OF_parent |
|
18 |
2 |
78 |
| OF_instance_to_package |
|
18 |
2 |
80 |
| OF_getproplen |
|
21 |
2 |
97 |
| OF_getprop |
|
29 |
3 |
139 |
| OF_setprop |
|
29 |
3 |
140 |
| OF_nextprop |
|
24 |
2 |
115 |
| OF_finddevice |
|
18 |
2 |
80 |
| OF_instance_to_path |
|
26 |
3 |
120 |
| OF_package_to_path |
|
26 |
3 |
120 |
| OF_call_method |
|
35 |
6 |
250 |
| OF_call_method_1 |
|
29 |
5 |
190 |
| OF_open |
|
21 |
3 |
100 |
| OF_close |
|
15 |
1 |
62 |
| OF_test |
|
18 |
2 |
80 |
| OF_test_method |
|
21 |
2 |
97 |
| OF_read |
|
37 |
6 |
177 |
| OF_write |
|
33 |
4 |
163 |
| OF_seek |
|
23 |
2 |
108 |
| OF_boot |
|
19 |
2 |
89 |
| OF_enter |
|
12 |
1 |
47 |
| OF_exit |
|
13 |
1 |
52 |
| OF_poweroff |
|
12 |
1 |
47 |
| OF_interpret |
|
28 |
4 |
176 |
| OF_milliseconds |
|
15 |
2 |
66 |
| OF_sym2val |
|
29 |
7 |
163 |
| OF_val2sym |
|
39 |
8 |
192 |
| OF_is_compatible |
|
18 |
4 |
110 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
5 |
2 |
26 |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db__char_value |
|
15 |
4 |
70 |
| db__short_value |
|
15 |
4 |
70 |
| kdb_kbd_trap |
|
8 |
2 |
34 |
| db_ktrap |
|
56 |
13 |
329 |
| db_cpuinfo_cmd |
|
29 |
8 |
132 |
| db_startproc_cmd |
|
19 |
7 |
113 |
| db_stopproc_cmd |
|
19 |
7 |
113 |
| db_ddbproc_cmd |
|
19 |
6 |
105 |
| db_enter_ddb |
|
49 |
17 |
305 |
| db_startcpu |
|
8 |
2 |
37 |
| db_stopcpu |
|
11 |
3 |
65 |
| db_read_bytes |
|
14 |
3 |
89 |
| db_write_bytes |
|
20 |
5 |
133 |
| db_enter |
|
4 |
1 |
11 |
| db_prom_cmd |
|
8 |
1 |
29 |
| db_get_dtlb_data |
|
8 |
1 |
38 |
| db_get_dtlb_tag |
|
8 |
1 |
38 |
| db_get_itlb_data |
|
8 |
1 |
38 |
| db_get_itlb_tag |
|
8 |
1 |
38 |
| db_print_dtlb_entry |
|
7 |
1 |
46 |
| db_print_itlb_entry |
|
7 |
1 |
46 |
| db_dump_dtlb |
|
38 |
10 |
227 |
| db_dump_itlb |
|
29 |
11 |
166 |
| db_pload_cmd |
|
33 |
8 |
161 |
| db_dump_pmap |
|
31 |
8 |
304 |
| db_pmap_kernel |
|
39 |
9 |
257 |
| db_pmap_cmd |
|
33 |
11 |
216 |
| db_lock |
|
19 |
3 |
88 |
| db_dump_dtsb |
|
22 |
4 |
226 |
| db_page_cmd |
|
13 |
2 |
56 |
| db_proc_cmd |
|
29 |
3 |
206 |
| db_ctx_cmd |
|
21 |
3 |
120 |
| db_dump_pcb |
|
40 |
4 |
439 |
| db_setpcb |
|
25 |
5 |
129 |
| db_watch |
|
31 |
7 |
178 |
| db_xir |
|
9 |
2 |
54 |
| db_register_xir |
|
10 |
2 |
73 |
| db_branch_taken |
|
35 |
12 |
203 |
| db_inst_branch |
|
25 |
10 |
88 |
| db_inst_call |
|
14 |
4 |
60 |
| db_inst_unconditional_flow_transfer |
|
21 |
8 |
81 |
| db_inst_return |
|
6 |
2 |
34 |
| db_inst_trap_return |
|
8 |
2 |
38 |
| db_machine_init |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_read_regs |
|
30 |
4 |
248 |
| process_read_fpregs |
|
20 |
4 |
130 |
| process_write_regs |
|
30 |
4 |
243 |
| process_sstep |
|
8 |
2 |
28 |
| process_set_pc |
|
8 |
1 |
49 |
| process_write_fpregs |
|
22 |
4 |
171 |
| process_get_wcookie |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vmapbuf |
|
30 |
4 |
201 |
| vunmapbuf |
|
15 |
2 |
110 |
| cpu_fork |
|
56 |
11 |
528 |
| fpusave_cpu |
|
13 |
3 |
64 |
| fpusave_proc |
|
23 |
9 |
139 |
| cpu_exit |
|
9 |
2 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clockmatch_sbus |
|
8 |
1 |
44 |
| clockmatch_ebus |
|
8 |
1 |
44 |
| clockmatch_fhc |
|
8 |
1 |
44 |
| clockattach_sbus |
|
24 |
2 |
133 |
| clock_bus_wenable |
|
23 |
8 |
128 |
| clockattach_ebus |
|
35 |
6 |
257 |
| clockattach_fhc |
|
21 |
2 |
148 |
| clockattach |
|
28 |
6 |
175 |
| getidprom |
|
13 |
3 |
83 |
| timermatch |
|
11 |
3 |
62 |
| timerattach |
|
22 |
1 |
245 |
| stopcounter |
|
7 |
1 |
27 |
| myetheraddr |
|
23 |
5 |
162 |
| cpu_initclocks |
|
83 |
20 |
542 |
| setstatclockrate |
|
4 |
1 |
9 |
| clockintr |
|
29 |
6 |
173 |
| tickintr |
|
15 |
2 |
90 |
| sys_tickintr |
|
15 |
2 |
90 |
| stickintr |
|
15 |
2 |
90 |
| statintr |
|
22 |
7 |
161 |
| schedintr |
|
7 |
2 |
24 |
| inittodr |
|
41 |
11 |
243 |
| resettodr |
|
10 |
4 |
49 |
| tick_start |
|
9 |
1 |
49 |
| sys_tick_start |
|
9 |
1 |
49 |
| stick_start |
|
9 |
1 |
49 |
| tick_get_timecount |
|
6 |
1 |
31 |
| sys_tick_get_timecount |
|
6 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strayintr |
|
23 |
8 |
133 |
| intr_handler |
|
15 |
8 |
84 |
| intr_list_handler |
|
21 |
4 |
124 |
| intr_ack |
|
4 |
1 |
16 |
| intr_establish |
|
87 |
22 |
608 |
| splraise |
|
4 |
1 |
15 |
| intr_barrier |
|
5 |
1 |
22 |
| softintr_establish |
|
14 |
2 |
104 |
| softintr_disestablish |
|
5 |
1 |
28 |
| softintr_schedule |
|
5 |
1 |
27 |
| splassert_check |
|
12 |
3 |
73 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/ipifuncs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sparc64_send_ipi |
|
7 |
2 |
49 |
| sun4u_send_ipi |
|
34 |
11 |
260 |
| sun4v_send_ipi |
|
18 |
4 |
150 |
| sparc64_broadcast_ipi |
|
7 |
2 |
42 |
| sun4u_broadcast_ipi |
|
11 |
4 |
81 |
| sun4v_broadcast_ipi |
|
30 |
8 |
224 |
| smp_tlb_flush_pte |
|
10 |
3 |
46 |
| smp_tlb_flush_ctx |
|
10 |
3 |
41 |
| cpu_unidle |
|
9 |
5 |
70 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_stack_trace_print |
|
73 |
20 |
475 |
| db_dump_window |
|
18 |
6 |
118 |
| db_print_window |
|
55 |
3 |
501 |
| db_dump_stack |
|
38 |
12 |
244 |
| db_dump_trap |
|
74 |
6 |
711 |
| db_dump_fpstate |
|
82 |
2 |
810 |
| db_dump_ts |
|
12 |
2 |
115 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/ofw_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_mmu_handle |
|
13 |
3 |
68 |
| get_memory_handle |
|
13 |
3 |
68 |
| prom_set_trap_table |
|
21 |
2 |
91 |
| prom_vtop |
|
42 |
4 |
264 |
| prom_claim_virt |
|
32 |
3 |
162 |
| prom_alloc_virt |
|
30 |
3 |
150 |
| prom_free_virt |
|
26 |
2 |
132 |
| prom_unmap_virt |
|
26 |
2 |
132 |
| prom_map_phys |
|
40 |
4 |
206 |
| prom_alloc_phys |
|
31 |
3 |
160 |
| prom_claim_phys |
|
35 |
3 |
184 |
| prom_free_phys |
|
28 |
2 |
144 |
| prom_get_msgbuf |
|
48 |
8 |
297 |
| prom_itlb_load |
|
31 |
4 |
164 |
| prom_dtlb_load |
|
31 |
4 |
164 |
| prom_start_cpu |
|
18 |
1 |
89 |
| prom_start_cpu_by_cpuid |
|
19 |
1 |
89 |
| OF_stdin |
|
9 |
2 |
43 |
| OF_stdout |
|
9 |
2 |
43 |
| prom_printf |
|
14 |
3 |
87 |
| prom_serengeti_set_console_input |
|
17 |
2 |
84 |
| prom_opl_get_tod |
|
16 |
2 |
74 |
| prom_set_sun4v_api_version |
|
25 |
1 |
121 |
| prom_sun4v_soft_state_supported |
|
12 |
1 |
48 |
| OF_searchprop |
|
10 |
3 |
65 |
| compare_cells |
|
12 |
3 |
123 |
| find_pci_host_node |
|
16 |
5 |
87 |
| OF_mapintr |
|
129 |
36 |
1009 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/cache.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cache_enable |
|
4 |
1 |
12 |
| cache_flush_page |
|
23 |
6 |
160 |
| cache_flush |
|
26 |
5 |
187 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/mdesc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mdesc_init |
|
44 |
7 |
267 |
| mdesc_get_prop_val |
|
17 |
4 |
137 |
| mdesc_get_prop_str |
|
19 |
4 |
153 |
| mdesc_get_prop_data |
|
21 |
4 |
173 |
| mdesc_find |
|
17 |
5 |
133 |
| mdesc_find_child |
|
23 |
7 |
188 |
| mdesc_find_node |
|
17 |
4 |
135 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/openprom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| openpromopen |
|
7 |
1 |
30 |
| openpromclose |
|
7 |
1 |
30 |
| openpromread |
|
23 |
8 |
131 |
| openpromcheckid |
|
8 |
4 |
53 |
| openpromgetstr |
|
13 |
2 |
86 |
| openpromioctl |
|
137 |
35 |
819 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/intreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pa_to_pvh |
|
6 |
2 |
31 |
| pmap_tte2flags |
|
9 |
6 |
66 |
| tsb_invalidate |
|
13 |
3 |
98 |
| pmap_enter_kpage |
|
15 |
3 |
92 |
| pmap_bootdebug |
|
23 |
7 |
99 |
| pmap_bootstrap |
|
577 |
114 |
4187 |
| pmap_bootstrap_cpu |
|
7 |
2 |
22 |
| sun4u_bootstrap_cpu |
|
40 |
7 |
333 |
| sun4v_bootstrap_cpu |
|
34 |
9 |
329 |
| pmap_init |
|
10 |
2 |
70 |
| pmap_virtual_space |
|
8 |
2 |
58 |
| pmap_growkernel |
|
21 |
5 |
127 |
| pmap_create |
|
11 |
1 |
76 |
| pmap_reference |
|
4 |
1 |
17 |
| pmap_destroy |
|
7 |
2 |
36 |
| pmap_release |
|
45 |
10 |
354 |
| pmap_copy |
|
4 |
1 |
23 |
| pmap_collect |
|
33 |
11 |
266 |
| pmap_zero_page |
|
4 |
1 |
17 |
| pmap_copy_page |
|
6 |
1 |
37 |
| pmap_activate |
|
16 |
4 |
88 |
| pmap_deactivate |
|
3 |
1 |
9 |
| pmap_kenter_pa |
|
31 |
11 |
256 |
| pmap_kremove |
|
21 |
10 |
144 |
| pmap_enter |
|
87 |
30 |
666 |
| pmap_remove |
|
45 |
19 |
318 |
| pmap_protect |
|
58 |
21 |
404 |
| pmap_extract |
|
22 |
12 |
183 |
| pmap_dumpsize |
|
7 |
1 |
46 |
| pmap_dumpmmu |
|
38 |
3 |
391 |
| pmap_pa_exists |
|
8 |
5 |
55 |
| GenerateTSBPointer |
|
23 |
5 |
111 |
| ptelookup_va |
|
6 |
1 |
37 |
| pmap_clear_modify |
|
43 |
11 |
285 |
| pmap_clear_reference |
|
41 |
11 |
259 |
| pmap_is_modified |
|
24 |
10 |
163 |
| pmap_is_referenced |
|
24 |
8 |
155 |
| pmap_unwire |
|
23 |
7 |
127 |
| pmap_page_protect |
|
89 |
20 |
641 |
| ctx_alloc |
|
31 |
11 |
194 |
| ctx_free |
|
17 |
5 |
102 |
| pmap_enter_pv |
|
27 |
5 |
190 |
| pmap_remove_pv |
|
44 |
11 |
342 |
| pmap_page_cache |
|
40 |
13 |
268 |
| pmap_get_page |
|
21 |
5 |
131 |
| pmap_free_page |
|
6 |
1 |
33 |
| pmap_remove_holes |
|
14 |
2 |
117 |
| db_dump_pv |
|
12 |
3 |
77 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| share_fpu |
|
6 |
4 |
43 |
| trap |
|
259 |
74 |
1464 |
| rwindow_save |
|
13 |
3 |
108 |
| pmap_unuse_final |
|
5 |
1 |
23 |
| data_access_fault |
|
91 |
23 |
544 |
| data_access_error |
|
48 |
9 |
286 |
| text_access_fault |
|
49 |
10 |
287 |
| text_access_error |
|
65 |
14 |
383 |
| syscall |
|
86 |
19 |
565 |
| child_return |
|
18 |
2 |
121 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_disasm |
|
221 |
73 |
1625 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/sparc64/busop.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_read_2 |
|
14 |
1 |
78 |
| bus_space_write_2 |
|
12 |
1 |
73 |
| bus_space_read_4 |
|
14 |
1 |
78 |
| bus_space_write_4 |
|
12 |
1 |
73 |
| bus_space_read_8 |
|
14 |
1 |
78 |
| bus_space_write_8 |
|
12 |
1 |
73 |
| bus_space_read_1 |
|
14 |
1 |
78 |
| bus_space_write_1 |
|
12 |
1 |
73 |
| bus_space_read_raw_2 |
|
14 |
1 |
78 |
| bus_space_write_raw_2 |
|
12 |
1 |
73 |
| bus_space_read_raw_4 |
|
14 |
1 |
78 |
| bus_space_write_raw_4 |
|
12 |
1 |
73 |
| bus_space_read_raw_8 |
|
14 |
1 |
78 |
| bus_space_write_raw_8 |
|
12 |
1 |
73 |
| bus_space_read_raw_1 |
|
14 |
1 |
78 |
| bus_space_write_raw_1 |
|
12 |
1 |
73 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_div.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_div |
|
53 |
10 |
364 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_arith.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_explode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_itof |
|
14 |
3 |
91 |
| fpu_xtof |
|
13 |
3 |
86 |
| fpu_stof |
|
12 |
1 |
94 |
| fpu_dtof |
|
14 |
1 |
126 |
| fpu_qtof |
|
15 |
1 |
171 |
| fpu_explode |
|
55 |
13 |
420 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_extern.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_mul.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_mul |
|
69 |
13 |
418 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_shr |
|
49 |
14 |
413 |
| fpu_norm |
|
48 |
9 |
404 |
| fpu_newnan |
|
11 |
1 |
80 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_implode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_round |
|
52 |
12 |
375 |
| toinf |
|
20 |
5 |
75 |
| fpu_ftoi |
|
25 |
7 |
148 |
| fpu_ftox |
|
32 |
7 |
191 |
| fpu_ftos |
|
38 |
15 |
342 |
| fpu_ftod |
|
48 |
13 |
362 |
| fpu_ftoq |
|
49 |
13 |
406 |
| fpu_implode |
|
33 |
6 |
239 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_emu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_sqrt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_sqrt |
|
127 |
19 |
783 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_compare.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_compare |
|
48 |
13 |
242 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_dumpfpn |
|
7 |
2 |
82 |
| fpu_dumpstate |
|
7 |
3 |
53 |
| fpu_fcopy |
|
13 |
4 |
70 |
| fpu_cleanup |
|
76 |
18 |
444 |
| fpu_regoffset |
|
11 |
6 |
69 |
| fpu_execute |
|
121 |
103 |
1010 |
| fpu_insn_fmov |
|
17 |
4 |
134 |
| fpu_insn_fabs |
|
18 |
4 |
155 |
| fpu_insn_fneg |
|
18 |
4 |
155 |
| fpu_insn_itof |
|
22 |
4 |
195 |
| fpu_insn_ftoi |
|
19 |
4 |
151 |
| fpu_insn_ftof |
|
23 |
6 |
213 |
| fpu_insn_fsqrt |
|
22 |
4 |
166 |
| fpu_insn_fcmp |
|
30 |
6 |
228 |
| fpu_insn_fmul |
|
25 |
5 |
206 |
| fpu_insn_fmulx |
|
26 |
7 |
235 |
| fpu_insn_fdiv |
|
25 |
5 |
206 |
| fpu_insn_fadd |
|
25 |
5 |
206 |
| fpu_insn_fsub |
|
25 |
5 |
206 |
| fpu_insn_fmovcc |
|
42 |
12 |
286 |
| fpu_insn_fmovr |
|
51 |
23 |
351 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/fpu/fpu_add.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpu_add |
|
78 |
18 |
646 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/softraid_sparc64.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/alloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alloc |
|
44 |
11 |
270 |
| free |
|
13 |
5 |
99 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/disk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/netif_of.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| socktodesc |
|
6 |
2 |
19 |
| netif_open |
|
21 |
2 |
118 |
| netif_close |
|
19 |
3 |
93 |
| netif_put |
|
22 |
2 |
146 |
| netif_get |
|
23 |
5 |
175 |
| getsecs |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/net.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| net_open |
|
19 |
6 |
89 |
| net_close |
|
8 |
3 |
34 |
| net_mountroot_bootparams |
|
13 |
4 |
79 |
| net_mountroot_bootp |
|
16 |
5 |
93 |
| net_mountroot |
|
14 |
5 |
78 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/vers.c |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/openfirm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/ofdev.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/diskprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| new_diskinfo |
|
53 |
11 |
354 |
| dump_node |
|
10 |
3 |
75 |
| diskprobe |
|
31 |
14 |
216 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/boot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| parseargs |
|
38 |
12 |
164 |
| chain |
|
25 |
3 |
225 |
| loadfile |
|
39 |
8 |
231 |
| loadrandom |
|
19 |
6 |
115 |
| srbootdev |
|
40 |
13 |
253 |
| main |
|
85 |
28 |
502 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/Locore.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _rtt |
|
14 |
3 |
56 |
| OF_enter |
|
12 |
1 |
47 |
| OF_finddevice |
|
17 |
2 |
78 |
| OF_instance_to_package |
|
17 |
2 |
77 |
| OF_getprop |
|
23 |
2 |
121 |
| OF_open |
|
18 |
3 |
84 |
| OF_close |
|
14 |
1 |
60 |
| OF_write |
|
21 |
2 |
105 |
| OF_read |
|
22 |
2 |
107 |
| OF_seek |
|
22 |
2 |
106 |
| OF_release |
|
16 |
1 |
73 |
| OF_milliseconds |
|
14 |
1 |
55 |
| OF_chain |
|
7 |
1 |
63 |
| setup |
|
11 |
6 |
113 |
| OF_claim_virt |
|
26 |
2 |
127 |
| OF_alloc_virt |
|
26 |
2 |
131 |
| OF_free_virt |
|
20 |
1 |
97 |
| OF_map_phys |
|
32 |
3 |
168 |
| OF_alloc_phys |
|
25 |
2 |
125 |
| OF_free_phys |
|
22 |
1 |
109 |
| OF_claim |
|
34 |
6 |
236 |
| OF_peer |
|
17 |
2 |
76 |
| OF_child |
|
17 |
2 |
76 |
| OF_package_to_path |
|
23 |
3 |
114 |
| putchar |
|
7 |
2 |
33 |
| getchar |
|
9 |
4 |
51 |
| cngetc |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/softraid_sparc64.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| srprobe_meta_opt_load |
|
35 |
7 |
287 |
| srprobe_keydisk_load |
|
26 |
4 |
209 |
| srprobe |
|
140 |
29 |
960 |
| sr_strategy |
|
83 |
15 |
596 |
| sr_getdisklabel |
|
17 |
5 |
126 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/md5.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/elf64_exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| elf64_exec |
|
129 |
32 |
1143 |
| Source file: /home/sergeyb/sources/src/sys/arch/sparc64/stand/ofwboot/ofdev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| filename |
|
38 |
16 |
265 |
| strategy |
|
34 |
9 |
243 |
| devclose |
|
13 |
5 |
68 |
| get_long |
|
5 |
1 |
53 |
| sun_extended_sum |
|
10 |
2 |
65 |
| disklabel_sun_to_bsd |
|
117 |
29 |
844 |
| search_label |
|
36 |
9 |
246 |
| load_disklabel |
|
24 |
7 |
128 |
| devopen |
|
175 |
57 |
1141 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/mcbus/mcmem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcmemmatch |
|
10 |
2 |
48 |
| mcmemattach |
|
7 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/mcbus/mcbusreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/mcbus/mcbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/mcbus/mcbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcbusprint |
|
9 |
1 |
45 |
| mcbussbm |
|
12 |
3 |
88 |
| mcbusmatch |
|
12 |
3 |
66 |
| mcbusattach |
|
34 |
5 |
250 |
| mcbus_node_type_str |
|
21 |
6 |
70 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/dev/sgmapvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/dev/sgmap_typedep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __C( SGMAP_TYPE , _init_spill_page_pte) |
|
6 |
1 |
21 |
| __C( SGMAP_TYPE , _load_buffer) |
|
84 |
24 |
582 |
| __C( SGMAP_TYPE , _load) |
|
31 |
6 |
229 |
| __C( SGMAP_TYPE , _load_mbuf) |
|
42 |
11 |
322 |
| __C( SGMAP_TYPE , _load_uio) |
|
49 |
12 |
361 |
| __C( SGMAP_TYPE , _load_raw) |
|
9 |
1 |
77 |
| __C( SGMAP_TYPE , _unload) |
|
37 |
8 |
275 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/dev/sgmap_typedep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/dev/sgmap_common.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alpha_sgmap_init |
|
65 |
9 |
346 |
| alpha_sgmap_dmamap_setup |
|
9 |
2 |
55 |
| alpha_sgmap_dmamap_create |
|
23 |
3 |
109 |
| alpha_sgmap_dmamap_teardown |
|
5 |
1 |
20 |
| alpha_sgmap_dmamap_destroy |
|
8 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/dev/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _bus_dmamap_create |
|
32 |
5 |
207 |
| _bus_dmamap_destroy |
|
6 |
1 |
23 |
| _bus_dmamap_load_buffer_direct |
|
69 |
17 |
428 |
| _bus_dmamap_load_direct |
|
28 |
4 |
179 |
| _bus_dmamap_load_mbuf_direct |
|
35 |
9 |
244 |
| _bus_dmamap_load_uio_direct |
|
43 |
10 |
290 |
| _bus_dmamap_load_raw_direct |
|
10 |
1 |
40 |
| _bus_dmamap_unload |
|
9 |
1 |
42 |
| _bus_dmamap_sync |
|
9 |
1 |
33 |
| _bus_dmamem_alloc |
|
11 |
1 |
77 |
| _bus_dmamem_alloc_range |
|
48 |
9 |
292 |
| _bus_dmamem_free |
|
20 |
3 |
114 |
| _bus_dmamem_map |
|
44 |
8 |
292 |
| _bus_dmamem_unmap |
|
12 |
5 |
67 |
| _bus_dmamem_mmap |
|
24 |
7 |
138 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/dev/shared_intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intr_typename |
|
17 |
6 |
62 |
| alpha_shared_intr_alloc |
|
19 |
4 |
127 |
| alpha_shared_intr_dispatch |
|
21 |
9 |
127 |
| if |
|
5 |
1 |
25 |
| switch |
|
23 |
8 |
127 |
| alpha_shared_intr_disestablish |
|
10 |
1 |
66 |
| alpha_shared_intr_get_sharetype |
|
6 |
1 |
27 |
| alpha_shared_intr_isactive |
|
6 |
1 |
32 |
| alpha_shared_intr_firstactive |
|
5 |
2 |
44 |
| alpha_shared_intr_set_dfltsharetype |
|
10 |
3 |
59 |
| alpha_shared_intr_set_maxstrays |
|
10 |
1 |
52 |
| alpha_shared_intr_reset_strays |
|
6 |
1 |
26 |
| alpha_shared_intr_stray |
|
13 |
4 |
90 |
| alpha_shared_intr_set_private |
|
7 |
1 |
32 |
| alpha_shared_intr_get_private |
|
6 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/isa/isa_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isa_display_console |
|
9 |
3 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/isa/isadma_bounce.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isadma_bounce_dmamap_create |
|
42 |
9 |
278 |
| isadma_bounce_dmamap_destroy |
|
8 |
2 |
50 |
| isadma_bounce_dmamap_load |
|
30 |
8 |
213 |
| isadma_bounce_dmamap_load_mbuf |
|
35 |
11 |
248 |
| isadma_bounce_dmamap_load_uio |
|
5 |
1 |
23 |
| isadma_bounce_dmamap_load_raw |
|
5 |
1 |
28 |
| isadma_bounce_dmamap_unload |
|
10 |
3 |
65 |
| isadma_bounce_dmamap_sync |
|
70 |
22 |
410 |
| isadma_bounce_dmamem_alloc |
|
13 |
2 |
105 |
| isadma_bounce_alloc_bouncebuf |
|
25 |
3 |
157 |
| isadma_bounce_free_bouncebuf |
|
11 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/isa/isafcns_jensen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| jensen_inb |
|
14 |
1 |
92 |
| jensen_inw |
|
14 |
1 |
92 |
| jensen_inl |
|
14 |
1 |
92 |
| jensen_outb |
|
12 |
1 |
72 |
| jensen_outw |
|
12 |
1 |
72 |
| jensen_outl |
|
12 |
1 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/isa/isapnp_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isapnp_map |
|
16 |
3 |
92 |
| isapnp_unmap |
|
6 |
1 |
37 |
| isapnp_map_readport |
|
10 |
4 |
61 |
| isapnp_unmap_readport |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/isa/isa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/isa/isapnp_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/isa/mcclock_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcclock_isa_match |
|
18 |
8 |
129 |
| mcclock_isa_attach |
|
12 |
2 |
89 |
| mcclock_isa_write |
|
10 |
1 |
68 |
| mcclock_isa_read |
|
10 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/pmap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_l2pte |
|
14 |
3 |
81 |
| pmap_l3pte |
|
18 |
4 |
126 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/rpb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/sfbreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/cfbreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/pal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/logout.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __alpha_get_tcb |
|
8 |
1 |
33 |
| __alpha_set_tcb |
|
7 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/ioctl_fd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/tc_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/cpuconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atomic_setbits_ulong |
|
18 |
1 |
51 |
| atomic_clearbits_ulong |
|
18 |
1 |
51 |
| atomic_add_ulong |
|
18 |
1 |
51 |
| atomic_sub_ulong |
|
18 |
1 |
51 |
| atomic_loadlatch_ulong |
|
19 |
1 |
63 |
| atomic_setbits_int |
|
18 |
1 |
51 |
| atomic_clearbits_int |
|
18 |
1 |
51 |
| atomic_add_int |
|
18 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/bus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/z8530var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/prom.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/bwx.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alpha_ldbu |
|
8 |
1 |
34 |
| alpha_ldwu |
|
8 |
1 |
34 |
| alpha_ldlu |
|
4 |
1 |
15 |
| alpha_stb |
|
7 |
1 |
31 |
| alpha_stw |
|
7 |
1 |
31 |
| alpha_stl |
|
7 |
1 |
31 |
| alpha_sextb |
|
9 |
1 |
33 |
| alpha_sextw |
|
9 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/alpha_cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alpha_rpcc |
|
6 |
1 |
26 |
| alpha_pal_rdmces |
|
9 |
1 |
46 |
| alpha_pal_rdps |
|
9 |
1 |
46 |
| alpha_pal_rdunique |
|
8 |
1 |
36 |
| alpha_pal_rdusp |
|
9 |
1 |
46 |
| alpha_pal_rdval |
|
9 |
1 |
46 |
| alpha_pal_swpctx |
|
10 |
1 |
71 |
| alpha_pal_swpipl |
|
10 |
1 |
71 |
| alpha_pal_tbi |
|
9 |
1 |
74 |
| alpha_pal_whami |
|
9 |
1 |
46 |
| alpha_pal_wrfen |
|
8 |
1 |
50 |
| alpha_pal_wripir |
|
8 |
1 |
50 |
| alpha_pal_wrunique |
|
7 |
1 |
40 |
| alpha_pal_wrusp |
|
8 |
1 |
50 |
| alpha_pal_wrmces |
|
8 |
1 |
50 |
| alpha_pal_wrval |
|
8 |
1 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/eisa/eisa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/eisa/eisa_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ecuf_init |
|
8 |
1 |
54 |
| eisa_parse_mem |
|
23 |
5 |
224 |
| eisa_parse_irq |
|
18 |
8 |
156 |
| eisa_parse_dma |
|
19 |
5 |
163 |
| eisa_parse_io |
|
18 |
6 |
156 |
| eisa_read_config_bytes |
|
9 |
2 |
58 |
| eisa_read_config_word |
|
11 |
2 |
76 |
| eisa_uncompress |
|
17 |
4 |
103 |
| eisa_init |
|
170 |
37 |
1213 |
| eisa_compute_maxslots |
|
22 |
8 |
149 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpumatch |
|
9 |
3 |
64 |
| cpuattach |
|
111 |
34 |
785 |
| cpu_announce_extensions |
|
20 |
5 |
108 |
| cpu_boot_secondary_processors |
|
21 |
6 |
134 |
| cpu_boot_secondary |
|
41 |
8 |
278 |
| cpu_pause_resume |
|
9 |
2 |
50 |
| cpu_pause_resume_all |
|
10 |
2 |
47 |
| cpu_halt |
|
12 |
1 |
91 |
| cpu_hatch |
|
23 |
2 |
146 |
| cpu_iccb_send |
|
28 |
7 |
188 |
| cpu_iccb_receive |
|
33 |
8 |
181 |
| cpu_unidle |
|
5 |
2 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_550.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_550_init |
|
11 |
2 |
59 |
| dec_550_cons_init |
|
38 |
6 |
234 |
| dec_550_device_register |
|
90 |
23 |
570 |
| dec_550_powerdown |
|
5 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alpha_init |
|
315 |
79 |
1980 |
| consinit |
|
5 |
3 |
18 |
| cpu_startup |
|
41 |
8 |
268 |
| alpha_dsr_sysname |
|
11 |
2 |
78 |
| alpha_variation_name |
|
10 |
3 |
64 |
| alpha_unknown_sysname |
|
7 |
1 |
46 |
| identifycpu |
|
23 |
7 |
159 |
| boot |
|
59 |
19 |
311 |
| cpu_dumpsize |
|
9 |
2 |
62 |
| cpu_dump_mempagecnt |
|
8 |
2 |
44 |
| cpu_dump |
|
25 |
2 |
238 |
| dumpconf |
|
17 |
6 |
101 |
| dumpsys |
|
78 |
18 |
431 |
| frametoreg |
|
36 |
1 |
447 |
| regtoframe |
|
35 |
1 |
438 |
| printregs |
|
8 |
3 |
49 |
| regdump |
|
9 |
1 |
45 |
| sendsig |
|
60 |
9 |
558 |
| sys_sigreturn |
|
34 |
5 |
324 |
| cpu_sysctl |
|
51 |
18 |
328 |
| setregs |
|
29 |
8 |
250 |
| fpusave_cpu |
|
22 |
6 |
123 |
| fpusave_proc |
|
33 |
11 |
181 |
| spl0 |
|
8 |
2 |
31 |
| delay |
|
23 |
5 |
108 |
| alpha_pa_access |
|
17 |
5 |
97 |
| alpha_XXX_dmamap |
|
5 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_eb164.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_eb164_init |
|
10 |
2 |
53 |
| dec_eb164_cons_init |
|
40 |
8 |
254 |
| dec_eb164_device_register |
|
97 |
26 |
612 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/clockvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| unmap_startup |
|
7 |
2 |
34 |
| cpu_configure |
|
12 |
2 |
56 |
| diskconf |
|
12 |
2 |
48 |
| parse_prom_bootdev |
|
42 |
11 |
314 |
| atoi |
|
18 |
6 |
91 |
| device_register |
|
10 |
3 |
45 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
36 |
11 |
220 |
| writedisklabel |
|
28 |
4 |
212 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/interrupt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scb_init |
|
8 |
2 |
42 |
| scb_stray |
|
4 |
1 |
18 |
| scb_set |
|
15 |
5 |
114 |
| scb_alloc |
|
18 |
3 |
112 |
| scb_free |
|
15 |
5 |
102 |
| interrupt |
|
63 |
19 |
366 |
| machine_check |
|
41 |
7 |
239 |
| badaddr |
|
4 |
1 |
23 |
| badaddr_read |
|
49 |
11 |
263 |
| softintr_init |
|
11 |
2 |
60 |
| softintr_dispatch |
|
28 |
8 |
181 |
| ipl2si |
|
22 |
6 |
67 |
| softintr_establish |
|
16 |
2 |
104 |
| softintr_disestablish |
|
12 |
2 |
77 |
| softintr_schedule |
|
12 |
2 |
75 |
| intr_barrier |
|
4 |
1 |
13 |
| splraise |
|
5 |
2 |
30 |
| splassert_check |
|
10 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/lock_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __cpu_cas |
|
19 |
1 |
73 |
| __mp_lock_init |
|
5 |
1 |
21 |
| __mp_lock_spin |
|
14 |
6 |
76 |
| __mp_lock |
|
19 |
4 |
93 |
| __mp_unlock |
|
15 |
4 |
73 |
| __mp_release_all |
|
15 |
3 |
76 |
| __mp_release_all_but_one |
|
10 |
3 |
52 |
| __mp_acquire_count |
|
5 |
2 |
22 |
| __mp_lock_held |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_eb64plus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_eb64plus_init |
|
14 |
3 |
81 |
| dec_eb64plus_cons_init |
|
38 |
6 |
234 |
| dec_eb64plus_device_register |
|
69 |
22 |
414 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_2100_a50.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_2100_a50_init |
|
18 |
4 |
99 |
| dec_2100_a50_cons_init |
|
38 |
6 |
234 |
| dec_2100_a50_device_register |
|
69 |
22 |
414 |
| dec_2100_a50_mcheck |
|
247 |
41 |
1824 |
| dec_2100_a50_mcheck_handler |
|
17 |
3 |
76 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
24 |
13 |
114 |
| mmclose |
|
6 |
3 |
36 |
| mmrw |
|
70 |
20 |
408 |
| mmmmap |
|
20 |
7 |
99 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysarch |
|
60 |
12 |
312 |
| sys_sysarch |
|
4 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_alphabook1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_alphabook1_init |
|
14 |
3 |
82 |
| dec_alphabook1_cons_init |
|
38 |
6 |
236 |
| dec_alphabook1_device_register |
|
67 |
22 |
414 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/mcclockvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_axppci_33.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lca_preinit |
|
6 |
1 |
22 |
| dec_axppci_33_init |
|
31 |
4 |
202 |
| dec_axppci_33_cons_init |
|
36 |
6 |
223 |
| dec_axppci_33_device_register |
|
69 |
22 |
414 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
5 |
2 |
26 |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ddb_trap |
|
25 |
5 |
131 |
| db_read_bytes |
|
10 |
2 |
50 |
| db_write_bytes |
|
11 |
2 |
54 |
| db_enter |
|
4 |
1 |
11 |
| db_register_value |
|
12 |
4 |
63 |
| db_inst_call |
|
9 |
3 |
53 |
| db_inst_return |
|
8 |
2 |
41 |
| db_inst_trap_return |
|
8 |
2 |
41 |
| db_inst_branch |
|
26 |
17 |
86 |
| db_inst_unconditional_flow_transfer |
|
19 |
7 |
71 |
| db_inst_spill |
|
8 |
2 |
45 |
| db_inst_load |
|
22 |
11 |
153 |
| db_branch_taken |
|
38 |
18 |
154 |
| db_valid_breakpoint |
|
10 |
3 |
50 |
| next_instr_address |
|
8 |
2 |
49 |
| db_mach_cpu |
|
36 |
8 |
195 |
| db_machine_init |
|
4 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_read_regs |
|
9 |
1 |
66 |
| process_read_fpregs |
|
9 |
2 |
58 |
| process_write_regs |
|
9 |
1 |
66 |
| process_set_pc |
|
8 |
1 |
43 |
| process_write_fpregs |
|
9 |
2 |
58 |
| ptrace_read_int |
|
15 |
1 |
106 |
| ptrace_write_int |
|
15 |
1 |
106 |
| ptrace_read_register |
|
40 |
2 |
111 |
| ptrace_clear_bpt |
|
4 |
1 |
28 |
| ptrace_set_bpt |
|
9 |
2 |
57 |
| process_sstep |
|
70 |
28 |
466 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_exit |
|
8 |
2 |
40 |
| cpu_fork |
|
33 |
9 |
369 |
| vmapbuf |
|
27 |
4 |
192 |
| vunmapbuf |
|
16 |
2 |
115 |
| tcb_get |
|
7 |
2 |
40 |
| tcb_set |
|
6 |
1 |
45 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/mcclock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcclock_attach |
|
9 |
1 |
52 |
| mcclock_init |
|
8 |
1 |
49 |
| mcclock_get |
|
19 |
1 |
122 |
| mcclock_set |
|
21 |
1 |
137 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/db_instruction.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clockattach |
|
10 |
2 |
43 |
| cpu_initclocks |
|
28 |
4 |
180 |
| setstatclockrate |
|
4 |
1 |
9 |
| inittodr |
|
55 |
18 |
365 |
| resettodr |
|
18 |
3 |
132 |
| rpcc_get_timecount |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_6600.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_6600_init |
|
13 |
2 |
73 |
| dec_6600_cons_init |
|
43 |
6 |
254 |
| dec_6600_device_register |
|
110 |
29 |
661 |
| dec_6600_environmental_mcheck |
|
52 |
12 |
386 |
| dec_6600_print_syndrome |
|
15 |
5 |
93 |
| dec_6600_mcheck |
|
85 |
22 |
436 |
| dec_6600_mcheck_handler |
|
19 |
6 |
96 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_3000_300.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_3000_300_init |
|
14 |
3 |
81 |
| dec_3000_300_cons_init |
|
30 |
7 |
157 |
| dec_3000_300_device_register |
|
74 |
33 |
470 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/api_up1000.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| api_up1000_init |
|
10 |
2 |
53 |
| api_up1000_cons_init |
|
38 |
6 |
234 |
| api_up1000_device_register |
|
107 |
35 |
651 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/ipifuncs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alpha_ipi_process |
|
11 |
4 |
80 |
| alpha_send_ipi |
|
10 |
5 |
70 |
| alpha_broadcast_ipi |
|
15 |
3 |
80 |
| alpha_multicast_ipi |
|
15 |
3 |
82 |
| alpha_ipi_halt |
|
7 |
1 |
36 |
| alpha_ipi_imb |
|
4 |
1 |
18 |
| alpha_ipi_ast |
|
4 |
2 |
19 |
| alpha_ipi_synch_fpu |
|
6 |
2 |
31 |
| alpha_ipi_discard_fpu |
|
6 |
2 |
31 |
| alpha_ipi_pause |
|
15 |
2 |
90 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mbmatch |
|
9 |
2 |
37 |
| mbattach |
|
24 |
4 |
141 |
| mbprint |
|
9 |
2 |
44 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_kn300.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_kn300_init |
|
33 |
8 |
167 |
| dec_kn300_cons_init |
|
36 |
6 |
228 |
| dec_kn300_device_register |
|
91 |
22 |
566 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/prom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| prom_lev1map |
|
6 |
1 |
39 |
| init_prom_interface |
|
7 |
1 |
51 |
| init_bootstrap_console |
|
8 |
1 |
39 |
| prom_enter |
|
15 |
5 |
69 |
| prom_leave |
|
14 |
5 |
62 |
| prom_cache_sync |
|
5 |
1 |
14 |
| promcnputc |
|
11 |
2 |
69 |
| promcngetc |
|
11 |
4 |
61 |
| promcnlookc |
|
12 |
3 |
67 |
| prom_getenv |
|
13 |
2 |
95 |
| prom_halt |
|
12 |
2 |
61 |
| hwrpb_checksum |
|
10 |
2 |
65 |
| hwrpb_primary_init |
|
9 |
1 |
60 |
| hwrpb_restart_setup |
|
10 |
1 |
61 |
| console_restart |
|
13 |
1 |
96 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_3000_500.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_3000_500_init |
|
24 |
6 |
125 |
| dec_3000_500_cons_init |
|
30 |
7 |
157 |
| dec_3000_500_device_register |
|
74 |
33 |
470 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mtx_init |
|
6 |
1 |
30 |
| __mtx_enter |
|
12 |
5 |
55 |
| __mtx_enter_try |
|
20 |
8 |
125 |
| __mtx_enter |
|
10 |
5 |
66 |
| __mtx_enter_try |
|
5 |
1 |
19 |
| __mtx_leave |
|
11 |
4 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/promcons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| promopen |
|
41 |
8 |
271 |
| promclose |
|
12 |
1 |
76 |
| promread |
|
8 |
1 |
56 |
| promwrite |
|
8 |
1 |
56 |
| promioctl |
|
18 |
3 |
113 |
| promparam |
|
6 |
1 |
21 |
| promstart |
|
15 |
3 |
84 |
| promstop |
|
12 |
3 |
59 |
| promtimeout |
|
11 |
3 |
67 |
| promtty |
|
7 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/cpuconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| platform_lookup |
|
11 |
3 |
57 |
| platform_not_configured |
|
9 |
1 |
37 |
| platform_not_supported |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/in_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_cksumdata |
|
67 |
17 |
517 |
| in_cksum |
|
25 |
6 |
140 |
| in4_cksum |
|
44 |
13 |
306 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sext |
|
4 |
2 |
30 |
| rega |
|
4 |
1 |
19 |
| regb |
|
4 |
1 |
19 |
| regc |
|
4 |
1 |
14 |
| disp |
|
4 |
1 |
17 |
| db_stack_trace_print |
|
86 |
27 |
694 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_1000a.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _dec_1000a_init |
|
23 |
6 |
119 |
| dec_1000a_cons_init |
|
56 |
7 |
313 |
| dec_1000a_device_register |
|
69 |
22 |
414 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_bootstrap |
|
92 |
15 |
814 |
| pmap_uses_prom_console |
|
7 |
4 |
28 |
| pmap_steal_memory |
|
44 |
14 |
321 |
| pmap_init |
|
17 |
5 |
115 |
| pmap_create |
|
26 |
6 |
167 |
| pmap_destroy |
|
16 |
4 |
88 |
| pmap_reference |
|
6 |
3 |
28 |
| pmap_remove |
|
6 |
3 |
47 |
| pmap_do_remove |
|
76 |
25 |
447 |
| pmap_page_protect |
|
67 |
20 |
461 |
| pmap_protect |
|
49 |
15 |
326 |
| pmap_enter |
|
150 |
50 |
897 |
| pmap_kenter_pa |
|
29 |
11 |
211 |
| pmap_kremove |
|
32 |
12 |
190 |
| pmap_unwire |
|
19 |
8 |
110 |
| pmap_extract |
|
47 |
13 |
267 |
| pmap_collect |
|
8 |
4 |
41 |
| pmap_activate |
|
10 |
3 |
73 |
| pmap_deactivate |
|
7 |
3 |
52 |
| pmap_zero_page |
|
37 |
4 |
128 |
| pmap_copy_page |
|
11 |
3 |
79 |
| pmap_clear_modify |
|
15 |
4 |
94 |
| pmap_clear_reference |
|
15 |
4 |
98 |
| pmap_is_referenced |
|
9 |
3 |
53 |
| pmap_is_modified |
|
9 |
3 |
53 |
| alpha_protection_init |
|
25 |
5 |
151 |
| pmap_remove_mapping |
|
49 |
13 |
316 |
| pmap_changebit |
|
27 |
6 |
183 |
| pmap_emulate_reference |
|
90 |
31 |
520 |
| pmap_pv_dump |
|
13 |
2 |
93 |
| vtophys |
|
16 |
5 |
87 |
| pmap_pv_enter |
|
27 |
8 |
168 |
| pmap_pv_remove |
|
16 |
8 |
123 |
| pmap_pv_page_alloc |
|
8 |
2 |
51 |
| pmap_pv_page_free |
|
4 |
1 |
24 |
| pmap_physpage_alloc |
|
18 |
5 |
97 |
| pmap_physpage_free |
|
9 |
4 |
48 |
| pmap_physpage_addref |
|
10 |
1 |
51 |
| pmap_physpage_delref |
|
12 |
3 |
64 |
| pmap_growkernel |
|
56 |
11 |
357 |
| pmap_lev1map_create |
|
12 |
2 |
74 |
| pmap_lev1map_destroy |
|
7 |
1 |
38 |
| pmap_l1pt_ctor |
|
13 |
3 |
102 |
| pmap_l1pt_alloc |
|
8 |
2 |
53 |
| pmap_l1pt_free |
|
4 |
1 |
24 |
| pmap_ptpage_alloc |
|
10 |
3 |
76 |
| pmap_ptpage_free |
|
8 |
2 |
41 |
| pmap_l3pt_delref |
|
22 |
6 |
157 |
| pmap_l2pt_delref |
|
11 |
4 |
66 |
| pmap_l1pt_delref |
|
5 |
1 |
25 |
| pmap_asn_alloc |
|
47 |
21 |
266 |
| pmap_tlb_shootdown |
|
38 |
7 |
215 |
| pmap_tlb_shootnow |
|
4 |
1 |
14 |
| pmap_do_tlb_shootdown |
|
27 |
5 |
173 |
| pmap_tlb_shootdown_q_drain |
|
8 |
2 |
51 |
| pmap_tlb_shootdown_job_get |
|
8 |
2 |
47 |
| pmap_tlb_shootdown_job_put |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| trap_init |
|
11 |
1 |
60 |
| printtrap |
|
46 |
10 |
247 |
| trap |
|
197 |
49 |
987 |
| syscall |
|
77 |
16 |
466 |
| child_return |
|
12 |
1 |
77 |
| alpha_enable_fp |
|
26 |
10 |
181 |
| ast |
|
14 |
3 |
102 |
| Sfloat_to_reg |
|
17 |
5 |
143 |
| reg_to_Sfloat |
|
12 |
2 |
105 |
| Tfloat_reg_cvt |
|
5 |
1 |
15 |
| Ffloat_to_reg |
|
16 |
4 |
152 |
| reg_to_Ffloat |
|
13 |
2 |
125 |
| Gfloat_reg_cvt |
|
12 |
1 |
103 |
| unaligned_fixup |
|
101 |
28 |
592 |
| handle_opdec |
|
119 |
39 |
757 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/dec_kn20aa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dec_kn20aa_init |
|
14 |
3 |
81 |
| dec_kn20aa_cons_init |
|
38 |
6 |
234 |
| dec_kn20aa_device_register |
|
69 |
22 |
414 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pal_opname |
|
12 |
3 |
77 |
| arit_name |
|
12 |
3 |
95 |
| logical_name |
|
20 |
8 |
166 |
| bitop_name |
|
17 |
5 |
151 |
| mul_name |
|
11 |
3 |
75 |
| special_name |
|
19 |
7 |
114 |
| intmisc_name |
|
15 |
6 |
91 |
| float_name |
|
14 |
3 |
95 |
| register_name |
|
11 |
4 |
58 |
| db_disasm |
|
9 |
1 |
46 |
| alpha_print_instruction |
|
212 |
76 |
1074 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/alpha/fp_complete.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| this_cannot_happen |
|
20 |
5 |
117 |
| sts |
|
5 |
1 |
31 |
| stt |
|
5 |
1 |
31 |
| lds |
|
5 |
1 |
31 |
| ldt |
|
5 |
1 |
31 |
| compare_lt |
|
4 |
1 |
21 |
| compare_le |
|
4 |
1 |
21 |
| compare_un |
|
9 |
3 |
52 |
| compare_eq |
|
4 |
1 |
21 |
| cvt_qs_ts_st_gf_qf |
|
25 |
4 |
174 |
| cvt_gd |
|
11 |
1 |
91 |
| cvt_qt_dg_qg |
|
22 |
5 |
121 |
| cvt_tq_gq |
|
9 |
1 |
63 |
| fp_c_to_fpcr_1 |
|
16 |
4 |
132 |
| fp_c_to_fpcr |
|
4 |
1 |
25 |
| alpha_write_fp_c |
|
13 |
2 |
75 |
| alpha_read_fp_c |
|
4 |
1 |
18 |
| float64_unk |
|
4 |
1 |
13 |
| alpha_fp_interpret |
|
64 |
16 |
437 |
| alpha_fp_complete_at |
|
33 |
5 |
238 |
| alpha_fp_complete |
|
69 |
19 |
429 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usage |
|
8 |
1 |
50 |
| main |
|
158 |
56 |
1004 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/netboot/if_prom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| prom_match |
|
4 |
1 |
18 |
| prom_probe |
|
4 |
1 |
16 |
| prom_put |
|
5 |
1 |
30 |
| prom_get |
|
23 |
6 |
147 |
| prom_init |
|
74 |
15 |
463 |
| prom_end |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/netboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/netboot/devopen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devopen |
|
90 |
36 |
575 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/netboot/dev_net.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| net_open |
|
42 |
11 |
202 |
| net_close |
|
20 |
7 |
91 |
| net_ioctl |
|
4 |
1 |
8 |
| net_strategy |
|
4 |
1 |
8 |
| net_getparams |
|
30 |
9 |
165 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/netboot/netboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
27 |
3 |
191 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/netboot/dev_net.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/netboot/getsecs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getsecs |
|
20 |
4 |
127 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/boot/filesystem.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/boot/test.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
23 |
1 |
191 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/boot/disk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/boot/devopen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devopen |
|
70 |
22 |
438 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/boot/disk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| diskstrategy |
|
24 |
5 |
163 |
| diskopen |
|
55 |
12 |
426 |
| diskclose |
|
9 |
1 |
52 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/boot/boot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loadrandom |
|
17 |
7 |
123 |
| main |
|
54 |
6 |
419 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/bootxx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| open_dev |
|
14 |
2 |
80 |
| load_file |
|
51 |
10 |
308 |
| main |
|
18 |
3 |
98 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/OSFpal.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| OSFpal |
|
19 |
2 |
128 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/headersize.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
31 |
11 |
259 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/loadfile_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| check_phdr |
|
29 |
5 |
179 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/installboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usage |
|
7 |
1 |
22 |
| main |
|
107 |
31 |
791 |
| loadprotoblocks |
|
56 |
11 |
377 |
| devread |
|
7 |
3 |
71 |
| loadblocknums |
|
94 |
30 |
807 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/bbinfo.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/prom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| init_prom_calls |
|
13 |
1 |
90 |
| getchar |
|
9 |
4 |
53 |
| putchar |
|
18 |
5 |
108 |
| prom_getenv |
|
16 |
3 |
113 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/stand/puts.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| puts |
|
6 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/sfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sfbmatch |
|
10 |
2 |
55 |
| sfb_getdevconfig |
|
75 |
10 |
605 |
| sfbattach |
|
37 |
4 |
269 |
| sfbioctl |
|
46 |
17 |
332 |
| sfbmmap |
|
10 |
3 |
52 |
| sfb_alloc_screen |
|
19 |
2 |
118 |
| sfb_free_screen |
|
9 |
2 |
42 |
| sfb_cnattach |
|
12 |
1 |
70 |
| sfb_blank |
|
10 |
2 |
58 |
| sfb_unblank |
|
10 |
2 |
57 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_3000_300.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_3000_500.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tc_3000_500_intr_setup |
|
14 |
3 |
98 |
| tc_3000_500_intr_disestablish |
|
18 |
4 |
119 |
| tc_3000_500_intrnull |
|
6 |
1 |
20 |
| tc_3000_500_iointr |
|
36 |
4 |
192 |
| tc_3000_500_fb_cnattach |
|
17 |
4 |
70 |
| tc_3000_500_ioslot |
|
19 |
2 |
85 |
| tc_3000_500_activate |
|
10 |
3 |
58 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_dma_3000_300.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tc_dma_init |
|
7 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/ioasic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ioasicmatch |
|
13 |
5 |
80 |
| ioasicattach |
|
37 |
7 |
289 |
| ioasic_intr_disestablish |
|
21 |
6 |
174 |
| ioasic_intrnull |
|
6 |
1 |
20 |
| ioasic_intr |
|
25 |
3 |
137 |
| ioasic_led_blink |
|
56 |
16 |
324 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_dma_3000_500.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/sfbvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_3000_300.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tc_3000_300_intr_setup |
|
12 |
2 |
81 |
| switch |
|
10 |
3 |
30 |
| tc_3000_300_intr_disestablish |
|
27 |
6 |
146 |
| tc_3000_300_intrnull |
|
6 |
1 |
20 |
| tc_3000_300_iointr |
|
37 |
5 |
194 |
| tc_3000_300_fb_cnattach |
|
13 |
3 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_sgmap.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_sgmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_3000_500.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/cfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cfbmatch |
|
10 |
2 |
55 |
| cfb_getdevconfig |
|
48 |
6 |
398 |
| cfbattach |
|
33 |
3 |
234 |
| cfbioctl |
|
46 |
17 |
332 |
| cfbmmap |
|
10 |
2 |
48 |
| cfbintr |
|
7 |
1 |
40 |
| cfb_alloc_screen |
|
19 |
2 |
118 |
| cfb_free_screen |
|
9 |
2 |
42 |
| cfb_cnattach |
|
12 |
1 |
71 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tcasic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcasicmatch |
|
11 |
3 |
61 |
| tcasicattach |
|
54 |
7 |
288 |
| tcasicactivate |
|
9 |
3 |
39 |
| tcasicprint |
|
8 |
2 |
33 |
| tc_fb_cnattach |
|
15 |
6 |
124 |
| tc_fb_cnattach |
|
5 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_dma_3000_500.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tc_dma_init_3000_500 |
|
14 |
2 |
83 |
| tc_dma_get_tag_3000_500 |
|
5 |
1 |
13 |
| tc_bus_dmamap_load_sgmap |
|
10 |
1 |
59 |
| tc_bus_dmamap_load_mbuf_sgmap |
|
8 |
1 |
44 |
| tc_bus_dmamap_load_uio_sgmap |
|
8 |
1 |
44 |
| tc_bus_dmamap_load_raw_sgmap |
|
10 |
1 |
57 |
| tc_bus_dmamap_unload_sgmap |
|
7 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_bus_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tc_bus_mem_init |
|
7 |
1 |
27 |
| tc_mem_map |
|
19 |
5 |
97 |
| tc_mem_unmap |
|
6 |
1 |
20 |
| tc_mem_subregion |
|
13 |
3 |
79 |
| tc_mem_alloc |
|
9 |
1 |
53 |
| tc_mem_free |
|
7 |
1 |
25 |
| tc_mem_vaddr |
|
7 |
3 |
37 |
| tc_mem_barrier |
|
11 |
3 |
58 |
| tc_mem_read_1 |
|
12 |
2 |
62 |
| tc_mem_read_2 |
|
12 |
2 |
62 |
| tc_mem_read_4 |
|
13 |
2 |
75 |
| tc_mem_read_8 |
|
12 |
2 |
62 |
| tc_mem_write_1 |
|
22 |
2 |
145 |
| tc_mem_write_2 |
|
22 |
2 |
146 |
| tc_mem_write_4 |
|
14 |
2 |
79 |
| tc_mem_write_8 |
|
13 |
2 |
66 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/tc_dma_3000_300.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tc_dma_get_tag_3000_300 |
|
6 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/cfbvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/tc/mcclock_ioasic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcclock_ioasic_match |
|
9 |
2 |
52 |
| mcclock_ioasic_attach |
|
9 |
1 |
65 |
| mcclock_ioasic_write |
|
7 |
1 |
43 |
| mcclock_ioasic_read |
|
7 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/mcpcia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcpciaprint |
|
10 |
2 |
54 |
| mcpciamatch |
|
10 |
2 |
48 |
| mcpciaattach |
|
49 |
5 |
332 |
| mcpcia_init |
|
18 |
4 |
111 |
| mcpcia_init0 |
|
39 |
5 |
262 |
| mcpcia_config_cleanup |
|
20 |
4 |
113 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/lca_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lca_dma_init |
|
71 |
2 |
414 |
| lca_dma_get_tag |
|
15 |
4 |
61 |
| lca_bus_dmamap_load_sgmap |
|
15 |
2 |
76 |
| lca_bus_dmamap_load_mbuf_sgmap |
|
12 |
2 |
61 |
| lca_bus_dmamap_load_uio_sgmap |
|
12 |
2 |
61 |
| lca_bus_dmamap_load_raw_sgmap |
|
15 |
2 |
74 |
| lca_bus_dmamap_unload_sgmap |
|
8 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_alphabook1.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_1000.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_sgmap_pte64.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/cia.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ciamatch |
|
12 |
3 |
64 |
| cia_init |
|
65 |
18 |
401 |
| ciaattach |
|
88 |
22 |
465 |
| ciaprint |
|
10 |
2 |
54 |
| cia_pyxis_intr_enable |
|
18 |
4 |
88 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsp_bus_io.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_2100_a50.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/mcpciareg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_6600.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/irongate_bus_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| irongate_bus_mem_init2 |
|
46 |
12 |
261 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/irongate_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| irongate_dma_init |
|
50 |
2 |
276 |
| irongate_dma_get_tag |
|
13 |
4 |
57 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/sio_pic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i82378_setup_elcr |
|
22 |
4 |
136 |
| i82378_read_elcr |
|
5 |
1 |
21 |
| i82378_write_elcr |
|
6 |
1 |
25 |
| cy82c693_setup_elcr |
|
19 |
3 |
102 |
| cy82c693_read_elcr |
|
5 |
1 |
21 |
| cy82c693_write_elcr |
|
6 |
1 |
25 |
| sio_setirqstat |
|
31 |
6 |
259 |
| sio_intr_setup |
|
51 |
16 |
313 |
| sio_intr_shutdown |
|
9 |
3 |
67 |
| sio_intr_string |
|
10 |
4 |
60 |
| sio_intr_line |
|
6 |
1 |
20 |
| if |
|
6 |
1 |
43 |
| sio_intr_disestablish |
|
27 |
7 |
132 |
| sio_iointr |
|
14 |
5 |
77 |
| sio_intr_alloc |
|
44 |
14 |
308 |
| sio_intr_check |
|
19 |
11 |
101 |
| specific_eoi |
|
10 |
2 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_kn300.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_kn300_pickintr |
|
25 |
5 |
147 |
| dec_kn300_intr_map |
|
37 |
7 |
255 |
| dec_kn300_intr_string |
|
12 |
2 |
61 |
| if |
|
9 |
1 |
66 |
| dec_kn300_intr_disestablish |
|
5 |
1 |
20 |
| kn300_iointr |
|
23 |
6 |
131 |
| kn300_enable_intr |
|
8 |
1 |
39 |
| kn300_disable_intr |
|
8 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/cia_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cia_pci_init |
|
13 |
1 |
63 |
| cia_attach_hook |
|
5 |
1 |
23 |
| cia_bus_maxdevs |
|
6 |
1 |
18 |
| cia_make_tag |
|
6 |
1 |
45 |
| cia_decompose_tag |
|
12 |
4 |
85 |
| cia_conf_size |
|
4 |
1 |
14 |
| cia_conf_read |
|
67 |
11 |
363 |
| cia_conf_write |
|
50 |
7 |
256 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/sioreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_kn20aa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/siovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_1000a.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsp_bus_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tsp_bus_mem_init2 |
|
23 |
5 |
168 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_axppci_33.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_axppci_33_pickintr |
|
23 |
3 |
133 |
| dec_axppci_33_intr_map |
|
81 |
20 |
332 |
| dec_axppci_33_intr_string |
|
6 |
1 |
23 |
| dec_axppci_33_intr_line |
|
6 |
1 |
23 |
| dec_axppci_33_intr_disestablish |
|
5 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_up1000.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_up1000_pickintr |
|
17 |
2 |
85 |
| api_up1000_intr_map |
|
21 |
7 |
113 |
| api_up1000_intr_string |
|
5 |
2 |
26 |
| api_up1000_intr_line |
|
4 |
1 |
19 |
| api_up1000_intr_establish |
|
7 |
2 |
58 |
| api_up1000_intr_disestablish |
|
5 |
2 |
26 |
| api_up1000_pciide_compat_intr_establish |
|
16 |
4 |
124 |
| api_up1000_pciide_compat_intr_disestablish |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/irongatereg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_alphabook1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_alphabook1_pickintr |
|
21 |
3 |
125 |
| dec_alphabook1_intr_map |
|
25 |
6 |
132 |
| dec_alphabook1_intr_string |
|
4 |
1 |
19 |
| dec_alphabook1_intr_line |
|
4 |
1 |
19 |
| dec_alphabook1_intr_establish |
|
6 |
1 |
51 |
| dec_alphabook1_intr_disestablish |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_550.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_550_pickintr |
|
27 |
5 |
147 |
| dec_550_intr_map |
|
43 |
15 |
238 |
| dec_550_intr_string |
|
14 |
5 |
79 |
| dec_550_intr_line |
|
8 |
3 |
40 |
| if |
|
5 |
1 |
34 |
| dec_550_intr_disestablish |
|
21 |
4 |
116 |
| dec_550_pciide_compat_intr_disestablish |
|
6 |
1 |
23 |
| dec_550_iointr |
|
16 |
4 |
84 |
| dec_550_intr_enable |
|
5 |
1 |
18 |
| dec_550_intr_disable |
|
5 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/lca_bus_mem.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_disestablish |
|
6 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/mcpcia_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcpcia_dma_init |
|
110 |
1 |
701 |
| mcpcia_dma_get_tag |
|
15 |
4 |
61 |
| mcpcia_bus_dmamap_load_sgmap |
|
16 |
2 |
86 |
| mcpcia_bus_dmamap_load_mbuf_sgmap |
|
13 |
2 |
71 |
| mcpcia_bus_dmamap_load_uio_sgmap |
|
13 |
2 |
71 |
| mcpcia_bus_dmamap_load_raw_sgmap |
|
16 |
2 |
84 |
| mcpcia_bus_dmamap_unload_sgmap |
|
9 |
1 |
46 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_550.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tscmatch |
|
14 |
4 |
64 |
| tscattach |
|
44 |
9 |
336 |
| tscprint |
|
11 |
3 |
59 |
| tspmatch |
|
14 |
3 |
61 |
| tspattach |
|
25 |
2 |
166 |
| tsp_init |
|
45 |
7 |
298 |
| tspprint |
|
10 |
2 |
52 |
| tsp_bus_get_window |
|
24 |
4 |
121 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/irongate_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| irongate_pci_init |
|
11 |
1 |
59 |
| irongate_attach_hook |
|
4 |
1 |
19 |
| irongate_bus_maxdevs |
|
4 |
1 |
14 |
| irongate_make_tag |
|
4 |
1 |
39 |
| irongate_decompose_tag |
|
9 |
4 |
77 |
| irongate_conf_size |
|
4 |
1 |
14 |
| irongate_conf_read |
|
8 |
2 |
58 |
| irongate_conf_read0 |
|
13 |
1 |
74 |
| irongate_conf_write |
|
12 |
1 |
73 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/apecs_bus_io.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __C( CHIP , _bus_mem_init) |
|
101 |
16 |
911 |
| __C( CHIP , _xlate_addr_to_dense_handle) |
|
13 |
4 |
69 |
| __C( CHIP , _xlate_dense_handle_to_addr) |
|
14 |
4 |
73 |
| __C( CHIP , _xlate_addr_to_sparse_handle) |
|
28 |
10 |
172 |
| __C( CHIP , _xlate_sparse_handle_to_addr) |
|
26 |
10 |
206 |
| __C( CHIP , _mem_map) |
|
78 |
38 |
613 |
| __C( CHIP , _mem_unmap) |
|
42 |
16 |
300 |
| __C( CHIP , _mem_subregion) |
|
8 |
1 |
40 |
| __C( CHIP , _mem_alloc) |
|
10 |
1 |
62 |
| __C( CHIP , _mem_free) |
|
7 |
1 |
34 |
| __C( CHIP , _mem_vaddr) |
|
8 |
2 |
39 |
| __C( CHIP , _mem_barrier) |
|
11 |
3 |
57 |
| __C( CHIP , _mem_read_1) |
|
19 |
2 |
126 |
| __C( CHIP , _mem_read_2) |
|
19 |
2 |
126 |
| __C( CHIP , _mem_read_4) |
|
20 |
3 |
130 |
| __C( CHIP , _mem_read_8) |
|
10 |
2 |
63 |
| __C( CHIP , _mem_write_1) |
|
20 |
2 |
122 |
| __C( CHIP , _mem_write_2) |
|
20 |
2 |
122 |
| __C( CHIP , _mem_write_4) |
|
20 |
2 |
115 |
| __C( CHIP , _mem_write_8) |
|
14 |
2 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/apecsvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/cia_bwx_bus_io.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/ciavar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/mcpcia_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcpcia_pci_init |
|
13 |
1 |
63 |
| mcpcia_attach_hook |
|
5 |
1 |
23 |
| mcpcia_bus_maxdevs |
|
6 |
1 |
20 |
| mcpcia_make_tag |
|
8 |
1 |
54 |
| mcpcia_decompose_tag |
|
12 |
4 |
85 |
| mcpcia_conf_size |
|
4 |
1 |
14 |
| mcpcia_conf_read |
|
24 |
5 |
168 |
| mcpcia_conf_write |
|
22 |
4 |
140 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/irongate_bus_io.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_1000.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_1000_pickintr |
|
26 |
4 |
142 |
| dec_1000_intr_map |
|
34 |
10 |
184 |
| dec_1000_intr_string |
|
11 |
2 |
62 |
| dec_1000_intr_line |
|
7 |
2 |
28 |
| if |
|
5 |
1 |
34 |
| dec_1000_intr_disestablish |
|
16 |
2 |
88 |
| dec_1000_iointr |
|
14 |
3 |
71 |
| dec_1000_enable_intr |
|
5 |
1 |
21 |
| dec_1000_disable_intr |
|
5 |
1 |
23 |
| pci_1000_imi |
|
4 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __C( CHIP , _bus_mem_init) |
|
61 |
1 |
607 |
| __C( CHIP , _mem_map) |
|
20 |
5 |
117 |
| __C( CHIP , _mem_unmap) |
|
19 |
6 |
125 |
| __C( CHIP , _mem_subregion) |
|
8 |
1 |
40 |
| __C( CHIP , _mem_alloc) |
|
24 |
6 |
159 |
| __C( CHIP , _mem_free) |
|
7 |
1 |
33 |
| __C( CHIP , _mem_vaddr) |
|
6 |
1 |
23 |
| __C( CHIP , _mem_barrier) |
|
11 |
3 |
57 |
| __C( CHIP , _mem_read_1) |
|
10 |
1 |
44 |
| __C( CHIP , _mem_read_2) |
|
13 |
3 |
66 |
| __C( CHIP , _mem_read_4) |
|
13 |
3 |
64 |
| __C( CHIP , _mem_read_8) |
|
8 |
1 |
38 |
| __C( CHIP , _mem_write_1) |
|
11 |
1 |
48 |
| __C( CHIP , _mem_write_2) |
|
14 |
3 |
70 |
| __C( CHIP , _mem_write_4) |
|
14 |
3 |
68 |
| __C( CHIP , _mem_write_8) |
|
9 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_6600.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_6600_pickintr |
|
29 |
5 |
146 |
| dec_6600_intr_map |
|
27 |
7 |
142 |
| dec_6600_intr_string |
|
12 |
3 |
69 |
| dec_6600_intr_line |
|
9 |
3 |
40 |
| if |
|
5 |
1 |
34 |
| dec_6600_intr_disestablish |
|
20 |
4 |
109 |
| dec_6600_iointr |
|
15 |
4 |
84 |
| dec_6600_intr_enable |
|
7 |
1 |
27 |
| dec_6600_intr_disable |
|
7 |
1 |
29 |
| dec_6600_pciide_compat_intr_disestablish |
|
6 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/lca.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lcamatch |
|
12 |
3 |
64 |
| lca_init |
|
25 |
3 |
148 |
| lcaattach |
|
38 |
8 |
201 |
| lcaprint |
|
10 |
2 |
54 |
| lca_bus_get_window |
|
18 |
3 |
80 |
| lca_machine_check |
|
8 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_sgmap_pte64.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_kn20aa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_kn20aa_pickintr |
|
21 |
3 |
119 |
| dec_kn20aa_intr_map |
|
51 |
11 |
248 |
| dec_kn20aa_intr_string |
|
10 |
2 |
52 |
| dec_kn20aa_intr_line |
|
6 |
1 |
20 |
| if |
|
5 |
1 |
34 |
| dec_kn20aa_intr_disestablish |
|
16 |
2 |
88 |
| kn20aa_iointr |
|
14 |
3 |
71 |
| kn20aa_enable_intr |
|
7 |
1 |
31 |
| kn20aa_disable_intr |
|
7 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/mcpciavar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsp_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tsp_dma_init |
|
93 |
13 |
740 |
| tsp_dma_get_tag |
|
15 |
4 |
61 |
| tsp_bus_dmamap_load_sgmap |
|
15 |
2 |
79 |
| tsp_bus_dmamap_load_mbuf_sgmap |
|
12 |
2 |
64 |
| tsp_bus_dmamap_load_uio_sgmap |
|
12 |
2 |
64 |
| tsp_bus_dmamap_load_raw_sgmap |
|
15 |
2 |
77 |
| tsp_bus_dmamap_unload_sgmap |
|
8 |
1 |
39 |
| tsp_tlb_invalidate |
|
7 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/cia_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cia_dma_init |
|
95 |
6 |
553 |
| cia_dma_get_tag |
|
15 |
4 |
61 |
| cia_bus_dmamap_create_direct |
|
28 |
5 |
144 |
| cia_bus_dmamap_destroy_direct |
|
7 |
1 |
26 |
| cia_bus_dmamap_load_sgmap |
|
15 |
2 |
76 |
| cia_bus_dmamap_load_mbuf_sgmap |
|
12 |
2 |
61 |
| cia_bus_dmamap_load_uio_sgmap |
|
12 |
2 |
61 |
| cia_bus_dmamap_load_raw_sgmap |
|
15 |
2 |
74 |
| cia_bus_dmamap_unload_sgmap |
|
8 |
1 |
36 |
| cia_tlb_invalidate |
|
6 |
1 |
20 |
| cia_broken_pyxis_tlb_invalidate |
|
20 |
2 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/mcpcia_bus_io.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_eb164.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/apecsreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __C( CHIP , _bus_io_init) |
|
60 |
1 |
607 |
| __C( CHIP , _io_map) |
|
21 |
6 |
128 |
| __C( CHIP , _io_unmap) |
|
19 |
6 |
125 |
| __C( CHIP , _io_subregion) |
|
8 |
1 |
40 |
| __C( CHIP , _io_alloc) |
|
10 |
1 |
62 |
| __C( CHIP , _io_free) |
|
7 |
1 |
34 |
| __C( CHIP , _io_vaddr) |
|
6 |
1 |
19 |
| __C( CHIP , _io_barrier) |
|
11 |
3 |
57 |
| __C( CHIP , _io_read_1) |
|
10 |
1 |
44 |
| __C( CHIP , _io_read_2) |
|
13 |
3 |
66 |
| __C( CHIP , _io_read_4) |
|
13 |
3 |
64 |
| __C( CHIP , _io_read_8) |
|
7 |
1 |
34 |
| __C( CHIP , _io_write_1) |
|
11 |
1 |
48 |
| __C( CHIP , _io_write_2) |
|
14 |
3 |
70 |
| __C( CHIP , _io_write_4) |
|
14 |
3 |
68 |
| __C( CHIP , _io_write_8) |
|
9 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_display_console |
|
35 |
9 |
212 |
| alpha_sysctl_chipset |
|
29 |
9 |
171 |
| pci_intr_map |
|
8 |
4 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsciic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tsciic_match |
|
5 |
1 |
43 |
| tsciic_attach |
|
19 |
1 |
149 |
| tsciic_acquire_bus |
|
7 |
3 |
44 |
| tsciic_release_bus |
|
7 |
3 |
38 |
| tsciic_send_start |
|
4 |
1 |
22 |
| tsciic_send_stop |
|
4 |
1 |
22 |
| tsciic_initiate_xfer |
|
4 |
1 |
27 |
| tsciic_read_byte |
|
4 |
1 |
28 |
| tsciic_write_byte |
|
4 |
1 |
27 |
| tsciicbb_set_bits |
|
9 |
3 |
51 |
| tsciicbb_set_dir |
|
3 |
1 |
11 |
| tsciicbb_read |
|
9 |
3 |
46 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/irongate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| irongate_init |
|
23 |
3 |
155 |
| irongate_match |
|
9 |
3 |
58 |
| irongate_attach |
|
30 |
4 |
185 |
| irongate_print |
|
8 |
2 |
51 |
| irongate_bus_get_window |
|
23 |
4 |
113 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/apecs_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apecs_dma_init |
|
68 |
2 |
389 |
| apecs_dma_get_tag |
|
15 |
4 |
61 |
| apecs_bus_dmamap_load_sgmap |
|
15 |
2 |
76 |
| apecs_bus_dmamap_load_mbuf_sgmap |
|
12 |
2 |
61 |
| apecs_bus_dmamap_load_uio_sgmap |
|
12 |
2 |
61 |
| apecs_bus_dmamap_load_raw_sgmap |
|
15 |
2 |
74 |
| apecs_bus_dmamap_unload_sgmap |
|
8 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/lca_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lca_pci_init |
|
13 |
1 |
63 |
| lca_attach_hook |
|
5 |
1 |
23 |
| lca_bus_maxdevs |
|
9 |
2 |
28 |
| lca_make_tag |
|
6 |
1 |
45 |
| lca_decompose_tag |
|
12 |
4 |
85 |
| lca_conf_size |
|
4 |
1 |
14 |
| lca_conf_read |
|
45 |
7 |
275 |
| lca_conf_write |
|
34 |
4 |
193 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/lcavar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/apecs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apecsmatch |
|
12 |
3 |
64 |
| apecs_init |
|
30 |
4 |
195 |
| apecsattach |
|
49 |
14 |
295 |
| apecsprint |
|
10 |
2 |
54 |
| apecs_bus_get_window |
|
18 |
3 |
80 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/lcareg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_eb164.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_eb164_pickintr |
|
30 |
6 |
176 |
| dec_eb164_intr_map |
|
40 |
15 |
216 |
| dec_eb164_intr_string |
|
11 |
3 |
59 |
| dec_eb164_intr_line |
|
6 |
1 |
20 |
| if |
|
5 |
1 |
34 |
| dec_eb164_intr_disestablish |
|
17 |
3 |
95 |
| dec_eb164_pciide_compat_intr_disestablish |
|
4 |
1 |
19 |
| eb164_iointr |
|
14 |
3 |
71 |
| eb164_intr_enable |
|
9 |
2 |
63 |
| eb164_intr_disable |
|
9 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/tsp_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tsp_pci_init |
|
13 |
1 |
63 |
| tsp_attach_hook |
|
5 |
1 |
23 |
| tsp_bus_maxdevs |
|
6 |
1 |
18 |
| tsp_make_tag |
|
6 |
1 |
39 |
| tsp_decompose_tag |
|
12 |
4 |
85 |
| tsp_conf_size |
|
4 |
1 |
14 |
| tsp_conf_read |
|
13 |
1 |
68 |
| tsp_conf_write |
|
13 |
1 |
68 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_eb64plus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_eb64plus_pickintr |
|
25 |
5 |
149 |
| dec_eb64plus_intr_map |
|
19 |
5 |
100 |
| dec_eb64plus_intr_string |
|
10 |
2 |
52 |
| if |
|
5 |
1 |
34 |
| dec_eb64plus_intr_disestablish |
|
16 |
2 |
88 |
| eb64plus_iointr |
|
14 |
3 |
71 |
| eb64plus_intr_enable |
|
9 |
2 |
63 |
| eb64plus_intr_disable |
|
9 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/cia_bwx_bus_mem.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_up1000.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/lca_bus_io.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_eb64plus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __C( CHIP , _bus_io_init) |
|
70 |
6 |
699 |
| __C( CHIP , _io_map) |
|
43 |
15 |
293 |
| __C( CHIP , _io_unmap) |
|
40 |
14 |
305 |
| __C( CHIP , _io_subregion) |
|
8 |
1 |
40 |
| __C( CHIP , _io_alloc) |
|
10 |
1 |
62 |
| __C( CHIP , _io_free) |
|
7 |
1 |
34 |
| __C( CHIP , _io_vaddr) |
|
6 |
1 |
19 |
| __C( CHIP , _io_barrier) |
|
11 |
3 |
57 |
| __C( CHIP , _io_read_1) |
|
17 |
1 |
101 |
| __C( CHIP , _io_read_2) |
|
17 |
1 |
101 |
| __C( CHIP , _io_read_4) |
|
18 |
2 |
105 |
| __C( CHIP , _io_read_8) |
|
7 |
1 |
34 |
| __C( CHIP , _io_write_1) |
|
16 |
1 |
93 |
| __C( CHIP , _io_write_2) |
|
16 |
1 |
93 |
| __C( CHIP , _io_write_4) |
|
16 |
1 |
86 |
| __C( CHIP , _io_write_8) |
|
9 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_1000a.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_1000a_pickintr |
|
26 |
5 |
158 |
| dec_1000a_intr_map |
|
64 |
11 |
374 |
| dec_1000a_intr_string |
|
11 |
2 |
62 |
| dec_1000a_intr_line |
|
7 |
2 |
28 |
| if |
|
5 |
1 |
34 |
| dec_1000a_intr_disestablish |
|
16 |
2 |
88 |
| dec_1000a_iointr |
|
14 |
3 |
71 |
| dec_1000a_enable_intr |
|
7 |
1 |
43 |
| dec_1000a_disable_intr |
|
7 |
1 |
45 |
| pci_1000a_imi |
|
5 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_axppci_33.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/cia_bus_mem.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_kn300.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/ciareg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/apecs_bus_mem.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/sio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siomatch |
|
21 |
10 |
141 |
| pcebmatch |
|
11 |
3 |
60 |
| sioattach |
|
14 |
2 |
101 |
| sioactivate |
|
14 |
2 |
59 |
| sio_bridge_callback |
|
35 |
3 |
277 |
| sioprint |
|
9 |
2 |
45 |
| sio_isa_attach_hook |
|
5 |
1 |
23 |
| sio_eisa_attach_hook |
|
6 |
2 |
30 |
| sio_eisa_intr_map |
|
17 |
3 |
70 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/mcpcia_bus_mem.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/irongatevar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/cia_bus_io.c |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/apecs_pci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apecs_pci_init |
|
13 |
1 |
63 |
| apecs_attach_hook |
|
5 |
1 |
23 |
| apecs_bus_maxdevs |
|
6 |
1 |
18 |
| apecs_make_tag |
|
6 |
1 |
45 |
| apecs_decompose_tag |
|
12 |
4 |
85 |
| apecs_conf_size |
|
4 |
1 |
14 |
| apecs_conf_read |
|
37 |
6 |
216 |
| apecs_conf_write |
|
38 |
4 |
196 |
| Source file: /home/sergeyb/sources/src/sys/arch/alpha/pci/pci_2100_a50.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_2100_a50_pickintr |
|
22 |
3 |
133 |
| dec_2100_a50_intr_map |
|
84 |
21 |
350 |
| dec_2100_a50_intr_string |
|
6 |
1 |
23 |
| dec_2100_a50_intr_line |
|
6 |
1 |
23 |
| dec_2100_a50_intr_disestablish |
|
5 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/isa/isa_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isa_strayintr |
|
6 |
3 |
37 |
| fakeintr |
|
4 |
1 |
11 |
| isa_intr_alloc |
|
39 |
14 |
230 |
| isa_intr_check |
|
20 |
9 |
95 |
| isa_intr_establish |
|
22 |
6 |
146 |
| isa_intr_disestablish |
|
5 |
1 |
18 |
| isa_attach_hook |
|
8 |
2 |
36 |
| _isa_bus_dmamap_create |
|
43 |
10 |
276 |
| _isa_bus_dmamap_destroy |
|
8 |
2 |
50 |
| _isa_bus_dmamap_load |
|
32 |
7 |
219 |
| _isa_bus_dmamap_load_mbuf |
|
5 |
1 |
23 |
| _isa_bus_dmamap_load_uio |
|
5 |
1 |
23 |
| _isa_bus_dmamap_load_raw |
|
5 |
1 |
28 |
| _isa_bus_dmamap_unload |
|
9 |
3 |
59 |
| _isa_bus_dmamap_sync |
|
25 |
13 |
188 |
| _isa_bus_dmamem_alloc |
|
13 |
2 |
105 |
| _isa_dma_check_buffer |
|
35 |
9 |
195 |
| _isa_dma_alloc_bouncebuf |
|
27 |
3 |
164 |
| _isa_dma_free_bouncebuf |
|
12 |
1 |
68 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/isa/nvram.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/isa/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mc146818_read |
|
6 |
1 |
33 |
| mc146818_write |
|
7 |
1 |
40 |
| startclocks |
|
7 |
1 |
29 |
| clockintr |
|
14 |
3 |
54 |
| rtcintr |
|
10 |
2 |
47 |
| gettick |
|
14 |
1 |
82 |
| i8254_delay |
|
36 |
5 |
257 |
| rtcdrain |
|
8 |
3 |
43 |
| i8254_initclocks |
|
11 |
1 |
56 |
| rtcstart |
|
8 |
1 |
56 |
| rtcstop |
|
4 |
1 |
15 |
| rtcget |
|
7 |
2 |
41 |
| rtcput |
|
4 |
1 |
15 |
| bcdtobin |
|
4 |
1 |
29 |
| bintobcd |
|
4 |
1 |
38 |
| cmoscheck |
|
9 |
2 |
61 |
| clock_expandyear |
|
32 |
12 |
188 |
| inittodr |
|
46 |
8 |
304 |
| resettodr |
|
32 |
6 |
252 |
| setstatclockrate |
|
11 |
3 |
44 |
| i8254_inittimecounter |
|
4 |
1 |
12 |
| i8254_inittimecounter_simple |
|
11 |
1 |
50 |
| i8254_startclock |
|
7 |
1 |
47 |
| i8254_simple_get_timecount |
|
4 |
1 |
18 |
| i8254_get_timecount |
|
20 |
2 |
108 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/codepatch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/pmap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_remove_all |
|
3 |
1 |
9 |
| pmap_update_pg |
|
4 |
1 |
12 |
| pmap_update_2pg |
|
5 |
1 |
20 |
| pmap_page_protect |
|
10 |
3 |
54 |
| pmap_protect |
|
10 |
3 |
65 |
| vtopte |
|
4 |
1 |
17 |
| kvtopte |
|
10 |
3 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/mpbiosvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/vmmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/gdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/i8259.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/hibernate.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __amd64_read_tcb |
|
6 |
1 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/cpuvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/biosvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/cpufunc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| invlpg |
|
4 |
1 |
21 |
| lidt |
|
4 |
1 |
22 |
| lldt |
|
4 |
1 |
19 |
| ltr |
|
4 |
1 |
19 |
| lcr8 |
|
5 |
1 |
24 |
| lcr0 |
|
5 |
1 |
24 |
| rcr0 |
|
8 |
1 |
30 |
| rcr2 |
|
6 |
1 |
23 |
| lcr3 |
|
4 |
1 |
19 |
| rcr3 |
|
6 |
1 |
23 |
| lcr4 |
|
5 |
1 |
24 |
| rcr4 |
|
6 |
1 |
26 |
| tlbflush |
|
6 |
1 |
32 |
| disable_intr |
|
4 |
1 |
12 |
| enable_intr |
|
4 |
1 |
12 |
| read_rflags |
|
6 |
1 |
25 |
| write_rflags |
|
4 |
1 |
19 |
| intr_disable |
|
7 |
1 |
24 |
| intr_restore |
|
4 |
1 |
12 |
| rdmsr |
|
6 |
1 |
51 |
| wrmsr |
|
5 |
1 |
37 |
| rdmsr_locked |
|
8 |
1 |
59 |
| wrmsr_locked |
|
5 |
1 |
45 |
| wbinvd |
|
4 |
1 |
12 |
| clflush |
|
4 |
1 |
24 |
| mfence |
|
4 |
1 |
16 |
| rdtsc |
|
6 |
1 |
45 |
| rdpmc |
|
6 |
1 |
51 |
| monitor |
|
5 |
1 |
38 |
| mwait |
|
4 |
1 |
27 |
| xsetbv |
|
7 |
1 |
49 |
| xgetbv |
|
6 |
1 |
51 |
| breakpoint |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/ioctl_fd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/rbus_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/frameasm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/apicvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/specialreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/pic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/pio.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __inbc |
|
6 |
1 |
29 |
| __inb |
|
6 |
1 |
29 |
| insb |
|
9 |
1 |
54 |
| __inwc |
|
6 |
1 |
29 |
| __inw |
|
6 |
1 |
29 |
| insw |
|
9 |
1 |
54 |
| __inlc |
|
6 |
1 |
29 |
| __inl |
|
6 |
1 |
29 |
| insl |
|
9 |
1 |
54 |
| __outbc |
|
4 |
1 |
27 |
| __outb |
|
4 |
1 |
27 |
| outsb |
|
8 |
1 |
53 |
| __outwc |
|
4 |
1 |
27 |
| __outw |
|
4 |
1 |
27 |
| outsw |
|
8 |
1 |
53 |
| __outlc |
|
4 |
1 |
27 |
| __outl |
|
4 |
1 |
27 |
| outsl |
|
8 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/isa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/efifbvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/segments.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/i82489var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _atomic_cas_uint |
|
7 |
1 |
57 |
| _atomic_cas_ulong |
|
7 |
1 |
57 |
| _atomic_cas_ptr |
|
7 |
1 |
66 |
| _atomic_swap_uint |
|
7 |
1 |
47 |
| _atomic_swap_ulong |
|
7 |
1 |
47 |
| _atomic_swap_64 |
|
7 |
1 |
45 |
| _atomic_swap_ptr |
|
7 |
1 |
56 |
| _atomic_inc_int |
|
5 |
1 |
23 |
| _atomic_inc_long |
|
5 |
1 |
23 |
| _atomic_dec_int |
|
5 |
1 |
23 |
| _atomic_dec_long |
|
5 |
1 |
23 |
| _atomic_add_int |
|
6 |
1 |
32 |
| _atomic_add_long |
|
6 |
1 |
32 |
| _atomic_sub_int |
|
6 |
1 |
32 |
| _atomic_sub_long |
|
6 |
1 |
32 |
| _atomic_add_int_nv |
|
7 |
1 |
45 |
| _atomic_add_long_nv |
|
7 |
1 |
45 |
| _atomic_sub_int_nv |
|
7 |
1 |
47 |
| _atomic_sub_long_nv |
|
7 |
1 |
47 |
| x86_atomic_setbits_u32 |
|
4 |
1 |
30 |
| x86_atomic_clearbits_u32 |
|
4 |
1 |
30 |
| x86_atomic_setbits_u64 |
|
4 |
1 |
30 |
| x86_atomic_clearbits_u64 |
|
4 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/cacheinfo.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_barrier |
|
15 |
3 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/hibernate_var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/mpconfig.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/mpbiosreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/intrdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/tss.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/i82489reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/vga_post.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/i82093var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/i82093reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/pctr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/include/fpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xsave |
|
8 |
1 |
52 |
| xrstor |
|
7 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| replacesmap |
|
12 |
2 |
56 |
| cpu_match |
|
10 |
3 |
65 |
| cpu_vm_init |
|
25 |
7 |
128 |
| cpu_idle_mwait_cycle |
|
15 |
5 |
104 |
| cpu_init_mwait |
|
31 |
11 |
193 |
| cpu_attach |
|
97 |
24 |
590 |
| cpu_init |
|
36 |
13 |
232 |
| cpu_init_vmm |
|
10 |
3 |
66 |
| cpu_boot_secondary_processors |
|
18 |
6 |
103 |
| cpu_init_idle_pcbs |
|
15 |
5 |
73 |
| cpu_start_secondary |
|
27 |
9 |
197 |
| cpu_boot_secondary |
|
13 |
5 |
80 |
| cpu_hatch |
|
43 |
12 |
284 |
| cpu_debug_dump |
|
15 |
2 |
68 |
| mp_cpu_start |
|
24 |
4 |
149 |
| mp_cpu_start_cleanup |
|
5 |
1 |
25 |
| cpu_init_msrs |
|
12 |
1 |
105 |
| patinit |
|
13 |
2 |
99 |
| rdrand |
|
27 |
7 |
149 |
| cpu_activate |
|
11 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/lapic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i82489_readreg |
|
5 |
1 |
29 |
| i82489_cpu_number |
|
4 |
1 |
15 |
| i82489_writereg |
|
5 |
1 |
33 |
| x2apic_readreg |
|
4 |
1 |
20 |
| x2apic_cpu_number |
|
4 |
1 |
14 |
| x2apic_writereg |
|
4 |
1 |
24 |
| x2apic_writeicr |
|
5 |
1 |
44 |
| lapic_cpu_number |
|
6 |
2 |
20 |
| lapic_map |
|
31 |
6 |
162 |
| lapic_enable |
|
4 |
1 |
15 |
| lapic_disable |
|
4 |
1 |
13 |
| lapic_set_lvt |
|
54 |
18 |
367 |
| lapic_boot_init |
|
24 |
6 |
158 |
| lapic_gettick |
|
4 |
1 |
12 |
| lapic_clockintr |
|
10 |
1 |
60 |
| lapic_startclock |
|
7 |
1 |
38 |
| lapic_initclocks |
|
5 |
1 |
14 |
| wait_next_cycle |
|
11 |
3 |
46 |
| lapic_calibrate_timer |
|
42 |
5 |
287 |
| lapic_delay |
|
21 |
5 |
99 |
| i82489_icr_wait |
|
10 |
5 |
50 |
| i82489_ipi_init |
|
12 |
2 |
72 |
| i82489_ipi |
|
12 |
2 |
72 |
| x2apic_ipi_init |
|
11 |
2 |
65 |
| x2apic_ipi |
|
8 |
2 |
57 |
| x86_ipi_init |
|
7 |
2 |
22 |
| lapic_hwmask |
|
9 |
1 |
47 |
| lapic_hwunmask |
|
9 |
1 |
47 |
| lapic_setup |
|
3 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/aesni.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aesni_setup |
|
34 |
3 |
243 |
| aesni_newsession |
|
136 |
29 |
930 |
| aesni_freesession |
|
46 |
9 |
326 |
| aesni_swauth |
|
10 |
2 |
58 |
| aesni_encdec |
|
165 |
33 |
1190 |
| aesni_process |
|
69 |
26 |
335 |
| pclmul_setup |
|
4 |
1 |
10 |
| ghash_update_pclmul |
|
6 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/identcpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_amd64speed |
|
5 |
1 |
18 |
| intelcore_update_sensor |
|
25 |
10 |
168 |
| via_nano_setup |
|
64 |
18 |
399 |
| via_update_sensor |
|
10 |
1 |
66 |
| cpu_freq_ctr |
|
26 |
5 |
176 |
| cpu_freq |
|
11 |
2 |
60 |
| identifycpu |
|
188 |
77 |
1602 |
| log2 |
|
7 |
2 |
28 |
| mask_width |
|
13 |
3 |
85 |
| cpu_topology |
|
54 |
8 |
436 |
| cpu_check_vmm_cap |
|
65 |
17 |
446 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/acpi_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| acpi_map |
|
18 |
3 |
126 |
| acpi_unmap |
|
5 |
1 |
33 |
| acpi_intr_establish |
|
42 |
11 |
294 |
| acpi_scan |
|
22 |
9 |
171 |
| acpi_probe |
|
33 |
8 |
204 |
| acpi_acquire_glk |
|
11 |
3 |
70 |
| acpi_release_glk |
|
9 |
2 |
56 |
| acpi_attach_machdep |
|
22 |
1 |
162 |
| acpi_sleep_clocks |
|
5 |
2 |
20 |
| acpi_resume_clocks |
|
13 |
6 |
56 |
| acpi_sleep_cpu |
|
32 |
9 |
211 |
| acpi_resume_cpu |
|
7 |
2 |
39 |
| acpi_sleep_mp |
|
14 |
4 |
71 |
| acpi_resume_mp |
|
35 |
5 |
226 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/mp_setperf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mp_setperf |
|
8 |
1 |
33 |
| x86_setperf_ipi |
|
4 |
1 |
14 |
| mp_setperf_init |
|
8 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/est.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| p4_get_bus_clock |
|
44 |
9 |
184 |
| p3_get_bus_clock |
|
65 |
19 |
227 |
| est_acpi_init |
|
26 |
5 |
175 |
| est_acpi_pss_changed |
|
34 |
6 |
229 |
| est_init |
|
93 |
24 |
640 |
| est_setperf |
|
16 |
3 |
103 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_startup |
|
24 |
3 |
179 |
| x86_64_proc0_tss_ldt_init |
|
15 |
1 |
127 |
| x86_64_init_pcb_tss_ldt |
|
8 |
1 |
67 |
| bios_getdiskinfo |
|
19 |
7 |
89 |
| bios_sysctl |
|
28 |
10 |
187 |
| cpu_sysctl |
|
77 |
27 |
505 |
| sendsig |
|
51 |
9 |
481 |
| sys_sigreturn |
|
39 |
9 |
339 |
| cpu_kick |
|
14 |
4 |
67 |
| signotify |
|
5 |
1 |
21 |
| cpu_unidle |
|
9 |
4 |
52 |
| boot |
|
49 |
15 |
237 |
| cpu_dump |
|
31 |
3 |
270 |
| dumpconf |
|
17 |
6 |
101 |
| dumpsys |
|
87 |
22 |
493 |
| reset_segs |
|
10 |
2 |
45 |
| setregs |
|
33 |
2 |
222 |
| setgate |
|
15 |
1 |
102 |
| unsetgate |
|
4 |
1 |
22 |
| setregion |
|
5 |
1 |
31 |
| set_mem_segment |
|
15 |
1 |
117 |
| set_sys_segment |
|
13 |
1 |
102 |
| cpu_init_idt |
|
6 |
1 |
36 |
| cpu_init_extents |
|
17 |
4 |
98 |
| map_tramps |
|
32 |
4 |
193 |
| init_x86_64 |
|
191 |
61 |
1510 |
| cpu_reset |
|
14 |
3 |
93 |
| cpu_dumpsize |
|
9 |
2 |
57 |
| cpu_dump_mempagecnt |
|
8 |
2 |
45 |
| amd64_pa_used |
|
11 |
6 |
65 |
| cpu_initclocks |
|
4 |
1 |
13 |
| need_resched |
|
8 |
2 |
35 |
| idt_vec_alloc |
|
11 |
3 |
52 |
| idt_vec_set |
|
6 |
1 |
50 |
| idt_vec_free |
|
5 |
1 |
23 |
| splassert_check |
|
11 |
3 |
64 |
| copyin32 |
|
6 |
2 |
38 |
| getbootinfo |
|
87 |
32 |
505 |
| check_context |
|
15 |
5 |
91 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/dkcsum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dkcsumattach |
|
110 |
36 |
790 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/pctr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pctrrd |
|
13 |
5 |
104 |
| pctrattach |
|
23 |
5 |
113 |
| pctropen |
|
6 |
2 |
35 |
| pctrclose |
|
4 |
1 |
23 |
| pctrsel |
|
24 |
6 |
132 |
| pctrioctl |
|
23 |
9 |
116 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/bus_space.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| x86_bus_space_init |
|
9 |
1 |
60 |
| x86_bus_space_mallocok |
|
4 |
1 |
10 |
| bus_space_map |
|
36 |
12 |
209 |
| _bus_space_map |
|
9 |
2 |
52 |
| bus_space_alloc |
|
37 |
11 |
222 |
| x86_mem_add_mapping |
|
26 |
8 |
179 |
| _bus_space_unmap |
|
26 |
8 |
173 |
| bus_space_unmap |
|
32 |
10 |
218 |
| bus_space_free |
|
4 |
1 |
22 |
| bus_space_subregion |
|
6 |
1 |
32 |
| x86_bus_space_io_read_1 |
|
4 |
1 |
20 |
| x86_bus_space_io_read_2 |
|
4 |
1 |
20 |
| x86_bus_space_io_read_4 |
|
4 |
1 |
20 |
| x86_bus_space_io_read_8 |
|
4 |
1 |
15 |
| x86_bus_space_io_read_multi_1 |
|
5 |
1 |
28 |
| x86_bus_space_io_read_multi_2 |
|
5 |
1 |
28 |
| x86_bus_space_io_read_multi_4 |
|
5 |
1 |
28 |
| x86_bus_space_io_read_multi_8 |
|
5 |
1 |
22 |
| x86_bus_space_io_read_region_1 |
|
18 |
1 |
83 |
| x86_bus_space_io_read_region_2 |
|
18 |
1 |
89 |
| x86_bus_space_io_read_region_4 |
|
18 |
1 |
83 |
| x86_bus_space_io_read_region_8 |
|
5 |
1 |
22 |
| x86_bus_space_io_write_1 |
|
4 |
1 |
22 |
| x86_bus_space_io_write_2 |
|
4 |
1 |
22 |
| x86_bus_space_io_write_4 |
|
4 |
1 |
22 |
| x86_bus_space_io_write_8 |
|
4 |
1 |
18 |
| x86_bus_space_io_write_multi_1 |
|
5 |
1 |
29 |
| x86_bus_space_io_write_multi_2 |
|
5 |
1 |
29 |
| x86_bus_space_io_write_multi_4 |
|
5 |
1 |
29 |
| x86_bus_space_io_write_multi_8 |
|
5 |
1 |
23 |
| x86_bus_space_io_write_region_1 |
|
18 |
1 |
84 |
| x86_bus_space_io_write_region_2 |
|
18 |
1 |
84 |
| x86_bus_space_io_write_region_4 |
|
18 |
1 |
84 |
| x86_bus_space_io_write_region_8 |
|
5 |
1 |
23 |
| x86_bus_space_io_set_multi_1 |
|
7 |
2 |
35 |
| x86_bus_space_io_set_multi_2 |
|
7 |
2 |
35 |
| x86_bus_space_io_set_multi_4 |
|
7 |
2 |
35 |
| x86_bus_space_io_set_multi_8 |
|
5 |
1 |
21 |
| x86_bus_space_io_set_region_1 |
|
7 |
2 |
43 |
| x86_bus_space_io_set_region_2 |
|
7 |
2 |
47 |
| x86_bus_space_io_set_region_4 |
|
7 |
2 |
47 |
| x86_bus_space_io_set_region_8 |
|
5 |
1 |
21 |
| x86_bus_space_io_copy_1 |
|
14 |
4 |
111 |
| x86_bus_space_io_copy_2 |
|
14 |
4 |
119 |
| x86_bus_space_io_copy_4 |
|
14 |
4 |
119 |
| x86_bus_space_io_copy_8 |
|
5 |
1 |
24 |
| x86_bus_space_io_vaddr |
|
4 |
1 |
12 |
| x86_bus_space_io_mmap |
|
4 |
1 |
22 |
| x86_bus_space_mem_write_1 |
|
4 |
1 |
27 |
| x86_bus_space_mem_write_2 |
|
4 |
1 |
27 |
| x86_bus_space_mem_read_1 |
|
4 |
1 |
25 |
| x86_bus_space_mem_read_2 |
|
4 |
1 |
25 |
| x86_bus_space_mem_read_4 |
|
4 |
1 |
25 |
| x86_bus_space_mem_read_8 |
|
4 |
1 |
25 |
| x86_bus_space_mem_read_multi_1 |
|
15 |
1 |
82 |
| x86_bus_space_mem_read_multi_2 |
|
15 |
1 |
82 |
| x86_bus_space_mem_read_multi_4 |
|
15 |
1 |
82 |
| x86_bus_space_mem_read_multi_8 |
|
15 |
1 |
82 |
| x86_bus_space_mem_read_region_1 |
|
13 |
1 |
68 |
| x86_bus_space_mem_read_region_2 |
|
13 |
1 |
68 |
| x86_bus_space_mem_read_region_4 |
|
13 |
1 |
68 |
| x86_bus_space_mem_read_region_8 |
|
13 |
1 |
68 |
| x86_bus_space_mem_write_4 |
|
4 |
1 |
27 |
| x86_bus_space_mem_write_8 |
|
4 |
1 |
27 |
| x86_bus_space_mem_write_multi_1 |
|
14 |
1 |
77 |
| x86_bus_space_mem_write_multi_2 |
|
14 |
1 |
77 |
| x86_bus_space_mem_write_multi_4 |
|
14 |
1 |
77 |
| x86_bus_space_mem_write_multi_8 |
|
14 |
1 |
77 |
| x86_bus_space_mem_write_region_1 |
|
13 |
1 |
69 |
| x86_bus_space_mem_write_region_2 |
|
13 |
1 |
69 |
| x86_bus_space_mem_write_region_4 |
|
13 |
1 |
69 |
| x86_bus_space_mem_write_region_8 |
|
13 |
1 |
69 |
| x86_bus_space_mem_set_multi_1 |
|
7 |
2 |
40 |
| x86_bus_space_mem_set_multi_2 |
|
7 |
2 |
40 |
| x86_bus_space_mem_set_multi_4 |
|
7 |
2 |
40 |
| x86_bus_space_mem_set_multi_8 |
|
7 |
2 |
40 |
| x86_bus_space_mem_set_region_1 |
|
7 |
2 |
48 |
| x86_bus_space_mem_set_region_2 |
|
7 |
2 |
52 |
| x86_bus_space_mem_set_region_4 |
|
7 |
2 |
52 |
| x86_bus_space_mem_set_region_8 |
|
7 |
2 |
52 |
| x86_bus_space_mem_copy_1 |
|
16 |
4 |
131 |
| x86_bus_space_mem_copy_2 |
|
16 |
4 |
139 |
| x86_bus_space_mem_copy_4 |
|
16 |
4 |
139 |
| x86_bus_space_mem_copy_8 |
|
16 |
4 |
139 |
| x86_bus_space_mem_vaddr |
|
4 |
1 |
16 |
| x86_bus_space_mem_mmap |
|
4 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/ioapic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ioapic_lock |
|
7 |
2 |
31 |
| ioapic_unlock |
|
5 |
2 |
27 |
| ioapic_read_ul |
|
7 |
1 |
36 |
| ioapic_write_ul |
|
5 |
1 |
33 |
| ioapic_read |
|
9 |
1 |
44 |
| ioapic_write |
|
7 |
1 |
41 |
| ioapic_find |
|
13 |
5 |
70 |
| ioapic_find_bybase |
|
10 |
4 |
56 |
| ioapic_add |
|
6 |
1 |
22 |
| ioapic_print_redir |
|
6 |
1 |
59 |
| ioapic_match |
|
8 |
2 |
63 |
| ioapic_set_id |
|
13 |
2 |
82 |
| ioapic_attach |
|
66 |
13 |
502 |
| ioapic_activate |
|
11 |
2 |
65 |
| apic_set_redir |
|
39 |
10 |
254 |
| ioapic_enable |
|
25 |
7 |
149 |
| ioapic_hwmask |
|
14 |
2 |
82 |
| ioapic_hwunmask |
|
14 |
2 |
82 |
| ioapic_addroute |
|
13 |
2 |
85 |
| ioapic_delroute |
|
12 |
2 |
71 |
| ioapic_dump |
|
13 |
4 |
81 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| unmap_startup |
|
9 |
2 |
48 |
| cpu_configure |
|
26 |
9 |
123 |
| device_register |
|
3 |
1 |
13 |
| diskconf |
|
40 |
9 |
261 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/powernow-k8.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| k8pnow_read_pending_wait |
|
11 |
3 |
49 |
| k8_powernow_setperf |
|
10 |
2 |
59 |
| k8pnow_transition |
|
65 |
20 |
446 |
| k8pnow_decode_pst |
|
21 |
4 |
156 |
| k8pnow_acpi_states |
|
27 |
6 |
214 |
| k8pnow_acpi_pss_changed |
|
32 |
5 |
209 |
| k8pnow_acpi_init |
|
19 |
2 |
127 |
| k8pnow_states |
|
35 |
8 |
261 |
| k8_powernow_init |
|
43 |
9 |
261 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/nvram.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nvramattach |
|
9 |
5 |
34 |
| nvramopen |
|
8 |
4 |
57 |
| nvramclose |
|
4 |
1 |
23 |
| nvramread |
|
21 |
8 |
165 |
| nvram_get_byte |
|
6 |
2 |
31 |
| nvram_csum_valid |
|
13 |
3 |
84 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/efifb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efifb_match |
|
14 |
6 |
89 |
| efifb_attach |
|
64 |
7 |
479 |
| efifb_rasops_preinit |
|
28 |
2 |
242 |
| efifb_ioctl |
|
64 |
17 |
330 |
| efifb_mmap |
|
7 |
3 |
56 |
| efifb_alloc_screen |
|
7 |
1 |
63 |
| efifb_free_screen |
|
6 |
1 |
38 |
| efifb_show_screen |
|
7 |
1 |
66 |
| efifb_load_font |
|
6 |
1 |
48 |
| efifb_list_font |
|
6 |
1 |
42 |
| efifb_cnattach |
|
9 |
3 |
52 |
| efifb_efiinfo_init |
|
10 |
1 |
109 |
| efifb_cnattach_common |
|
18 |
1 |
153 |
| efifb_is_console |
|
23 |
8 |
131 |
| efifb_cndetach |
|
4 |
1 |
12 |
| efifb_cb_cnattach |
|
14 |
3 |
102 |
| efifb_cb_found |
|
4 |
2 |
19 |
| cb_checksum |
|
12 |
2 |
89 |
| cb_find_fb |
|
27 |
8 |
190 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
43 |
13 |
306 |
| writedisklabel |
|
30 |
4 |
213 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/gdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gdt_alloc_cpu |
|
20 |
3 |
183 |
| gdt_init_cpu |
|
9 |
1 |
73 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/apic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apic_format_redir |
|
8 |
2 |
56 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
24 |
13 |
114 |
| mmclose |
|
6 |
3 |
36 |
| mmrw |
|
59 |
20 |
363 |
| mmmmap |
|
31 |
15 |
147 |
| mmioctl |
|
9 |
4 |
55 |
| mem_ioctl |
|
39 |
10 |
301 |
| mem_range_attr_get |
|
11 |
3 |
70 |
| mem_range_attr_set |
|
6 |
2 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amd64_iopl |
|
19 |
8 |
120 |
| amd64_get_fsbase |
|
5 |
1 |
38 |
| amd64_set_fsbase |
|
11 |
3 |
66 |
| sys_sysarch |
|
30 |
8 |
175 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/tsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tsc_freq_cpuid |
|
33 |
14 |
166 |
| get_tsc_and_timecount |
|
16 |
3 |
101 |
| calculate_tsc_freq |
|
6 |
1 |
33 |
| calculate_tc_delay |
|
8 |
2 |
49 |
| measure_tsc_freq |
|
30 |
8 |
218 |
| calibrate_tsc_freq |
|
15 |
5 |
76 |
| cpu_recalibrate_tsc |
|
8 |
3 |
42 |
| tsc_get_timecount |
|
4 |
1 |
14 |
| tsc_timecounter_init |
|
19 |
5 |
101 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/amd64errata.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amd64_errata_testmsr |
|
10 |
2 |
56 |
| amd64_errata_setmsr |
|
15 |
4 |
104 |
| amd64_errata |
|
76 |
31 |
481 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/rbus_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rbus_pccbb_parent_mem |
|
11 |
2 |
67 |
| rbus_pccbb_parent_io |
|
14 |
3 |
86 |
| pccbb_attach_hook |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
4 |
3 |
33 |
| iszerodev |
|
4 |
2 |
24 |
| getnulldev |
|
4 |
1 |
14 |
| dev_rawpart |
|
14 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_printtrap |
|
9 |
3 |
50 |
| db_ktrap |
|
40 |
14 |
179 |
| db_cpuinfo_cmd |
|
31 |
9 |
148 |
| db_startproc_cmd |
|
16 |
9 |
103 |
| db_stopproc_cmd |
|
16 |
9 |
103 |
| db_ddbproc_cmd |
|
16 |
6 |
86 |
| db_enter_ddb |
|
52 |
19 |
324 |
| db_startcpu |
|
8 |
3 |
45 |
| db_stopcpu |
|
12 |
4 |
73 |
| x86_ipi_db |
|
4 |
1 |
13 |
| db_machine_init |
|
9 |
5 |
47 |
| db_enter |
|
4 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/hibernate_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_hibernate_io_function |
|
34 |
21 |
285 |
| get_hibernate_info_md |
|
56 |
11 |
467 |
| hibernate_enter_resume_mapping |
|
7 |
2 |
34 |
| hibernate_enter_resume_2m_pde |
|
36 |
3 |
280 |
| hibernate_enter_resume_4k_pte |
|
9 |
1 |
66 |
| hibernate_populate_resume_pt |
|
74 |
4 |
604 |
| hibernate_inflate_skip |
|
7 |
3 |
42 |
| hibernate_enable_intr_machdep |
|
4 |
1 |
10 |
| hibernate_disable_intr_machdep |
|
4 |
1 |
10 |
| hibernate_quiesce_cpus |
|
24 |
6 |
147 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/db_memrw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_read_bytes |
|
19 |
5 |
125 |
| db_write_text |
|
36 |
8 |
216 |
| db_write_bytes |
|
24 |
7 |
156 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/bios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bios_match |
|
7 |
3 |
47 |
| bios_attach |
|
104 |
26 |
769 |
| smbios_find |
|
22 |
11 |
159 |
| smbios_find_table |
|
40 |
16 |
298 |
| smbios_get_string |
|
19 |
7 |
131 |
| fixstring |
|
20 |
9 |
162 |
| smbios_info |
|
106 |
35 |
821 |
| bios_print |
|
8 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_frame |
|
4 |
1 |
18 |
| process_fpframe |
|
4 |
1 |
23 |
| process_read_regs |
|
29 |
1 |
233 |
| process_read_fpregs |
|
17 |
2 |
118 |
| process_write_regs |
|
28 |
2 |
211 |
| process_write_fpregs |
|
12 |
2 |
81 |
| process_sstep |
|
9 |
2 |
44 |
| process_set_pc |
|
8 |
2 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
29 |
7 |
261 |
| cpu_exit |
|
7 |
2 |
38 |
| setguardpage |
|
6 |
1 |
43 |
| vmapbuf |
|
20 |
3 |
151 |
| vunmapbuf |
|
14 |
2 |
103 |
| tcb_get |
|
4 |
1 |
24 |
| tcb_set |
|
6 |
1 |
37 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/cacheinfo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| print_cache_config |
|
35 |
9 |
197 |
| print_tlb_config |
|
37 |
9 |
201 |
| cache_info_lookup |
|
9 |
3 |
61 |
| amd_cpu_cacheinfo |
|
75 |
12 |
687 |
| x86_print_cacheinfo |
|
18 |
4 |
150 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/mpbios_intr_fixup.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpbios_icu_lookup |
|
9 |
4 |
58 |
| nforce4_mpbios_fixup |
|
23 |
6 |
194 |
| mcp04_mpbios_fixup |
|
13 |
3 |
99 |
| via8237_mpbios_fixup |
|
6 |
1 |
38 |
| mpbios_pin_fixup |
|
24 |
7 |
196 |
| mpbios_intr_fixup |
|
37 |
11 |
243 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intr_default_setup |
|
11 |
2 |
68 |
| x86_nmi |
|
5 |
1 |
28 |
| intr_calculatemasks |
|
45 |
15 |
363 |
| intr_allocate_slot_cpu |
|
43 |
15 |
264 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/ipifuncs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| x86_64_ipi_nop |
|
3 |
1 |
9 |
| x86_64_ipi_halt |
|
14 |
2 |
63 |
| x86_64_ipi_flush_fpu |
|
5 |
2 |
26 |
| x86_64_ipi_synch_fpu |
|
5 |
2 |
26 |
| x86_64_ipi_reload_mtrr |
|
5 |
2 |
27 |
| x86_64_ipi_start_vmm |
|
4 |
1 |
14 |
| x86_64_ipi_stop_vmm |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
4 |
1 |
22 |
| mainbus_attach |
|
65 |
24 |
456 |
| mainbus_print |
|
9 |
3 |
64 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/mpbios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpbios_match |
|
8 |
2 |
58 |
| mpbios_attach |
|
4 |
1 |
23 |
| mp_print |
|
7 |
2 |
40 |
| mp_match |
|
8 |
2 |
68 |
| mpbios_map |
|
18 |
2 |
125 |
| mpbios_unmap |
|
5 |
1 |
33 |
| mpbios_probe |
|
79 |
17 |
441 |
| mpbios_cksum |
|
9 |
2 |
49 |
| mpbios_search |
|
22 |
5 |
189 |
| mpbios_scan |
|
108 |
26 |
603 |
| mpbios_cpu |
|
18 |
4 |
115 |
| mp_cfg_special_intr |
|
20 |
4 |
100 |
| mp_cfg_pci_intr |
|
33 |
8 |
152 |
| mp_cfg_eisa_intr |
|
40 |
9 |
189 |
| mp_cfg_isa_intr |
|
33 |
8 |
152 |
| mp_print_special_intr |
|
3 |
1 |
7 |
| mp_print_pci_intr |
|
4 |
1 |
29 |
| mp_print_isa_intr |
|
4 |
1 |
14 |
| mp_print_eisa_intr |
|
4 |
1 |
14 |
| mpbios_bus |
|
42 |
9 |
325 |
| mpbios_ioapic |
|
15 |
3 |
124 |
| mpbios_int |
|
93 |
17 |
544 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/i8259.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i8259_default_setup |
|
20 |
4 |
160 |
| i8259_hwmask |
|
15 |
3 |
75 |
| i8259_hwunmask |
|
17 |
3 |
83 |
| i8259_reinit_irqs |
|
14 |
4 |
92 |
| i8259_setup |
|
5 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/k1x-pstate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| k1x_setperf |
|
10 |
2 |
60 |
| k1x_transition |
|
25 |
7 |
153 |
| k1x_acpi_states |
|
21 |
4 |
152 |
| k1x_acpi_init |
|
9 |
2 |
47 |
| k1x_init |
|
27 |
6 |
150 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_nextframe |
|
33 |
6 |
202 |
| db_is_trap |
|
20 |
11 |
123 |
| db_stack_trace_print |
|
138 |
39 |
897 |
| db_save_stack_trace |
|
45 |
9 |
271 |
| db_get_pc |
|
5 |
1 |
49 |
| db_get_probe_addr |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/softintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softintr_init |
|
11 |
2 |
64 |
| softintr_dispatch |
|
25 |
3 |
149 |
| softintr_establish |
|
29 |
6 |
140 |
| softintr_disestablish |
|
12 |
2 |
79 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/consinit.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| consinit |
|
3 |
1 |
6 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/codepatch.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| codepatch_fill_nop |
|
24 |
5 |
117 |
| codepatch_maprw |
|
15 |
2 |
137 |
| codepatch_unmaprw |
|
7 |
2 |
43 |
| codepatch_nop |
|
17 |
3 |
97 |
| codepatch_replace |
|
22 |
4 |
146 |
| codepatch_call |
|
24 |
4 |
170 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/fpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fpuinit |
|
15 |
3 |
92 |
| fputrap |
|
32 |
4 |
196 |
| x86fpflags_to_siginfo |
|
18 |
3 |
75 |
| fpudna |
|
55 |
10 |
346 |
| fpusave_cpu |
|
26 |
6 |
150 |
| fpusave_proc |
|
22 |
6 |
132 |
| fpu_kernel_enter |
|
24 |
3 |
140 |
| fpu_kernel_exit |
|
4 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/amd64_mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mtrr2mrt |
|
6 |
3 |
29 |
| mtrrconflict |
|
10 |
6 |
50 |
| mem_range_match |
|
10 |
4 |
78 |
| mrfetch |
|
74 |
20 |
596 |
| mtrrtype |
|
12 |
4 |
60 |
| mrt2mtrr |
|
6 |
1 |
22 |
| mrstore |
|
7 |
2 |
27 |
| mrstoreone |
|
61 |
12 |
453 |
| mtrrfixsearch |
|
9 |
4 |
82 |
| mrsetlow |
|
17 |
7 |
174 |
| mrsetvariable |
|
35 |
12 |
249 |
| mrset |
|
32 |
11 |
212 |
| mrinit |
|
56 |
12 |
407 |
| mrinit_cpu |
|
4 |
1 |
14 |
| mrreload_cpu |
|
6 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/wscons_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wscnprobe |
|
13 |
4 |
70 |
| wscninit |
|
10 |
3 |
40 |
| wscnputc |
|
4 |
1 |
17 |
| wscngetc |
|
4 |
1 |
15 |
| wscnpollc |
|
4 |
1 |
17 |
| wscn_video_init |
|
12 |
9 |
75 |
| wscn_input_init |
|
11 |
8 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/mtrr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mem_range_attach |
|
16 |
8 |
124 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/vmm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vmm_enabled |
|
19 |
8 |
94 |
| vmm_probe |
|
7 |
2 |
53 |
| vmm_attach |
|
52 |
11 |
357 |
| vmmopen |
|
8 |
4 |
51 |
| vmmioctl |
|
38 |
10 |
212 |
| pledge_ioctl_vmm |
|
18 |
10 |
69 |
| vmmclose |
|
4 |
1 |
21 |
| vm_resetcpu |
|
40 |
7 |
236 |
| vm_intr_pending |
|
26 |
7 |
159 |
| vm_rwregs |
|
34 |
10 |
231 |
| vm_find |
|
17 |
4 |
111 |
| vmm_start |
|
29 |
9 |
160 |
| vmm_stop |
|
29 |
9 |
154 |
| start_vmm_on_cpu |
|
37 |
9 |
192 |
| stop_vmm_on_cpu |
|
20 |
5 |
98 |
| vm_create_check_mem_ranges |
|
36 |
20 |
279 |
| vm_create |
|
56 |
7 |
400 |
| vm_impl_init_vmx |
|
46 |
7 |
305 |
| vm_impl_init_svm |
|
41 |
6 |
283 |
| vm_impl_init |
|
11 |
5 |
65 |
| vm_impl_deinit_vmx |
|
3 |
1 |
9 |
| vm_impl_deinit_svm |
|
3 |
1 |
9 |
| vm_impl_deinit |
|
11 |
5 |
54 |
| vcpu_reload_vmcs_vmx |
|
14 |
5 |
66 |
| vcpu_readregs_vmx |
|
94 |
26 |
724 |
| vcpu_readregs_svm |
|
5 |
1 |
22 |
| vcpu_writeregs_vmx |
|
100 |
29 |
719 |
| vcpu_writeregs_svm |
|
82 |
4 |
934 |
| vcpu_reset_regs_svm |
|
55 |
4 |
402 |
| svm_setmsrbr |
|
19 |
6 |
146 |
| svm_setmsrbw |
|
19 |
6 |
146 |
| svm_setmsrbrw |
|
5 |
1 |
26 |
| vmx_setmsrbr |
|
14 |
4 |
104 |
| vmx_setmsrbw |
|
14 |
4 |
106 |
| vmx_setmsrbrw |
|
5 |
1 |
26 |
| svm_set_clean |
|
8 |
2 |
49 |
| svm_set_dirty |
|
8 |
2 |
49 |
| vcpu_reset_regs_vmx |
|
368 |
57 |
2059 |
| vcpu_init_vmx |
|
147 |
30 |
887 |
| vcpu_reset_regs |
|
13 |
5 |
75 |
| vcpu_init_svm |
|
75 |
14 |
485 |
| vcpu_init |
|
16 |
5 |
88 |
| vcpu_deinit_vmx |
|
17 |
6 |
122 |
| vcpu_deinit_svm |
|
16 |
5 |
120 |
| vcpu_deinit |
|
11 |
5 |
54 |
| vm_teardown |
|
18 |
3 |
120 |
| vcpu_vmx_check_cap |
|
50 |
13 |
205 |
| vcpu_vmx_compute_ctrl |
|
89 |
35 |
458 |
| vm_get_info |
|
52 |
6 |
366 |
| vm_terminate |
|
34 |
7 |
201 |
| vm_run |
|
69 |
19 |
424 |
| vcpu_must_stop |
|
9 |
3 |
48 |
| vmm_fpusave |
|
19 |
4 |
118 |
| vcpu_run_vmx |
|
303 |
76 |
1490 |
| vmx_handle_intr |
|
15 |
2 |
81 |
| svm_handle_hlt |
|
12 |
2 |
66 |
| vmx_handle_hlt |
|
24 |
5 |
120 |
| vmx_get_exit_info |
|
10 |
3 |
54 |
| svm_handle_exit |
|
73 |
17 |
318 |
| vmx_handle_exit |
|
101 |
22 |
429 |
| vmm_inject_ud |
|
7 |
1 |
33 |
| vmm_inject_db |
|
7 |
1 |
33 |
| vmm_get_guest_memtype |
|
18 |
6 |
116 |
| vmm_get_guest_faulttype |
|
9 |
3 |
39 |
| vmx_get_exit_qualification |
|
8 |
2 |
36 |
| vmx_get_guest_faulttype |
|
15 |
4 |
69 |
| svm_get_guest_faulttype |
|
6 |
2 |
26 |
| svm_fault_page |
|
12 |
2 |
88 |
| svm_handle_np_fault |
|
19 |
2 |
93 |
| vmx_fault_page |
|
15 |
3 |
94 |
| vmx_handle_np_fault |
|
21 |
3 |
97 |
| svm_handle_inout |
|
45 |
16 |
315 |
| vmx_handle_inout |
|
50 |
18 |
370 |
| vmx_load_pdptes |
|
66 |
12 |
382 |
| vmx_handle_cr0_write |
|
42 |
12 |
247 |
| vmx_handle_cr4_write |
|
9 |
2 |
44 |
| vmx_handle_cr |
|
68 |
28 |
478 |
| vmx_handle_rdmsr |
|
24 |
5 |
137 |
| vmx_handle_xsetbv |
|
18 |
3 |
94 |
| svm_handle_xsetbv |
|
11 |
1 |
63 |
| vmm_handle_xsetbv |
|
18 |
4 |
112 |
| vmx_handle_misc_enable_msr |
|
11 |
1 |
79 |
| vmx_handle_wrmsr |
|
28 |
5 |
145 |
| svm_handle_msr |
|
25 |
4 |
154 |
| vmm_handle_cpuid |
|
257 |
42 |
1483 |
| vcpu_run_svm |
|
157 |
39 |
883 |
| vmm_alloc_vpid |
|
24 |
5 |
160 |
| vmm_free_vpid |
|
11 |
1 |
74 |
| vmx_exit_reason_decode |
|
67 |
61 |
378 |
| svm_exit_reason_decode |
|
148 |
143 |
870 |
| vmx_instruction_error_decode |
|
23 |
18 |
120 |
| vcpu_state_decode |
|
11 |
6 |
48 |
| dump_vcpu |
|
100 |
4 |
750 |
| vmx_dump_vmcs_field |
|
17 |
6 |
99 |
| vmx_dump_vmcs |
|
442 |
46 |
2383 |
| vmx_vcpu_dump_regs |
|
266 |
43 |
1520 |
| msr_name_decode |
|
30 |
25 |
162 |
| vmm_segment_desc_decode |
|
59 |
25 |
400 |
| vmm_decode_cr0 |
|
24 |
3 |
166 |
| vmm_decode_cr3 |
|
24 |
5 |
140 |
| vmm_decode_cr4 |
|
32 |
3 |
230 |
| vmm_decode_apicbase_msr_value |
|
16 |
3 |
102 |
| vmm_decode_ia32_fc_value |
|
20 |
4 |
130 |
| vmm_decode_mtrrcap_value |
|
19 |
4 |
119 |
| vmm_decode_perf_status_value |
|
4 |
1 |
18 |
| vmm_decode_perf_ctl_value |
|
5 |
2 |
33 |
| vmm_decode_mtrrdeftype_value |
|
29 |
9 |
180 |
| vmm_decode_efer_value |
|
17 |
3 |
111 |
| vmm_decode_msr_value |
|
14 |
9 |
103 |
| vmm_decode_rflags |
|
31 |
3 |
227 |
| vmm_decode_misc_enable_value |
|
23 |
3 |
159 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/ipi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| x86_send_ipi |
|
7 |
2 |
46 |
| x86_fast_ipi |
|
7 |
2 |
42 |
| x86_broadcast_ipi |
|
17 |
4 |
86 |
| x86_ipi_handler |
|
19 |
4 |
116 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_is_curpmap |
|
5 |
2 |
33 |
| pmap_is_active |
|
5 |
2 |
36 |
| pmap_pte2flags |
|
5 |
3 |
34 |
| pmap_sync_flags_pte |
|
6 |
2 |
37 |
| pmap_map_ptes |
|
15 |
4 |
108 |
| pmap_unmap_ptes |
|
9 |
3 |
58 |
| pmap_fix_ept |
|
30 |
7 |
180 |
| pmap_find_pte_direct |
|
21 |
3 |
151 |
| pmap_kenter_pa |
|
21 |
11 |
164 |
| pmap_kremove |
|
14 |
3 |
98 |
| pmap_bootstrap |
|
83 |
10 |
680 |
| pmap_prealloc_lowmem_ptps |
|
18 |
3 |
103 |
| pmap_init |
|
4 |
1 |
10 |
| pmap_enter_pv |
|
11 |
1 |
83 |
| pmap_remove_pv |
|
15 |
4 |
104 |
| pmap_find_ptp |
|
10 |
4 |
92 |
| pmap_freepage |
|
14 |
2 |
105 |
| pmap_free_ptp |
|
29 |
7 |
222 |
| pmap_get_ptp |
|
50 |
11 |
339 |
| pmap_pdp_ctor |
|
15 |
2 |
148 |
| pmap_create |
|
20 |
2 |
150 |
| pmap_destroy |
|
24 |
6 |
164 |
| pmap_reference |
|
4 |
1 |
22 |
| pmap_activate |
|
11 |
2 |
80 |
| pmap_deactivate |
|
5 |
1 |
39 |
| pmap_pdes_valid |
|
15 |
4 |
86 |
| pmap_extract |
|
22 |
10 |
177 |
| pmap_zero_page |
|
4 |
1 |
17 |
| pmap_flush_cache |
|
12 |
3 |
64 |
| pmap_copy_page |
|
6 |
1 |
47 |
| pmap_remove_ptes |
|
39 |
15 |
250 |
| pmap_remove_pte |
|
35 |
12 |
223 |
| pmap_remove |
|
4 |
1 |
26 |
| pmap_do_remove |
|
81 |
23 |
541 |
| pmap_page_remove |
|
66 |
13 |
483 |
| pmap_test_attrs |
|
23 |
5 |
161 |
| pmap_clear_attrs |
|
26 |
4 |
187 |
| pmap_write_protect |
|
43 |
14 |
292 |
| pmap_unwire |
|
21 |
7 |
125 |
| pmap_collect |
|
3 |
1 |
9 |
| pmap_enter |
|
140 |
44 |
812 |
| pmap_get_physpage |
|
21 |
3 |
138 |
| pmap_alloc_level |
|
28 |
5 |
179 |
| pmap_growkernel |
|
32 |
5 |
223 |
| pmap_steal_memory |
|
46 |
12 |
276 |
| pmap_virtual_space |
|
5 |
1 |
22 |
| pmap_convert |
|
10 |
2 |
50 |
| pmap_tlb_shootpage |
|
31 |
10 |
193 |
| pmap_tlb_shootrange |
|
34 |
11 |
217 |
| pmap_tlb_shoottlb |
|
29 |
10 |
183 |
| pmap_tlb_shootwait |
|
5 |
2 |
16 |
| pmap_tlb_shootpage |
|
5 |
2 |
24 |
| pmap_tlb_shootrange |
|
8 |
3 |
47 |
| pmap_tlb_shoottlb |
|
5 |
2 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| trap |
|
244 |
76 |
1490 |
| frame_dump |
|
15 |
1 |
183 |
| ast |
|
11 |
1 |
70 |
| syscall |
|
85 |
20 |
472 |
| child_return |
|
10 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/via.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| viac3_crypto_setup |
|
22 |
3 |
147 |
| viac3_crypto_newsession |
|
133 |
28 |
884 |
| viac3_crypto_freesession |
|
28 |
6 |
203 |
| viac3_cbc |
|
12 |
1 |
100 |
| viac3_crypto_swauth |
|
10 |
2 |
58 |
| viac3_crypto_encdec |
|
78 |
17 |
654 |
| viac3_crypto_process |
|
49 |
16 |
258 |
| viac3_rnd |
|
17 |
4 |
141 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _bus_dmamap_create |
|
21 |
3 |
152 |
| _bus_dmamap_destroy |
|
7 |
1 |
45 |
| _bus_dmamap_load |
|
18 |
3 |
116 |
| _bus_dmamap_load_mbuf |
|
28 |
8 |
189 |
| _bus_dmamap_load_uio |
|
35 |
9 |
234 |
| _bus_dmamap_load_raw |
|
57 |
16 |
396 |
| _bus_dmamap_unload |
|
5 |
1 |
22 |
| _bus_dmamap_sync |
|
4 |
1 |
19 |
| _bus_dmamem_alloc |
|
7 |
1 |
62 |
| _bus_dmamem_free |
|
17 |
3 |
108 |
| _bus_dmamem_map |
|
41 |
10 |
304 |
| _bus_dmamem_unmap |
|
8 |
5 |
61 |
| _bus_dmamem_mmap |
|
22 |
8 |
145 |
| _bus_dmamap_load_buffer |
|
57 |
14 |
378 |
| _bus_dmamem_alloc_range |
|
46 |
10 |
309 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/amd64/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_read_address |
|
45 |
10 |
297 |
| db_print_address |
|
18 |
7 |
129 |
| db_disasm_3dnow |
|
10 |
1 |
83 |
| db_disasm_esc |
|
76 |
19 |
458 |
| db_disasm |
|
350 |
98 |
2024 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/run_i386.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/efipxe.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/eficall.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/efipxe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efi_pxeprobe |
|
47 |
11 |
290 |
| tftp_open |
|
35 |
6 |
253 |
| tftp_close |
|
8 |
1 |
53 |
| tftp_read |
|
19 |
5 |
120 |
| tftp_write |
|
4 |
1 |
23 |
| tftp_seek |
|
26 |
7 |
133 |
| tftp_stat |
|
10 |
1 |
58 |
| tftp_readdir |
|
4 |
1 |
16 |
| tftpopen |
|
18 |
6 |
113 |
| tftpclose |
|
4 |
1 |
12 |
| tftpioctl |
|
4 |
1 |
19 |
| tftpstrategy |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/self_reloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| self_reloc |
|
41 |
12 |
202 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/efidev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efid_init |
|
10 |
1 |
77 |
| efid_io |
|
62 |
18 |
463 |
| efid_diskio |
|
6 |
2 |
57 |
| gpt_chk_mbr |
|
23 |
9 |
137 |
| findopenbsd |
|
50 |
16 |
305 |
| findopenbsd_gpt |
|
99 |
19 |
660 |
| efi_getdisklabel |
|
41 |
13 |
285 |
| efi_getdisklabel_cd9660 |
|
44 |
8 |
342 |
| efiopen |
|
129 |
41 |
755 |
| efistrategy |
|
24 |
8 |
179 |
| eficlose |
|
5 |
1 |
18 |
| efiioctl |
|
4 |
1 |
19 |
| efi_dump_diskinfo |
|
29 |
4 |
177 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/efiboot.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/heap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| heap_init |
|
6 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/efidev.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/efiboot/efiboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efi_main |
|
53 |
14 |
303 |
| efi_cleanup |
|
13 |
4 |
65 |
| efi_diskprobe |
|
50 |
15 |
354 |
| efi_device_path_depth |
|
9 |
3 |
58 |
| efi_device_path_ncmp |
|
18 |
9 |
139 |
| efi_heap_init |
|
9 |
2 |
45 |
| efi_memprobe |
|
26 |
7 |
155 |
| efi_memprobe_internal |
|
71 |
26 |
524 |
| efi_video_init |
|
34 |
13 |
241 |
| efi_video_reset |
|
7 |
1 |
42 |
| efi_cons_probe |
|
6 |
1 |
38 |
| efi_cons_init |
|
3 |
1 |
9 |
| efi_cons_getc |
|
23 |
6 |
135 |
| efi_cons_putc |
|
9 |
2 |
54 |
| efi_cons_getshifts |
|
4 |
1 |
12 |
| efi_com_probe |
|
52 |
15 |
366 |
| efi_valid_com |
|
4 |
2 |
30 |
| comspeed |
|
26 |
6 |
165 |
| efi_com_init |
|
7 |
3 |
47 |
| efi_com_getc |
|
30 |
11 |
174 |
| efi_com_putc |
|
11 |
2 |
69 |
| efi_gop_setmode |
|
8 |
3 |
50 |
| efi_makebootargs |
|
74 |
15 |
467 |
| _rtt |
|
8 |
3 |
38 |
| getsecs |
|
22 |
6 |
233 |
| Xexit_efi |
|
7 |
2 |
33 |
| Xvideo_efi |
|
23 |
8 |
161 |
| Xpoweroff_efi |
|
5 |
1 |
26 |
| Xgop_efi |
|
36 |
9 |
231 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/pxeboot/pxe_udp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sendudp |
|
4 |
1 |
26 |
| readudp |
|
4 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/pxeboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/cdboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/softraid_amd64.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/dev_i386.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devopen |
|
23 |
13 |
159 |
| devboot |
|
46 |
14 |
285 |
| ttyname |
|
6 |
1 |
37 |
| ttydev |
|
13 |
9 |
124 |
| cnspeed |
|
6 |
2 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| machdep |
|
15 |
4 |
92 |
| check_skip_conf |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/memprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| checkA20 |
|
12 |
2 |
71 |
| bios_E820 |
|
23 |
7 |
163 |
| bios_8800 |
|
13 |
3 |
82 |
| bios_int12 |
|
10 |
2 |
64 |
| addrprobe |
|
26 |
7 |
190 |
| badprobe |
|
12 |
4 |
71 |
| memprobe |
|
37 |
15 |
275 |
| dump_biosmem |
|
16 |
4 |
111 |
| mem_limit |
|
16 |
7 |
130 |
| mem_delete |
|
30 |
11 |
242 |
| mem_add |
|
32 |
11 |
226 |
| mem_pass |
|
8 |
2 |
45 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/gidt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/pxe_net.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/cmd_i386.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Xdiskinfo |
|
6 |
1 |
17 |
| Xregs |
|
5 |
1 |
11 |
| Xboot |
|
47 |
17 |
387 |
| Xmemory |
|
55 |
16 |
253 |
| Xcomaddr |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/disk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/time.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcdtoint |
|
4 |
1 |
26 |
| compute |
|
11 |
4 |
96 |
| bios_time_date |
|
20 |
2 |
115 |
| biosdate |
|
4 |
1 |
19 |
| biostime |
|
4 |
1 |
19 |
| getsecs |
|
12 |
4 |
92 |
| sleep |
|
7 |
2 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/softraid_amd64.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| srprobe_meta_opt_load |
|
35 |
7 |
287 |
| srprobe_keydisk_load |
|
26 |
4 |
209 |
| srprobe |
|
132 |
29 |
923 |
| sr_strategy |
|
56 |
13 |
428 |
| gpt_chk_mbr |
|
23 |
9 |
137 |
| findopenbsd_gpt |
|
95 |
16 |
660 |
| sr_getdisklabel |
|
41 |
10 |
332 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/pxeboot.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/exec_i386.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_loadfile |
|
66 |
14 |
531 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/biosdev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| biosdreset |
|
7 |
2 |
55 |
| bios_getdiskinfo |
|
52 |
22 |
359 |
| CHS_rw |
|
21 |
3 |
129 |
| EDD_rw |
|
19 |
5 |
183 |
| biosd_io |
|
65 |
22 |
479 |
| biosd_diskio |
|
4 |
1 |
39 |
| findopenbsd |
|
53 |
17 |
326 |
| bios_getdisklabel |
|
24 |
10 |
153 |
| biosopen |
|
125 |
38 |
741 |
| biosdisk_err |
|
7 |
4 |
36 |
| biosdisk_errno |
|
8 |
4 |
48 |
| biosstrategy |
|
24 |
8 |
184 |
| biosclose |
|
5 |
1 |
18 |
| biosioctl |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/biosdev.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/biosprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getSYSCONFaddr |
|
14 |
2 |
77 |
| getEBDAaddr |
|
17 |
3 |
85 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/pxe_netif.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/diskprobe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| diskinfo_init |
|
6 |
1 |
32 |
| floppyprobe |
|
19 |
5 |
123 |
| hardprobe |
|
47 |
10 |
302 |
| efi_hardprobe |
|
55 |
8 |
309 |
| diskprobe |
|
27 |
8 |
185 |
| cdprobe |
|
49 |
5 |
407 |
| dklookup |
|
8 |
3 |
49 |
| dump_diskinfo |
|
22 |
5 |
141 |
| bios_dklookup |
|
8 |
2 |
32 |
| disksum |
|
26 |
9 |
193 |
| bootdev_has_hibernate |
|
4 |
2 |
23 |
| check_hibernate |
|
15 |
5 |
133 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/pxe_net.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| net_open |
|
28 |
11 |
121 |
| net_close |
|
19 |
8 |
83 |
| net_ioctl |
|
4 |
1 |
19 |
| net_strategy |
|
5 |
1 |
28 |
| net_getparams |
|
9 |
3 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/pxe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pxesendudp |
|
20 |
3 |
133 |
| pxereadudp |
|
25 |
3 |
185 |
| pxe_netif_open |
|
22 |
5 |
122 |
| pxe_netif_close |
|
12 |
4 |
60 |
| pxe_netif_shutdown |
|
5 |
2 |
15 |
| pxesocktodesc |
|
8 |
3 |
23 |
| pxeprobe |
|
8 |
3 |
28 |
| pxe_init |
|
103 |
26 |
626 |
| pxeinfo |
|
30 |
8 |
228 |
| pxe_shutdown |
|
29 |
10 |
161 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/bioscons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pc_probe |
|
12 |
3 |
91 |
| pc_init |
|
3 |
1 |
9 |
| pc_getc |
|
16 |
3 |
124 |
| pc_getshifts |
|
7 |
1 |
43 |
| pc_putc |
|
5 |
1 |
38 |
| com_probe |
|
11 |
2 |
82 |
| com_init |
|
18 |
6 |
153 |
| com_getc |
|
9 |
4 |
75 |
| comspeed |
|
37 |
16 |
261 |
| com_putc |
|
7 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/stand/libsa/gateA20.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gateA20on |
|
4 |
1 |
11 |
| gateA20 |
|
27 |
11 |
192 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ksyms.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/bridge.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ppp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/cd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ukbd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/uslhcom.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pvbus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/endrun.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/switch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/mpbios.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/gpiosim.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/trunk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/cy.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pair.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ses.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/hyperv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/uk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/assym.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/we.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/rd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ioapic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/agp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/athn_usb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pfsync.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/fdc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/bktr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vxlan.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ucycom.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pckbc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/xhci.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/carp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/tun.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/enc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ether.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/st.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/video.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ehci.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/msts.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vnd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vmt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/bpfilter.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pty.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/softraid.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/sd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/nvram.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pckbd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/viocon.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pppoe.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/hidkbd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ohci.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/acpiprt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ucom.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/sti.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/midi.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/acpi.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/xen.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ahci.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vers.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/nvme.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vga.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vlan.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/fuse.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pppx.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/isapnp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/efifb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/bios.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vether.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/mpw.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/bio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/etherip.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/gre.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/wd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ugen.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/isadma.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vscsi.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/wsmouse.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pflow.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pflog.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/safte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/fd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/rasops_glue.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/tga.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/wsfont_glue.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/radio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ipmi.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/isa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/hotplug.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/cardbus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/mpe.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/lapic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pcdisplay.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/uhid.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/wskbd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/gpio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/spkr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/com.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/drm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/gif.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/usb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/audio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/gcu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/uhci.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ulpt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/mpath.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/gpr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/nmea.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/lpt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/wsdisplay.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/intagp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/acpipwrres.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/cz.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pci.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/pctr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/vmm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/acpicpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/ioconf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/flash.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/GCOV/obj/wsmux.h |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/COVERAGE1/obj/ioconf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/compile/COVERAGE/obj/ioconf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/pci/agp_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_flush_cache |
|
4 |
1 |
10 |
| agp_flush_cache_range |
|
4 |
1 |
17 |
| agp_init_map |
|
17 |
3 |
123 |
| agp_destroy_map |
|
5 |
1 |
37 |
| agp_map_subregion |
|
5 |
1 |
39 |
| agp_unmap_subregion |
|
4 |
1 |
15 |
| agp_map_atomic |
|
5 |
1 |
27 |
| agp_unmap_atomic |
|
3 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/pci/aapic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aapic_match |
|
8 |
3 |
54 |
| aapic_attach |
|
20 |
3 |
156 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/pci/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_establish |
|
10 |
1 |
71 |
| pciide_machdep_compat_intr_disestablish |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/pci/vga_post.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vm86_emu_inb |
|
8 |
4 |
40 |
| vm86_emu_inw |
|
6 |
3 |
31 |
| vm86_emu_inl |
|
6 |
3 |
31 |
| vm86_emu_outb |
|
8 |
4 |
42 |
| vm86_emu_outw |
|
6 |
3 |
34 |
| vm86_emu_outl |
|
6 |
3 |
34 |
| vga_post_init |
|
56 |
6 |
442 |
| vga_post_call |
|
11 |
1 |
100 |
| vga_post_free |
|
8 |
1 |
61 |
| ddb_vgapost |
|
7 |
2 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/pci/pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_attach_hook |
|
34 |
10 |
186 |
| pci_bus_maxdevs |
|
4 |
1 |
15 |
| pci_make_tag |
|
7 |
4 |
61 |
| pci_decompose_tag |
|
9 |
4 |
76 |
| pci_conf_size |
|
10 |
4 |
49 |
| pci_mcfg_map_bus |
|
8 |
3 |
50 |
| pci_conf_read |
|
21 |
5 |
131 |
| pci_conf_write |
|
19 |
5 |
127 |
| msi_hwmask |
|
3 |
1 |
12 |
| msi_hwunmask |
|
3 |
1 |
12 |
| msi_addroute |
|
19 |
3 |
169 |
| msi_delroute |
|
9 |
2 |
69 |
| pci_intr_map_msi |
|
12 |
4 |
82 |
| msix_hwmask |
|
3 |
1 |
12 |
| msix_hwunmask |
|
3 |
1 |
12 |
| msix_addroute |
|
33 |
4 |
303 |
| msix_delroute |
|
27 |
4 |
226 |
| pci_intr_map_msix |
|
16 |
5 |
116 |
| pci_intr_map |
|
81 |
29 |
472 |
| pci_intr_string |
|
18 |
6 |
138 |
| pci_intr_establish |
|
33 |
9 |
262 |
| pci_intr_disestablish |
|
4 |
1 |
16 |
| pci_init_extents |
|
39 |
11 |
234 |
| pci_dev_postattach |
|
4 |
2 |
21 |
| pci_min_powerstate |
|
5 |
2 |
26 |
| pci_set_powerstate_md |
|
4 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/pci/pchb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pchbmatch |
|
8 |
3 |
54 |
| pchbattach |
|
97 |
21 |
605 |
| pchbactivate |
|
19 |
3 |
101 |
| pchb_print |
|
8 |
2 |
49 |
| pchb_rnd |
|
14 |
3 |
95 |
| pchb_amd64ht_attach |
|
25 |
4 |
190 |
| Source file: /home/sergeyb/sources/src/sys/arch/amd64/pci/pcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcibmatch |
|
31 |
12 |
146 |
| pcibattach |
|
5 |
1 |
30 |
| pcib_callback |
|
10 |
2 |
61 |
| pcib_print |
|
6 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/com_fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_fdt_init_cons |
|
17 |
4 |
112 |
| com_fdt_match |
|
8 |
4 |
63 |
| com_fdt_attach |
|
40 |
9 |
356 |
| com_fdt_intr_designware |
|
6 |
1 |
34 |
| com_fdt_cngetc |
|
4 |
1 |
15 |
| com_fdt_cnputc |
|
4 |
1 |
19 |
| com_fdt_cnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/simplebusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/pluart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pluart_init_cons |
|
10 |
3 |
57 |
| pluartprobe |
|
5 |
1 |
34 |
| pluartattach |
|
36 |
7 |
315 |
| pluart_intr |
|
46 |
15 |
316 |
| pluart_param |
|
39 |
12 |
217 |
| pluart_start |
|
33 |
8 |
258 |
| pluart_pwroff |
|
3 |
1 |
9 |
| pluart_diag |
|
17 |
3 |
97 |
| pluart_raisedtr |
|
3 |
1 |
8 |
| pluart_softint |
|
37 |
11 |
258 |
| pluartopen |
|
105 |
23 |
779 |
| pluartclose |
|
21 |
3 |
153 |
| pluartread |
|
8 |
2 |
58 |
| pluartwrite |
|
8 |
2 |
58 |
| pluartioctl |
|
46 |
16 |
217 |
| pluartstop |
|
4 |
1 |
15 |
| pluarttty |
|
12 |
3 |
61 |
| pluart_sc |
|
10 |
2 |
50 |
| pluartcnprobe |
|
5 |
1 |
26 |
| pluartcninit |
|
3 |
1 |
9 |
| pluartcnattach |
|
18 |
2 |
116 |
| pluartcngetc |
|
12 |
2 |
56 |
| pluartcnputc |
|
10 |
2 |
56 |
| pluartcnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/ampintc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ampintc_match |
|
9 |
3 |
65 |
| ampintc_attach |
|
57 |
7 |
567 |
| ampintc_set_priority |
|
7 |
1 |
49 |
| ampintc_setipl |
|
11 |
1 |
65 |
| ampintc_intr_enable |
|
8 |
2 |
58 |
| ampintc_intr_disable |
|
6 |
1 |
38 |
| ampintc_intr_config |
|
12 |
2 |
84 |
| ampintc_calc_mask |
|
33 |
7 |
194 |
| ampintc_splx |
|
7 |
2 |
37 |
| ampintc_spllower |
|
7 |
1 |
33 |
| ampintc_splraise |
|
10 |
2 |
45 |
| ampintc_iack |
|
7 |
1 |
36 |
| ampintc_eoi |
|
5 |
1 |
29 |
| ampintc_route |
|
13 |
2 |
98 |
| ampintc_irq_handler |
|
37 |
9 |
200 |
| ampintc_intr_establish_ext |
|
5 |
1 |
49 |
| ampintc_intr_establish_fdt |
|
19 |
4 |
133 |
| ampintc_intr_establish |
|
26 |
5 |
188 |
| ampintc_intr_disestablish |
|
15 |
3 |
105 |
| ampintc_intr_string |
|
7 |
1 |
51 |
| ampintc_msi_match |
|
5 |
1 |
34 |
| ampintc_msi_attach |
|
29 |
3 |
257 |
| ampintc_intr_establish_msi |
|
20 |
4 |
157 |
| ampintc_intr_disestablish_msi |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/simplebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| simplebus_match |
|
9 |
3 |
64 |
| simplebus_attach |
|
59 |
10 |
526 |
| simplebus_submatch |
|
8 |
2 |
69 |
| simplebus_attach_node |
|
61 |
15 |
584 |
| simplebus_bs_map |
|
36 |
10 |
320 |
| simplebus_dmamap_load_buffer |
|
42 |
10 |
362 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/pciecam.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciecam_match |
|
5 |
1 |
34 |
| pciecam_attach |
|
100 |
12 |
953 |
| pciecam_attach_hook |
|
4 |
1 |
19 |
| pciecam_bus_maxdevs |
|
3 |
1 |
16 |
| pciecam_make_tag |
|
4 |
1 |
39 |
| pciecam_decompose_tag |
|
9 |
4 |
77 |
| pciecam_conf_size |
|
4 |
1 |
14 |
| pciecam_conf_read |
|
7 |
1 |
68 |
| pciecam_conf_write |
|
7 |
1 |
72 |
| pciecam_intr_map |
|
12 |
1 |
74 |
| pciecam_intr_map_msi |
|
16 |
2 |
108 |
| pciecam_intr_map_msix |
|
6 |
1 |
30 |
| pciecam_intr_string |
|
7 |
2 |
35 |
| pciecam_intr_establish |
|
46 |
5 |
384 |
| pciecam_intr_disestablish |
|
3 |
1 |
12 |
| pciecam_bs_map |
|
16 |
4 |
126 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/bcm2835_dwctwo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcm_dwctwo_match |
|
6 |
2 |
50 |
| bcm_dwctwo_attach |
|
18 |
3 |
188 |
| bcm_dwctwo_deferred |
|
12 |
2 |
88 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
4 |
1 |
22 |
| mainbus_attach |
|
36 |
7 |
329 |
| mainbus_attach_node |
|
51 |
11 |
481 |
| mainbus_match_status |
|
13 |
4 |
114 |
| mainbus_attach_cpus |
|
16 |
3 |
124 |
| mainbus_match_primary |
|
9 |
3 |
82 |
| mainbus_match_secondary |
|
9 |
3 |
82 |
| mainbus_attach_framebuffer |
|
8 |
3 |
54 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/mainbus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/agintc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agintc_match |
|
9 |
3 |
65 |
| __isb |
|
4 |
1 |
12 |
| agintc_attach |
|
85 |
12 |
726 |
| agintc_cpuinit |
|
46 |
10 |
361 |
| agintc_set_priority |
|
14 |
2 |
104 |
| agintc_setipl |
|
14 |
2 |
80 |
| agintc_intr_enable |
|
13 |
2 |
91 |
| agintc_intr_disable |
|
12 |
2 |
92 |
| agintc_calc_mask |
|
7 |
2 |
38 |
| agintc_calc_irq |
|
28 |
8 |
191 |
| agintc_splx |
|
7 |
2 |
37 |
| agintc_spllower |
|
7 |
1 |
33 |
| agintc_splraise |
|
9 |
2 |
43 |
| agintc_iack |
|
7 |
1 |
33 |
| agintc_route |
|
12 |
3 |
98 |
| agintc_irq_handler |
|
44 |
9 |
236 |
| agintc_intr_establish_fdt |
|
14 |
3 |
103 |
| agintc_intr_establish |
|
24 |
5 |
181 |
| agintc_intr_disestablish |
|
14 |
2 |
92 |
| agintc_eoi |
|
5 |
1 |
27 |
| agintc_r_ictlr |
|
7 |
1 |
31 |
| agintc_d_wait_rwp |
|
10 |
4 |
62 |
| agintc_r_wait_rwp |
|
13 |
4 |
86 |
| agintc_send_ipi |
|
5 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/arm64_bus_space.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| generic_space_read_1 |
|
4 |
1 |
26 |
| generic_space_read_2 |
|
4 |
1 |
26 |
| generic_space_read_4 |
|
4 |
1 |
26 |
| generic_space_read_8 |
|
4 |
1 |
26 |
| generic_space_write_1 |
|
5 |
1 |
30 |
| generic_space_write_2 |
|
5 |
1 |
30 |
| generic_space_write_4 |
|
5 |
1 |
30 |
| generic_space_write_8 |
|
5 |
1 |
30 |
| generic_space_read_raw_2 |
|
10 |
2 |
64 |
| generic_space_write_raw_2 |
|
10 |
2 |
65 |
| generic_space_read_raw_4 |
|
10 |
2 |
64 |
| generic_space_write_raw_4 |
|
10 |
2 |
65 |
| generic_space_read_raw_8 |
|
10 |
2 |
64 |
| generic_space_write_raw_8 |
|
10 |
2 |
65 |
| generic_space_map |
|
19 |
4 |
149 |
| generic_space_unmap |
|
9 |
1 |
75 |
| generic_space_region |
|
6 |
1 |
30 |
| generic_space_vaddr |
|
4 |
1 |
17 |
| a4x_space_read_1 |
|
4 |
1 |
30 |
| a4x_space_read_2 |
|
4 |
1 |
30 |
| a4x_space_read_4 |
|
4 |
1 |
30 |
| a4x_space_read_8 |
|
4 |
1 |
30 |
| a4x_space_write_1 |
|
5 |
1 |
34 |
| a4x_space_write_2 |
|
5 |
1 |
34 |
| a4x_space_write_4 |
|
5 |
1 |
34 |
| a4x_space_write_8 |
|
5 |
1 |
34 |
| a4x_space_read_raw_2 |
|
10 |
2 |
68 |
| a4x_space_write_raw_2 |
|
10 |
2 |
69 |
| a4x_space_read_raw_4 |
|
10 |
2 |
68 |
| a4x_space_write_raw_4 |
|
10 |
2 |
69 |
| a4x_space_read_raw_8 |
|
10 |
2 |
68 |
| a4x_space_write_raw_8 |
|
10 |
2 |
69 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/bcm2836_intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcm_intc_match |
|
7 |
2 |
41 |
| bcm_intc_attach |
|
56 |
9 |
472 |
| bcm_intc_intr_enable |
|
14 |
5 |
138 |
| bcm_intc_intr_disable |
|
14 |
5 |
138 |
| bcm_intc_calc_mask |
|
33 |
9 |
202 |
| bcm_intc_splx |
|
7 |
2 |
37 |
| bcm_intc_spllower |
|
7 |
1 |
33 |
| bcm_intc_splraise |
|
10 |
2 |
45 |
| bcm_intc_setipl |
|
24 |
2 |
198 |
| bcm_intc_get_next_irq |
|
52 |
18 |
312 |
| bcm_intc_call_handler |
|
27 |
6 |
154 |
| bcm_intc_irq_handler |
|
6 |
2 |
35 |
| bcm_intc_intr_establish_fdt |
|
18 |
5 |
136 |
| l1_intc_intr_establish_fdt |
|
7 |
1 |
59 |
| bcm_intc_intr_establish |
|
25 |
5 |
176 |
| bcm_intc_intr_disestablish |
|
13 |
2 |
85 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/dev/agtimer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agtimer_readcnt64 |
|
7 |
1 |
35 |
| agtimer_get_freq |
|
6 |
1 |
25 |
| agtimer_get_ctrl |
|
6 |
1 |
25 |
| agtimer_set_ctrl |
|
6 |
1 |
34 |
| agtimer_set_tval |
|
6 |
1 |
34 |
| agtimer_match |
|
6 |
2 |
50 |
| agtimer_attach |
|
19 |
3 |
144 |
| agtimer_get_timecount |
|
4 |
1 |
14 |
| agtimer_intr |
|
41 |
10 |
239 |
| agtimer_set_clockrate |
|
11 |
2 |
56 |
| agtimer_cpu_initclocks |
|
25 |
2 |
160 |
| agtimer_delay |
|
26 |
7 |
146 |
| agtimer_setstatclockrate |
|
14 |
2 |
90 |
| agtimer_startclock |
|
14 |
1 |
88 |
| agtimer_init |
|
9 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/vfp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/armreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/internal_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/machine_reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/softintr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __aarch64_set_tcb |
|
4 |
1 |
20 |
| __aarch64_read_tcb |
|
6 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/bootconfig.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| curcpu |
|
6 |
1 |
29 |
| get_daif |
|
6 |
1 |
22 |
| restore_daif |
|
4 |
1 |
18 |
| enable_irq_daif |
|
4 |
1 |
11 |
| disable_irq_daif |
|
4 |
1 |
11 |
| disable_irq_daif_ret |
|
7 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/cpufunc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/openpromio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atomic_setbits_int |
|
13 |
1 |
53 |
| atomic_clearbits_int |
|
13 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_copy_1 |
|
8 |
2 |
63 |
| bus_space_copy_2 |
|
8 |
2 |
64 |
| bus_space_copy_4 |
|
8 |
2 |
64 |
| bus_space_copy_8 |
|
8 |
2 |
64 |
| bus_space_barrier |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/hypervisor.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/swi.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_identify |
|
36 |
9 |
245 |
| cpu_match |
|
9 |
3 |
65 |
| cpu_attach |
|
17 |
2 |
108 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/syscall.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| svc_handler |
|
63 |
11 |
395 |
| child_return |
|
10 |
1 |
59 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inittodr |
|
43 |
11 |
234 |
| fdt_find_cons |
|
36 |
11 |
204 |
| consinit |
|
10 |
2 |
38 |
| cpu_idle_enter |
|
3 |
1 |
5 |
| cpu_idle_cycle |
|
5 |
1 |
16 |
| cpu_idle_leave |
|
3 |
1 |
5 |
| cpu_startup |
|
30 |
4 |
218 |
| cpu_sysctl |
|
10 |
2 |
58 |
| boot |
|
45 |
12 |
216 |
| setregs |
|
15 |
2 |
111 |
| need_resched |
|
7 |
2 |
30 |
| cpu_dump |
|
33 |
4 |
285 |
| dumpconf |
|
17 |
6 |
101 |
| dumpsys |
|
90 |
24 |
509 |
| cpu_dumpsize |
|
9 |
2 |
57 |
| cpu_dump_mempagecnt |
|
4 |
1 |
8 |
| install_coproc_handler |
|
3 |
1 |
5 |
| cache_setup |
|
19 |
2 |
106 |
| initarm |
|
173 |
31 |
1235 |
| collect_kernel_args |
|
4 |
1 |
22 |
| process_kernel_args |
|
52 |
15 |
222 |
| pmap_bootstrap_bs_map |
|
18 |
3 |
123 |
| dumpregs |
|
12 |
2 |
87 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| unmap_startup |
|
9 |
3 |
48 |
| cpu_configure |
|
9 |
1 |
39 |
| diskconf |
|
22 |
6 |
121 |
| device_register |
|
3 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/arm64_mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mtx_init |
|
6 |
1 |
30 |
| mtx_enter |
|
11 |
5 |
51 |
| mtx_enter_try |
|
20 |
8 |
125 |
| mtx_leave |
|
11 |
4 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
26 |
8 |
157 |
| writedisklabel |
|
34 |
4 |
262 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/arm64var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
24 |
13 |
114 |
| mmclose |
|
6 |
3 |
36 |
| mmrw |
|
69 |
18 |
440 |
| mmmmap |
|
10 |
4 |
66 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysarch |
|
12 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
4 |
3 |
33 |
| iszerodev |
|
4 |
2 |
24 |
| getnulldev |
|
4 |
1 |
14 |
| dev_rawpart |
|
14 |
3 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kdb_trap |
|
23 |
4 |
93 |
| db_validate_address |
|
11 |
5 |
74 |
| db_read_bytes |
|
30 |
13 |
230 |
| db_write_text |
|
4 |
1 |
16 |
| db_write_bytes |
|
23 |
6 |
127 |
| db_enter |
|
4 |
1 |
11 |
| db_trapper |
|
9 |
2 |
52 |
| db_machine_init |
|
4 |
1 |
11 |
| db_branch_taken |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_read_regs |
|
11 |
1 |
105 |
| process_read_fpregs |
|
8 |
2 |
65 |
| process_write_regs |
|
4 |
1 |
19 |
| process_write_fpregs |
|
4 |
1 |
19 |
| process_sstep |
|
6 |
2 |
24 |
| process_set_pc |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
26 |
3 |
214 |
| cpu_exit |
|
7 |
2 |
36 |
| vmapbuf |
|
21 |
3 |
168 |
| vunmapbuf |
|
14 |
2 |
111 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arm_cpu_intr |
|
4 |
1 |
16 |
| arm_dflt_intr |
|
4 |
1 |
13 |
| arm_intr_get_parent |
|
9 |
3 |
42 |
| arm_intr_msi_get_parent |
|
9 |
3 |
42 |
| arm_intr_prereg_establish_fdt |
|
17 |
2 |
137 |
| arm_intr_prereg_disestablish_fdt |
|
10 |
4 |
75 |
| arm_intr_init_fdt_recurse |
|
15 |
3 |
94 |
| arm_intr_init_fdt |
|
6 |
2 |
23 |
| arm_intr_register_fdt |
|
20 |
4 |
164 |
| arm_intr_establish_fdt |
|
5 |
1 |
44 |
| arm_intr_establish_fdt_idx |
|
58 |
17 |
378 |
| arm_intr_establish_fdt_imap |
|
56 |
15 |
443 |
| arm_intr_establish_fdt_msi |
|
21 |
4 |
151 |
| arm_intr_disestablish_fdt |
|
7 |
1 |
46 |
| arm_intr_parent_establish_fdt |
|
22 |
4 |
151 |
| arm_intr_parent_disestablish_fdt |
|
7 |
1 |
46 |
| arm_intr_route |
|
7 |
2 |
51 |
| arm_dflt_splraise |
|
10 |
2 |
44 |
| arm_dflt_spllower |
|
8 |
1 |
33 |
| arm_dflt_splx |
|
7 |
2 |
38 |
| arm_dflt_setipl |
|
5 |
1 |
22 |
| arm_do_pending_intr |
|
14 |
2 |
80 |
| arm_set_intr_handler |
|
10 |
1 |
78 |
| arm_init_smask |
|
19 |
7 |
111 |
| splraise |
|
4 |
1 |
15 |
| _spllower |
|
4 |
1 |
15 |
| spllower |
|
4 |
1 |
15 |
| splx |
|
4 |
1 |
14 |
| arm_splassert_check |
|
11 |
4 |
75 |
| arm_clock_register |
|
10 |
2 |
72 |
| delay |
|
4 |
1 |
14 |
| cpu_initclocks |
|
6 |
2 |
25 |
| arm_dflt_delay |
|
7 |
3 |
34 |
| resettodr |
|
10 |
4 |
45 |
| setstatclockrate |
|
7 |
2 |
29 |
| intr_barrier |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/arm64_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/sig_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_frame |
|
4 |
1 |
18 |
| sendsig |
|
42 |
7 |
393 |
| sys_sigreturn |
|
33 |
7 |
278 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_stack_trace_print |
|
79 |
20 |
544 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/softintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softintr_init |
|
11 |
2 |
64 |
| softintr_dispatch |
|
22 |
3 |
131 |
| softintr_biglock_wrap |
|
7 |
1 |
32 |
| softintr_establish_flags |
|
35 |
9 |
174 |
| softintr_disestablish |
|
12 |
2 |
75 |
| softintr |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/openprom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| openpromattach |
|
3 |
1 |
7 |
| openpromopen |
|
4 |
1 |
23 |
| openpromclose |
|
4 |
1 |
23 |
| openpromcheckid |
|
7 |
4 |
50 |
| openpromgetstr |
|
11 |
2 |
81 |
| openpromioctl |
|
136 |
34 |
841 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/vfp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| set_vfp_enable |
|
12 |
2 |
59 |
| get_vfp_enable |
|
9 |
2 |
41 |
| vfp_init |
|
7 |
2 |
24 |
| vfp_store |
|
45 |
2 |
76 |
| vfp_save |
|
23 |
9 |
138 |
| vfp_enable |
|
9 |
3 |
43 |
| vfp_load |
|
51 |
1 |
125 |
| vfp_fault |
|
18 |
3 |
105 |
| vfp_discard |
|
8 |
3 |
46 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ttlb_flush |
|
11 |
2 |
70 |
| VP_IDX0 |
|
4 |
1 |
17 |
| VP_IDX1 |
|
4 |
1 |
17 |
| VP_IDX2 |
|
4 |
1 |
17 |
| VP_IDX3 |
|
4 |
1 |
17 |
| pmap_vp_lookup |
|
30 |
7 |
178 |
| pmap_vp_remove |
|
26 |
5 |
149 |
| pmap_vp_enter |
|
43 |
11 |
284 |
| pmap_vp_page_alloc |
|
11 |
1 |
72 |
| pmap_vp_page_free |
|
6 |
1 |
36 |
| PTED_MANAGED |
|
4 |
1 |
18 |
| PTED_WIRED |
|
4 |
1 |
18 |
| PTED_VALID |
|
4 |
1 |
18 |
| pmap_enter_pv |
|
7 |
2 |
46 |
| pmap_remove_pv |
|
4 |
1 |
16 |
| pmap_enter |
|
63 |
23 |
438 |
| pmap_remove |
|
16 |
5 |
93 |
| pmap_remove_pted |
|
21 |
5 |
128 |
| _pmap_kenter_pa |
|
20 |
4 |
129 |
| pmap_kenter_pa |
|
5 |
2 |
34 |
| pmap_kenter_cache |
|
4 |
1 |
29 |
| pmap_kremove_pg |
|
24 |
6 |
140 |
| pmap_kremove |
|
5 |
2 |
33 |
| pmap_fill_pte |
|
26 |
6 |
135 |
| pmap_collect |
|
3 |
1 |
7 |
| pmap_zero_page |
|
7 |
1 |
38 |
| pmap_copy_page |
|
10 |
1 |
77 |
| pmap_pinit |
|
20 |
4 |
131 |
| pmap_create |
|
11 |
2 |
51 |
| pmap_reference |
|
4 |
1 |
12 |
| pmap_destroy |
|
10 |
2 |
43 |
| pmap_release |
|
4 |
1 |
12 |
| pmap_vp_destroy_l2_l3 |
|
28 |
7 |
181 |
| pmap_vp_destroy |
|
23 |
4 |
142 |
| pmap_steal_memory |
|
46 |
12 |
267 |
| VP_Lx |
|
4 |
1 |
12 |
| pmap_bootstrap |
|
112 |
17 |
808 |
| pmap_set_l1 |
|
14 |
3 |
104 |
| pmap_set_l2 |
|
20 |
4 |
138 |
| pmap_set_l3 |
|
23 |
4 |
161 |
| pmap_activate |
|
9 |
3 |
53 |
| pmap_deactivate |
|
3 |
1 |
9 |
| pmap_extract |
|
12 |
4 |
76 |
| pmap_page_ro |
|
14 |
3 |
81 |
| pmap_page_protect |
|
19 |
3 |
126 |
| pmap_protect |
|
14 |
3 |
74 |
| pmap_init |
|
17 |
1 |
126 |
| pmap_proc_iflush |
|
5 |
2 |
30 |
| pmap_pte_insert |
|
10 |
2 |
59 |
| pmap_pte_update |
|
32 |
6 |
175 |
| pmap_pte_remove |
|
29 |
6 |
203 |
| pmap_fault_fixup |
|
47 |
16 |
341 |
| pmap_postinit |
|
3 |
1 |
6 |
| pmap_update |
|
3 |
1 |
7 |
| pmap_is_referenced |
|
4 |
1 |
22 |
| pmap_is_modified |
|
4 |
1 |
22 |
| pmap_clear_modify |
|
17 |
2 |
112 |
| pmap_clear_reference |
|
14 |
1 |
78 |
| pmap_copy |
|
4 |
1 |
19 |
| pmap_unwire |
|
9 |
3 |
57 |
| pmap_remove_holes |
|
3 |
1 |
9 |
| pmap_virtual_space |
|
5 |
1 |
22 |
| pmap_setup_avail |
|
9 |
1 |
57 |
| pmap_avail_fixup |
|
23 |
4 |
106 |
| pmap_remove_avail |
|
69 |
15 |
383 |
| pmap_steal_avail |
|
22 |
5 |
147 |
| pmap_map_stolen |
|
25 |
9 |
146 |
| pmap_physload_avail |
|
21 |
5 |
123 |
| pmap_show_mapping |
|
39 |
6 |
297 |
| pmap_allocate_asid |
|
10 |
3 |
82 |
| pmap_free_asid |
|
9 |
1 |
68 |
| pmap_setttb |
|
6 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fetch_syscall_args |
|
27 |
6 |
207 |
| svc_handler |
|
10 |
1 |
51 |
| data_abort |
|
64 |
15 |
373 |
| do_el1h_sync |
|
32 |
9 |
153 |
| do_el0_sync |
|
45 |
8 |
224 |
| do_el0_error |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/ast.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ast |
|
9 |
1 |
54 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _dmamap_create |
|
20 |
3 |
152 |
| _dmamap_destroy |
|
4 |
1 |
19 |
| _dmamap_load |
|
18 |
3 |
119 |
| _dmamap_load_mbuf |
|
27 |
8 |
192 |
| _dmamap_load_uio |
|
34 |
9 |
239 |
| _dmamap_load_raw |
|
61 |
15 |
441 |
| _dmamap_unload |
|
5 |
1 |
22 |
| _dmamap_sync_segment |
|
17 |
6 |
69 |
| _dmamap_sync |
|
39 |
9 |
176 |
| _dmamem_alloc |
|
7 |
1 |
61 |
| _dmamem_free |
|
17 |
3 |
106 |
| _dmamem_map |
|
36 |
9 |
257 |
| _dmamem_unmap |
|
4 |
1 |
29 |
| _dmamem_mmap |
|
22 |
7 |
143 |
| _dmamap_load_buffer |
|
64 |
15 |
449 |
| _dmamem_alloc_range |
|
41 |
9 |
272 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/arm64/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_disasm |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdt_check_head |
|
19 |
6 |
143 |
| fdt_init |
|
21 |
4 |
186 |
| fdt_finalize |
|
11 |
2 |
112 |
| fdt_get_size |
|
8 |
3 |
42 |
| fdt_get_str |
|
6 |
3 |
35 |
| fdt_add_str |
|
15 |
3 |
127 |
| skip_property |
|
7 |
1 |
45 |
| skip_props |
|
7 |
2 |
30 |
| skip_node_name |
|
5 |
1 |
35 |
| fdt_node_property |
|
22 |
5 |
142 |
| fdt_node_set_property |
|
37 |
7 |
261 |
| fdt_node_add_property |
|
23 |
6 |
203 |
| fdt_node_add_node |
|
25 |
5 |
212 |
| skip_node |
|
10 |
2 |
55 |
| fdt_next_node |
|
23 |
8 |
141 |
| fdt_node_property_ints |
|
11 |
4 |
92 |
| fdt_node_property_int |
|
4 |
1 |
28 |
| fdt_child_node |
|
13 |
4 |
71 |
| fdt_node_name |
|
10 |
3 |
48 |
| fdt_find_node |
|
29 |
9 |
155 |
| fdt_parent_node_recurse |
|
11 |
5 |
69 |
| fdt_parent_node |
|
9 |
3 |
42 |
| fdt_node_is_compatible |
|
13 |
3 |
75 |
| fdt_print_property |
|
37 |
14 |
295 |
| fdt_print_node |
|
15 |
4 |
95 |
| fdt_print_node_recurse |
|
7 |
2 |
49 |
| fdt_print_tree |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/eficall.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/self_reloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| self_reloc |
|
41 |
12 |
208 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/efidev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efid_io |
|
32 |
7 |
195 |
| efid_diskio |
|
6 |
2 |
58 |
| efi_getdisklabel |
|
34 |
9 |
251 |
| efiopen |
|
23 |
4 |
134 |
| efistrategy |
|
16 |
3 |
119 |
| eficlose |
|
5 |
1 |
18 |
| efiioctl |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/disk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/efiboot.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/heap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| heap_init |
|
6 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/efidev.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_get_dcache_line_size |
|
8 |
1 |
38 |
| cpu_flush_dcache |
|
11 |
2 |
71 |
| cpu_inval_icache |
|
7 |
1 |
17 |
| run_loadfile |
|
28 |
6 |
208 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm64/stand/efiboot/efiboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efi_main |
|
20 |
3 |
117 |
| efi_cons_probe |
|
5 |
1 |
26 |
| efi_cons_init |
|
5 |
1 |
21 |
| efi_cons_getc |
|
23 |
8 |
129 |
| efi_cons_putc |
|
9 |
2 |
52 |
| efi_heap_init |
|
8 |
2 |
41 |
| efi_diskprobe |
|
43 |
14 |
293 |
| efi_device_path_depth |
|
9 |
3 |
58 |
| efi_device_path_ncmp |
|
18 |
9 |
139 |
| efi_framebuffer |
|
72 |
19 |
534 |
| efi_makebootargs |
|
36 |
6 |
264 |
| efi_updatefdt |
|
20 |
2 |
125 |
| machdep |
|
12 |
2 |
55 |
| efi_cleanup |
|
15 |
4 |
73 |
| _rtt |
|
8 |
3 |
36 |
| efi_timer |
|
4 |
1 |
14 |
| efi_timer_init |
|
10 |
3 |
60 |
| efi_timer_cleanup |
|
4 |
1 |
13 |
| getsecs |
|
4 |
1 |
9 |
| devboot |
|
4 |
1 |
20 |
| cnspeed |
|
4 |
1 |
13 |
| ttyname |
|
4 |
1 |
10 |
| ttydev |
|
4 |
1 |
11 |
| devparse |
|
42 |
15 |
321 |
| devopen |
|
11 |
2 |
93 |
| efi_memprobe_internal |
|
24 |
3 |
140 |
| efi_memprobe_find |
|
29 |
9 |
173 |
| Xexit_efi |
|
7 |
2 |
33 |
| Xpoweroff_efi |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/giodevs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/impact_gio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| impact_gio_match |
|
8 |
3 |
48 |
| impact_gio_attach |
|
33 |
9 |
207 |
| impact_gio_cnprobe |
|
4 |
1 |
19 |
| impact_gio_cnattach |
|
17 |
3 |
87 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/gio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gio_match |
|
7 |
2 |
45 |
| gio_attach |
|
85 |
24 |
568 |
| gio_id |
|
59 |
35 |
357 |
| gio_print |
|
30 |
7 |
183 |
| gio_print_fb |
|
29 |
7 |
120 |
| gio_search |
|
19 |
3 |
166 |
| gio_submatch |
|
12 |
5 |
113 |
| giofb_cnprobe |
|
60 |
25 |
307 |
| giofb_cnattach |
|
34 |
14 |
161 |
| gio_is_framebuffer_id |
|
15 |
6 |
48 |
| gio_arb_config |
|
16 |
13 |
139 |
| gio_intr_map |
|
24 |
10 |
100 |
| gio_intr_establish |
|
5 |
1 |
43 |
| gio_product_string |
|
8 |
3 |
54 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/newport.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rex3_write |
|
5 |
1 |
32 |
| rex3_write_go |
|
4 |
1 |
26 |
| rex3_read |
|
5 |
1 |
28 |
| rex3_wait_gfifo |
|
13 |
4 |
74 |
| vc2_write_ireg |
|
9 |
1 |
70 |
| vc2_read_ireg |
|
15 |
1 |
108 |
| vc2_read_ram |
|
9 |
1 |
69 |
| vc2_write_ram |
|
9 |
1 |
68 |
| xmap9_read |
|
10 |
1 |
64 |
| xmap9_write |
|
10 |
1 |
71 |
| xmap9_write_mode |
|
10 |
1 |
75 |
| newport_fill_rectangle |
|
20 |
2 |
153 |
| newport_bitblt |
|
34 |
4 |
228 |
| newport_cmap_setrgb |
|
19 |
1 |
153 |
| newport_get_resolution |
|
30 |
8 |
189 |
| newport_setup_hw |
|
33 |
4 |
284 |
| newport_match |
|
7 |
2 |
38 |
| newport_attach |
|
47 |
8 |
326 |
| newport_cnprobe |
|
4 |
1 |
19 |
| newport_cnattach |
|
13 |
2 |
87 |
| newport_attach_common |
|
8 |
1 |
48 |
| newport_init_screen |
|
30 |
2 |
253 |
| newport_do_cursor |
|
11 |
1 |
87 |
| newport_putchar |
|
55 |
12 |
438 |
| newport_copycols |
|
14 |
1 |
126 |
| newport_erasecols |
|
14 |
1 |
140 |
| newport_copyrows |
|
14 |
1 |
117 |
| newport_eraserows |
|
16 |
3 |
156 |
| newport_alloc_screen |
|
15 |
2 |
115 |
| newport_free_screen |
|
3 |
1 |
12 |
| newport_show_screen |
|
5 |
1 |
36 |
| newport_ioctl |
|
37 |
10 |
204 |
| newport_mmap |
|
4 |
1 |
18 |
| newport_load_font |
|
6 |
1 |
44 |
| newport_list_font |
|
6 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/gioreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/grtworeg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/grtwo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| grtwo_wait_gfifo |
|
14 |
7 |
76 |
| grtwo_set_color |
|
4 |
1 |
24 |
| grtwo_fillrect |
|
13 |
1 |
115 |
| grtwo_copyrect |
|
22 |
2 |
211 |
| grtwo_setup_hw |
|
70 |
10 |
658 |
| grtwo_match |
|
7 |
2 |
38 |
| grtwo_attach |
|
54 |
10 |
355 |
| grtwo_cnprobe |
|
4 |
1 |
19 |
| grtwo_cnattach |
|
21 |
4 |
146 |
| grtwo_attach_common |
|
7 |
1 |
44 |
| grtwo_init_screen |
|
35 |
3 |
290 |
| grtwo_cursor |
|
16 |
2 |
150 |
| grtwo_putchar |
|
13 |
1 |
122 |
| grtwo_putchar_internal |
|
68 |
15 |
528 |
| grtwo_copycols |
|
30 |
4 |
227 |
| grtwo_erasecols |
|
19 |
2 |
184 |
| grtwo_copyrows |
|
31 |
4 |
227 |
| grtwo_eraserows |
|
29 |
5 |
267 |
| grtwo_alloc_screen |
|
20 |
3 |
159 |
| grtwo_free_screen |
|
3 |
1 |
12 |
| grtwo_show_screen |
|
5 |
1 |
36 |
| grtwo_ioctl |
|
24 |
4 |
137 |
| grtwo_mmap |
|
4 |
1 |
18 |
| grtwo_load_font |
|
6 |
1 |
44 |
| grtwo_list_font |
|
6 |
1 |
38 |
| grtwo_burner |
|
11 |
2 |
131 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/newportreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/grtwovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/lightvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/light.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rex_read |
|
4 |
1 |
31 |
| rex_write |
|
4 |
1 |
35 |
| rex_vc1_sysctl_read |
|
6 |
1 |
39 |
| rex_vc1_sysctl_write |
|
6 |
1 |
45 |
| rex_wait |
|
5 |
2 |
24 |
| rex_revision |
|
6 |
1 |
41 |
| rex_copy_rect |
|
25 |
2 |
193 |
| rex_fill_rect |
|
17 |
1 |
140 |
| light_getcmap |
|
31 |
9 |
266 |
| light_putcmap |
|
23 |
7 |
217 |
| light_loadcmap |
|
17 |
2 |
157 |
| light_match |
|
7 |
2 |
38 |
| light_attach |
|
38 |
6 |
282 |
| light_cnprobe |
|
4 |
1 |
19 |
| light_cnattach |
|
10 |
1 |
73 |
| light_attach_common |
|
9 |
1 |
63 |
| light_init_screen |
|
28 |
1 |
259 |
| light_do_cursor |
|
11 |
1 |
89 |
| light_putchar |
|
58 |
11 |
449 |
| light_copycols |
|
15 |
1 |
128 |
| light_erasecols |
|
15 |
1 |
138 |
| light_copyrows |
|
15 |
1 |
119 |
| light_eraserows |
|
17 |
3 |
152 |
| light_ioctl |
|
35 |
7 |
203 |
| light_mmap |
|
4 |
1 |
18 |
| light_alloc_screen |
|
15 |
2 |
115 |
| light_free_screen |
|
3 |
1 |
12 |
| light_show_screen |
|
5 |
1 |
36 |
| light_load_font |
|
6 |
1 |
44 |
| light_list_font |
|
6 |
1 |
38 |
| light_burner |
|
10 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/giodevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/pci_gio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| giopci_match |
|
12 |
5 |
53 |
| giopci_attach |
|
90 |
14 |
593 |
| giopci_print |
|
8 |
2 |
49 |
| giopci_attach_hook |
|
4 |
1 |
19 |
| giopci_make_tag |
|
4 |
1 |
39 |
| giopci_decompose_tag |
|
9 |
4 |
77 |
| giopci_bus_maxdevs |
|
4 |
2 |
20 |
| giopci_conf_size |
|
5 |
1 |
28 |
| giopci_conf_read |
|
15 |
6 |
117 |
| giopci_conf_write |
|
12 |
5 |
99 |
| giopci_probe_device_hook |
|
4 |
1 |
16 |
| giopci_get_widget |
|
4 |
1 |
11 |
| giopci_get_dl |
|
11 |
2 |
74 |
| giopci_intr_map |
|
11 |
3 |
69 |
| giopci_intr_string |
|
6 |
1 |
38 |
| giopci_intr_establish |
|
5 |
1 |
50 |
| giopci_intr_disestablish |
|
4 |
1 |
19 |
| giopci_intr_line |
|
4 |
1 |
17 |
| giopci_ppb_setup |
|
5 |
1 |
34 |
| giopci_rbus_parent_io |
|
4 |
1 |
14 |
| giopci_rbus_parent_mem |
|
4 |
1 |
14 |
| giopci_dmamap_create |
|
9 |
3 |
78 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/giovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/lightreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/gio/newportvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/mkbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mkbc_match |
|
4 |
1 |
20 |
| mkbc_init_slotdata |
|
10 |
2 |
69 |
| mkbcprint |
|
7 |
2 |
42 |
| mkbc_submatch |
|
9 |
3 |
77 |
| mkbc_attach_slot |
|
34 |
4 |
229 |
| mkbc_attach |
|
37 |
4 |
275 |
| mkbcintr |
|
7 |
1 |
47 |
| mkbcintr_internal |
|
55 |
18 |
354 |
| mkbc_poll_write |
|
14 |
3 |
72 |
| mkbc_poll_read |
|
14 |
3 |
71 |
| mkbc_poll_cmd |
|
56 |
19 |
295 |
| mkbc_cleanqueue |
|
13 |
5 |
94 |
| mkbc_cleanup |
|
16 |
5 |
116 |
| mkbc_start |
|
26 |
6 |
169 |
| mkbc_cmdresponse |
|
41 |
15 |
262 |
| pckbc_xt_translation |
|
4 |
1 |
13 |
| pckbc_poll_cmd |
|
19 |
6 |
148 |
| pckbc_flush |
|
5 |
1 |
36 |
| pckbc_enqueue_cmd |
|
48 |
15 |
350 |
| pckbc_poll_data |
|
12 |
5 |
83 |
| pckbc_set_inputhandler |
|
13 |
4 |
100 |
| pckbc_slot_enable |
|
20 |
4 |
111 |
| pckbc_set_poll |
|
13 |
3 |
72 |
| mkbc_cnattach |
|
35 |
5 |
236 |
| mkbc_poll |
|
9 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/owserialvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/impactreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/mavb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mavb_open |
|
4 |
1 |
16 |
| mavb_close |
|
3 |
1 |
8 |
| mavb_set_play_rate |
|
10 |
4 |
61 |
| mavb_set_rec_rate |
|
10 |
4 |
61 |
| mavb_get_format |
|
20 |
5 |
69 |
| mavb_set_play_format |
|
17 |
3 |
96 |
| mavb_set_rec_format |
|
18 |
3 |
107 |
| mavb_set_params |
|
36 |
7 |
238 |
| mavb_round_blocksize |
|
9 |
2 |
43 |
| mavb_halt_output |
|
9 |
1 |
67 |
| mavb_halt_input |
|
9 |
1 |
67 |
| mavb_set_port |
|
120 |
27 |
791 |
| mavb_get_port |
|
88 |
28 |
621 |
| mavb_query_devinfo |
|
159 |
26 |
1485 |
| mavb_get_props |
|
4 |
1 |
15 |
| mavb_dma_output |
|
38 |
8 |
272 |
| mavb_dma_input |
|
38 |
8 |
272 |
| mavb_trigger_output |
|
26 |
1 |
222 |
| mavb_trigger_input |
|
22 |
1 |
191 |
| mavb_button_repeat |
|
39 |
8 |
256 |
| mavb_intr |
|
23 |
4 |
139 |
| mavb_match |
|
12 |
2 |
92 |
| mavb_attach |
|
90 |
8 |
682 |
| ad1843_reg_read |
|
8 |
1 |
55 |
| ad1843_reg_write |
|
8 |
1 |
65 |
| ad1843_dump_regs |
|
6 |
2 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/if_iecreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/if_mecreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/com_ioc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_ioc_probe |
|
22 |
7 |
157 |
| com_ioc_attach |
|
33 |
6 |
238 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/iockbcvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/owmem_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| owmem_redirect |
|
12 |
4 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/gbereg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/iockbcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/owmem_subr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/dsrtcvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/mavbreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/power.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| power_macebus_match |
|
4 |
1 |
22 |
| power_macebus_attach |
|
9 |
2 |
61 |
| power_mainbus_match |
|
7 |
3 |
53 |
| power_mainbus_attach |
|
9 |
2 |
53 |
| power_mainbus_intr |
|
5 |
1 |
19 |
| power_intr |
|
14 |
3 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/dsrtc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| frombcd |
|
4 |
2 |
30 |
| tobcd |
|
4 |
2 |
29 |
| dsrtc_match |
|
5 |
1 |
38 |
| dsrtc_attach_ioc |
|
37 |
6 |
239 |
| dsrtc_attach_iof |
|
21 |
3 |
130 |
| dsrtc_attach_macebus |
|
17 |
2 |
112 |
| ip32_dsrtc_read |
|
4 |
1 |
26 |
| ip32_dsrtc_write |
|
4 |
1 |
30 |
| ioc_ds1687_dsrtc_read |
|
5 |
1 |
41 |
| ioc_ds1687_dsrtc_write |
|
5 |
1 |
45 |
| ds1687_get |
|
18 |
2 |
250 |
| ds1687_set |
|
23 |
1 |
321 |
| ds1742_get |
|
23 |
1 |
230 |
| ds1742_set |
|
25 |
1 |
249 |
| dsrtc_register_read |
|
9 |
4 |
61 |
| dsrtc_register_write |
|
9 |
4 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/iockbc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iockbc_match |
|
4 |
1 |
20 |
| iockbc_ioc_attach |
|
14 |
2 |
106 |
| iockbc_iof_attach |
|
14 |
2 |
106 |
| iockbc_init_slotdata |
|
12 |
2 |
86 |
| iockbcprint |
|
7 |
2 |
42 |
| iockbc_submatch |
|
9 |
3 |
77 |
| iockbc_probe_slot |
|
99 |
26 |
528 |
| iockbc_attach_slot |
|
13 |
1 |
96 |
| iockbc_attach_common |
|
71 |
12 |
431 |
| iockbc_poll |
|
9 |
1 |
51 |
| iockbcintr |
|
7 |
1 |
47 |
| iockbcintr_internal |
|
44 |
10 |
244 |
| iockbc_process_input |
|
12 |
4 |
91 |
| iockbc_poll_write |
|
18 |
3 |
123 |
| iockbc_poll_read |
|
31 |
9 |
212 |
| iockbc_poll_cmd |
|
54 |
14 |
276 |
| iockbc_cleanqueue |
|
13 |
5 |
94 |
| iockbc_cleanup |
|
16 |
5 |
98 |
| iockbc_start |
|
25 |
6 |
160 |
| iockbc_cmdresponse |
|
41 |
14 |
262 |
| pckbc_xt_translation |
|
4 |
1 |
13 |
| pckbc_poll_cmd |
|
19 |
6 |
148 |
| pckbc_flush |
|
5 |
1 |
27 |
| pckbc_enqueue_cmd |
|
47 |
15 |
348 |
| pckbc_poll_data |
|
12 |
5 |
79 |
| pckbc_set_inputhandler |
|
14 |
5 |
120 |
| pckbc_slot_enable |
|
10 |
3 |
56 |
| pckbc_set_poll |
|
13 |
3 |
72 |
| iockbc_cnattach |
|
58 |
12 |
343 |
| iockbc_is_ioc_console |
|
6 |
2 |
30 |
| iockbc_is_iof_console |
|
6 |
2 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/mkbcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/gbe.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gbe_match |
|
7 |
2 |
45 |
| gbe_attach |
|
181 |
21 |
1319 |
| gbe_activate |
|
11 |
2 |
50 |
| gbe_init_screen |
|
57 |
5 |
533 |
| gbe_enable |
|
32 |
8 |
242 |
| gbe_disable |
|
76 |
20 |
655 |
| gbe_setup |
|
93 |
13 |
849 |
| gbe_wait_re_idle |
|
13 |
4 |
68 |
| gbe_ioctl |
|
64 |
19 |
392 |
| gbe_mmap |
|
10 |
3 |
59 |
| gbe_alloc_screen |
|
14 |
2 |
119 |
| gbe_free_screen |
|
3 |
1 |
12 |
| gbe_show_screen |
|
5 |
1 |
38 |
| gbe_load_font |
|
5 |
1 |
42 |
| gbe_list_font |
|
5 |
1 |
36 |
| gbe_setcolour |
|
16 |
4 |
124 |
| gbe_getcmap |
|
14 |
6 |
142 |
| gbe_putcmap |
|
14 |
6 |
142 |
| gbe_loadcmap |
|
8 |
2 |
76 |
| gbe_rop |
|
16 |
1 |
174 |
| gbe_copyrect |
|
54 |
11 |
428 |
| gbe_fillrect |
|
13 |
1 |
144 |
| gbe_do_cursor |
|
11 |
1 |
85 |
| gbe_putchar |
|
18 |
2 |
174 |
| gbe_copycols |
|
13 |
1 |
110 |
| gbe_erasecols |
|
13 |
1 |
119 |
| gbe_copyrows |
|
11 |
1 |
93 |
| gbe_eraserows |
|
19 |
3 |
162 |
| gbe_cnprobe |
|
14 |
3 |
94 |
| gbe_cnattach |
|
49 |
4 |
516 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/gl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/com_iof.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_iof_probe |
|
21 |
6 |
149 |
| com_iof_attach |
|
32 |
5 |
230 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/owmac.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| owmac_match |
|
11 |
5 |
80 |
| owmac_attach |
|
13 |
2 |
81 |
| owmac_read_redirect |
|
19 |
2 |
134 |
| owmac_read_page |
|
21 |
3 |
159 |
| owmac_read_mac |
|
18 |
3 |
166 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/owserial.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| owserial_match |
|
5 |
1 |
40 |
| owserial_attach |
|
17 |
3 |
105 |
| owserial_read_redirect |
|
23 |
3 |
169 |
| owserial_read_page |
|
20 |
3 |
154 |
| owserial_read_serial |
|
54 |
24 |
479 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/impact.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| impact_attach_common |
|
39 |
4 |
244 |
| impact_init_screen |
|
50 |
8 |
430 |
| impact_setup |
|
61 |
3 |
423 |
| impact_cmd_fifo_write |
|
9 |
2 |
59 |
| impact_cmd_fifo_wait |
|
18 |
8 |
122 |
| impact_ioctl |
|
26 |
5 |
147 |
| impact_mmap |
|
6 |
3 |
36 |
| impact_alloc_screen |
|
16 |
2 |
127 |
| impact_free_screen |
|
3 |
1 |
12 |
| impact_show_screen |
|
5 |
1 |
36 |
| impact_load_font |
|
6 |
1 |
49 |
| impact_list_font |
|
6 |
1 |
43 |
| impact_rop |
|
19 |
2 |
144 |
| impact_fillrect |
|
4 |
1 |
41 |
| impact_do_cursor |
|
13 |
1 |
122 |
| impact_putchar |
|
75 |
11 |
575 |
| impact_copycols |
|
13 |
2 |
112 |
| impact_erasecols |
|
19 |
2 |
170 |
| impact_copyrows |
|
15 |
3 |
133 |
| impact_eraserows |
|
30 |
5 |
266 |
| impact_cnattach_common |
|
16 |
2 |
116 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/impactvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/spdmem_mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spdmem_mainbus_match |
|
19 |
4 |
120 |
| spdmem_mainbus_attach |
|
17 |
2 |
131 |
| spdmem_mainbus_read |
|
8 |
2 |
44 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/if_mec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mec_match |
|
4 |
1 |
22 |
| mec_attach |
|
105 |
11 |
805 |
| mec_mii_readreg |
|
21 |
4 |
145 |
| mec_mii_writereg |
|
16 |
2 |
115 |
| mec_mii_wait |
|
17 |
4 |
99 |
| mec_statchg |
|
16 |
2 |
100 |
| mec_mediastatus |
|
9 |
2 |
65 |
| mec_mediachange |
|
7 |
2 |
42 |
| mec_init |
|
35 |
3 |
244 |
| mec_reset |
|
22 |
2 |
151 |
| mec_start |
|
165 |
22 |
1036 |
| mec_stop |
|
21 |
3 |
149 |
| mec_ioctl |
|
38 |
11 |
208 |
| mec_watchdog |
|
7 |
1 |
39 |
| mec_tick |
|
9 |
1 |
47 |
| mec_iff |
|
34 |
6 |
210 |
| mec_intr |
|
48 |
7 |
235 |
| mec_rxintr |
|
87 |
10 |
551 |
| mec_txintr |
|
57 |
8 |
382 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/owmacvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/dev/if_iec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iec_match |
|
4 |
1 |
20 |
| iec_attach |
|
89 |
9 |
745 |
| iec_alloc_physical |
|
45 |
5 |
296 |
| iec_mii_readreg |
|
17 |
3 |
116 |
| iec_mii_writereg |
|
18 |
2 |
119 |
| iec_mii_wait |
|
13 |
3 |
77 |
| iec_statchg |
|
16 |
2 |
100 |
| iec_mediastatus |
|
9 |
2 |
65 |
| iec_mediachange |
|
7 |
2 |
42 |
| iec_init |
|
53 |
2 |
436 |
| iec_reset |
|
25 |
2 |
204 |
| iec_start |
|
140 |
20 |
883 |
| iec_stop |
|
24 |
3 |
192 |
| iec_ioctl |
|
38 |
11 |
208 |
| iec_watchdog |
|
10 |
1 |
74 |
| iec_tick |
|
9 |
1 |
47 |
| iec_iff |
|
30 |
5 |
203 |
| iec_get |
|
51 |
8 |
290 |
| iec_intr |
|
33 |
6 |
185 |
| iec_rxintr |
|
61 |
7 |
430 |
| iec_txintr |
|
53 |
9 |
351 |
| iec_ssram_probe |
|
20 |
3 |
149 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/memconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/mnode.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/rbus_machdep.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| md_space_map |
|
7 |
1 |
58 |
| md_space_unmap |
|
6 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/cpustate.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_copy_1 |
|
8 |
2 |
63 |
| bus_space_copy_2 |
|
8 |
2 |
64 |
| bus_space_copy_4 |
|
8 |
2 |
64 |
| bus_space_copy_8 |
|
8 |
2 |
64 |
| bus_space_barrier |
|
5 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/z8530var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/eisa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/mips_opcode.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/regdef.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/include/regnum.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mips_init |
|
305 |
104 |
1684 |
| dobootopts |
|
39 |
14 |
219 |
| consinit |
|
7 |
2 |
19 |
| cpu_startup |
|
26 |
5 |
195 |
| cpu_sysctl |
|
10 |
2 |
54 |
| sgi_cpuspeed |
|
5 |
1 |
26 |
| boot |
|
40 |
11 |
193 |
| arcbios_halt |
|
18 |
8 |
85 |
| dumpconf |
|
16 |
7 |
123 |
| dumpsys |
|
32 |
10 |
137 |
| is_memory_range |
|
14 |
6 |
101 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/ip30.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_configure |
|
11 |
2 |
47 |
| diskconf |
|
9 |
2 |
42 |
| memrange_register |
|
47 |
17 |
287 |
| device_register |
|
5 |
2 |
27 |
| bootpath_init |
|
5 |
1 |
19 |
| bootpath_get |
|
28 |
10 |
158 |
| bootpath_next |
|
5 |
2 |
16 |
| arcs_device_register |
|
121 |
63 |
693 |
| dksc_init |
|
28 |
10 |
195 |
| dksc_scan_board |
|
5 |
1 |
26 |
| dksc_scan_cmp |
|
35 |
14 |
166 |
| dksc_device_register |
|
43 |
14 |
248 |
| enaddr_aton |
|
11 |
4 |
64 |
| bios_getenvint |
|
13 |
3 |
63 |
| strtoul |
|
56 |
23 |
280 |
| location_match |
|
18 |
12 |
134 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/l1.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
30 |
9 |
187 |
| readsgilabel |
|
69 |
15 |
538 |
| writedisklabel |
|
31 |
5 |
229 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/ip22_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip22_arcbios_walk_component |
|
63 |
21 |
423 |
| ip22_arcbios_walk |
|
5 |
2 |
24 |
| ip22_memory_setup |
|
73 |
22 |
505 |
| ip22_video_setup |
|
40 |
12 |
260 |
| ip22_setup |
|
112 |
31 |
479 |
| ip22_post_autoconf |
|
19 |
6 |
94 |
| ip22_ecc_map |
|
11 |
1 |
57 |
| ip22_ecc_unmap |
|
6 |
1 |
26 |
| ip22_fast_mode |
|
14 |
3 |
67 |
| ip22_slow_mode |
|
14 |
3 |
67 |
| ip22_ecc_init |
|
19 |
2 |
102 |
| ip22_ecc_halt |
|
5 |
1 |
16 |
| ip22_l2_disable |
|
5 |
1 |
22 |
| ip22_l2_enable |
|
5 |
1 |
23 |
| ip22_cache_halt |
|
5 |
1 |
16 |
| ip22_ConfigCache |
|
18 |
4 |
85 |
| ip22_SyncCache |
|
11 |
2 |
60 |
| ip22_cache_sync |
|
24 |
5 |
138 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/l1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| l1_serial_getc |
|
15 |
5 |
92 |
| l1_serial_putc |
|
16 |
5 |
99 |
| l1_serial_ppp_write |
|
11 |
6 |
76 |
| l1_serial_ppp_read |
|
12 |
5 |
62 |
| l1_packet_put |
|
17 |
7 |
135 |
| l1_packet_get |
|
36 |
12 |
167 |
| l1_packet_put_be32 |
|
7 |
1 |
44 |
| l1_packet_put_be16 |
|
5 |
1 |
26 |
| l1_packet_get_be32 |
|
12 |
1 |
53 |
| l1_packet_get_int |
|
13 |
3 |
69 |
| l1_packet_get_ascii |
|
20 |
6 |
119 |
| l1_packet_get_binary |
|
19 |
4 |
105 |
| l1_command_build |
|
71 |
12 |
362 |
| l1_receive_response |
|
17 |
6 |
92 |
| l1_response_to_errno |
|
20 |
5 |
61 |
| l1_read_board_ia |
|
118 |
31 |
684 |
| ia_skip |
|
9 |
3 |
53 |
| l1_get_brick_ethernet_address |
|
51 |
11 |
459 |
| l1_exec_command |
|
34 |
10 |
187 |
| l1_get_brick_spd_record |
|
120 |
30 |
678 |
| l1_display |
|
38 |
12 |
226 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/ip22.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/intr_template.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| MASK_FUNCTIONNAME |
|
27 |
6 |
205 |
| INTR_FUNCTIONNAME |
|
81 |
24 |
438 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
7 |
4 |
44 |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/sginode.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kl_init |
|
35 |
8 |
251 |
| kl_first_pass_board |
|
12 |
3 |
83 |
| kl_first_pass_comp |
|
129 |
38 |
813 |
| kl_scan_all_nodes |
|
15 |
6 |
112 |
| kl_scan_node |
|
15 |
6 |
103 |
| kl_scan_board |
|
20 |
8 |
143 |
| kl_get_console |
|
5 |
1 |
20 |
| kl_add_memory_ip27 |
|
36 |
9 |
241 |
| kl_add_memory_ip35 |
|
30 |
6 |
195 |
| kl_get_location |
|
26 |
6 |
160 |
| kl_get_console_location |
|
22 |
7 |
151 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mbmatch |
|
7 |
2 |
37 |
| mbattach |
|
53 |
17 |
307 |
| mbprint |
|
6 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/ip32_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| crime_configure_memory |
|
35 |
11 |
219 |
| ip32_setup |
|
72 |
24 |
489 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/ip30_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip30_setup |
|
65 |
14 |
412 |
| ip30_autoconf |
|
28 |
5 |
232 |
| ip30_widget_short |
|
4 |
1 |
33 |
| ip30_widget_long |
|
4 |
1 |
26 |
| ip30_widget_map |
|
7 |
1 |
49 |
| ip30_widget_id |
|
16 |
6 |
116 |
| ip30_find_video |
|
45 |
17 |
213 |
| ip30_lights_frob |
|
16 |
4 |
124 |
| ip30_cpu_exists |
|
6 |
1 |
30 |
| ip30_get_ncpusfound |
|
9 |
3 |
40 |
| ip30_nmi_handler |
|
28 |
8 |
158 |
| hw_cpu_boot_secondary |
|
47 |
4 |
374 |
| hw_cpu_hatch |
|
20 |
1 |
111 |
| hw_ipi_intr_establish |
|
5 |
1 |
45 |
| hw_ipi_intr_set |
|
4 |
1 |
15 |
| hw_ipi_intr_clear |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/wscons_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wscnprobe |
|
54 |
26 |
262 |
| wscninit |
|
39 |
24 |
164 |
| wscnputc |
|
4 |
1 |
17 |
| wscngetc |
|
8 |
1 |
34 |
| wscnpollc |
|
4 |
1 |
17 |
| widget_cnprobe |
|
41 |
13 |
179 |
| widget_cnattach |
|
10 |
6 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/eisa_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eisa_intr_map |
|
10 |
3 |
46 |
| eisa_intr_string |
|
6 |
1 |
32 |
| eisa_intr_establish |
|
38 |
10 |
286 |
| eisa_intr_disestablish |
|
24 |
7 |
192 |
| eisa_intr |
|
28 |
6 |
166 |
| eisa_attach_hook |
|
30 |
2 |
248 |
| eisa_maxslots |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _dmamap_create |
|
20 |
3 |
152 |
| _dmamap_destroy |
|
4 |
1 |
19 |
| _dmamap_load |
|
18 |
3 |
119 |
| _dmamap_load_mbuf |
|
27 |
8 |
192 |
| _dmamap_load_uio |
|
34 |
9 |
239 |
| _dmamap_load_raw |
|
23 |
8 |
185 |
| _dmamap_unload |
|
5 |
1 |
22 |
| _dmamap_sync |
|
61 |
18 |
296 |
| _dmamem_alloc |
|
8 |
1 |
58 |
| _dmamem_free |
|
17 |
3 |
106 |
| _dmamem_map |
|
52 |
16 |
371 |
| _dmamem_unmap |
|
6 |
2 |
41 |
| _dmamem_mmap |
|
20 |
7 |
125 |
| _dmamap_load_buffer |
|
71 |
18 |
506 |
| _dmamem_alloc_range |
|
45 |
9 |
320 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/ip27.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/sgi/ip27_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ip27_setup |
|
130 |
19 |
736 |
| ip27_autoconf |
|
26 |
5 |
168 |
| ip27_attach_node |
|
32 |
9 |
216 |
| ip27_print |
|
8 |
2 |
49 |
| ip27_widget_short |
|
7 |
2 |
51 |
| ip27_widget_long |
|
5 |
1 |
39 |
| ip27_widget_map |
|
42 |
11 |
286 |
| ip27_widget_id |
|
16 |
6 |
85 |
| ip27_widget_id_early |
|
13 |
5 |
74 |
| ip27_halt |
|
57 |
13 |
268 |
| ip27_hub_intr_register |
|
17 |
5 |
121 |
| ip27_hub_intr_establish |
|
43 |
11 |
276 |
| ip27_hub_intr_disestablish |
|
27 |
8 |
162 |
| ip27_hub_intr_clear |
|
8 |
1 |
55 |
| ip27_hub_intr_set |
|
6 |
1 |
36 |
| ip27_hub_splx |
|
11 |
3 |
55 |
| ip27_hub_setintrmask |
|
18 |
2 |
133 |
| ip27_nmi |
|
28 |
3 |
190 |
| ip27_kl_launch_cpu |
|
16 |
5 |
98 |
| ip27_kl_launch_cpu_board |
|
5 |
1 |
26 |
| ip27_kl_attach_cpu |
|
28 |
5 |
189 |
| ip27_kl_attach_cpu_board |
|
5 |
1 |
26 |
| ip27_hub_get_timecount |
|
4 |
1 |
17 |
| hw_ipi_intr_set |
|
8 |
1 |
49 |
| hw_ipi_intr_clear |
|
10 |
1 |
68 |
| hw_ipi_intr_establish |
|
8 |
1 |
62 |
| hw_cpu_hatch |
|
21 |
1 |
120 |
| hw_cpu_boot_secondary |
|
16 |
3 |
97 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/com_lbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_macebus_probe |
|
13 |
4 |
96 |
| com_macebus_attach |
|
25 |
5 |
193 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/int.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| int2_intr_establish |
|
47 |
13 |
323 |
| int2_splx |
|
15 |
3 |
95 |
| int2_mappable_intr |
|
38 |
10 |
229 |
| int2_match |
|
14 |
5 |
68 |
| int2_attach |
|
31 |
5 |
204 |
| int2_get_base |
|
19 |
6 |
67 |
| int2_is_intr_pending |
|
21 |
6 |
83 |
| int2_intr_disable |
|
14 |
4 |
90 |
| int2_intr_enable |
|
14 |
4 |
88 |
| int_8254_cal |
|
19 |
1 |
112 |
| int_8254_intr0 |
|
16 |
4 |
79 |
| int_8254_startclock |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/tcc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcc_match |
|
10 |
2 |
57 |
| tcc_attach |
|
13 |
1 |
90 |
| tcc_bus_reset |
|
6 |
1 |
32 |
| tcc_bus_error |
|
22 |
5 |
141 |
| tcc_ConfigCache |
|
15 |
2 |
76 |
| tcc_SyncCache |
|
14 |
2 |
72 |
| tcc_SyncDCachePage |
|
13 |
2 |
59 |
| tcc_virtual |
|
28 |
9 |
148 |
| tcc_HitSyncDCache |
|
11 |
1 |
78 |
| tcc_HitInvalidateDCache |
|
11 |
1 |
76 |
| tcc_IOSyncDCache |
|
45 |
9 |
257 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/imcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/crimebus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/imcvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/imc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imc_read_1 |
|
4 |
1 |
26 |
| imc_read_2 |
|
4 |
1 |
26 |
| imc_read_4 |
|
4 |
1 |
26 |
| imc_read_8 |
|
4 |
1 |
26 |
| imc_write_1 |
|
4 |
1 |
30 |
| imc_write_2 |
|
4 |
1 |
30 |
| imc_write_4 |
|
4 |
1 |
30 |
| imc_write_8 |
|
4 |
1 |
30 |
| imc_read_raw_2 |
|
10 |
2 |
64 |
| imc_write_raw_2 |
|
10 |
2 |
65 |
| imc_read_raw_4 |
|
10 |
2 |
64 |
| imc_write_raw_4 |
|
10 |
2 |
65 |
| imc_read_raw_8 |
|
10 |
2 |
64 |
| imc_write_raw_8 |
|
10 |
2 |
65 |
| imc_space_map |
|
6 |
1 |
32 |
| imc_space_unmap |
|
3 |
1 |
13 |
| imc_space_region |
|
6 |
1 |
30 |
| imc_space_vaddr |
|
4 |
1 |
17 |
| imc_space_barrier |
|
5 |
1 |
23 |
| imc_eisa_read_raw_2 |
|
10 |
2 |
67 |
| imc_eisa_write_raw_2 |
|
10 |
2 |
68 |
| imc_eisa_read_raw_4 |
|
10 |
2 |
67 |
| imc_eisa_write_raw_4 |
|
10 |
2 |
68 |
| imc_eisa_read_raw_8 |
|
10 |
2 |
67 |
| imc_eisa_write_raw_8 |
|
10 |
2 |
68 |
| imc_eisa_io_map |
|
8 |
2 |
45 |
| imc_eisa_io_region |
|
8 |
2 |
51 |
| imc_eisa_mem_map |
|
10 |
5 |
63 |
| imc_eisa_mem_region |
|
11 |
5 |
76 |
| imc_pa_to_device |
|
4 |
1 |
16 |
| imc_match |
|
14 |
5 |
69 |
| imc_attach |
|
100 |
17 |
528 |
| imc_activate |
|
11 |
2 |
47 |
| imc_print |
|
7 |
2 |
40 |
| imc_bus_reset |
|
5 |
1 |
19 |
| imc_bus_error |
|
51 |
21 |
300 |
| imc_watchdog_cb |
|
17 |
2 |
90 |
| imc_gio64_arb_config |
|
81 |
40 |
404 |
| imc_disable_sysad_parity |
|
9 |
2 |
33 |
| imc_enable_sysad_parity |
|
9 |
2 |
33 |
| imc_is_sysad_parity_enabled |
|
8 |
2 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/macebusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/macebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| macebusmatch |
|
6 |
2 |
35 |
| macebusprint |
|
11 |
4 |
76 |
| macebussubmatch |
|
10 |
4 |
97 |
| macebusattach |
|
30 |
4 |
258 |
| mace_read_1 |
|
4 |
1 |
33 |
| mace_read_2 |
|
4 |
1 |
18 |
| mace_read_4 |
|
4 |
1 |
26 |
| mace_read_8 |
|
4 |
1 |
26 |
| mace_write_1 |
|
4 |
1 |
37 |
| mace_write_2 |
|
4 |
1 |
21 |
| mace_write_4 |
|
4 |
1 |
30 |
| mace_write_8 |
|
4 |
1 |
30 |
| mace_read_raw_2 |
|
5 |
1 |
25 |
| mace_write_raw_2 |
|
5 |
1 |
26 |
| mace_read_raw_4 |
|
10 |
2 |
64 |
| mace_write_raw_4 |
|
10 |
2 |
65 |
| mace_read_raw_8 |
|
10 |
2 |
64 |
| mace_write_raw_8 |
|
10 |
2 |
65 |
| mace_space_map |
|
9 |
2 |
57 |
| mace_space_unmap |
|
3 |
1 |
13 |
| mace_space_region |
|
6 |
1 |
32 |
| mace_space_vaddr |
|
4 |
1 |
17 |
| mace_space_barrier |
|
5 |
1 |
23 |
| macebus_pa_to_device |
|
4 |
1 |
17 |
| macebus_intr_establish |
|
34 |
7 |
255 |
| macebus_intr_disestablish |
|
4 |
1 |
15 |
| macebus_splx |
|
11 |
3 |
57 |
| macebus_iointr_skip |
|
9 |
3 |
58 |
| macebus_aux |
|
16 |
4 |
96 |
| crime_setintrmask |
|
5 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/intvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/tccreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/intreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/macebus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/localbus/tccvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tcc_prefetch_disable |
|
4 |
1 |
13 |
| tcc_prefetch_enable |
|
4 |
1 |
13 |
| tcc_prefetch_invalidate |
|
5 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/sgivol/sgivol.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
117 |
51 |
760 |
| display_vol |
|
40 |
8 |
343 |
| init_volhdr |
|
30 |
1 |
323 |
| read_file |
|
25 |
10 |
206 |
| write_file |
|
63 |
20 |
502 |
| link_file |
|
35 |
11 |
276 |
| delete_file |
|
14 |
4 |
99 |
| modify_partition |
|
10 |
2 |
68 |
| write_volhdr |
|
10 |
4 |
60 |
| allocate_space |
|
42 |
8 |
312 |
| checksum_vol |
|
10 |
2 |
71 |
| usage |
|
14 |
1 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/filesystem.c |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/netio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| netstrategy |
|
12 |
2 |
72 |
| netopen |
|
27 |
6 |
122 |
| netclose |
|
6 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/diskio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| diostrategy |
|
17 |
3 |
134 |
| dioopen |
|
87 |
23 |
587 |
| dioclose |
|
7 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/netfs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tftp_read_file |
|
51 |
11 |
379 |
| netfs_open |
|
21 |
2 |
151 |
| netfs_close |
|
9 |
1 |
53 |
| netfs_read |
|
28 |
5 |
141 |
| netfs_write |
|
8 |
1 |
33 |
| netfs_seek |
|
22 |
4 |
93 |
| netfs_stat |
|
6 |
1 |
21 |
| netfs_readdir |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/arcbios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getchar |
|
8 |
2 |
50 |
| putchar |
|
14 |
2 |
72 |
| arcbios_init |
|
57 |
22 |
384 |
| devopen |
|
62 |
14 |
439 |
| boot_get_path_component |
|
17 |
8 |
110 |
| boot_getnr |
|
7 |
3 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/netfs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/boot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| boot_main |
|
39 |
11 |
290 |
| _rtt |
|
5 |
2 |
15 |
| dobootopts |
|
73 |
23 |
463 |
| check_phdr |
|
31 |
8 |
124 |
| loadrandom |
|
20 |
7 |
153 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/boot/strstr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| strstr |
|
16 |
5 |
92 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/stand/libsa/heap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| heap_init |
|
9 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xbridgereg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/odyssey.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| odyssey_match |
|
8 |
3 |
44 |
| odyssey_attach |
|
48 |
5 |
333 |
| odyssey_init_screen |
|
54 |
6 |
502 |
| odyssey_setup |
|
143 |
7 |
1951 |
| odyssey_cmd_wait |
|
13 |
3 |
79 |
| odyssey_data_wait |
|
13 |
3 |
79 |
| odyssey_cmd_flush |
|
21 |
2 |
248 |
| odyssey_ioctl |
|
46 |
13 |
251 |
| odyssey_getcmap |
|
14 |
6 |
142 |
| odyssey_putcmap |
|
14 |
6 |
142 |
| odyssey_mmap |
|
4 |
1 |
20 |
| odyssey_alloc_screen |
|
15 |
2 |
126 |
| odyssey_free_screen |
|
3 |
1 |
12 |
| odyssey_show_screen |
|
5 |
1 |
38 |
| odyssey_load_font |
|
5 |
1 |
42 |
| odyssey_list_font |
|
5 |
1 |
36 |
| odyssey_rop |
|
15 |
1 |
176 |
| odyssey_copyrect |
|
16 |
1 |
220 |
| odyssey_fillrect |
|
23 |
1 |
340 |
| odyssey_do_cursor |
|
14 |
1 |
133 |
| odyssey_putchar |
|
104 |
12 |
1135 |
| odyssey_copycols |
|
24 |
3 |
215 |
| odyssey_erasecols |
|
14 |
1 |
126 |
| odyssey_copyrows |
|
22 |
3 |
176 |
| odyssey_eraserows |
|
20 |
3 |
169 |
| ieee754_sp |
|
9 |
4 |
71 |
| odyssey_cnprobe |
|
14 |
5 |
79 |
| odyssey_cnattach |
|
28 |
2 |
211 |
| odyssey_is_console |
|
5 |
2 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/widget.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xbridge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xbridge_read_reg |
|
4 |
1 |
31 |
| xbridge_write_reg |
|
4 |
1 |
35 |
| xbridge_wbflush |
|
4 |
2 |
27 |
| xbridge_match |
|
10 |
4 |
73 |
| xbridge_attach |
|
39 |
13 |
306 |
| xbridge_submatch |
|
8 |
3 |
74 |
| xbridge_print |
|
8 |
2 |
43 |
| xbpci_match |
|
4 |
1 |
20 |
| xbpci_attach |
|
119 |
15 |
975 |
| xbpci_print |
|
8 |
2 |
47 |
| xbridge_attach_hook |
|
4 |
1 |
19 |
| xbridge_make_tag |
|
4 |
1 |
39 |
| xbridge_decompose_tag |
|
10 |
4 |
77 |
| xbridge_bus_maxdevs |
|
5 |
2 |
29 |
| xbridge_conf_size |
|
10 |
4 |
71 |
| xbridge_conf_read |
|
53 |
13 |
302 |
| xbridge_conf_write |
|
44 |
11 |
265 |
| xbridge_probe_device_hook |
|
14 |
4 |
95 |
| xbridge_get_widget |
|
5 |
1 |
20 |
| xbridge_get_dl |
|
14 |
2 |
94 |
| xbridge_intr_map |
|
48 |
15 |
277 |
| xbridge_intr_string |
|
9 |
2 |
75 |
| xbridge_intr_establish |
|
73 |
10 |
542 |
| xbridge_intr_disestablish |
|
22 |
2 |
182 |
| xbridge_intr_line |
|
4 |
1 |
17 |
| xbridge_err_intr_handler |
|
9 |
1 |
51 |
| xbridge_pci_intr_handler |
|
54 |
16 |
363 |
| xbridge_picv1_pci_intr_handler |
|
10 |
1 |
86 |
| bridge_read_reg |
|
4 |
1 |
26 |
| bridge_write_reg |
|
5 |
1 |
30 |
| pic_read_reg |
|
4 |
1 |
23 |
| pic_write_reg |
|
5 |
1 |
27 |
| xbridge_read_1 |
|
4 |
1 |
30 |
| xbridge_read_2 |
|
4 |
1 |
30 |
| xbridge_write_1 |
|
5 |
1 |
34 |
| xbridge_write_2 |
|
5 |
1 |
34 |
| xbridge_read_raw_2 |
|
10 |
2 |
71 |
| xbridge_write_raw_2 |
|
10 |
2 |
72 |
| xbridge_read_raw_4 |
|
10 |
2 |
67 |
| xbridge_write_raw_4 |
|
10 |
2 |
68 |
| xbridge_read_raw_8 |
|
10 |
2 |
67 |
| xbridge_write_raw_8 |
|
10 |
2 |
68 |
| xbridge_space_map_devio |
|
25 |
9 |
164 |
| xbridge_space_map_io |
|
11 |
5 |
96 |
| xbridge_space_map_mem |
|
12 |
8 |
102 |
| xbridge_space_region_devio |
|
25 |
9 |
158 |
| xbridge_space_region_io |
|
14 |
4 |
113 |
| xbridge_space_region_mem |
|
17 |
7 |
123 |
| xbridge_space_barrier |
|
31 |
8 |
204 |
| xbridge_pa_to_device |
|
7 |
1 |
44 |
| xbridge_setup |
|
134 |
36 |
945 |
| xbridge_err_handle |
|
17 |
4 |
143 |
| xbridge_err_clear |
|
11 |
3 |
71 |
| xbridge_rrb_setup |
|
54 |
20 |
359 |
| xbridge_resource_setup |
|
97 |
28 |
650 |
| xbridge_extent_chomp |
|
13 |
5 |
88 |
| xbridge_extent_setup |
|
93 |
29 |
624 |
| xbridge_mapping_setup |
|
94 |
21 |
557 |
| xbridge_resource_explore |
|
87 |
24 |
519 |
| xbridge_resource_manage |
|
80 |
23 |
477 |
| xbridge_device_setup |
|
105 |
31 |
697 |
| xbridge_ppb_setup |
|
98 |
31 |
699 |
| xbridge_rbus_space_map |
|
5 |
1 |
34 |
| xbridge_rbus_space_unmap |
|
6 |
1 |
35 |
| xbridge_rbus_parent_io |
|
23 |
7 |
136 |
| xbridge_rbus_parent_mem |
|
21 |
6 |
140 |
| xbridge_allocate_devio |
|
27 |
13 |
157 |
| xbridge_set_devio |
|
10 |
4 |
82 |
| xbridge_ddb |
|
27 |
4 |
184 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xbow.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xbowmatch |
|
14 |
5 |
73 |
| xbow_identify |
|
8 |
4 |
51 |
| xbowprint |
|
21 |
5 |
124 |
| xbowsubmatch |
|
12 |
7 |
126 |
| xbowattach |
|
54 |
15 |
331 |
| xbow_attach_widget |
|
20 |
3 |
148 |
| xbow_kl_search_brd |
|
36 |
14 |
162 |
| xbow_kl_search_mplane |
|
11 |
2 |
74 |
| xbow_build_bus_space |
|
5 |
1 |
43 |
| xbow_read_1 |
|
4 |
1 |
26 |
| xbow_read_2 |
|
4 |
1 |
26 |
| xbow_read_4 |
|
4 |
1 |
26 |
| xbow_read_8 |
|
4 |
1 |
26 |
| xbow_write_1 |
|
4 |
1 |
30 |
| xbow_write_2 |
|
4 |
1 |
30 |
| xbow_write_4 |
|
4 |
1 |
30 |
| xbow_write_8 |
|
4 |
1 |
30 |
| xbow_read_raw_2 |
|
10 |
2 |
64 |
| xbow_write_raw_2 |
|
10 |
2 |
65 |
| xbow_read_raw_4 |
|
10 |
2 |
64 |
| xbow_write_raw_4 |
|
10 |
2 |
65 |
| xbow_read_raw_8 |
|
10 |
2 |
64 |
| xbow_write_raw_8 |
|
10 |
2 |
65 |
| xbow_space_map |
|
10 |
3 |
68 |
| xbow_space_unmap |
|
3 |
1 |
13 |
| xbow_space_region |
|
10 |
3 |
71 |
| xbow_space_vaddr |
|
4 |
1 |
17 |
| xbow_space_barrier |
|
5 |
1 |
23 |
| xbow_intr_register |
|
6 |
2 |
36 |
| xbow_intr_establish |
|
8 |
2 |
62 |
| xbow_intr_disestablish |
|
6 |
2 |
23 |
| xbow_intr_clear |
|
6 |
2 |
23 |
| xbow_intr_set |
|
6 |
2 |
23 |
| xbow_widget_map_space |
|
8 |
2 |
58 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xheart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xheart_match |
|
8 |
3 |
44 |
| xheart_attach |
|
41 |
3 |
339 |
| xheart_ow_reset |
|
5 |
1 |
25 |
| xheart_ow_read_bit |
|
4 |
1 |
19 |
| xheart_ow_send_bit |
|
10 |
2 |
53 |
| xheart_ow_read_byte |
|
9 |
2 |
50 |
| xheart_ow_triplet |
|
20 |
3 |
86 |
| xheart_ow_pulse |
|
13 |
2 |
94 |
| xheart_intr_register |
|
12 |
3 |
71 |
| xheart_intr_establish |
|
35 |
9 |
226 |
| xheart_intr_disestablish |
|
19 |
6 |
112 |
| xheart_intr_clear |
|
5 |
1 |
27 |
| xheart_intr_set |
|
5 |
1 |
27 |
| xheart_splx |
|
11 |
3 |
57 |
| xheart_setintrmask |
|
7 |
1 |
52 |
| xheart_get_timecount |
|
5 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/odysseyvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/hub.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/odysseyreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/impact_xbow.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| impact_xbow_match |
|
8 |
3 |
44 |
| impact_xbow_attach |
|
31 |
6 |
190 |
| impact_xbow_cnprobe |
|
14 |
5 |
79 |
| impact_xbow_cnattach |
|
20 |
3 |
97 |
| impact_xbow_is_console |
|
5 |
2 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xbowdevs_data.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xheartreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xbowdevs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/xbow/xbow.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| widget_read_4 |
|
4 |
1 |
25 |
| widget_read_8 |
|
4 |
1 |
23 |
| widget_write_4 |
|
5 |
1 |
29 |
| widget_write_8 |
|
5 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/wskbdmap_sgi.c |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/hpc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hpc_match |
|
8 |
2 |
52 |
| hpc_attach |
|
241 |
55 |
1416 |
| hpc_revision |
|
33 |
12 |
160 |
| hpc_submatch |
|
9 |
3 |
87 |
| hpc_print |
|
10 |
3 |
64 |
| hpc_intr_establish |
|
5 |
1 |
43 |
| hpc_is_intr_pending |
|
4 |
1 |
13 |
| hpc_intr_disable |
|
4 |
1 |
13 |
| hpc_intr_enable |
|
4 |
1 |
13 |
| hpc3_space_barrier |
|
7 |
1 |
41 |
| hpc_blink |
|
9 |
1 |
75 |
| hpc_blink_ioc |
|
11 |
1 |
90 |
| hpc_read_eeprom |
|
29 |
6 |
196 |
| hpc_sync_dma_desc |
|
4 |
1 |
25 |
| hpc_update_dma_desc |
|
4 |
1 |
24 |
| hpc_sync_dma_desc_par |
|
4 |
1 |
17 |
| hpc_update_dma_desc_par |
|
4 |
1 |
21 |
| hpc_sync_dma_desc_ecc |
|
9 |
1 |
61 |
| hpc_update_dma_desc_ecc |
|
8 |
1 |
58 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/z8530ms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zsms_match |
|
9 |
3 |
52 |
| zsms_attach |
|
27 |
2 |
196 |
| zsms_rxint |
|
12 |
2 |
89 |
| zsms_txint |
|
6 |
1 |
35 |
| zsms_stint |
|
5 |
1 |
25 |
| zsms_softint |
|
36 |
9 |
198 |
| zsms_wsmouse_input |
|
22 |
5 |
176 |
| zsms_wsmouse_enable |
|
9 |
2 |
43 |
| zsms_wsmouse_disable |
|
5 |
1 |
21 |
| zsms_wsmouse_ioctl |
|
12 |
2 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/dpclock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| frombcd |
|
4 |
1 |
23 |
| tobcd |
|
4 |
1 |
22 |
| leapyear |
|
13 |
4 |
63 |
| dpclock_match |
|
7 |
2 |
45 |
| dpclock_attach |
|
42 |
7 |
287 |
| dpclock_gettime |
|
26 |
5 |
230 |
| dpclock_settime |
|
33 |
5 |
320 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/hpcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/hpcdma.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/if_sqvar.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| SQ_INIT_RXDESC |
|
25 |
4 |
221 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/iocreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/panel.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| panel_match |
|
10 |
3 |
65 |
| panel_attach |
|
23 |
4 |
159 |
| panel_intr |
|
32 |
11 |
212 |
| panel_repeat |
|
19 |
4 |
128 |
| panel_volume_adjust |
|
18 |
5 |
69 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/hpcdma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hpcdma_init |
|
37 |
6 |
270 |
| hpcdma_sglist_create |
|
42 |
7 |
269 |
| hpcdma_cntl |
|
4 |
1 |
31 |
| hpcdma_reset |
|
8 |
1 |
61 |
| hpcdma_flush |
|
12 |
2 |
104 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/z8530kbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zskbd_match |
|
9 |
3 |
48 |
| zskbd_attach |
|
64 |
12 |
454 |
| zskbd_rxint |
|
13 |
2 |
98 |
| zskbd_stint |
|
5 |
1 |
25 |
| zskbd_txint |
|
5 |
1 |
24 |
| zskbd_softint |
|
29 |
8 |
191 |
| zskbd_process |
|
19 |
5 |
72 |
| zskbd_send |
|
31 |
8 |
176 |
| zskbd_poll |
|
19 |
5 |
113 |
| zskbd_ctrl |
|
13 |
1 |
109 |
| zskbd_wskbd_input |
|
23 |
8 |
134 |
| zskbd_wskbd_enable |
|
14 |
4 |
82 |
| zskbd_wskbd_set_leds |
|
22 |
4 |
109 |
| zskbd_wskbd_get_leds |
|
14 |
4 |
87 |
| zskbd_wskbd_set_keyclick |
|
18 |
4 |
97 |
| zskbd_wskbd_get_keyclick |
|
9 |
2 |
48 |
| zskbd_wskbd_ioctl |
|
29 |
10 |
153 |
| zskbd_cnattach |
|
17 |
4 |
121 |
| zskbd_wskbd_getc |
|
10 |
2 |
50 |
| zskbd_wskbd_pollc |
|
3 |
1 |
11 |
| zskbd_wskbd_bell |
|
7 |
2 |
38 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/zs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zs_hpc_match |
|
8 |
2 |
58 |
| zs_hpc_attach |
|
89 |
14 |
612 |
| zs_print |
|
9 |
3 |
54 |
| zshard |
|
12 |
4 |
63 |
| zssoft |
|
8 |
1 |
37 |
| zs_set_speed |
|
17 |
7 |
111 |
| zs_set_modes |
|
27 |
5 |
166 |
| zs_read_reg |
|
14 |
3 |
107 |
| zs_write_reg |
|
14 |
3 |
123 |
| zs_read_csr |
|
10 |
2 |
60 |
| zs_write_csr |
|
8 |
1 |
62 |
| zs_read_data |
|
8 |
1 |
46 |
| zs_write_data |
|
8 |
1 |
62 |
| zs_abort |
|
4 |
2 |
13 |
| zs_get_chan_addr |
|
53 |
17 |
243 |
| zs_getc |
|
14 |
2 |
75 |
| zs_putc |
|
18 |
3 |
103 |
| zscnprobe |
|
17 |
7 |
81 |
| zscninit |
|
11 |
4 |
57 |
| zscngetc |
|
16 |
5 |
62 |
| zscnputc |
|
16 |
5 |
66 |
| zscnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/pckbc_hpc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pckbc_hpc_match |
|
10 |
3 |
65 |
| pckbc_hpc_attach |
|
36 |
5 |
250 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/hpcvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/wdsc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdsc_match |
|
24 |
5 |
180 |
| wdsc_attach |
|
42 |
5 |
315 |
| wdsc_dmasetup |
|
32 |
4 |
205 |
| wdsc_dmago |
|
16 |
3 |
119 |
| wdsc_dmastop |
|
17 |
5 |
121 |
| wdsc_reset |
|
6 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/dsclock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| frombcd |
|
4 |
1 |
23 |
| tobcd |
|
4 |
1 |
22 |
| dsclock_match |
|
7 |
2 |
45 |
| dsclock_attach |
|
23 |
5 |
172 |
| dsclock_gettime |
|
22 |
4 |
188 |
| dsclock_settime |
|
21 |
1 |
174 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/hpc/if_sq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sq_match |
|
23 |
5 |
179 |
| sq_attach |
|
210 |
33 |
1444 |
| sq_init |
|
38 |
6 |
300 |
| sq_set_filter |
|
16 |
5 |
104 |
| sq_ioctl |
|
41 |
11 |
222 |
| sq_start |
|
177 |
31 |
1211 |
| sq_stop |
|
19 |
3 |
131 |
| sq_watchdog |
|
12 |
2 |
77 |
| sq_trace_dump |
|
26 |
12 |
218 |
| sq_intr |
|
45 |
10 |
296 |
| sq_rxintr |
|
86 |
11 |
631 |
| sq_txintr |
|
40 |
11 |
255 |
| sq_txring_hpc1 |
|
37 |
8 |
282 |
| sq_txring_hpc3 |
|
34 |
4 |
251 |
| sq_reset |
|
8 |
1 |
66 |
| sq_add_rxbuf |
|
26 |
5 |
198 |
| sq_ifmedia_change_ip22 |
|
27 |
4 |
141 |
| sq_ifmedia_change_singlemedia |
|
4 |
1 |
12 |
| sq_ifmedia_status_ip22 |
|
23 |
5 |
151 |
| sq_ifmedia_status_singlemedia |
|
9 |
2 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/iofreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/iofvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/iocreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ppb_initialize |
|
77 |
17 |
621 |
| ppb_device_explore |
|
15 |
4 |
103 |
| ppb_function_explore |
|
65 |
16 |
402 |
| pccbb_initialize |
|
14 |
2 |
98 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/macepcibridge.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mace_pcibrmatch |
|
9 |
2 |
36 |
| mace_pcibrattach |
|
46 |
4 |
399 |
| mace_pcibrprint |
|
8 |
2 |
49 |
| mace_pcibr_attach_hook |
|
4 |
1 |
19 |
| mace_pcibr_errintr |
|
21 |
5 |
132 |
| mace_pcibr_make_tag |
|
4 |
1 |
39 |
| mace_pcibr_decompose_tag |
|
10 |
4 |
77 |
| mace_pcibr_bus_maxdevs |
|
4 |
2 |
20 |
| mace_pcibr_conf_size |
|
4 |
1 |
14 |
| mace_pcibr_conf_read |
|
26 |
6 |
196 |
| mace_pcibr_conf_write |
|
12 |
1 |
92 |
| mace_pcibr_probe_device_hook |
|
4 |
1 |
16 |
| mace_pcibr_get_widget |
|
4 |
1 |
11 |
| mace_pcibr_get_dl |
|
11 |
2 |
74 |
| mace_pcibr_intr_map |
|
29 |
8 |
242 |
| mace_pcibr_intr_string |
|
6 |
1 |
37 |
| mace_pcibr_intr_establish |
|
5 |
1 |
51 |
| mace_pcibr_intr_disestablish |
|
4 |
1 |
17 |
| mace_pcibr_intr_line |
|
4 |
1 |
14 |
| mace_pcib_read_1 |
|
4 |
1 |
30 |
| mace_pcib_read_2 |
|
4 |
1 |
30 |
| mace_pcib_read_4 |
|
4 |
1 |
26 |
| mace_pcib_read_8 |
|
4 |
1 |
26 |
| mace_pcib_write_1 |
|
5 |
1 |
34 |
| mace_pcib_write_2 |
|
5 |
1 |
34 |
| mace_pcib_write_4 |
|
5 |
1 |
30 |
| mace_pcib_write_8 |
|
5 |
1 |
30 |
| mace_pcib_read_raw_2 |
|
10 |
2 |
71 |
| mace_pcib_write_raw_2 |
|
10 |
2 |
72 |
| mace_pcib_read_raw_4 |
|
10 |
2 |
67 |
| mace_pcib_write_raw_4 |
|
10 |
2 |
68 |
| mace_pcib_read_raw_8 |
|
10 |
2 |
67 |
| mace_pcib_write_raw_8 |
|
10 |
2 |
68 |
| mace_pcib_space_map |
|
17 |
7 |
116 |
| mace_pcib_space_unmap |
|
4 |
1 |
13 |
| mace_pcib_space_region |
|
6 |
1 |
32 |
| mace_pcib_space_vaddr |
|
4 |
1 |
17 |
| mace_pcib_space_barrier |
|
5 |
1 |
23 |
| mace_pcibr_pa_to_device |
|
4 |
1 |
17 |
| mace_pcibr_configure |
|
47 |
15 |
328 |
| mace_pcibr_device_fixup |
|
42 |
9 |
223 |
| mace_pcibr_ppb_setup |
|
19 |
3 |
94 |
| mace_pcibr_rbus_space_map |
|
5 |
1 |
34 |
| mace_pcibr_rbus_space_unmap |
|
6 |
1 |
41 |
| mace_pcibr_rbus_parent_io |
|
9 |
2 |
45 |
| mace_pcibr_rbus_parent_mem |
|
9 |
2 |
45 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/macepcibrvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/ioc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ioc_match |
|
8 |
3 |
54 |
| ioc_print |
|
9 |
4 |
71 |
| ioc_attach |
|
250 |
47 |
1550 |
| ioc_attach_child |
|
25 |
6 |
180 |
| ioc_search_mundane |
|
10 |
4 |
102 |
| ioc_search_onewire |
|
47 |
10 |
338 |
| iocow_reset |
|
5 |
1 |
25 |
| iocow_read_bit |
|
4 |
1 |
19 |
| iocow_send_bit |
|
10 |
2 |
53 |
| iocow_read_byte |
|
9 |
2 |
50 |
| iocow_triplet |
|
20 |
3 |
86 |
| iocow_pulse |
|
12 |
2 |
90 |
| ioc_intr_establish |
|
20 |
4 |
157 |
| ioc_intr_superio |
|
22 |
4 |
157 |
| ioc_intr_ethernet |
|
5 |
1 |
28 |
| ioc_intr_shared |
|
4 |
1 |
19 |
| ioc_intr_dispatch |
|
11 |
4 |
75 |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/iocvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sgi/pci/iof.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iof_match |
|
8 |
3 |
50 |
| iof_print |
|
8 |
2 |
49 |
| iof_attach |
|
51 |
4 |
421 |
| iof_attach_child |
|
15 |
2 |
120 |
| iof_search |
|
10 |
4 |
102 |
| iof_intr_establish |
|
24 |
6 |
202 |
| iof_intr |
|
33 |
6 |
265 |
| iof_intr_dispatch |
|
11 |
4 |
75 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/ehci_obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ehci_obio_match |
|
9 |
3 |
69 |
| ehci_obio_attach |
|
36 |
3 |
270 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/com_obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_obio_match |
|
12 |
5 |
103 |
| com_obio_attach |
|
25 |
4 |
168 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/socpcic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| socpcic_mainbus_match |
|
12 |
5 |
103 |
| socpcic_mainbus_attach |
|
18 |
3 |
136 |
| socpcic_obio_match |
|
12 |
5 |
103 |
| socpcic_obio_attach |
|
15 |
3 |
110 |
| socpcic_attach |
|
95 |
12 |
719 |
| socpcic_attach_hook |
|
4 |
1 |
19 |
| socpcic_bus_maxdevs |
|
4 |
1 |
16 |
| socpcic_make_tag |
|
4 |
1 |
41 |
| socpcic_decompose_tag |
|
9 |
4 |
71 |
| socpcic_conf_size |
|
4 |
1 |
14 |
| socpcic_conf_read |
|
20 |
5 |
178 |
| socpcic_conf_write |
|
19 |
5 |
171 |
| socpcic_intr_map |
|
27 |
6 |
241 |
| socpcic_intr_string |
|
6 |
1 |
35 |
| socpcic_intr_line |
|
4 |
1 |
16 |
| socpcic_intr_establish |
|
5 |
1 |
51 |
| socpcic_intr_disestablish |
|
3 |
1 |
12 |
| socpcic_ether_hw_addr |
|
6 |
1 |
52 |
| socpcic_print |
|
8 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/sociic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sociic_match |
|
9 |
3 |
69 |
| sociic_attach |
|
21 |
2 |
163 |
| sociic_write |
|
4 |
1 |
30 |
| sociic_read |
|
4 |
1 |
28 |
| sociic_wait |
|
20 |
7 |
121 |
| sociic_wait_bus |
|
12 |
3 |
64 |
| sociic_i2c_acquire_bus |
|
7 |
3 |
48 |
| sociic_i2c_release_bus |
|
7 |
3 |
38 |
| sociic_i2c_exec |
|
76 |
23 |
487 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/wdc_mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_mainbus_match |
|
9 |
3 |
69 |
| wdc_mainbus_attach |
|
46 |
6 |
328 |
| wdc_mainbus_read_reg |
|
16 |
6 |
102 |
| wdc_mainbus_write_reg |
|
10 |
2 |
67 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/if_tsec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tsec_match |
|
12 |
5 |
103 |
| tsec_attach |
|
71 |
9 |
599 |
| tsec_find_phy |
|
13 |
5 |
93 |
| tsec_read |
|
4 |
1 |
31 |
| tsec_write |
|
4 |
1 |
33 |
| tsec_mii_read |
|
4 |
1 |
31 |
| tsec_mii_write |
|
4 |
1 |
33 |
| tsec_lladdr_write |
|
9 |
1 |
93 |
| tsec_start |
|
39 |
12 |
236 |
| tsec_ioctl |
|
40 |
11 |
220 |
| tsec_watchdog |
|
4 |
1 |
16 |
| tsec_media_change |
|
7 |
2 |
43 |
| tsec_media_status |
|
9 |
2 |
65 |
| tsec_mii_readreg |
|
17 |
3 |
135 |
| tsec_mii_writereg |
|
15 |
3 |
112 |
| tsec_mii_statchg |
|
36 |
8 |
173 |
| tsec_tick |
|
9 |
1 |
47 |
| tsec_txintr |
|
14 |
2 |
90 |
| tsec_rxintr |
|
12 |
2 |
82 |
| tsec_errintr |
|
17 |
3 |
108 |
| tsec_tx_proc |
|
35 |
6 |
229 |
| tsec_rx_proc |
|
43 |
5 |
301 |
| tsec_up |
|
96 |
4 |
809 |
| tsec_down |
|
40 |
5 |
300 |
| tsec_iff |
|
30 |
5 |
213 |
| tsec_encap |
|
51 |
8 |
412 |
| tsec_reset |
|
7 |
1 |
41 |
| tsec_stop_dma |
|
23 |
5 |
139 |
| tsec_dmamem_alloc |
|
30 |
5 |
241 |
| tsec_dmamem_free |
|
7 |
1 |
63 |
| tsec_alloc_mbuf |
|
16 |
3 |
117 |
| tsec_fill_rx_ring |
|
23 |
4 |
160 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_establish |
|
5 |
1 |
36 |
| pciide_machdep_compat_intr_disestablish |
|
3 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/ipic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipic_preinit |
|
10 |
2 |
49 |
| ipic_match |
|
9 |
3 |
69 |
| ipic_attach |
|
30 |
5 |
213 |
| ipic_read |
|
4 |
1 |
31 |
| ipic_write |
|
4 |
1 |
33 |
| ipic_simsr_h |
|
24 |
10 |
70 |
| ipic_simsr_l |
|
4 |
1 |
10 |
| ipic_semsr |
|
22 |
9 |
64 |
| ipic_calc_masks |
|
19 |
1 |
223 |
| intr_establish |
|
37 |
10 |
278 |
| ext_intr |
|
27 |
3 |
149 |
| ipic_splraise |
|
12 |
2 |
57 |
| ipic_spllower |
|
7 |
1 |
33 |
| ipic_splx |
|
13 |
3 |
72 |
| ipic_setipl |
|
13 |
1 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/dev/obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| obio_match |
|
10 |
3 |
76 |
| obio_attach |
|
25 |
5 |
198 |
| obio_print |
|
11 |
4 |
73 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/tcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/pio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_read_region_1 |
|
8 |
2 |
52 |
| bus_space_read_region_2 |
|
9 |
2 |
64 |
| bus_space_read_region_4 |
|
9 |
2 |
64 |
| bus_space_write_region_1 |
|
8 |
2 |
54 |
| bus_space_write_region_2 |
|
9 |
2 |
65 |
| bus_space_write_region_4 |
|
9 |
2 |
65 |
| bus_space_read_raw_region_2 |
|
10 |
2 |
70 |
| bus_space_read_raw_region_4 |
|
10 |
2 |
70 |
| bus_space_write_raw_region_2 |
|
10 |
2 |
72 |
| bus_space_write_raw_region_4 |
|
10 |
2 |
72 |
| bus_space_set_multi_1 |
|
8 |
2 |
49 |
| bus_space_set_multi_2 |
|
9 |
2 |
60 |
| bus_space_set_multi_4 |
|
9 |
2 |
60 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_match |
|
10 |
3 |
76 |
| cpu_attach |
|
27 |
3 |
167 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| initppc |
|
151 |
41 |
982 |
| dumpsys |
|
3 |
1 |
6 |
| lcsplx |
|
4 |
1 |
13 |
| cpu_startup |
|
18 |
1 |
128 |
| consinit |
|
8 |
2 |
25 |
| setregs |
|
20 |
1 |
189 |
| sendsig |
|
38 |
8 |
408 |
| sys_sigreturn |
|
27 |
5 |
220 |
| cpu_sysctl |
|
20 |
6 |
129 |
| dumpconf |
|
18 |
8 |
143 |
| reserve_dumppages |
|
5 |
1 |
17 |
| boot |
|
47 |
11 |
216 |
| signotify |
|
4 |
1 |
14 |
| kcopy |
|
12 |
2 |
76 |
| ppc_mem_regions |
|
12 |
2 |
102 |
| myetheraddr |
|
5 |
1 |
30 |
| cpu_switchto |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_configure |
|
9 |
2 |
38 |
| device_register |
|
3 |
1 |
13 |
| diskconf |
|
14 |
2 |
77 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
26 |
8 |
157 |
| writedisklabel |
|
30 |
4 |
213 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
24 |
12 |
110 |
| mmclose |
|
6 |
3 |
34 |
| mmrw |
|
55 |
13 |
297 |
| mmmmap |
|
4 |
1 |
19 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
4 |
2 |
22 |
| iszerodev |
|
4 |
2 |
22 |
| getnulldev |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inittodr |
|
48 |
14 |
290 |
| resettodr |
|
9 |
4 |
45 |
| decr_intr |
|
44 |
9 |
247 |
| cpu_initclocks |
|
21 |
2 |
115 |
| cpu_startclock |
|
10 |
1 |
60 |
| delay |
|
8 |
2 |
39 |
| setstatclockrate |
|
13 |
2 |
64 |
| tb_get_timecount |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/socppc/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
4 |
1 |
22 |
| mainbus_attach |
|
35 |
10 |
266 |
| mainbus_print |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdt_check_head |
|
16 |
5 |
102 |
| fdt_init |
|
35 |
12 |
308 |
| fdt_get_str |
|
6 |
3 |
35 |
| skip_property |
|
7 |
1 |
42 |
| skip_props |
|
7 |
2 |
27 |
| skip_node_name |
|
5 |
1 |
35 |
| fdt_node_property |
|
22 |
5 |
130 |
| fdt_next_node |
|
19 |
7 |
106 |
| fdt_child_node |
|
13 |
4 |
65 |
| fdt_node_name |
|
10 |
3 |
45 |
| fdt_find_node |
|
29 |
9 |
155 |
| fdt_parent_node_recurse |
|
11 |
5 |
69 |
| fdt_parent_node |
|
7 |
2 |
33 |
| fdt_print_property |
|
37 |
14 |
273 |
| fdt_print_node |
|
15 |
4 |
89 |
| fdt_print_node_recurse |
|
7 |
2 |
49 |
| fdt_print_tree |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| machdep |
|
58 |
14 |
369 |
| main |
|
17 |
5 |
104 |
| _rtt |
|
10 |
2 |
55 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/dev_socppc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devboot |
|
4 |
1 |
20 |
| cnspeed |
|
4 |
1 |
13 |
| ttyname |
|
6 |
1 |
37 |
| ttydev |
|
13 |
9 |
126 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/wdvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/wdc_obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_obio_init |
|
22 |
4 |
183 |
| wdc_read_cmdreg |
|
8 |
3 |
42 |
| wdc_write_cmdreg |
|
4 |
1 |
25 |
| wdc_read_ctlreg |
|
8 |
3 |
41 |
| wdc_write_ctlreg |
|
4 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/time.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getsecs |
|
6 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/wd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdprobe |
|
20 |
5 |
115 |
| wd_get_params |
|
21 |
6 |
157 |
| wdgetdefaultlabel |
|
29 |
3 |
231 |
| wdgetdisklabel |
|
45 |
9 |
314 |
| wdopen |
|
24 |
6 |
152 |
| wdclose |
|
4 |
1 |
12 |
| wdstrategy |
|
26 |
5 |
165 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| delay |
|
6 |
2 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/devopen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devparse |
|
42 |
15 |
319 |
| devopen |
|
13 |
3 |
114 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/ns16550.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| comspeed |
|
15 |
5 |
101 |
| com_probe |
|
5 |
1 |
26 |
| com_init |
|
13 |
1 |
79 |
| com_getc |
|
9 |
3 |
53 |
| com_putc |
|
13 |
5 |
77 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/wdc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __wdcwait_reset |
|
35 |
12 |
216 |
| wdcprobe |
|
39 |
9 |
260 |
| wdc_init |
|
12 |
4 |
70 |
| wdc_wait_for_ready |
|
11 |
3 |
58 |
| wdc_read_block |
|
13 |
3 |
87 |
| wdccommand |
|
27 |
4 |
212 |
| wdccommandext |
|
27 |
3 |
239 |
| wdc_exec_identify |
|
15 |
2 |
93 |
| wdc_exec_read |
|
38 |
5 |
264 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/pciide.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_init |
|
23 |
4 |
185 |
| pciide_read_cmdreg |
|
4 |
1 |
21 |
| pciide_write_cmdreg |
|
4 |
1 |
25 |
| pciide_read_ctlreg |
|
4 |
1 |
20 |
| pciide_write_ctlreg |
|
4 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/cmd_socppc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Xfdt |
|
9 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/boot/exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_loadfile |
|
34 |
6 |
251 |
| Source file: /home/sergeyb/sources/src/sys/arch/socppc/stand/mkboot/mkboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
62 |
13 |
471 |
| usage |
|
6 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvmbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvsysctrl.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvsysctrl_match |
|
6 |
1 |
34 |
| mvsysctrl_attach |
|
12 |
2 |
99 |
| mvsysctrl_reset |
|
8 |
2 |
38 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvmpic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpic_match |
|
5 |
1 |
34 |
| mpic_attach |
|
36 |
4 |
372 |
| mpic_set_priority |
|
6 |
1 |
63 |
| mpic_intr_enable |
|
5 |
1 |
42 |
| mpic_intr_disable |
|
5 |
1 |
42 |
| mpic_calc_mask |
|
26 |
9 |
163 |
| mpic_intr |
|
20 |
5 |
123 |
| mpic_intr_establish |
|
31 |
6 |
231 |
| mpic_intr_disestablish |
|
16 |
3 |
112 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvpxa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvpxa_wininit |
|
19 |
4 |
141 |
| mvpxa_match |
|
5 |
1 |
34 |
| mvpxa_attach |
|
52 |
7 |
469 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvmbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvmbus_match |
|
9 |
4 |
59 |
| mvmbus_attach |
|
36 |
9 |
321 |
| mvmbus_parse_ranges |
|
37 |
8 |
292 |
| mvmbus_window_is_free |
|
6 |
2 |
32 |
| mvmbus_alloc_window |
|
22 |
7 |
160 |
| mvmbus_setup_window |
|
27 |
3 |
206 |
| mvmbus_disable_window |
|
15 |
2 |
123 |
| mvmbus_window_conflicts |
|
12 |
5 |
94 |
| mvmbus_parse_dram_info |
|
21 |
4 |
159 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvxhci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvxhci_wininit |
|
19 |
4 |
144 |
| mvxhci_match |
|
6 |
2 |
43 |
| mvxhci_attach |
|
48 |
6 |
403 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvacc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvacc_match |
|
5 |
1 |
34 |
| mvacc_attach |
|
17 |
2 |
151 |
| mvacc_get_frequency |
|
27 |
7 |
169 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvagc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvagc_match |
|
6 |
1 |
36 |
| mvagc_attach |
|
16 |
2 |
141 |
| mvagc_gen_get_frequency |
|
5 |
1 |
29 |
| mvagc_enable |
|
11 |
3 |
71 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/marvell/mvahci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mvahci_wininit |
|
22 |
4 |
166 |
| mvahci_match |
|
5 |
1 |
34 |
| mvahci_attach |
|
31 |
5 |
222 |
| mvahci_detach |
|
7 |
1 |
49 |
| mvahci_activate |
|
5 |
1 |
37 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/broadcom/bcm2835_dwctwo.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcm_dwctwo_match |
|
6 |
2 |
50 |
| bcm_dwctwo_attach |
|
25 |
3 |
265 |
| bcm_dwctwo_deferred |
|
12 |
2 |
88 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/broadcom/bcm2836_intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcm_intc_match |
|
7 |
2 |
41 |
| bcm_intc_attach |
|
58 |
9 |
479 |
| bcm_intc_intr_enable |
|
14 |
5 |
138 |
| bcm_intc_intr_disable |
|
14 |
5 |
138 |
| bcm_intc_calc_mask |
|
33 |
9 |
202 |
| bcm_intc_splx |
|
7 |
2 |
37 |
| bcm_intc_spllower |
|
7 |
1 |
33 |
| bcm_intc_splraise |
|
10 |
2 |
45 |
| bcm_intc_setipl |
|
24 |
2 |
199 |
| bcm_intc_get_next_irq |
|
52 |
18 |
312 |
| bcm_intc_call_handler |
|
27 |
6 |
154 |
| bcm_intc_irq_handler |
|
6 |
2 |
35 |
| bcm_intc_intr_establish_fdt |
|
18 |
5 |
136 |
| l1_intc_intr_establish_fdt |
|
7 |
1 |
59 |
| bcm_intc_intr_establish |
|
25 |
5 |
177 |
| bcm_intc_intr_disestablish |
|
13 |
2 |
86 |
| bcm_intc_intr_string |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/dev/com_fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_fdt_init_cons |
|
18 |
4 |
116 |
| com_fdt_match |
|
8 |
4 |
63 |
| com_fdt_attach |
|
39 |
9 |
344 |
| com_fdt_intr_designware |
|
6 |
1 |
34 |
| com_fdt_cngetc |
|
4 |
1 |
15 |
| com_fdt_cnputc |
|
4 |
1 |
19 |
| com_fdt_cnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/dev/pluart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pluart_init_cons |
|
10 |
3 |
57 |
| pluartprobe |
|
5 |
1 |
34 |
| pluartattach |
|
36 |
7 |
315 |
| pluart_intr |
|
46 |
15 |
316 |
| pluart_param |
|
39 |
12 |
217 |
| pluart_start |
|
33 |
8 |
258 |
| pluart_pwroff |
|
3 |
1 |
9 |
| pluart_diag |
|
17 |
3 |
97 |
| pluart_raisedtr |
|
3 |
1 |
8 |
| pluart_softint |
|
37 |
11 |
258 |
| pluartopen |
|
105 |
23 |
779 |
| pluartclose |
|
21 |
3 |
153 |
| pluartread |
|
8 |
2 |
58 |
| pluartwrite |
|
8 |
2 |
58 |
| pluartioctl |
|
46 |
16 |
217 |
| pluartstop |
|
4 |
1 |
15 |
| pluarttty |
|
12 |
3 |
61 |
| pluart_sc |
|
10 |
2 |
50 |
| pluartcnprobe |
|
5 |
1 |
26 |
| pluartcninit |
|
3 |
1 |
9 |
| pluartcnattach |
|
18 |
2 |
116 |
| pluartcngetc |
|
12 |
2 |
56 |
| pluartcnputc |
|
10 |
2 |
56 |
| pluartcnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/math.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/machine_reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/tcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/bootconfig.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/openpromio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/fp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/bus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/rtc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exuart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exuart_init_cons |
|
19 |
6 |
115 |
| exuartprobe |
|
5 |
1 |
34 |
| exuartattach |
|
39 |
7 |
342 |
| exuart_intr |
|
60 |
20 |
424 |
| exuart_param |
|
61 |
15 |
396 |
| exuart_start |
|
39 |
11 |
285 |
| exuart_pwroff |
|
3 |
1 |
9 |
| exuart_diag |
|
17 |
3 |
97 |
| exuart_raisedtr |
|
3 |
1 |
8 |
| exuart_softint |
|
50 |
17 |
330 |
| exuartopen |
|
108 |
23 |
812 |
| exuartclose |
|
21 |
3 |
153 |
| exuartread |
|
8 |
2 |
58 |
| exuartwrite |
|
8 |
2 |
58 |
| exuartioctl |
|
56 |
24 |
346 |
| exuartstop |
|
4 |
1 |
15 |
| exuarttty |
|
12 |
3 |
61 |
| exuart_sc |
|
10 |
2 |
50 |
| exuartcnprobe |
|
5 |
1 |
26 |
| exuartcninit |
|
3 |
1 |
9 |
| exuartcnattach |
|
16 |
2 |
96 |
| exuartcngetc |
|
14 |
3 |
75 |
| exuartcnputc |
|
10 |
2 |
49 |
| exuartcnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exdisplay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exdisplay_match |
|
7 |
3 |
41 |
| exdisplay_attach |
|
40 |
7 |
315 |
| exdisplay_cnattach |
|
12 |
2 |
102 |
| exdisplay_setup_rasops |
|
25 |
2 |
175 |
| exdisplay_wsioctl |
|
4 |
1 |
28 |
| exdisplay_wsmmap |
|
4 |
1 |
20 |
| exdisplay_alloc_screen |
|
7 |
1 |
60 |
| exdisplay_free_screen |
|
6 |
1 |
36 |
| exdisplay_show_screen |
|
5 |
1 |
38 |
| exdisplay_doswitch |
|
3 |
1 |
12 |
| exdisplay_getchar |
|
6 |
1 |
47 |
| exdisplay_load_font |
|
6 |
1 |
43 |
| exdisplay_list_font |
|
6 |
1 |
37 |
| exdisplay_burner |
|
3 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/ec_commands.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exuartreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exgpio_match |
|
5 |
1 |
34 |
| exgpio_attach |
|
40 |
8 |
323 |
| exgpio_bank |
|
9 |
3 |
64 |
| exgpio_pinctrl |
|
60 |
9 |
478 |
| exgpio_config_pin |
|
14 |
3 |
118 |
| exgpio_get_pin |
|
16 |
3 |
102 |
| exgpio_set_pin |
|
17 |
4 |
119 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exdwusb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exdwusb_match |
|
5 |
1 |
34 |
| exdwusb_attach |
|
6 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exsysregvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/expower.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| expower_match |
|
6 |
2 |
45 |
| expower_attach |
|
12 |
2 |
115 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/crosecvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exdisplayvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exdog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exdog_match |
|
6 |
2 |
45 |
| exdog_attach |
|
13 |
3 |
105 |
| exdog_stop |
|
9 |
2 |
57 |
| exdog_reset |
|
16 |
2 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exclockvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/tps65090.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tps65090_match |
|
7 |
2 |
47 |
| tps65090_attach |
|
9 |
1 |
62 |
| tps65090_fet_enable |
|
12 |
6 |
62 |
| tps65090_fet_disable |
|
6 |
3 |
26 |
| tps65090_fet_set |
|
19 |
5 |
110 |
| tps65090_fet_get |
|
6 |
1 |
32 |
| tps65090_get_charging |
|
6 |
1 |
27 |
| tps65090_set_charging |
|
10 |
2 |
46 |
| tps65090_read_reg |
|
9 |
1 |
61 |
| tps65090_write_reg |
|
7 |
1 |
58 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/crosec_kbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cros_ec_init_keyboard |
|
27 |
3 |
233 |
| cros_ec_add_task |
|
6 |
1 |
48 |
| cros_ec_poll_keystate |
|
5 |
1 |
25 |
| cros_ec_get_keystate |
|
29 |
10 |
270 |
| cros_ec_keyboard_cngetc |
|
12 |
3 |
84 |
| cros_ec_keyboard_cnpollc |
|
3 |
1 |
11 |
| cros_ec_keyboard_enable |
|
4 |
1 |
14 |
| cros_ec_keyboard_set_leds |
|
3 |
1 |
11 |
| cros_ec_keyboard_ioctl |
|
18 |
7 |
98 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exiic_match |
|
5 |
1 |
34 |
| exiic_attach |
|
26 |
3 |
238 |
| exiic_scan |
|
25 |
5 |
216 |
| exiic_setspeed |
|
13 |
5 |
112 |
| exiic_intr |
|
13 |
2 |
66 |
| exiic_wait_intr |
|
18 |
3 |
95 |
| exiic_wait_state |
|
12 |
3 |
78 |
| exiic_i2c_acquire_bus |
|
13 |
2 |
77 |
| exiic_i2c_release_bus |
|
5 |
1 |
29 |
| exiic_i2c_exec |
|
69 |
21 |
446 |
| exiic_xfer_start |
|
4 |
1 |
18 |
| exiic_xfer_wait |
|
9 |
3 |
43 |
| exiic_detach |
|
6 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exmct.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exmct_match |
|
5 |
1 |
34 |
| exmct_attach |
|
27 |
4 |
223 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/crosec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cros_ec_match |
|
7 |
2 |
43 |
| cros_ec_attach |
|
16 |
3 |
94 |
| cros_ec_check_version |
|
14 |
2 |
83 |
| cros_ec_i2c_command |
|
62 |
9 |
426 |
| cros_ec_send_command |
|
6 |
1 |
53 |
| cros_ec_command |
|
15 |
4 |
94 |
| cros_ec_command_inptr |
|
25 |
5 |
167 |
| cros_ec_calc_checksum |
|
7 |
2 |
44 |
| cros_ec_scan_keyboard |
|
7 |
2 |
44 |
| cros_ec_info |
|
7 |
2 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exclock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exclock_match |
|
6 |
2 |
45 |
| exclock_attach |
|
25 |
3 |
195 |
| exynos5250_get_frequency |
|
6 |
1 |
32 |
| exynos5250_set_frequency |
|
6 |
1 |
36 |
| exynos5250_enable |
|
5 |
1 |
32 |
| exynos5420_get_frequency |
|
62 |
10 |
435 |
| exynos5420_set_frequency |
|
6 |
1 |
36 |
| exynos5420_enable |
|
10 |
3 |
46 |
| exclock_cpuspeed |
|
5 |
1 |
22 |
| exclock_decode_pll_clk |
|
28 |
6 |
194 |
| exclock_get_pll_clk |
|
54 |
11 |
229 |
| exclock_get_armclk |
|
11 |
1 |
77 |
| exclock_get_i2cclk |
|
12 |
1 |
88 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exsysreg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exsysreg_match |
|
5 |
1 |
34 |
| exsysreg_attach |
|
11 |
2 |
95 |
| exsysreg_usbhost_mode |
|
9 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exuartvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/exynos/exehci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exehci_match |
|
5 |
1 |
34 |
| exehci_attach |
|
63 |
10 |
476 |
| exehci_detach |
|
17 |
4 |
108 |
| exehci_setup |
|
67 |
6 |
404 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/armv7/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| device_register |
|
3 |
1 |
13 |
| cpu_configure |
|
7 |
1 |
28 |
| diskconf |
|
20 |
5 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/armv7/armv7.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| armv7_submatch |
|
8 |
2 |
60 |
| armv7_set_devs |
|
4 |
1 |
13 |
| armv7_find_dev |
|
11 |
5 |
76 |
| armv7_attach |
|
23 |
4 |
182 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/armv7/armv7_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| boot |
|
37 |
10 |
180 |
| read_ttb |
|
6 |
1 |
40 |
| bootstrap_bs_map |
|
19 |
3 |
136 |
| copy_io_area_map |
|
12 |
3 |
77 |
| initarm |
|
200 |
36 |
1509 |
| process_kernel_args |
|
46 |
13 |
203 |
| fdt_find_cons |
|
36 |
11 |
204 |
| consinit |
|
8 |
2 |
28 |
| board_startup |
|
7 |
3 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/armv7/armv7_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/armv7/intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arm_intr |
|
4 |
1 |
16 |
| arm_dflt_intr |
|
4 |
1 |
13 |
| arm_intr_establish |
|
5 |
1 |
44 |
| arm_intr_disestablish |
|
4 |
1 |
15 |
| arm_intr_string |
|
4 |
1 |
16 |
| arm_intr_get_parent |
|
9 |
3 |
42 |
| arm_intr_prereg_establish_fdt |
|
17 |
2 |
137 |
| arm_intr_prereg_disestablish_fdt |
|
10 |
4 |
75 |
| arm_intr_init_fdt_recurse |
|
15 |
3 |
94 |
| arm_intr_init_fdt |
|
6 |
2 |
23 |
| arm_intr_register_fdt |
|
20 |
5 |
170 |
| arm_intr_establish_fdt |
|
5 |
1 |
44 |
| arm_intr_establish_fdt_idx |
|
58 |
17 |
378 |
| arm_intr_disestablish_fdt |
|
7 |
1 |
46 |
| arm_intr_parent_establish_fdt |
|
22 |
4 |
151 |
| arm_intr_parent_disestablish_fdt |
|
7 |
1 |
46 |
| arm_intr_route |
|
7 |
2 |
51 |
| arm_dflt_splraise |
|
10 |
2 |
44 |
| arm_dflt_spllower |
|
8 |
1 |
33 |
| arm_dflt_splx |
|
7 |
2 |
38 |
| arm_dflt_setipl |
|
5 |
1 |
22 |
| arm_dflt_intr_establish |
|
5 |
1 |
33 |
| arm_dflt_intr_disestablish |
|
4 |
1 |
13 |
| arm_dflt_intr_string |
|
4 |
1 |
13 |
| arm_setsoftintr |
|
10 |
2 |
60 |
| arm_do_pending_intr |
|
14 |
2 |
81 |
| arm_set_intr_handler |
|
17 |
1 |
151 |
| arm_init_smask |
|
19 |
7 |
111 |
| splraise |
|
4 |
1 |
15 |
| _spllower |
|
4 |
1 |
15 |
| spllower |
|
4 |
1 |
15 |
| splx |
|
4 |
1 |
14 |
| arm_splassert_check |
|
11 |
4 |
75 |
| arm_clock_register |
|
10 |
2 |
72 |
| delay |
|
4 |
1 |
14 |
| cpu_initclocks |
|
6 |
2 |
25 |
| arm_dflt_delay |
|
7 |
3 |
34 |
| inittodr |
|
43 |
11 |
234 |
| resettodr |
|
10 |
4 |
45 |
| setstatclockrate |
|
7 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/armv7/armv7var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/armv7/platform.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| platform_init |
|
16 |
5 |
76 |
| platform_smc_write |
|
8 |
3 |
54 |
| platform_init_cons |
|
11 |
3 |
40 |
| platform_init_mainbus |
|
7 |
3 |
32 |
| platform_watchdog_reset |
|
5 |
3 |
20 |
| platform_powerdown |
|
5 |
3 |
20 |
| platform_board_devs |
|
7 |
3 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxiic_match |
|
5 |
1 |
34 |
| imxiic_attach |
|
33 |
4 |
285 |
| imxiic_setspeed |
|
18 |
5 |
130 |
| imxiic_intr |
|
13 |
2 |
73 |
| imxiic_wait_intr |
|
18 |
3 |
95 |
| imxiic_wait_state |
|
12 |
3 |
75 |
| imxiic_read |
|
28 |
8 |
231 |
| imxiic_write |
|
28 |
9 |
235 |
| imxiic_i2c_acquire_bus |
|
11 |
1 |
70 |
| imxiic_i2c_release_bus |
|
6 |
1 |
35 |
| imxiic_i2c_exec |
|
29 |
7 |
199 |
| imxiic_detach |
|
10 |
1 |
78 |
| imxiic_scan |
|
25 |
5 |
216 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxahci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxahci_match |
|
5 |
1 |
34 |
| imxahci_attach |
|
42 |
8 |
375 |
| imxahci_detach |
|
8 |
1 |
59 |
| imxahci_activate |
|
6 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxdog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxdog_match |
|
5 |
1 |
34 |
| imxdog_attach |
|
14 |
3 |
107 |
| imxdog_reset |
|
11 |
2 |
94 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxanatop.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxanatop_match |
|
7 |
2 |
41 |
| imxanatop_attach |
|
18 |
3 |
134 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxiomuxc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxiomuxc_match |
|
9 |
5 |
72 |
| imxiomuxc_attach |
|
13 |
2 |
115 |
| imxiomuxc_pinctrl |
|
53 |
8 |
417 |
| imxiomuxc_enable_sata |
|
13 |
1 |
91 |
| imxiomuxc_enable_pcie |
|
17 |
1 |
141 |
| imxiomuxc_pcie_refclk |
|
9 |
2 |
74 |
| imxiomuxc_pcie_test_powerdown |
|
9 |
2 |
74 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxehci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxehci_match |
|
5 |
1 |
34 |
| imxehci_attach |
|
132 |
19 |
1057 |
| imxehci_detach |
|
17 |
4 |
112 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxiicvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxccmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxccm_clocks.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxgpio_match |
|
5 |
1 |
34 |
| imxgpio_attach |
|
32 |
3 |
274 |
| imxgpio_config_pin |
|
14 |
3 |
94 |
| imxgpio_get_pin |
|
14 |
2 |
90 |
| imxgpio_set_pin |
|
15 |
3 |
105 |
| imxgpio_get_bit |
|
5 |
1 |
33 |
| imxgpio_set_bit |
|
5 |
1 |
32 |
| imxgpio_clear_bit |
|
5 |
1 |
32 |
| imxgpio_set_dir |
|
5 |
1 |
38 |
| imxgpio_v6_get_bit |
|
6 |
1 |
44 |
| imxgpio_v6_set_bit |
|
7 |
1 |
56 |
| imxgpio_v6_clear_bit |
|
7 |
1 |
56 |
| imxgpio_v6_set_dir |
|
13 |
2 |
93 |
| imxgpio_v6_get_dir |
|
13 |
2 |
71 |
| imxgpio_intr |
|
23 |
4 |
166 |
| imxgpio_intr_establish |
|
61 |
11 |
429 |
| imxgpio_intr_disestablish |
|
19 |
3 |
147 |
| imxgpio_recalc_ipl |
|
31 |
10 |
207 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxiomuxcvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxccm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxccm_match |
|
8 |
4 |
63 |
| imxccm_attach |
|
29 |
3 |
226 |
| imxccm_cpuspeed |
|
5 |
1 |
22 |
| imxccm_decode_pll |
|
24 |
5 |
126 |
| imxccm_get_pll2_pfd |
|
6 |
1 |
37 |
| imxccm_get_pll3_pfd |
|
6 |
1 |
37 |
| imxccm_get_armclk |
|
11 |
3 |
57 |
| imxccm_armclk_set_parent |
|
21 |
4 |
99 |
| imxccm_armclk_set_freq |
|
6 |
3 |
25 |
| imxccm_get_usdhx |
|
16 |
3 |
116 |
| imxccm_get_uartclk |
|
7 |
1 |
39 |
| imxccm_get_periphclk |
|
30 |
9 |
137 |
| imxccm_get_fecclk |
|
21 |
5 |
72 |
| imxccm_get_ahbclk |
|
8 |
1 |
43 |
| imxccm_get_ipgclk |
|
8 |
1 |
43 |
| imxccm_get_ipg_perclk |
|
13 |
3 |
66 |
| imxccm_enable |
|
18 |
5 |
134 |
| imxccm_get_frequency |
|
41 |
17 |
201 |
| imxccm_enable_pll_enet |
|
10 |
3 |
68 |
| imxccm_enable_enet |
|
7 |
1 |
35 |
| imxccm_enable_sata |
|
7 |
1 |
35 |
| imxccm_enable_pcie |
|
12 |
1 |
59 |
| imxccm_disable_usb1_chrg_detect |
|
7 |
1 |
24 |
| imxccm_disable_usb2_chrg_detect |
|
7 |
1 |
24 |
| imxccm_enable_pll_usb1 |
|
9 |
1 |
35 |
| imxccm_enable_pll_usb2 |
|
9 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxesdhc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxesdhc_match |
|
6 |
2 |
43 |
| imxesdhc_attach |
|
116 |
24 |
822 |
| imxesdhc_clock_enable |
|
14 |
3 |
86 |
| imxesdhc_pwrseq_pre |
|
28 |
7 |
169 |
| imxesdhc_pwrseq_post |
|
22 |
6 |
132 |
| imxesdhc_host_reset |
|
33 |
2 |
197 |
| imxesdhc_host_ocr |
|
5 |
1 |
19 |
| imxesdhc_host_maxblklen |
|
5 |
1 |
19 |
| imxesdhc_card_detect |
|
7 |
2 |
38 |
| imxesdhc_bus_power |
|
20 |
10 |
137 |
| imxesdhc_bus_clock |
|
35 |
9 |
248 |
| imxesdhc_bus_width |
|
17 |
6 |
99 |
| imxesdhc_card_intr_mask |
|
12 |
2 |
67 |
| imxesdhc_card_intr_ack |
|
6 |
1 |
28 |
| imxesdhc_wait_state |
|
16 |
3 |
113 |
| imxesdhc_exec_command |
|
38 |
10 |
292 |
| imxesdhc_start_command |
|
97 |
25 |
705 |
| imxesdhc_transfer_data |
|
58 |
13 |
321 |
| imxesdhc_read_data |
|
15 |
4 |
90 |
| imxesdhc_write_data |
|
18 |
5 |
129 |
| imxesdhc_soft_reset |
|
19 |
4 |
126 |
| imxesdhc_wait_intr |
|
30 |
5 |
171 |
| imxesdhc_intr |
|
28 |
5 |
187 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxuartvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxgpiovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxgpc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxgpc_match |
|
5 |
1 |
34 |
| imxgpc_attach |
|
11 |
1 |
87 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxtemp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxtemp_match |
|
5 |
1 |
34 |
| imxtemp_attach |
|
13 |
2 |
92 |
| imxtemp_calibration |
|
28 |
2 |
210 |
| imxtemp_calc_temp |
|
8 |
1 |
62 |
| imxtemp_refresh_sensors |
|
8 |
1 |
56 |
| imxtemp_pickup_sensors |
|
17 |
2 |
109 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxuart.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| imxuart_init_cons |
|
10 |
3 |
57 |
| imxuart_match |
|
5 |
1 |
34 |
| imxuart_attach |
|
30 |
7 |
259 |
| imxuart_intr |
|
41 |
11 |
291 |
| imxuart_param |
|
47 |
13 |
284 |
| imxuart_start |
|
45 |
12 |
321 |
| imxuart_pwroff |
|
3 |
1 |
9 |
| imxuart_diag |
|
17 |
3 |
97 |
| imxuart_raisedtr |
|
6 |
1 |
41 |
| imxuart_softint |
|
46 |
14 |
321 |
| imxuartopen |
|
105 |
22 |
781 |
| imxuartclose |
|
25 |
3 |
189 |
| imxuartread |
|
8 |
2 |
58 |
| imxuartwrite |
|
8 |
2 |
58 |
| imxuartioctl |
|
56 |
24 |
346 |
| imxuartstop |
|
4 |
1 |
15 |
| imxuarttty |
|
12 |
3 |
61 |
| imxuart_sc |
|
10 |
2 |
50 |
| imxuartcnprobe |
|
5 |
1 |
26 |
| imxuartcninit |
|
3 |
1 |
9 |
| imxuartcnattach |
|
16 |
2 |
96 |
| imxuartcngetc |
|
12 |
2 |
56 |
| imxuartcnputc |
|
10 |
2 |
56 |
| imxuartcnpollc |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/imxuartreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/imx/if_fec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fec_match |
|
5 |
1 |
34 |
| fec_attach |
|
118 |
12 |
950 |
| fec_phy_init |
|
95 |
9 |
1180 |
| fec_init_rxd |
|
12 |
3 |
98 |
| fec_init_txd |
|
10 |
2 |
76 |
| fec_init |
|
49 |
4 |
423 |
| fec_stop |
|
10 |
2 |
70 |
| fec_iff |
|
28 |
4 |
217 |
| fec_ioctl |
|
38 |
11 |
210 |
| fec_start |
|
21 |
8 |
134 |
| fec_encap |
|
30 |
5 |
262 |
| fec_newbuf |
|
13 |
3 |
66 |
| fec_intr |
|
15 |
5 |
97 |
| fec_recv |
|
41 |
4 |
333 |
| fec_tick |
|
9 |
1 |
47 |
| fec_miibus_readreg |
|
12 |
2 |
107 |
| fec_miibus_writereg |
|
11 |
2 |
91 |
| fec_miibus_statchg |
|
20 |
4 |
104 |
| fec_ifmedia_upd |
|
13 |
2 |
72 |
| fec_ifmedia_sts |
|
8 |
1 |
54 |
| fec_dma_malloc |
|
50 |
5 |
336 |
| fec_dma_free |
|
15 |
3 |
116 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/fdt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fdt_check_head |
|
19 |
6 |
143 |
| fdt_init |
|
21 |
4 |
186 |
| fdt_finalize |
|
11 |
2 |
112 |
| fdt_get_size |
|
8 |
3 |
42 |
| fdt_get_str |
|
6 |
3 |
35 |
| fdt_add_str |
|
14 |
3 |
115 |
| skip_property |
|
7 |
1 |
45 |
| skip_props |
|
7 |
2 |
30 |
| skip_node_name |
|
5 |
1 |
35 |
| fdt_node_property |
|
22 |
5 |
142 |
| fdt_node_set_property |
|
37 |
7 |
261 |
| fdt_node_add_property |
|
23 |
6 |
203 |
| skip_node |
|
10 |
2 |
55 |
| fdt_next_node |
|
23 |
8 |
141 |
| fdt_child_node |
|
13 |
4 |
71 |
| fdt_node_name |
|
10 |
3 |
48 |
| fdt_find_node |
|
29 |
9 |
155 |
| fdt_parent_node_recurse |
|
11 |
5 |
69 |
| fdt_parent_node |
|
9 |
3 |
42 |
| fdt_node_is_compatible |
|
13 |
3 |
75 |
| fdt_print_property |
|
37 |
14 |
295 |
| fdt_print_node |
|
15 |
4 |
95 |
| fdt_print_node_recurse |
|
7 |
2 |
49 |
| fdt_print_tree |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/eficall.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/self_reloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| self_reloc |
|
41 |
12 |
206 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/efidev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efid_io |
|
32 |
7 |
195 |
| efid_diskio |
|
6 |
2 |
58 |
| efi_getdisklabel |
|
34 |
9 |
252 |
| efiopen |
|
23 |
4 |
134 |
| efistrategy |
|
16 |
3 |
119 |
| eficlose |
|
5 |
1 |
18 |
| efiioctl |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/disk.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/efiboot.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/heap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| heap_init |
|
6 |
2 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/efidev.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_loadfile |
|
38 |
8 |
294 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/stand/efiboot/efiboot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| efi_main |
|
20 |
3 |
117 |
| efi_cons_probe |
|
5 |
1 |
26 |
| efi_cons_init |
|
5 |
1 |
21 |
| efi_cons_getc |
|
23 |
8 |
129 |
| efi_cons_putc |
|
9 |
2 |
52 |
| efi_heap_init |
|
8 |
2 |
41 |
| efi_diskprobe |
|
43 |
14 |
293 |
| efi_device_path_depth |
|
9 |
3 |
58 |
| efi_device_path_ncmp |
|
18 |
9 |
139 |
| efi_makebootargs |
|
42 |
8 |
317 |
| efi_updatefdt |
|
20 |
2 |
125 |
| machdep |
|
19 |
4 |
92 |
| efi_cleanup |
|
15 |
4 |
73 |
| _rtt |
|
9 |
4 |
42 |
| efi_timer |
|
4 |
1 |
14 |
| efi_timer_init |
|
10 |
3 |
60 |
| efi_timer_cleanup |
|
4 |
1 |
13 |
| getsecs |
|
4 |
1 |
9 |
| devboot |
|
4 |
1 |
20 |
| cnspeed |
|
4 |
1 |
13 |
| ttyname |
|
4 |
1 |
10 |
| ttydev |
|
4 |
1 |
11 |
| devparse |
|
42 |
15 |
321 |
| devopen |
|
11 |
2 |
93 |
| efi_memprobe_internal |
|
24 |
3 |
140 |
| Xexit_efi |
|
7 |
2 |
33 |
| Xpoweroff_efi |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/vexpress/sysreg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sysreg_match |
|
5 |
1 |
34 |
| sysreg_attach |
|
17 |
2 |
143 |
| sysconf_function |
|
18 |
3 |
143 |
| sysconf_reboot |
|
7 |
2 |
28 |
| sysconf_shutdown |
|
7 |
2 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/sunxi/sxiintc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/sunxi/sxiintc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxiintc_match |
|
5 |
1 |
34 |
| sxiintc_attach |
|
34 |
5 |
263 |
| sxiintc_calc_masks |
|
32 |
9 |
215 |
| sxiintc_splx |
|
7 |
2 |
41 |
| sxiintc_spllower |
|
7 |
1 |
33 |
| sxiintc_splraise |
|
10 |
2 |
45 |
| sxiintc_setipl |
|
15 |
4 |
88 |
| sxiintc_irq_handler |
|
37 |
4 |
258 |
| sxiintc_intr_establish |
|
29 |
5 |
223 |
| sxiintc_intr_establish_fdt |
|
5 |
1 |
50 |
| sxiintc_intr_disestablish |
|
19 |
2 |
128 |
| sxiintc_intr_string |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/sunxi/sxidog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxidog_match |
|
6 |
2 |
45 |
| sxidog_attach |
|
20 |
4 |
149 |
| sxidog_activate |
|
9 |
2 |
33 |
| sxidog_callback |
|
28 |
9 |
180 |
| sxidog_reset |
|
7 |
2 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/sunxi/sxiahci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxiahci_match |
|
5 |
1 |
34 |
| sxiahci_attach |
|
81 |
13 |
617 |
| sxiahci_detach |
|
8 |
1 |
59 |
| sxiahci_activate |
|
6 |
1 |
47 |
| sxiahci_port_start |
|
9 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/sunxi/sxitimer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxitimer_match |
|
11 |
4 |
73 |
| sxitimer_attach |
|
49 |
3 |
319 |
| sxitimer_cpu_initclocks |
|
29 |
1 |
215 |
| sxitimer_tickintr |
|
40 |
5 |
211 |
| sxitimer_statintr |
|
38 |
5 |
217 |
| sxitimer_readcnt64 |
|
11 |
2 |
70 |
| sxitimer_readcnt32 |
|
5 |
1 |
19 |
| sxitimer_sync |
|
6 |
2 |
29 |
| sxitimer_delay |
|
8 |
2 |
42 |
| sxitimer_setstatclockrate |
|
12 |
2 |
68 |
| sxitimer_get_timecount |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/sunxi/sxie.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sxie_match |
|
5 |
1 |
34 |
| sxie_attach |
|
49 |
5 |
410 |
| sxie_socware_init |
|
33 |
5 |
323 |
| sxie_setup_interface |
|
30 |
1 |
260 |
| sxie_init |
|
24 |
1 |
217 |
| sxie_intr |
|
24 |
6 |
147 |
| sxie_start |
|
45 |
10 |
310 |
| sxie_stop |
|
8 |
1 |
46 |
| sxie_reset |
|
7 |
1 |
37 |
| sxie_watchdog |
|
12 |
2 |
60 |
| sxie_recv |
|
49 |
9 |
295 |
| sxie_ioctl |
|
37 |
11 |
210 |
| sxie_iff |
|
3 |
1 |
14 |
| sxie_miibus_readreg |
|
14 |
5 |
109 |
| sxie_miibus_writereg |
|
14 |
5 |
111 |
| sxie_miibus_statchg |
|
11 |
4 |
46 |
| sxie_ifm_change |
|
11 |
2 |
63 |
| sxie_ifm_status |
|
7 |
1 |
56 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/sitara_cm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sitara_cm_padconf_from_name |
|
11 |
3 |
57 |
| sitara_cm_padconf_set_internal |
|
21 |
5 |
143 |
| sitara_cm_padconf_set |
|
12 |
3 |
66 |
| sitara_cm_padconf_get |
|
20 |
5 |
109 |
| sitara_cm_padconf_set_gpiomode |
|
20 |
5 |
116 |
| sitara_cm_padconf_get_gpiomode |
|
22 |
7 |
123 |
| sitara_cm_reg_read_4 |
|
7 |
2 |
36 |
| sitara_cm_reg_write_4 |
|
7 |
2 |
34 |
| sitara_cm_attach |
|
21 |
5 |
166 |
| sitara_cm_pinctrl |
|
27 |
5 |
193 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/gptimer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gptimer_attach |
|
33 |
4 |
244 |
| gptimer_intr |
|
52 |
11 |
298 |
| gptimer_cpu_initclocks |
|
30 |
1 |
187 |
| gptimer_wait |
|
5 |
2 |
21 |
| microtime |
|
24 |
4 |
128 |
| gptimer_delay |
|
32 |
10 |
192 |
| gptimer_setstatclockrate |
|
13 |
2 |
66 |
| gptimer_get_timecount |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omap4.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omap4_init |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omgpio_read4 |
|
6 |
2 |
49 |
| omgpio_write4 |
|
6 |
2 |
55 |
| omgpio_match |
|
10 |
3 |
65 |
| omgpio_attach |
|
108 |
12 |
915 |
| omgpio_get_function |
|
4 |
1 |
15 |
| omgpio_set_function |
|
3 |
1 |
12 |
| omgpio_get_bit |
|
5 |
1 |
34 |
| omgpio_set_bit |
|
5 |
1 |
35 |
| omgpio_clear_bit |
|
5 |
1 |
35 |
| omgpio_set_dir |
|
5 |
1 |
39 |
| omgpio_pin_read |
|
10 |
2 |
72 |
| omgpio_pin_write |
|
10 |
2 |
64 |
| omgpio_pin_ctl |
|
11 |
4 |
75 |
| omgpio_pin_dir_write |
|
14 |
2 |
89 |
| omgpio_pin_dir_read |
|
9 |
2 |
50 |
| omgpio_clear_intr |
|
5 |
1 |
47 |
| omgpio_intr_mask |
|
5 |
1 |
47 |
| omgpio_intr_unmask |
|
5 |
1 |
47 |
| omgpio_intr_level |
|
59 |
8 |
317 |
| omgpio_intr_establish |
|
30 |
3 |
231 |
| omgpio_intr_disestablish |
|
17 |
1 |
122 |
| omgpio_irq |
|
24 |
4 |
137 |
| omgpio_irq_dummy |
|
4 |
1 |
11 |
| omgpio_recalc_interrupts |
|
38 |
16 |
253 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omehcivar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omwugen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omwugen_match |
|
5 |
1 |
34 |
| omwugen_attach |
|
11 |
1 |
87 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omusbtll.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omusbtll_attach |
|
20 |
4 |
157 |
| omusbtll_init |
|
31 |
4 |
207 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/am335x_prcmreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/ti_iicreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/edmavar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/edma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| edma_match |
|
5 |
1 |
34 |
| edma_attach |
|
36 |
5 |
287 |
| edma_comp_intr |
|
24 |
7 |
207 |
| edma_intr_dma_en |
|
16 |
4 |
129 |
| edma_intr_dma_dis |
|
12 |
4 |
80 |
| edma_trig_xfer_man |
|
19 |
6 |
178 |
| edma_trig_xfer_by_dev |
|
21 |
6 |
206 |
| edma_param_write |
|
5 |
1 |
36 |
| edma_param_read |
|
5 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omehci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omehci_match |
|
5 |
1 |
34 |
| omehci_attach |
|
103 |
23 |
798 |
| omehci_init |
|
124 |
40 |
873 |
| omehci_soft_phy_reset |
|
20 |
4 |
151 |
| omehci_detach |
|
17 |
4 |
112 |
| omehci_activate |
|
18 |
4 |
92 |
| omehci_v4_early_init |
|
11 |
1 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/amdisplay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| preg |
|
6 |
1 |
46 |
| dumpregs |
|
23 |
2 |
249 |
| amdisplay_match |
|
5 |
1 |
34 |
| amdisplay_attach |
|
136 |
10 |
1119 |
| amdisplay_detach |
|
15 |
3 |
141 |
| amdisplay_intr |
|
45 |
10 |
416 |
| amdisplay_setup_dma |
|
26 |
5 |
223 |
| amdisplay_conf_crt_timings |
|
42 |
3 |
392 |
| amdisplay_calc_freq |
|
21 |
5 |
121 |
| amdisplay_ioctl |
|
43 |
10 |
204 |
| amdisplay_mmap |
|
9 |
3 |
72 |
| amdisplay_alloc_screen |
|
5 |
1 |
44 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omap_board_devs |
|
13 |
4 |
74 |
| omap_board_init |
|
14 |
4 |
75 |
| omap_match |
|
10 |
3 |
85 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omohci.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omohci_match |
|
6 |
3 |
37 |
| omohci_attach |
|
79 |
12 |
705 |
| omohci_detach |
|
29 |
5 |
189 |
| omohci_activate |
|
20 |
5 |
118 |
| omohci_enable |
|
23 |
3 |
270 |
| omohci_disable |
|
11 |
2 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/prcm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| prcm_attach |
|
44 |
11 |
372 |
| prcm_v3_setup |
|
28 |
1 |
182 |
| prcm_setclock |
|
7 |
2 |
47 |
| prcm_am335x_setclock |
|
58 |
10 |
509 |
| prcm_v3_setclock |
|
17 |
4 |
168 |
| prcm_v3_bit |
|
33 |
14 |
100 |
| prcm_am335x_clkctrl |
|
43 |
19 |
130 |
| prcm_enablemodule |
|
7 |
2 |
42 |
| prcm_am335x_enablemodule |
|
12 |
2 |
81 |
| prcm_v3_enablemodule |
|
22 |
3 |
171 |
| prcm_v4_enablemodule |
|
36 |
24 |
116 |
| prcm_v4_hsusbhost_activate |
|
36 |
8 |
208 |
| prcm_v4_hsusbhost_set_source |
|
21 |
4 |
126 |
| prcm_setup_dpll5 |
|
15 |
3 |
146 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omap4_prcmreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omapid.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omapid_attach |
|
36 |
8 |
230 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/if_cpsw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpsw_txdesc_adjust |
|
4 |
1 |
27 |
| cpsw_rxdesc_adjust |
|
4 |
1 |
27 |
| cpsw_set_txdesc_next |
|
5 |
1 |
46 |
| cpsw_set_rxdesc_next |
|
5 |
1 |
46 |
| cpsw_get_txdesc |
|
7 |
1 |
53 |
| cpsw_set_txdesc |
|
7 |
1 |
53 |
| cpsw_get_rxdesc |
|
7 |
1 |
53 |
| cpsw_set_rxdesc |
|
7 |
1 |
53 |
| cpsw_txdesc_paddr |
|
5 |
1 |
33 |
| cpsw_rxdesc_paddr |
|
5 |
1 |
33 |
| cpsw_mdio_init |
|
26 |
7 |
182 |
| cpsw_match |
|
5 |
1 |
34 |
| cpsw_attach |
|
121 |
13 |
1004 |
| cpsw_mediachange |
|
7 |
2 |
43 |
| cpsw_mediastatus |
|
9 |
2 |
65 |
| cpsw_start |
|
102 |
22 |
686 |
| cpsw_ioctl |
|
37 |
10 |
197 |
| cpsw_watchdog |
|
7 |
1 |
33 |
| cpsw_mii_wait |
|
10 |
3 |
68 |
| cpsw_mii_readreg |
|
16 |
4 |
136 |
| cpsw_mii_writereg |
|
16 |
4 |
163 |
| cpsw_mii_statchg |
|
4 |
1 |
11 |
| cpsw_new_rxbuf |
|
39 |
5 |
309 |
| cpsw_init |
|
85 |
9 |
1105 |
| cpsw_stop |
|
52 |
19 |
539 |
| cpsw_rxthintr |
|
6 |
1 |
34 |
| cpsw_rxintr |
|
69 |
10 |
435 |
| cpsw_tick |
|
9 |
1 |
47 |
| cpsw_txintr |
|
72 |
16 |
558 |
| cpsw_miscintr |
|
29 |
2 |
268 |
| cpsw_get_port_config |
|
23 |
7 |
194 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omap3_prcmreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/ommmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ommmc_match |
|
6 |
2 |
45 |
| ommmc_attach |
|
105 |
32 |
762 |
| ommmc_power |
|
16 |
8 |
107 |
| ommmc_shutdown |
|
5 |
1 |
23 |
| ommmc_host_reset |
|
32 |
3 |
214 |
| ommmc_host_ocr |
|
5 |
1 |
21 |
| ommmc_host_maxblklen |
|
5 |
1 |
21 |
| ommmc_card_detect |
|
6 |
2 |
32 |
| ommmc_bus_power |
|
37 |
6 |
208 |
| ommmc_clock_divisor |
|
11 |
3 |
66 |
| ommmc_bus_clock |
|
49 |
11 |
284 |
| ommmc_bus_width |
|
18 |
7 |
111 |
| ommmc_card_intr_mask |
|
11 |
2 |
62 |
| ommmc_card_intr_ack |
|
5 |
1 |
23 |
| ommmc_wait_state |
|
16 |
3 |
123 |
| ommmc_exec_command |
|
39 |
11 |
378 |
| ommmc_start_command |
|
65 |
18 |
439 |
| ommmc_transfer_data |
|
37 |
9 |
238 |
| ommmc_read_data |
|
15 |
4 |
90 |
| ommmc_write_data |
|
18 |
5 |
129 |
| ommmc_soft_reset |
|
22 |
6 |
152 |
| ommmc_wait_intr |
|
26 |
4 |
150 |
| ommmc_intr |
|
31 |
7 |
193 |
| ommmc_dump_regs |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omap_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omap_platform_smc_write |
|
12 |
3 |
49 |
| omap_platform_init_mainbus |
|
5 |
1 |
23 |
| omap_platform_watchdog_reset |
|
4 |
1 |
10 |
| omap_platform_powerdown |
|
3 |
1 |
6 |
| omap_platform_board_init |
|
4 |
1 |
10 |
| omap_platform_match |
|
9 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omdog.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omdog_match |
|
5 |
1 |
34 |
| omdog_attach |
|
19 |
4 |
154 |
| omdog_activate |
|
9 |
2 |
33 |
| omdog_start |
|
7 |
1 |
49 |
| omdog_stop |
|
7 |
1 |
49 |
| omdog_sync |
|
6 |
2 |
41 |
| omdog_cb |
|
21 |
6 |
147 |
| omdog_reset |
|
11 |
3 |
52 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/ti_iic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ti_iic_match |
|
5 |
1 |
34 |
| ti_iic_attach |
|
45 |
7 |
379 |
| ti_iic_intr |
|
16 |
3 |
108 |
| ti_iic_acquire_bus |
|
7 |
2 |
40 |
| ti_iic_release_bus |
|
7 |
2 |
34 |
| ti_iic_exec |
|
28 |
8 |
195 |
| ti_iic_reset |
|
32 |
4 |
207 |
| ti_iic_op |
|
76 |
16 |
516 |
| ti_iic_handle_intr |
|
19 |
5 |
98 |
| ti_iic_do_read |
|
23 |
5 |
165 |
| ti_iic_do_write |
|
23 |
5 |
165 |
| ti_iic_wait |
|
20 |
4 |
128 |
| ti_iic_stat |
|
14 |
3 |
74 |
| ti_iic_flush |
|
17 |
4 |
90 |
| ti_iic_scan |
|
25 |
5 |
216 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/intc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intc_match |
|
6 |
2 |
45 |
| intc_attach |
|
40 |
6 |
281 |
| intc_calc_mask |
|
35 |
9 |
238 |
| intc_splx |
|
7 |
2 |
41 |
| intc_spllower |
|
7 |
1 |
33 |
| intc_splraise |
|
10 |
2 |
45 |
| intc_setipl |
|
25 |
6 |
130 |
| intc_intr_bootstrap |
|
10 |
3 |
62 |
| intc_irq_handler |
|
21 |
4 |
125 |
| intc_intr_establish |
|
24 |
5 |
168 |
| intc_intr_establish_fdt |
|
5 |
1 |
50 |
| intc_intr_disestablish |
|
12 |
2 |
77 |
| intc_intr_string |
|
4 |
1 |
11 |
| intc_tst |
|
6 |
1 |
30 |
| intc_test |
|
13 |
1 |
83 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omgpiovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/nxphdmivar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/dmtimer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dmtimer_attach |
|
47 |
5 |
385 |
| dmtimer_intr |
|
44 |
8 |
331 |
| dmtimer_cpu_initclocks |
|
25 |
1 |
242 |
| dmtimer_wait |
|
6 |
2 |
40 |
| dmtimer_delay |
|
33 |
10 |
223 |
| dmtimer_setstatclockrate |
|
14 |
2 |
90 |
| dmtimer_get_timecount |
|
5 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/ompinmux.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ompinmux_match |
|
5 |
1 |
34 |
| ompinmux_attach |
|
13 |
2 |
119 |
| ompinmux_pinctrl |
|
49 |
8 |
355 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/am335x_cm_padconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sitara_cm_padconf_set_gpioflags |
|
18 |
6 |
82 |
| sitara_cm_padconf_get_gpioflags |
|
28 |
7 |
106 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/nxphdmi.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nxphdmi_match |
|
7 |
2 |
43 |
| nxphdmi_attach |
|
66 |
6 |
512 |
| nxphdmi_cec_read |
|
13 |
2 |
94 |
| nxphdmi_cec_write |
|
15 |
2 |
105 |
| nxphdmi_read |
|
15 |
2 |
116 |
| nxphdmi_write |
|
16 |
2 |
134 |
| nxphdmi_write2 |
|
16 |
2 |
141 |
| nxphdmi_set |
|
9 |
1 |
53 |
| nxphdmi_clear |
|
9 |
1 |
53 |
| nxphdmi_set_page |
|
17 |
3 |
118 |
| nxphdmi_read_edid |
|
39 |
6 |
300 |
| nxphdmi_reset |
|
11 |
1 |
71 |
| nxphdmi_init_encoder |
|
112 |
9 |
862 |
| nxphdmi_get_edid |
|
10 |
3 |
68 |
| nxphdmi_set_videomode |
|
7 |
1 |
38 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omdisplay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omdisplay_match |
|
4 |
1 |
22 |
| omdisplay_attach |
|
38 |
5 |
293 |
| omdisplay_ioctl |
|
45 |
17 |
234 |
| omdisplay_burner |
|
15 |
3 |
82 |
| omdisplay_show_screen |
|
16 |
3 |
110 |
| omdisplay_param |
|
31 |
8 |
144 |
| omdisplay_max_brightness |
|
7 |
2 |
34 |
| omdisplay_get_brightness |
|
4 |
1 |
9 |
| omdisplay_set_brightness |
|
13 |
6 |
61 |
| omdisplay_set_brightness_internal |
|
11 |
3 |
48 |
| omdisplay_get_backlight |
|
4 |
1 |
9 |
| omdisplay_set_backlight |
|
10 |
2 |
37 |
| omdisplay_blank |
|
10 |
2 |
36 |
| omdisplay_suspend |
|
6 |
2 |
24 |
| omdisplay_resume |
|
7 |
2 |
33 |
| omdisplay_activate |
|
15 |
3 |
65 |
| omdisplay_initialize |
|
177 |
14 |
1823 |
| omdisplay_setup_rasops |
|
32 |
4 |
229 |
| omdisplay_alloc_screen |
|
27 |
4 |
194 |
| omdisplay_new_screen |
|
84 |
22 |
548 |
| omdisplay_mmap |
|
14 |
5 |
110 |
| omdisplay_free_screen |
|
18 |
5 |
126 |
| omdisplay_load_font |
|
8 |
2 |
54 |
| omdisplay_list_font |
|
8 |
2 |
48 |
| omdisplay_start |
|
9 |
1 |
34 |
| omdisplay_stop |
|
6 |
1 |
41 |
| omdisplay_intr |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/am335x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| am335x_init |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/if_cpswreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/sitara_cmreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/omap3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omap3_init |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/amdisplayreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/sitara_cm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/intc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| find_first_bit |
|
6 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/armv7/omap/prcmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/ddb/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_enter |
|
4 |
1 |
9 |
| db_trap_glue |
|
32 |
11 |
186 |
| db_enter_ddb |
|
52 |
18 |
304 |
| ppc_ipi_db |
|
4 |
1 |
13 |
| db_cpuinfo_cmd |
|
29 |
8 |
136 |
| db_machine_init |
|
8 |
4 |
38 |
| db_ddbproc_cmd |
|
17 |
5 |
81 |
| db_startproc_cmd |
|
18 |
7 |
95 |
| db_stopproc_cmd |
|
18 |
7 |
95 |
| db_startcpu |
|
8 |
3 |
42 |
| db_stopcpu |
|
12 |
4 |
71 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/ddb/db_memrw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_read_bytes |
|
24 |
5 |
140 |
| db_write_bytes |
|
25 |
5 |
151 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/ddb/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_save_regs |
|
4 |
1 |
23 |
| db_stack_trace_print |
|
83 |
23 |
597 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/ddb/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| op_ill |
|
4 |
1 |
17 |
| extract_field |
|
5 |
1 |
41 |
| disasm_process_field |
|
497 |
107 |
2585 |
| disasm_fields |
|
22 |
5 |
129 |
| op_base |
|
4 |
1 |
19 |
| op_cl_x13 |
|
4 |
1 |
19 |
| op_cl_x1e |
|
4 |
1 |
19 |
| op_cl_x1f |
|
4 |
1 |
19 |
| op_cl_x3a |
|
4 |
1 |
19 |
| op_cl_x3b |
|
4 |
1 |
19 |
| op_cl_x3e |
|
4 |
1 |
19 |
| op_cl_x3f |
|
4 |
1 |
19 |
| dis_ppc |
|
16 |
3 |
109 |
| db_disasm |
|
9 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/isa/isa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/ipkdb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ipkdbcopy |
|
8 |
2 |
46 |
| ipkdbzero |
|
8 |
2 |
34 |
| ipkdbcmp |
|
9 |
3 |
57 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/tcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| curcpu |
|
6 |
1 |
25 |
| cpu_number |
|
6 |
1 |
20 |
| syncicache |
|
19 |
3 |
121 |
| invdcache |
|
12 |
2 |
78 |
| flushdcache |
|
12 |
2 |
78 |
| ppc_mftbl |
|
6 |
1 |
22 |
| ppc_mftb |
|
8 |
1 |
32 |
| ppc_mttb |
|
6 |
1 |
55 |
| ppc_mfmsr |
|
6 |
1 |
23 |
| ppc_mtmsr |
|
4 |
1 |
18 |
| ppc_mtsrin |
|
4 |
1 |
26 |
| ppc_intr_enable |
|
9 |
2 |
33 |
| ppc_intr_disable |
|
8 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/endian.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mswap16 |
|
8 |
1 |
39 |
| __mswap32 |
|
8 |
1 |
39 |
| __mswap64 |
|
8 |
1 |
51 |
| __swapm16 |
|
6 |
1 |
33 |
| __swapm32 |
|
6 |
1 |
33 |
| __swapm64 |
|
6 |
1 |
41 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/pio.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __outb |
|
5 |
1 |
23 |
| __outw |
|
5 |
1 |
23 |
| __outl |
|
5 |
1 |
23 |
| __outwrb |
|
6 |
1 |
42 |
| __outlrb |
|
6 |
1 |
42 |
| __inb |
|
7 |
1 |
26 |
| __inw |
|
7 |
1 |
26 |
| __inl |
|
7 |
1 |
26 |
| __inwrb |
|
8 |
1 |
45 |
| __inlrb |
|
8 |
1 |
45 |
| __flash_led |
|
17 |
4 |
111 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/hid.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/powerpc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atomic_setbits_int |
|
10 |
1 |
47 |
| atomic_clearbits_int |
|
10 |
1 |
47 |
| _atomic_cas_uint |
|
15 |
1 |
66 |
| _atomic_cas_ulong |
|
15 |
1 |
66 |
| _atomic_cas_ptr |
|
16 |
1 |
73 |
| _atomic_swap_uint |
|
12 |
1 |
54 |
| _atomic_swap_ulong |
|
12 |
1 |
54 |
| _atomic_swap_ptr |
|
13 |
1 |
61 |
| _atomic_add_int_nv |
|
13 |
1 |
57 |
| _atomic_add_long_nv |
|
13 |
1 |
57 |
| _atomic_sub_int_nv |
|
13 |
1 |
57 |
| _atomic_sub_long_nv |
|
13 |
1 |
57 |
| _atomic_addic_int_nv |
|
13 |
1 |
57 |
| _atomic_addic_long_nv |
|
13 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/bat.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/bus_space.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_map |
|
23 |
8 |
140 |
| bus_space_unmap_p |
|
7 |
1 |
46 |
| bus_space_unmap |
|
23 |
7 |
156 |
| bus_space_mmap |
|
12 |
4 |
76 |
| bus_mem_add_mapping |
|
37 |
9 |
208 |
| bus_space_alloc |
|
6 |
1 |
38 |
| bus_space_free |
|
4 |
1 |
18 |
| mapiodev |
|
28 |
5 |
163 |
| unmapiodev |
|
10 |
1 |
65 |
| bus_space_set_region_1 |
|
9 |
2 |
57 |
| bus_space_set_region_2 |
|
10 |
2 |
65 |
| bus_space_set_region_4 |
|
10 |
2 |
65 |
| bus_space_subregion |
|
6 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/lock_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mp_lock_init |
|
5 |
1 |
21 |
| __mp_lock_spin |
|
12 |
5 |
62 |
| __mp_lock |
|
18 |
4 |
88 |
| __mp_unlock |
|
15 |
4 |
73 |
| __mp_release_all |
|
15 |
3 |
76 |
| __mp_release_all_but_one |
|
10 |
3 |
52 |
| __mp_acquire_count |
|
5 |
2 |
22 |
| __mp_lock_held |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysarch |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_read_regs |
|
22 |
3 |
184 |
| process_read_fpregs |
|
15 |
3 |
124 |
| process_set_pc |
|
6 |
1 |
34 |
| process_sstep |
|
9 |
2 |
42 |
| process_write_regs |
|
25 |
4 |
200 |
| process_write_fpregs |
|
14 |
2 |
107 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
48 |
7 |
414 |
| cpu_exit |
|
13 |
6 |
86 |
| vmapbuf |
|
21 |
4 |
165 |
| vunmapbuf |
|
14 |
3 |
110 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ppc_smask_init |
|
13 |
5 |
78 |
| splraise |
|
4 |
1 |
15 |
| spllower |
|
4 |
1 |
15 |
| splx |
|
4 |
1 |
14 |
| ppc_dflt_splraise |
|
10 |
2 |
46 |
| ppc_dflt_spllower |
|
8 |
1 |
35 |
| ppc_dflt_splx |
|
7 |
2 |
38 |
| ppc_intr_typename |
|
15 |
5 |
52 |
| intr_barrier |
|
4 |
1 |
13 |
| splassert_check |
|
8 |
4 |
65 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/cpu_subr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_bootstrap |
|
50 |
12 |
332 |
| ppc_mtscomc |
|
7 |
1 |
32 |
| ppc_mtscomd |
|
7 |
1 |
32 |
| ppc64_mfscomc |
|
10 |
1 |
38 |
| ppc64_mtscomc |
|
8 |
1 |
33 |
| ppc64_mfscomd |
|
10 |
1 |
38 |
| ppc64_mfhid0 |
|
9 |
2 |
44 |
| ppc64_mthid0 |
|
8 |
1 |
30 |
| ppc_mfhid0 |
|
8 |
2 |
33 |
| ppc_mthid0 |
|
9 |
2 |
44 |
| ppc64_mfhid1 |
|
7 |
1 |
24 |
| ppc64_mthid1 |
|
5 |
1 |
19 |
| ppc64_mfhid4 |
|
7 |
1 |
24 |
| ppc64_mthid4 |
|
5 |
1 |
19 |
| ppc64_mfhid5 |
|
7 |
1 |
24 |
| ppc64_mthid5 |
|
5 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mtx_init |
|
6 |
1 |
30 |
| __mtx_enter |
|
12 |
5 |
55 |
| __mtx_enter_try |
|
20 |
8 |
125 |
| __mtx_enter |
|
10 |
5 |
66 |
| __mtx_enter_try |
|
5 |
1 |
19 |
| __mtx_leave |
|
11 |
4 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/in_cksum.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| in_cksum_internal |
|
139 |
21 |
563 |
| in_cksum |
|
4 |
1 |
26 |
| in4_cksum |
|
26 |
5 |
242 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/softintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softintr_init |
|
11 |
2 |
61 |
| softintr_dispatch |
|
18 |
3 |
109 |
| softintr_establish |
|
31 |
8 |
145 |
| softintr_disestablish |
|
12 |
2 |
77 |
| softintr_schedule |
|
13 |
2 |
97 |
| dosoftint |
|
17 |
4 |
109 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/fpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| enable_fpu |
|
56 |
4 |
222 |
| save_fpu |
|
57 |
2 |
207 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| VP_SR |
|
4 |
1 |
17 |
| VP_IDX1 |
|
4 |
1 |
17 |
| VP_IDX2 |
|
4 |
1 |
17 |
| pmap_vp_lookup |
|
17 |
3 |
91 |
| pmap_vp_remove |
|
18 |
3 |
103 |
| pmap_vp_enter |
|
28 |
7 |
188 |
| tlbie |
|
4 |
1 |
20 |
| tlbsync |
|
4 |
1 |
12 |
| eieio |
|
4 |
1 |
12 |
| sync |
|
4 |
1 |
12 |
| tlbia |
|
10 |
2 |
44 |
| ptesr |
|
4 |
1 |
23 |
| pteidx |
|
6 |
1 |
40 |
| PTED_HID |
|
4 |
1 |
18 |
| PTED_PTEGIDX |
|
4 |
1 |
18 |
| PTED_MANAGED |
|
4 |
1 |
18 |
| PTED_WIRED |
|
4 |
1 |
18 |
| PTED_VALID |
|
7 |
2 |
40 |
| pmap_enter_pv |
|
10 |
2 |
68 |
| pmap_remove_pv |
|
12 |
2 |
82 |
| pmap_pte2flags |
|
5 |
3 |
34 |
| pmap_flags2pte |
|
5 |
3 |
34 |
| pmap_attr_save |
|
8 |
2 |
43 |
| pmap_enter |
|
78 |
24 |
483 |
| pmap_remove |
|
12 |
4 |
72 |
| pmap_remove_pted |
|
29 |
7 |
191 |
| pmap_kenter_pa |
|
47 |
15 |
294 |
| pmap_kremove |
|
9 |
4 |
64 |
| pmap_ptedinhash |
|
24 |
8 |
194 |
| pte_del |
|
12 |
2 |
63 |
| pte_zap |
|
13 |
3 |
101 |
| pmap_fill_pte64 |
|
28 |
5 |
187 |
| pmap_fill_pte32 |
|
25 |
5 |
177 |
| pmap_test_attrs |
|
30 |
5 |
182 |
| pmap_clear_attrs |
|
37 |
3 |
229 |
| pmap_collect |
|
3 |
1 |
7 |
| pmap_zero_page |
|
12 |
4 |
82 |
| pmap_copy_page |
|
6 |
1 |
47 |
| pmap_create |
|
31 |
5 |
226 |
| pmap_reference |
|
4 |
1 |
15 |
| pmap_destroy |
|
11 |
3 |
53 |
| pmap_release |
|
12 |
1 |
89 |
| pmap_vp_destroy |
|
19 |
5 |
111 |
| pmap_avail_setup |
|
22 |
6 |
164 |
| pmap_avail_fixup |
|
23 |
4 |
106 |
| pmap_remove_avail |
|
69 |
15 |
383 |
| pmap_steal_avail |
|
18 |
4 |
113 |
| pmap_steal_memory |
|
46 |
12 |
267 |
| pmap_bootstrap |
|
117 |
26 |
1031 |
| pmap_enable_mmu |
|
21 |
4 |
151 |
| pmap_activate |
|
3 |
1 |
9 |
| pmap_deactivate |
|
3 |
1 |
9 |
| pmap_extract |
|
22 |
6 |
132 |
| pmap_setusr |
|
9 |
1 |
62 |
| pmap_popusr |
|
5 |
1 |
23 |
| copyin |
|
27 |
4 |
151 |
| copyout |
|
27 |
4 |
151 |
| copyin32 |
|
20 |
3 |
115 |
| copyinstr |
|
50 |
9 |
257 |
| copyoutstr |
|
50 |
9 |
261 |
| pmap_syncicache_user_virt |
|
16 |
3 |
86 |
| pmap_pted_ro |
|
7 |
2 |
31 |
| pmap_pted_ro64 |
|
35 |
6 |
238 |
| pmap_pted_ro32 |
|
33 |
5 |
218 |
| pmap_page_protect |
|
37 |
5 |
272 |
| pmap_protect |
|
16 |
5 |
91 |
| pmap_real_memory |
|
18 |
6 |
134 |
| pmap_init |
|
14 |
1 |
104 |
| pmap_proc_iflush |
|
15 |
4 |
89 |
| pte_spill_r |
|
34 |
7 |
187 |
| pte_spill_v |
|
28 |
10 |
156 |
| pte_insert64 |
|
66 |
10 |
515 |
| pte_insert32 |
|
63 |
10 |
505 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| save_vec |
|
48 |
1 |
523 |
| enable_vec |
|
54 |
4 |
581 |
| trap |
|
300 |
61 |
1798 |
| child_return |
|
12 |
1 |
84 |
| badaddr |
|
24 |
4 |
117 |
| fix_unaligned |
|
32 |
8 |
181 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/copystr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| copystr |
|
16 |
5 |
100 |
| Source file: /home/sergeyb/sources/src/sys/arch/powerpc/powerpc/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _dmamap_create |
|
22 |
3 |
164 |
| _dmamap_destroy |
|
4 |
1 |
19 |
| _dmamap_load_buffer |
|
57 |
14 |
379 |
| _dmamap_load |
|
18 |
3 |
114 |
| _dmamap_load_mbuf |
|
28 |
8 |
187 |
| _dmamap_load_uio |
|
36 |
10 |
245 |
| _dmamap_load_raw |
|
57 |
16 |
396 |
| _dmamap_unload |
|
5 |
1 |
22 |
| _dmamap_sync |
|
28 |
8 |
187 |
| _dmamem_alloc |
|
7 |
1 |
57 |
| _dmamem_free |
|
17 |
3 |
108 |
| _dmamem_map |
|
37 |
8 |
267 |
| _dmamem_unmap |
|
6 |
3 |
43 |
| _dmamem_mmap |
|
22 |
8 |
145 |
| _dmamem_alloc_range |
|
41 |
9 |
274 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/stsec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| stsec_match |
|
6 |
1 |
57 |
| stsec_attach |
|
49 |
8 |
352 |
| stsec_read |
|
13 |
2 |
96 |
| stsec_write |
|
12 |
1 |
96 |
| stsec_sensors_update |
|
71 |
20 |
510 |
| stsec_apminfo |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/sisfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sisfb_crtc_read |
|
8 |
2 |
57 |
| sisfb_crtc_write |
|
6 |
2 |
54 |
| sisfb_seq_read |
|
8 |
2 |
57 |
| sisfb_seq_write |
|
6 |
2 |
54 |
| sisfb_match |
|
5 |
1 |
42 |
| sisfb_attach |
|
61 |
7 |
421 |
| sisfb_alloc_screen |
|
13 |
2 |
103 |
| sisfb_free_screen |
|
5 |
1 |
29 |
| sisfb_ioctl |
|
41 |
9 |
244 |
| sisfb_show_screen |
|
5 |
1 |
36 |
| sisfb_mmap |
|
12 |
5 |
104 |
| sisfb_load_font |
|
6 |
1 |
51 |
| sisfb_list_font |
|
6 |
1 |
45 |
| sisfb_setup |
|
87 |
15 |
602 |
| sisfb_loadcmap |
|
10 |
2 |
111 |
| sisfb_getcmap |
|
31 |
9 |
237 |
| sisfb_putcmap |
|
31 |
9 |
237 |
| sisfb_cnattach |
|
45 |
9 |
287 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/leiocvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/htb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| htb_match |
|
9 |
4 |
58 |
| htb_attach |
|
41 |
3 |
297 |
| htb_print |
|
8 |
2 |
47 |
| htb_attach_hook |
|
9 |
2 |
60 |
| htb_bus_maxdevs |
|
4 |
1 |
14 |
| htb_make_tag |
|
4 |
1 |
39 |
| htb_decompose_tag |
|
9 |
4 |
77 |
| htb_conf_addr |
|
5 |
1 |
28 |
| htb_conf_size |
|
4 |
1 |
14 |
| htb_conf_read |
|
4 |
1 |
25 |
| htb_conf_write |
|
4 |
1 |
29 |
| htb_cfg_space_addr |
|
11 |
2 |
56 |
| htb_pci_intr_map |
|
24 |
6 |
156 |
| htb_pci_intr_string |
|
6 |
1 |
35 |
| htb_pci_intr_establish |
|
5 |
1 |
46 |
| htb_pci_intr_disestablish |
|
4 |
1 |
17 |
| htb_pa_to_device |
|
4 |
1 |
12 |
| htb_device_to_pa |
|
4 |
1 |
12 |
| htb_io_map |
|
21 |
8 |
122 |
| htb_mem_map |
|
8 |
3 |
49 |
| htb_mem_mmap |
|
5 |
1 |
24 |
| htb_early_setup |
|
7 |
1 |
24 |
| htb_make_tag_early |
|
4 |
1 |
25 |
| htb_conf_read_early |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/leiocreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/bonitovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/htbreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/kb3310var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/bonitoreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/kb3310.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ykbec_match |
|
17 |
9 |
136 |
| ykbec_attach |
|
34 |
10 |
272 |
| ykbec_write |
|
9 |
1 |
88 |
| ykbec_read |
|
9 |
1 |
84 |
| ykbec_read16 |
|
6 |
1 |
41 |
| ykbec_print_bat_info |
|
14 |
2 |
89 |
| ykbec_refresh |
|
77 |
16 |
612 |
| ykbec_apminfo |
|
5 |
1 |
26 |
| ykbec_suspend |
|
23 |
1 |
148 |
| ykbec_resume |
|
15 |
1 |
92 |
| ykbec_bell |
|
21 |
5 |
141 |
| ykbec_bell_stop |
|
9 |
1 |
50 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/mcclockvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/voyager.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| voyager_match |
|
5 |
1 |
42 |
| voyager_attach |
|
46 |
6 |
339 |
| voyager_print |
|
7 |
2 |
45 |
| voyager_search |
|
19 |
3 |
159 |
| voyager_intr |
|
21 |
6 |
169 |
| voyager_intr_establish |
|
30 |
7 |
257 |
| voyager_intr_string |
|
8 |
1 |
48 |
| voyager_gpio_pin_read |
|
15 |
3 |
85 |
| voyager_gpio_pin_write |
|
20 |
3 |
123 |
| voyager_gpio_pin_ctl |
|
20 |
3 |
128 |
| voyager_attach_gpio |
|
43 |
5 |
332 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/radeonfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| radeonfb_match |
|
5 |
1 |
37 |
| radeonfb_attach |
|
53 |
7 |
349 |
| radeonfb_alloc_screen |
|
13 |
2 |
103 |
| radeonfb_free_screen |
|
5 |
1 |
29 |
| radeonfb_ioctl |
|
43 |
11 |
262 |
| radeonfb_show_screen |
|
5 |
1 |
36 |
| radeonfb_mmap |
|
35 |
14 |
250 |
| radeonfb_load_font |
|
6 |
1 |
51 |
| radeonfb_list_font |
|
6 |
1 |
45 |
| radeonfb_copycols |
|
13 |
1 |
108 |
| radeonfb_erasecols |
|
13 |
1 |
119 |
| radeonfb_copyrows |
|
11 |
1 |
91 |
| radeonfb_eraserows |
|
20 |
3 |
163 |
| radeonfb_wait_fifo |
|
10 |
3 |
58 |
| radeonfb_wait |
|
19 |
5 |
120 |
| radeonfb_copyrect |
|
42 |
3 |
256 |
| radeonfb_fillrect |
|
26 |
1 |
185 |
| radeonfb_setup |
|
42 |
2 |
355 |
| radeonfb_cnattach |
|
37 |
7 |
226 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/smfb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| smfb_pci_match |
|
5 |
1 |
42 |
| smfb_voyager_match |
|
6 |
1 |
57 |
| smfb_pci_attach |
|
13 |
2 |
99 |
| smfb_voyager_attach |
|
7 |
1 |
65 |
| smfb_attach_common |
|
29 |
3 |
226 |
| smfb_alloc_screen |
|
13 |
2 |
103 |
| smfb_free_screen |
|
5 |
1 |
29 |
| smfb_ioctl |
|
24 |
4 |
140 |
| smfb_show_screen |
|
5 |
1 |
36 |
| smfb_mmap |
|
10 |
4 |
85 |
| smfb_load_font |
|
6 |
1 |
51 |
| smfb_list_font |
|
6 |
1 |
45 |
| smfb_burner |
|
31 |
4 |
200 |
| smfb_setup |
|
87 |
15 |
620 |
| smfb_copyrect |
|
20 |
4 |
162 |
| smfb_fillrect |
|
13 |
1 |
115 |
| smfb_copyrows |
|
12 |
1 |
94 |
| smfb_copycols |
|
13 |
1 |
107 |
| smfb_erasecols |
|
14 |
1 |
115 |
| smfb_eraserows |
|
21 |
3 |
163 |
| smfb_wait |
|
21 |
5 |
101 |
| smfb_wait_panel_vsync |
|
11 |
4 |
72 |
| smfb_vgats_read |
|
5 |
1 |
45 |
| smfb_vgats_write |
|
5 |
1 |
49 |
| smfb_cnattach |
|
45 |
9 |
266 |
| smfb_activate |
|
13 |
3 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/glx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| glx_init |
|
23 |
1 |
153 |
| rdmsr |
|
13 |
3 |
86 |
| wrmsr |
|
11 |
3 |
74 |
| glx_pci_read_hook |
|
35 |
13 |
164 |
| glx_pci_write_hook |
|
34 |
13 |
153 |
| glx_get_status |
|
20 |
6 |
108 |
| glx_fn0_read |
|
60 |
18 |
301 |
| glx_fn0_write |
|
53 |
17 |
312 |
| glx_fn2_read |
|
59 |
14 |
288 |
| glx_fn2_write |
|
43 |
10 |
205 |
| glx_fn3_read |
|
51 |
11 |
256 |
| glx_fn3_write |
|
38 |
7 |
191 |
| glx_fn4_read |
|
57 |
14 |
274 |
| glx_fn4_write |
|
49 |
8 |
243 |
| glx_fn5_read |
|
62 |
15 |
306 |
| glx_fn5_write |
|
49 |
8 |
243 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/com_leioc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| com_leioc_match |
|
7 |
2 |
45 |
| com_leioc_attach |
|
30 |
7 |
200 |
| com_leioc_intr |
|
5 |
1 |
16 |
| leioc_cons_setup |
|
9 |
1 |
41 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/mcclock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcclock_attach |
|
12 |
1 |
70 |
| mcclock_get |
|
19 |
1 |
123 |
| mcclock_set |
|
21 |
1 |
138 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
7 |
2 |
37 |
| mainbus_attach |
|
23 |
4 |
194 |
| mainbus_print |
|
4 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/bonito_irq.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/glxclk.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| glxclk_match |
|
8 |
2 |
54 |
| glxclk_attach |
|
78 |
6 |
514 |
| glxclk_startclock |
|
6 |
1 |
26 |
| glxclk_intr |
|
15 |
2 |
82 |
| glxclk_stat_intr |
|
23 |
3 |
136 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/leioc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| leioc_match |
|
9 |
4 |
58 |
| leioc_attach |
|
11 |
1 |
72 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/smfbreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/gdiumiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gdiumiic_bustype |
|
17 |
8 |
83 |
| gdiumiic_match |
|
9 |
4 |
72 |
| gdiumiic_attach |
|
79 |
16 |
548 |
| gdiumiic_detach |
|
4 |
1 |
17 |
| gdiumiic_i2c_acquire_bus |
|
7 |
3 |
48 |
| gdiumiic_i2c_release_bus |
|
7 |
3 |
38 |
| gdiumiic_i2c_send_start |
|
4 |
1 |
24 |
| gdiumiic_i2c_send_stop |
|
4 |
1 |
24 |
| gdiumiic_i2c_initiate_xfer |
|
4 |
1 |
29 |
| gdiumiic_i2c_read_byte |
|
4 |
1 |
30 |
| gdiumiic_i2c_write_byte |
|
4 |
1 |
29 |
| gdiumiic_bb_set_bits |
|
8 |
3 |
62 |
| gdiumiic_bb_set_dir |
|
14 |
6 |
100 |
| gdiumiic_bb_read_bits |
|
12 |
3 |
67 |
| gdiumiic_sensors_scan |
|
24 |
1 |
169 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/pcib.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcibmatch |
|
31 |
12 |
146 |
| pcibattach |
|
14 |
2 |
115 |
| pcib_callback |
|
5 |
1 |
38 |
| pcib_isa_attach |
|
13 |
3 |
88 |
| pcib_print |
|
6 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/voyagervar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/voyagerreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/mcclock_isa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mcclock_isa_match |
|
18 |
8 |
129 |
| mcclock_isa_attach |
|
12 |
2 |
89 |
| mcclock_isa_write |
|
10 |
1 |
68 |
| mcclock_isa_read |
|
10 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/htbvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/apm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apmmatch |
|
7 |
3 |
53 |
| apmattach |
|
5 |
1 |
27 |
| apmopen |
|
34 |
10 |
180 |
| apmclose |
|
18 |
6 |
106 |
| apmioctl |
|
69 |
24 |
332 |
| filt_apmrdetach |
|
5 |
1 |
37 |
| filt_apmread |
|
6 |
3 |
35 |
| apmkqfilter |
|
17 |
5 |
102 |
| apm_getdefaultinfo |
|
8 |
1 |
39 |
| apm_setinfohook |
|
4 |
1 |
19 |
| apm_record_event |
|
14 |
5 |
117 |
| apm_suspend |
|
42 |
8 |
192 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/m41t8xclock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m41t8xclock_match |
|
6 |
1 |
57 |
| m41t8xclock_attach |
|
11 |
1 |
81 |
| m41t8xclock_get |
|
24 |
3 |
222 |
| m41t8xclock_set |
|
32 |
5 |
285 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/bonito.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bonito_match |
|
9 |
3 |
60 |
| bonito_attach |
|
95 |
12 |
659 |
| bonito_pa_to_device |
|
4 |
1 |
12 |
| bonito_device_to_pa |
|
4 |
1 |
12 |
| bonito_print |
|
8 |
2 |
47 |
| bonito_intr_establish |
|
26 |
7 |
200 |
| bonito_intr_disestablish |
|
23 |
11 |
175 |
| bonito_splx |
|
11 |
3 |
57 |
| bonito_setintrmask |
|
19 |
3 |
101 |
| bonito_intr_makemasks |
|
25 |
6 |
192 |
| bonito_intr_2e |
|
27 |
6 |
159 |
| bonito_intr_2f |
|
24 |
5 |
134 |
| bonito_intr_dispatch |
|
41 |
12 |
269 |
| bonito_attach_hook |
|
10 |
2 |
65 |
| bonito_bus_maxdevs |
|
6 |
2 |
41 |
| bonito_make_tag |
|
4 |
1 |
39 |
| bonito_decompose_tag |
|
9 |
4 |
77 |
| bonito_conf_addr |
|
17 |
3 |
112 |
| bonito_pci_hook |
|
15 |
2 |
117 |
| bonito_conf_size |
|
4 |
1 |
14 |
| bonito_conf_read |
|
13 |
3 |
91 |
| bonito_conf_read_internal |
|
30 |
3 |
194 |
| bonito_conf_write |
|
29 |
4 |
211 |
| bonito_pci_intr_map |
|
24 |
7 |
183 |
| bonito_pci_intr_string |
|
10 |
2 |
58 |
| bonito_pci_intr_establish |
|
5 |
1 |
48 |
| bonito_pci_intr_disestablish |
|
4 |
1 |
17 |
| bonito_io_map |
|
18 |
7 |
111 |
| bonito_mem_map |
|
60 |
18 |
363 |
| bonito_get_resource_extent |
|
52 |
12 |
286 |
| bonito_make_tag_early |
|
4 |
1 |
25 |
| bonito_conf_read_early |
|
4 |
1 |
22 |
| bonito_early_setup |
|
7 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/dev/ohci_voyager.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ohci_voyager_match |
|
7 |
2 |
61 |
| ohci_voyager_attach |
|
49 |
6 |
412 |
| ohci_voyager_attach_deferred |
|
18 |
2 |
125 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/loongson2.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/loongson3.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/memconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/hibernate.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/cpustate.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/isa_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_copy_1 |
|
8 |
2 |
63 |
| bus_space_copy_2 |
|
8 |
2 |
64 |
| bus_space_copy_4 |
|
8 |
2 |
64 |
| bus_space_copy_8 |
|
8 |
2 |
64 |
| bus_space_barrier |
|
5 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/pmon.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/hibernate_var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/mips_opcode.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/regdef.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/include/regnum.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cnspeed |
|
4 |
1 |
13 |
| ttyname |
|
4 |
1 |
10 |
| ttydev |
|
4 |
1 |
11 |
| devboot |
|
52 |
16 |
305 |
| getsecs |
|
4 |
1 |
8 |
| machdep |
|
14 |
4 |
56 |
| main |
|
15 |
6 |
84 |
| gdium_abort |
|
11 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/dev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmon_iostrategy |
|
27 |
7 |
165 |
| pmon_ioopen |
|
33 |
5 |
197 |
| pmon_ioclose |
|
13 |
2 |
70 |
| pmon_getdisklabel |
|
31 |
7 |
215 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/devopen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devparse |
|
42 |
15 |
321 |
| devopen |
|
13 |
3 |
114 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/rd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rd_iostrategy |
|
5 |
1 |
28 |
| rd_ioopen |
|
4 |
1 |
14 |
| rd_ioclose |
|
4 |
1 |
12 |
| rd_isvalid |
|
10 |
6 |
66 |
| rd_invalidate |
|
4 |
1 |
19 |
| rdfs_open |
|
11 |
3 |
52 |
| rdfs_close |
|
4 |
1 |
12 |
| rdfs_read |
|
9 |
2 |
57 |
| rdfs_write |
|
4 |
1 |
23 |
| rdfs_seek |
|
15 |
3 |
52 |
| rdfs_stat |
|
4 |
1 |
17 |
| rdfs_readdir |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/cons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmon_cnprobe |
|
4 |
1 |
15 |
| pmon_cninit |
|
3 |
1 |
9 |
| pmon_cngetc |
|
23 |
5 |
118 |
| pmon_cnputc |
|
7 |
2 |
29 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/stand/boot/exec.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_loadfile |
|
35 |
8 |
222 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/isa_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loongson_set_isa_imr |
|
12 |
3 |
84 |
| loongson_isa_specific_eoi |
|
10 |
2 |
61 |
| loongson_isa_splx |
|
11 |
3 |
57 |
| loongson_isa_setintrmask |
|
10 |
1 |
46 |
| loongson_generic_isa_attach_hook |
|
6 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loongson_identify |
|
75 |
24 |
372 |
| loongson_efi_setup |
|
40 |
11 |
278 |
| loongson_envp_setup |
|
59 |
18 |
267 |
| mips_init |
|
207 |
59 |
1289 |
| dobootopts |
|
49 |
17 |
225 |
| consinit |
|
9 |
2 |
31 |
| cpu_startup |
|
19 |
3 |
137 |
| cpu_sysctl |
|
21 |
6 |
111 |
| boot |
|
52 |
13 |
278 |
| dumpconf |
|
16 |
7 |
123 |
| dumpsys |
|
3 |
1 |
5 |
| atoi |
|
50 |
21 |
247 |
| pmoncngetc |
|
20 |
4 |
100 |
| pmoncnputc |
|
7 |
2 |
29 |
| hw_cpu_hatch |
|
27 |
4 |
135 |
| hw_cpu_boot_secondary |
|
4 |
1 |
16 |
| hw_ipi_intr_establish |
|
7 |
2 |
39 |
| hw_ipi_intr_set |
|
4 |
1 |
14 |
| hw_ipi_intr_clear |
|
5 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/bus_space.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| generic_space_read_1 |
|
4 |
1 |
26 |
| generic_space_read_2 |
|
4 |
1 |
26 |
| generic_space_read_4 |
|
4 |
1 |
26 |
| generic_space_read_8 |
|
4 |
1 |
26 |
| generic_space_write_1 |
|
5 |
1 |
30 |
| generic_space_write_2 |
|
5 |
1 |
30 |
| generic_space_write_4 |
|
5 |
1 |
30 |
| generic_space_write_8 |
|
5 |
1 |
30 |
| generic_space_read_raw_2 |
|
10 |
2 |
64 |
| generic_space_write_raw_2 |
|
10 |
2 |
65 |
| generic_space_read_raw_4 |
|
10 |
2 |
64 |
| generic_space_write_raw_4 |
|
10 |
2 |
65 |
| generic_space_read_raw_8 |
|
10 |
2 |
64 |
| generic_space_write_raw_8 |
|
10 |
2 |
65 |
| generic_space_map |
|
6 |
1 |
32 |
| generic_space_unmap |
|
3 |
1 |
13 |
| generic_space_region |
|
6 |
1 |
30 |
| generic_space_vaddr |
|
4 |
1 |
17 |
| generic_space_mmap |
|
5 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_configure |
|
9 |
1 |
39 |
| parsepmonbp |
|
29 |
7 |
166 |
| diskconf |
|
10 |
4 |
52 |
| device_register |
|
6 |
2 |
33 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/generic2e_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| generic2e_pci_attach_hook |
|
17 |
4 |
92 |
| generic2e_intr_map |
|
25 |
8 |
90 |
| generic2e_isa_attach_hook |
|
6 |
1 |
37 |
| generic2e_isa_intr_establish |
|
6 |
1 |
54 |
| generic2e_isa_intr_disestablish |
|
4 |
1 |
17 |
| generic2e_isa_intr |
|
59 |
14 |
351 |
| generic2e_reset |
|
6 |
1 |
24 |
| generic2e_setup |
|
15 |
4 |
65 |
| generic2e_device_register |
|
25 |
10 |
146 |
| via686sb_setup |
|
80 |
1 |
705 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/yeeloong_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lemote_pci_attach_hook |
|
15 |
3 |
84 |
| lemote_intr_map |
|
30 |
12 |
115 |
| lemote_isa_attach_hook |
|
8 |
1 |
59 |
| lemote_isa_intr_establish |
|
6 |
1 |
54 |
| lemote_isa_intr_disestablish |
|
4 |
1 |
17 |
| lemote_isa_intr |
|
70 |
17 |
417 |
| lemote_get_isa_imr |
|
8 |
1 |
55 |
| lemote_get_isa_isr |
|
7 |
1 |
42 |
| fuloong_powerdown |
|
7 |
1 |
49 |
| yeeloong_powerdown |
|
5 |
1 |
19 |
| lemote_reset |
|
5 |
1 |
22 |
| fuloong_setup |
|
18 |
4 |
87 |
| yeeloong_setup |
|
5 |
1 |
14 |
| ebenton_setup |
|
4 |
1 |
10 |
| lemote_device_register |
|
25 |
10 |
146 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_establish |
|
13 |
2 |
88 |
| pciide_machdep_compat_intr_disestablish |
|
5 |
2 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/generic3a_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| generic3a_powerdown |
|
5 |
2 |
16 |
| generic3a_reset |
|
5 |
2 |
16 |
| generic3a_setup |
|
20 |
5 |
126 |
| generic3a_device_register |
|
25 |
11 |
146 |
| generic3a_config_secondary_cpus |
|
21 |
5 |
150 |
| generic3a_boot_secondary_cpu |
|
15 |
3 |
85 |
| generic3a_ipi_establish |
|
8 |
2 |
54 |
| generic3a_ipi_set |
|
4 |
1 |
19 |
| generic3a_ipi_clear |
|
4 |
1 |
19 |
| generic3a_ipi_intr |
|
9 |
2 |
61 |
| rs780e_pci_attach_hook |
|
16 |
4 |
97 |
| rs780e_setup |
|
5 |
1 |
14 |
| rs780sb_setup |
|
24 |
1 |
223 |
| rs780e_isa_attach_hook |
|
4 |
1 |
19 |
| rs780e_isa_intr_establish |
|
5 |
1 |
49 |
| rs780e_isa_intr_disestablish |
|
4 |
1 |
17 |
| rs780e_eoi |
|
11 |
2 |
72 |
| rs780e_set_imask |
|
10 |
1 |
64 |
| rs780e_irq_mask |
|
4 |
1 |
19 |
| rs780e_irq_unmask |
|
4 |
1 |
19 |
| rs780e_get_timecount |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/loongson3_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loongson3a_setup |
|
15 |
4 |
123 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
7 |
4 |
44 |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/hibernate_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_hibernate_io_function |
|
25 |
16 |
199 |
| get_hibernate_info_md |
|
16 |
3 |
118 |
| hibernate_enter_resume_mapping |
|
3 |
1 |
13 |
| hibernate_populate_resume_pt |
|
4 |
1 |
15 |
| hibernate_inflate_skip |
|
7 |
3 |
42 |
| hibernate_enable_intr_machdep |
|
4 |
1 |
10 |
| hibernate_disable_intr_machdep |
|
4 |
1 |
10 |
| hibernate_flush |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/loongson3_intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| next_irq |
|
16 |
2 |
65 |
| setipl |
|
10 |
1 |
35 |
| loongson3_intr_init |
|
30 |
7 |
222 |
| loongson3_prop_imask |
|
10 |
1 |
75 |
| loongson3_update_imask |
|
37 |
10 |
282 |
| loongson3_intr_insert |
|
16 |
5 |
97 |
| loongson3_intr_remove |
|
17 |
5 |
95 |
| loongson3_intr_establish |
|
30 |
5 |
214 |
| loongson3_intr_disestablish |
|
13 |
1 |
73 |
| loongson3_ht_intr_establish |
|
30 |
4 |
206 |
| loongson3_ht_intr_disestablish |
|
18 |
2 |
105 |
| loongson3_splx |
|
10 |
4 |
61 |
| loongson3_intr |
|
54 |
16 |
322 |
| loongson3_ht_intr |
|
56 |
17 |
349 |
| loongson3_register_ht_pic |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/gdium_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| gdium_attach_hook |
|
43 |
14 |
328 |
| gdium_intr_map |
|
25 |
8 |
108 |
| gdium_device_register |
|
51 |
20 |
217 |
| gdium_powerdown |
|
5 |
1 |
19 |
| gdium_reset |
|
5 |
1 |
19 |
| gdium_setup |
|
4 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/loongson2_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loongson2e_setup |
|
19 |
3 |
150 |
| loongson2f_setup |
|
36 |
4 |
272 |
| loongson2f_setup_window |
|
17 |
1 |
119 |
| is_memory_range |
|
18 |
8 |
135 |
| loongson2f_cpuspeed |
|
8 |
1 |
50 |
| loongson2f_setperf |
|
11 |
2 |
66 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/wscons_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wscnprobe |
|
34 |
12 |
205 |
| wscninit |
|
56 |
28 |
335 |
| wscnputc |
|
4 |
2 |
17 |
| wscngetc |
|
10 |
3 |
41 |
| wscnpollc |
|
4 |
2 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _dmamap_create |
|
20 |
3 |
152 |
| _dmamap_destroy |
|
4 |
1 |
19 |
| _dmamap_load |
|
18 |
3 |
119 |
| _dmamap_load_mbuf |
|
27 |
8 |
192 |
| _dmamap_load_uio |
|
34 |
9 |
239 |
| _dmamap_load_raw |
|
23 |
8 |
185 |
| _dmamap_unload |
|
5 |
1 |
22 |
| _dmamap_sync |
|
58 |
16 |
275 |
| _dmamem_alloc |
|
7 |
1 |
61 |
| _dmamem_free |
|
17 |
3 |
114 |
| _dmamem_map |
|
53 |
13 |
383 |
| _dmamem_unmap |
|
6 |
2 |
41 |
| _dmamem_mmap |
|
20 |
7 |
135 |
| _dmamap_load_buffer |
|
66 |
15 |
466 |
| _dmamem_alloc_range |
|
43 |
9 |
292 |
| Source file: /home/sergeyb/sources/src/sys/arch/loongson/loongson/pmon.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmon_init |
|
32 |
8 |
164 |
| pmon_getarg |
|
6 |
3 |
35 |
| pmon_getenvtype |
|
4 |
1 |
8 |
| pmon_getenv |
|
26 |
8 |
141 |
| pmon_get_env_reset |
|
7 |
2 |
33 |
| pmon_get_env_smbios |
|
7 |
2 |
35 |
| pmon_get_env_mem |
|
9 |
2 |
63 |
| pmon_get_env_cpu |
|
9 |
2 |
63 |
| pmon_get_env_sys |
|
9 |
2 |
63 |
| pmon_get_env_irq |
|
9 |
2 |
63 |
| pmon_get_env_iface |
|
9 |
2 |
63 |
| pmon_get_env_special |
|
9 |
2 |
63 |
| pmon_get_env_device |
|
9 |
2 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/pcicreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_establish |
|
6 |
1 |
41 |
| pciide_machdep_compat_intr_disestablish |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/scireg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/scifreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/scif.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| InitializeScif |
|
13 |
3 |
87 |
| scif_putc |
|
7 |
2 |
40 |
| ScifErrCheck |
|
4 |
1 |
21 |
| scif_getc |
|
22 |
10 |
128 |
| scif_match |
|
6 |
2 |
29 |
| scif_attach |
|
48 |
4 |
360 |
| scifstart |
|
42 |
6 |
238 |
| scifparam |
|
67 |
24 |
461 |
| scif_iflush |
|
11 |
2 |
54 |
| scifopen |
|
64 |
18 |
443 |
| scifclose |
|
10 |
2 |
88 |
| scifread |
|
6 |
1 |
61 |
| scifwrite |
|
6 |
1 |
61 |
| scifpoll |
|
6 |
1 |
61 |
| sciftty |
|
6 |
1 |
36 |
| scifioctl |
|
37 |
8 |
221 |
| scif_schedrx |
|
5 |
1 |
22 |
| scif_break |
|
15 |
5 |
78 |
| scifstop |
|
14 |
3 |
94 |
| scif_intr_init |
|
3 |
1 |
6 |
| scifdiag |
|
17 |
3 |
97 |
| scif_rxsoft |
|
58 |
16 |
372 |
| scif_txsoft |
|
9 |
2 |
82 |
| scif_stsoft |
|
23 |
7 |
156 |
| scifsoft |
|
18 |
5 |
89 |
| scifintr |
|
146 |
41 |
929 |
| scifcnprobe |
|
10 |
4 |
61 |
| scifcninit |
|
5 |
1 |
18 |
| scifcngetc |
|
9 |
1 |
35 |
| scifcnputc |
|
7 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/shb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| shb_match |
|
8 |
2 |
54 |
| shb_attach |
|
5 |
1 |
32 |
| shb_search |
|
8 |
2 |
65 |
| shb_print |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/shpcicvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/dev/shpcic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| shpcic_lookup |
|
18 |
4 |
83 |
| shpcic_match |
|
22 |
8 |
116 |
| shpcic_attach |
|
85 |
15 |
621 |
| shpcic_bus_maxdevs |
|
4 |
1 |
16 |
| shpcic_make_tag |
|
9 |
4 |
69 |
| shpcic_decompose_tag |
|
9 |
4 |
77 |
| shpcic_conf_size |
|
4 |
1 |
14 |
| shpcic_conf_read |
|
11 |
1 |
57 |
| shpcic_conf_write |
|
9 |
1 |
54 |
| shpcic_iomem_map |
|
6 |
1 |
34 |
| shpcic_iomem_unmap |
|
3 |
1 |
14 |
| shpcic_iomem_subregion |
|
6 |
1 |
33 |
| shpcic_iomem_alloc |
|
7 |
1 |
47 |
| shpcic_iomem_free |
|
3 |
1 |
14 |
| shpcic_iomem_vaddr |
|
4 |
1 |
20 |
| __shpcic_io_read_1 |
|
5 |
1 |
37 |
| __shpcic_io_read_2 |
|
5 |
1 |
37 |
| __shpcic_io_read_4 |
|
5 |
1 |
37 |
| __shpcic_mem_read_1 |
|
5 |
1 |
37 |
| __shpcic_mem_read_2 |
|
5 |
1 |
37 |
| __shpcic_mem_read_4 |
|
5 |
1 |
37 |
| shpcic_io_read_1 |
|
6 |
1 |
29 |
| shpcic_io_read_2 |
|
6 |
1 |
29 |
| shpcic_io_read_4 |
|
6 |
1 |
29 |
| shpcic_mem_read_1 |
|
6 |
1 |
29 |
| shpcic_mem_read_2 |
|
6 |
1 |
29 |
| shpcic_mem_read_4 |
|
6 |
1 |
29 |
| shpcic_io_read_multi_1 |
|
7 |
2 |
39 |
| shpcic_io_read_multi_2 |
|
7 |
2 |
39 |
| shpcic_io_read_multi_4 |
|
7 |
2 |
39 |
| shpcic_mem_read_multi_1 |
|
7 |
2 |
39 |
| shpcic_mem_read_multi_2 |
|
7 |
2 |
39 |
| shpcic_mem_read_multi_4 |
|
7 |
2 |
39 |
| shpcic_io_read_raw_multi_2 |
|
9 |
2 |
51 |
| shpcic_io_read_raw_multi_4 |
|
9 |
2 |
51 |
| shpcic_mem_read_raw_multi_2 |
|
9 |
2 |
51 |
| shpcic_mem_read_raw_multi_4 |
|
9 |
2 |
51 |
| shpcic_io_read_region_1 |
|
8 |
2 |
43 |
| shpcic_io_read_region_2 |
|
8 |
2 |
43 |
| shpcic_io_read_region_4 |
|
8 |
2 |
43 |
| shpcic_mem_read_region_1 |
|
8 |
2 |
43 |
| shpcic_mem_read_region_2 |
|
8 |
2 |
43 |
| shpcic_mem_read_region_4 |
|
8 |
2 |
43 |
| shpcic_io_read_raw_region_2 |
|
10 |
2 |
55 |
| shpcic_io_read_raw_region_4 |
|
10 |
2 |
55 |
| shpcic_mem_read_raw_region_2 |
|
10 |
2 |
55 |
| shpcic_mem_read_raw_region_4 |
|
10 |
2 |
55 |
| __shpcic_io_write_1 |
|
6 |
1 |
41 |
| __shpcic_io_write_2 |
|
6 |
1 |
41 |
| __shpcic_io_write_4 |
|
6 |
1 |
41 |
| __shpcic_mem_write_1 |
|
6 |
1 |
41 |
| __shpcic_mem_write_2 |
|
6 |
1 |
41 |
| __shpcic_mem_write_4 |
|
6 |
1 |
41 |
| shpcic_io_write_1 |
|
5 |
1 |
26 |
| shpcic_io_write_2 |
|
5 |
1 |
26 |
| shpcic_io_write_4 |
|
5 |
1 |
26 |
| shpcic_mem_write_1 |
|
5 |
1 |
26 |
| shpcic_mem_write_2 |
|
5 |
1 |
26 |
| shpcic_mem_write_4 |
|
5 |
1 |
26 |
| shpcic_io_write_multi_1 |
|
7 |
2 |
40 |
| shpcic_io_write_multi_2 |
|
7 |
2 |
40 |
| shpcic_io_write_multi_4 |
|
7 |
2 |
40 |
| shpcic_mem_write_multi_1 |
|
7 |
2 |
40 |
| shpcic_mem_write_multi_2 |
|
7 |
2 |
40 |
| shpcic_mem_write_multi_4 |
|
7 |
2 |
40 |
| shpcic_io_write_raw_multi_2 |
|
9 |
2 |
52 |
| shpcic_io_write_raw_multi_4 |
|
9 |
2 |
52 |
| shpcic_mem_write_raw_multi_2 |
|
9 |
2 |
52 |
| shpcic_mem_write_raw_multi_4 |
|
9 |
2 |
52 |
| shpcic_io_write_region_1 |
|
8 |
2 |
44 |
| shpcic_io_write_region_2 |
|
8 |
2 |
44 |
| shpcic_io_write_region_4 |
|
8 |
2 |
44 |
| shpcic_mem_write_region_1 |
|
8 |
2 |
44 |
| shpcic_mem_write_region_2 |
|
8 |
2 |
44 |
| shpcic_mem_write_region_4 |
|
8 |
2 |
44 |
| shpcic_io_write_raw_region_2 |
|
10 |
2 |
56 |
| shpcic_io_write_raw_region_4 |
|
10 |
2 |
56 |
| shpcic_mem_write_raw_region_2 |
|
10 |
2 |
56 |
| shpcic_mem_write_raw_region_4 |
|
10 |
2 |
56 |
| shpcic_io_set_multi_1 |
|
7 |
2 |
36 |
| shpcic_io_set_multi_2 |
|
7 |
2 |
36 |
| shpcic_io_set_multi_4 |
|
7 |
2 |
36 |
| shpcic_mem_set_multi_1 |
|
7 |
2 |
36 |
| shpcic_mem_set_multi_2 |
|
7 |
2 |
36 |
| shpcic_mem_set_multi_4 |
|
7 |
2 |
36 |
| shpcic_io_set_region_1 |
|
8 |
2 |
40 |
| shpcic_io_set_region_2 |
|
8 |
2 |
40 |
| shpcic_io_set_region_4 |
|
8 |
2 |
40 |
| shpcic_mem_set_region_1 |
|
8 |
2 |
40 |
| shpcic_mem_set_region_2 |
|
8 |
2 |
40 |
| shpcic_mem_set_region_4 |
|
8 |
2 |
40 |
| shpcic_io_copy_1 |
|
24 |
4 |
137 |
| shpcic_io_copy_2 |
|
24 |
4 |
137 |
| shpcic_io_copy_4 |
|
24 |
4 |
137 |
| shpcic_mem_copy_1 |
|
24 |
4 |
137 |
| shpcic_mem_copy_2 |
|
24 |
4 |
137 |
| shpcic_mem_copy_4 |
|
24 |
4 |
137 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/mmu_sh3.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/pmap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_remove_all |
|
3 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/devreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/mmu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/cache.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/tmureg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/intcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __sh_get_tcb |
|
6 |
1 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/cache_sh3.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/locore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/cache_sh4.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/ubcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/bscreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/clock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __atomic_enter |
|
7 |
1 |
40 |
| __atomic_leave |
|
4 |
1 |
20 |
| _atomic_cas_uint |
|
11 |
2 |
58 |
| _atomic_cas_ulong |
|
11 |
2 |
58 |
| _atomic_cas_ptr |
|
12 |
2 |
71 |
| _atomic_swap_uint |
|
10 |
1 |
48 |
| _atomic_swap_ulong |
|
10 |
1 |
48 |
| _atomic_swap_ptr |
|
11 |
1 |
61 |
| _atomic_add_int_nv |
|
10 |
1 |
50 |
| _atomic_add_long_nv |
|
10 |
1 |
50 |
| _atomic_sub_int_nv |
|
10 |
1 |
50 |
| _atomic_sub_long_nv |
|
10 |
1 |
50 |
| atomic_setbits_int |
|
7 |
1 |
34 |
| atomic_clearbits_int |
|
7 |
1 |
34 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/mmu_sh4.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/cpgreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/sh_opcode.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/cputypes.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/rtcreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/locore_c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_switch_prepare |
|
18 |
4 |
152 |
| cpu_exit |
|
7 |
2 |
39 |
| sh3_switch_setup |
|
15 |
3 |
103 |
| sh4_switch_setup |
|
21 |
3 |
147 |
| copystr |
|
16 |
5 |
98 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_match |
|
7 |
2 |
49 |
| cpu_attach |
|
8 |
2 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/devreg.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh_devreg_init |
|
7 |
3 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/cache_sh4.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh4_cache_config |
|
81 |
22 |
374 |
| cache_sh4_op_line_32 |
|
6 |
1 |
36 |
| cache_sh4_op_8lines_32 |
|
13 |
1 |
92 |
| sh4_icache_sync_all |
|
12 |
2 |
49 |
| sh4_icache_sync_range |
|
14 |
2 |
78 |
| sh4_icache_sync_range_index |
|
16 |
3 |
96 |
| sh4_dcache_wbinv_all |
|
11 |
2 |
47 |
| sh4_dcache_wbinv_range |
|
9 |
2 |
51 |
| sh4_dcache_wbinv_range_index |
|
16 |
3 |
93 |
| sh4_dcache_inv_range |
|
9 |
2 |
51 |
| sh4_dcache_wb_range |
|
9 |
2 |
51 |
| cache_sh4_emode_op_line_32 |
|
10 |
1 |
66 |
| cache_sh4_emode_op_8lines_32 |
|
24 |
1 |
180 |
| sh4_emode_icache_sync_all |
|
13 |
2 |
51 |
| sh4_emode_icache_sync_range_index |
|
18 |
3 |
100 |
| sh4_emode_dcache_wbinv_all |
|
10 |
2 |
47 |
| sh4_emode_dcache_wbinv_range_index |
|
15 |
3 |
95 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/cache_sh3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh3_cache_config |
|
52 |
9 |
232 |
| cache_sh3_op_line_16_nway |
|
10 |
2 |
58 |
| cache_sh3_op_8lines_16_nway |
|
18 |
2 |
114 |
| sh3_cache_wbinv_all |
|
6 |
2 |
36 |
| sh3_cache_wbinv_range_index |
|
13 |
3 |
83 |
| sh3_cache_wbinv_range |
|
11 |
2 |
63 |
| sh3_cache_panic |
|
4 |
1 |
15 |
| sh3_cache_nop |
|
3 |
1 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/interrupt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intc_init |
|
28 |
13 |
123 |
| intc_intr_establish |
|
18 |
3 |
136 |
| intc_intr_disestablish |
|
10 |
2 |
55 |
| intc_intr_disable |
|
22 |
10 |
79 |
| intc_intr_enable |
|
24 |
10 |
98 |
| intc_intr_priority |
|
104 |
50 |
406 |
| intc_alloc_ih |
|
12 |
3 |
69 |
| intc_free_ih |
|
5 |
1 |
28 |
| intc_unknown_intr |
|
9 |
3 |
56 |
| intpri_intr_priority |
|
43 |
15 |
164 |
| intpri_intr_enable |
|
38 |
16 |
146 |
| intpri_intr_disable |
|
38 |
16 |
146 |
| softintr_init |
|
13 |
2 |
78 |
| softintr_dispatch |
|
19 |
3 |
113 |
| setsoft |
|
4 |
1 |
11 |
| softintr_establish |
|
17 |
4 |
118 |
| intr_barrier |
|
3 |
1 |
8 |
| softintr_disestablish |
|
12 |
2 |
77 |
| softintr_schedule |
|
12 |
2 |
75 |
| tmu1_oneshot |
|
6 |
1 |
36 |
| tmu1_intr |
|
10 |
1 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
17 |
7 |
72 |
| mmclose |
|
4 |
1 |
23 |
| mmrw |
|
64 |
18 |
379 |
| mmmmap |
|
9 |
4 |
70 |
| mmioctl |
|
4 |
1 |
26 |
| __mm_mem_addr |
|
16 |
9 |
95 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysarch |
|
5 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/mmu_sh3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh3_mmu_start |
|
6 |
1 |
24 |
| sh3_tlb_invalidate_addr |
|
15 |
3 |
92 |
| sh3_tlb_invalidate_asid |
|
15 |
4 |
93 |
| sh3_tlb_invalidate_all |
|
13 |
3 |
84 |
| sh3_tlb_update |
|
12 |
4 |
92 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_machine_init |
|
4 |
1 |
11 |
| kdb_printtrap |
|
11 |
3 |
66 |
| db_ktrap |
|
28 |
7 |
121 |
| db_enter |
|
4 |
1 |
17 |
| inst_call |
|
6 |
4 |
37 |
| inst_return |
|
5 |
2 |
21 |
| inst_trap_return |
|
5 |
2 |
21 |
| db_set_single_step |
|
9 |
1 |
64 |
| db_clear_single_step |
|
4 |
1 |
14 |
| db_tlbdump_cmd |
|
109 |
18 |
684 |
| __db_tlbdump_pfn |
|
5 |
1 |
32 |
| __db_procname_by_asid |
|
10 |
2 |
57 |
| __db_tlbdump_page_size_sh4 |
|
17 |
5 |
55 |
| db_cachedump_cmd |
|
8 |
7 |
43 |
| __db_cachedump_sh3 |
|
34 |
4 |
195 |
| __db_cachedump_sh4 |
|
38 |
6 |
265 |
| db_frame_cmd |
|
48 |
2 |
286 |
| __db_print_symbol |
|
9 |
4 |
56 |
| db_stackcheck_cmd |
|
34 |
3 |
228 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/db_memrw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_read_bytes |
|
14 |
8 |
133 |
| db_write_bytes |
|
14 |
8 |
135 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_frame |
|
4 |
1 |
18 |
| process_read_regs |
|
26 |
1 |
197 |
| process_read_fpregs |
|
12 |
6 |
75 |
| process_write_regs |
|
28 |
2 |
220 |
| process_write_fpregs |
|
12 |
6 |
75 |
| process_sstep |
|
8 |
2 |
38 |
| process_set_pc |
|
6 |
1 |
36 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
50 |
18 |
443 |
| vmapbuf |
|
25 |
3 |
177 |
| vunmapbuf |
|
16 |
2 |
115 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/mmu_sh4.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __sh4_itlb_invalidate_all |
|
7 |
1 |
55 |
| sh4_mmu_start |
|
9 |
1 |
44 |
| sh4_tlb_invalidate_addr |
|
14 |
1 |
65 |
| sh4_tlb_invalidate_asid |
|
15 |
3 |
80 |
| sh4_tlb_invalidate_all |
|
22 |
3 |
157 |
| sh4_tlb_update |
|
24 |
5 |
152 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh_clock_init |
|
48 |
6 |
337 |
| sh_clock_get_cpuclock |
|
4 |
1 |
13 |
| sh_clock_get_pclock |
|
4 |
1 |
13 |
| setstatclockrate |
|
3 |
1 |
7 |
| sh_timecounter_get |
|
4 |
1 |
20 |
| delay |
|
4 |
1 |
16 |
| cpu_initclocks |
|
33 |
6 |
274 |
| inittodr |
|
32 |
14 |
217 |
| resettodr |
|
14 |
3 |
92 |
| sh3_clock_intr |
|
11 |
3 |
50 |
| sh4_clock_intr |
|
11 |
3 |
50 |
| sh_rtc_init |
|
4 |
1 |
20 |
| sh_rtc_get |
|
29 |
6 |
212 |
| sh_rtc_set |
|
19 |
2 |
131 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/sh_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh_cpu_init |
|
25 |
8 |
130 |
| sh_proc0_init |
|
20 |
2 |
188 |
| sh_startup |
|
31 |
9 |
185 |
| dumpconf |
|
24 |
8 |
169 |
| dumpsys |
|
79 |
18 |
404 |
| sendsig |
|
38 |
8 |
358 |
| sys_sigreturn |
|
29 |
7 |
255 |
| setregs |
|
35 |
3 |
256 |
| cpu_reset |
|
6 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _mtx_init |
|
6 |
1 |
33 |
| __mtx_enter |
|
8 |
3 |
49 |
| __mtx_enter_try |
|
9 |
3 |
49 |
| __mtx_leave |
|
8 |
3 |
45 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/mmu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh_mmu_init |
|
17 |
4 |
59 |
| sh_mmu_information |
|
22 |
11 |
115 |
| sh_tlb_set_asid |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_stack_trace_print |
|
56 |
13 |
358 |
| db_nextframe |
|
69 |
17 |
375 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/cache.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sh_cache_init |
|
8 |
6 |
24 |
| sh_cache_information |
|
41 |
16 |
187 |
| __cache_flush |
|
10 |
2 |
52 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_bootstrap |
|
11 |
1 |
72 |
| pmap_steal_memory |
|
30 |
7 |
210 |
| pmap_growkernel |
|
31 |
7 |
182 |
| pmap_init |
|
8 |
1 |
60 |
| pmap_create |
|
13 |
2 |
86 |
| pmap_destroy |
|
25 |
8 |
165 |
| pmap_reference |
|
4 |
1 |
12 |
| pmap_activate |
|
9 |
3 |
65 |
| pmap_enter |
|
71 |
23 |
427 |
| __pmap_map_change |
|
25 |
8 |
173 |
| __pmap_pv_enter |
|
38 |
7 |
209 |
| pmap_remove |
|
20 |
7 |
147 |
| __pmap_pv_remove |
|
24 |
8 |
154 |
| pmap_kenter_pa |
|
17 |
4 |
114 |
| pmap_kremove |
|
18 |
6 |
121 |
| pmap_extract |
|
15 |
7 |
107 |
| pmap_protect |
|
65 |
24 |
421 |
| pmap_page_protect |
|
31 |
6 |
168 |
| pmap_unwire |
|
10 |
4 |
64 |
| pmap_proc_iflush |
|
5 |
2 |
27 |
| pmap_zero_page |
|
10 |
2 |
60 |
| pmap_copy_page |
|
14 |
2 |
88 |
| pmap_is_referenced |
|
4 |
2 |
26 |
| pmap_clear_reference |
|
26 |
5 |
158 |
| pmap_is_modified |
|
4 |
2 |
26 |
| pmap_clear_modify |
|
37 |
9 |
212 |
| pmap_prefer |
|
6 |
2 |
29 |
| pmap_prefer_align |
|
4 |
2 |
15 |
| pmap_prefer_offset |
|
4 |
2 |
18 |
| __pmap_pv_page_alloc |
|
9 |
2 |
65 |
| __pmap_pv_page_free |
|
7 |
2 |
43 |
| __pmap_pte_alloc |
|
13 |
3 |
102 |
| __pmap_pte_lookup |
|
10 |
3 |
63 |
| __pmap_kpte_lookup |
|
7 |
2 |
39 |
| __pmap_pte_load |
|
26 |
10 |
197 |
| __pmap_asid_alloc |
|
28 |
6 |
206 |
| __pmap_asid_free |
|
9 |
2 |
53 |
| pmap_map_direct |
|
4 |
1 |
16 |
| pmap_unmap_direct |
|
8 |
2 |
37 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| general_exception |
|
124 |
39 |
760 |
| tlb_exception |
|
117 |
27 |
677 |
| ast |
|
14 |
3 |
83 |
| cachectl |
|
15 |
7 |
89 |
| syscall |
|
98 |
23 |
564 |
| child_return |
|
8 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/sh/sh/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_disasm |
|
12 |
2 |
78 |
| disasm_branch |
|
30 |
6 |
192 |
| get_ascii |
|
7 |
5 |
63 |
| get_opcode |
|
10 |
2 |
91 |
| f_02 |
|
38 |
10 |
203 |
| f_03 |
|
26 |
6 |
133 |
| f_04 |
|
21 |
5 |
132 |
| f_08 |
|
37 |
10 |
177 |
| f_09 |
|
21 |
6 |
110 |
| f_0a |
|
32 |
8 |
165 |
| f_0b |
|
19 |
5 |
100 |
| f_0c |
|
21 |
5 |
132 |
| f_10 |
|
9 |
1 |
73 |
| f_20 |
|
18 |
4 |
114 |
| f_24 |
|
21 |
5 |
132 |
| f_28 |
|
21 |
5 |
132 |
| f_2c |
|
21 |
5 |
132 |
| f_30 |
|
18 |
4 |
114 |
| f_34 |
|
21 |
5 |
132 |
| f_38 |
|
18 |
4 |
114 |
| f_3c |
|
21 |
5 |
132 |
| f_40 |
|
17 |
4 |
98 |
| f_41 |
|
17 |
4 |
98 |
| f_42 |
|
32 |
8 |
165 |
| f_43 |
|
38 |
10 |
203 |
| f_44 |
|
14 |
3 |
82 |
| f_45 |
|
17 |
4 |
98 |
| f_46 |
|
32 |
8 |
165 |
| f_47 |
|
38 |
10 |
203 |
| f_48 |
|
17 |
4 |
98 |
| f_49 |
|
17 |
4 |
98 |
| f_4a |
|
32 |
8 |
165 |
| f_4b |
|
17 |
4 |
98 |
| f_4c |
|
7 |
1 |
57 |
| f_4d |
|
7 |
1 |
57 |
| f_4e |
|
38 |
10 |
203 |
| f_4f |
|
7 |
1 |
57 |
| f_50 |
|
9 |
1 |
73 |
| f_60 |
|
21 |
5 |
132 |
| f_64 |
|
21 |
5 |
132 |
| f_68 |
|
21 |
5 |
132 |
| f_6c |
|
21 |
5 |
132 |
| f_70 |
|
7 |
1 |
62 |
| f_80 |
|
68 |
14 |
372 |
| f_90 |
|
8 |
1 |
58 |
| f_a0 |
|
9 |
2 |
57 |
| f_b0 |
|
9 |
2 |
57 |
| f_c0 |
|
78 |
21 |
380 |
| f_d0 |
|
8 |
1 |
58 |
| f_e0 |
|
7 |
1 |
62 |
| f_f0 |
|
21 |
5 |
132 |
| f_f4 |
|
21 |
5 |
132 |
| f_f8 |
|
21 |
5 |
132 |
| f_fc |
|
7 |
1 |
57 |
| f_fd |
|
46 |
13 |
229 |
| f_fe |
|
7 |
1 |
57 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/cortex/ampintc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ampintc_match |
|
9 |
3 |
65 |
| ampintc_attach |
|
57 |
7 |
560 |
| ampintc_set_priority |
|
7 |
1 |
49 |
| ampintc_setipl |
|
11 |
1 |
66 |
| ampintc_intr_enable |
|
8 |
2 |
58 |
| ampintc_intr_disable |
|
6 |
1 |
38 |
| ampintc_calc_mask |
|
33 |
7 |
194 |
| ampintc_splx |
|
7 |
2 |
37 |
| ampintc_spllower |
|
7 |
1 |
33 |
| ampintc_splraise |
|
10 |
2 |
45 |
| ampintc_iack |
|
7 |
1 |
36 |
| ampintc_eoi |
|
5 |
1 |
29 |
| ampintc_route |
|
13 |
2 |
98 |
| ampintc_irq_handler |
|
37 |
9 |
200 |
| ampintc_intr_establish_ext |
|
5 |
1 |
44 |
| ampintc_intr_establish_fdt |
|
14 |
3 |
108 |
| ampintc_intr_establish |
|
25 |
5 |
179 |
| ampintc_intr_disestablish |
|
15 |
3 |
106 |
| ampintc_intr_string |
|
7 |
1 |
51 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/cortex/cortex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cortexmatch |
|
16 |
7 |
117 |
| cortexattach |
|
5 |
1 |
32 |
| cortexsearch |
|
13 |
2 |
99 |
| cortexprint |
|
7 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/cortex/arml2cc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arml2cc_match |
|
6 |
2 |
39 |
| arml2cc_attach |
|
26 |
3 |
229 |
| arml2cc_enable |
|
10 |
1 |
56 |
| arml2cc_disable |
|
9 |
1 |
56 |
| arml2cc_cache_op |
|
6 |
2 |
49 |
| arml2cc_cache_way_op |
|
6 |
2 |
49 |
| arml2cc_cache_sync |
|
4 |
1 |
24 |
| arml2cc_sdcache_drain_writebuf |
|
7 |
3 |
32 |
| arml2cc_cache_range_op |
|
13 |
2 |
71 |
| arml2cc_sdcache_wbinv_all |
|
11 |
6 |
102 |
| arml2cc_sdcache_wbinv_range |
|
10 |
5 |
81 |
| arml2cc_sdcache_inv_range |
|
8 |
3 |
47 |
| arml2cc_sdcache_wb_range |
|
8 |
3 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/cortex/smc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/cortex/agtimer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agtimer_readcnt64 |
|
6 |
1 |
25 |
| agtimer_get_ctrl |
|
6 |
1 |
25 |
| agtimer_set_ctrl |
|
7 |
1 |
31 |
| agtimer_set_tval |
|
7 |
1 |
31 |
| agtimer_match |
|
5 |
1 |
39 |
| agtimer_attach |
|
17 |
2 |
130 |
| agtimer_get_timecount |
|
4 |
1 |
14 |
| agtimer_intr |
|
41 |
10 |
239 |
| agtimer_set_clockrate |
|
11 |
2 |
56 |
| agtimer_cpu_initclocks |
|
27 |
2 |
177 |
| agtimer_delay |
|
26 |
7 |
146 |
| agtimer_setstatclockrate |
|
14 |
2 |
90 |
| agtimer_startclock |
|
14 |
1 |
88 |
| agtimer_init |
|
11 |
3 |
68 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/cortex/cortex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/cortex/amptimer.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| amptimer_readcnt64 |
|
12 |
2 |
90 |
| amptimer_match |
|
6 |
2 |
37 |
| amptimer_attach |
|
32 |
5 |
285 |
| amptimer_get_timecount |
|
5 |
1 |
32 |
| amptimer_intr |
|
64 |
13 |
437 |
| amptimer_set_clockrate |
|
11 |
2 |
56 |
| amptimer_cpu_initclocks |
|
35 |
5 |
270 |
| amptimer_delay |
|
28 |
7 |
186 |
| amptimer_setstatclockrate |
|
14 |
2 |
90 |
| amptimer_startclock |
|
10 |
1 |
77 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/pmap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vtopte |
|
8 |
2 |
44 |
| L1_S_PROT |
|
11 |
5 |
61 |
| L2_L_PROT |
|
11 |
5 |
61 |
| L2_S_PROT |
|
11 |
5 |
61 |
| l2pte_is_writeable |
|
4 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/fdt.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/armreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/softintr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __arm_set_tcb |
|
4 |
1 |
20 |
| __arm_read_tcb |
|
6 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| curcpu |
|
6 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/sysreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/cpufunc.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __set_cpsr_c |
|
12 |
1 |
47 |
| __get_cpsr |
|
6 |
1 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/openpromio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/endian.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ___swap16md |
|
6 |
1 |
30 |
| ___swap32md |
|
6 |
1 |
30 |
| ___swap64md |
|
7 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/cpuconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/fiq.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/fp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _atomic_cas_ptr |
|
20 |
1 |
72 |
| _atomic_swap_ptr |
|
15 |
1 |
58 |
| atomic_setbits_int |
|
14 |
1 |
53 |
| atomic_clearbits_int |
|
14 |
1 |
54 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/bus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/swi.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/undefined.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/simplebus/simplebusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/simplebus/simplebus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| simplebus_match |
|
9 |
3 |
64 |
| simplebus_attach |
|
36 |
6 |
339 |
| simplebus_submatch |
|
8 |
2 |
69 |
| simplebus_attach_node |
|
55 |
14 |
523 |
| simplebus_bs_map |
|
36 |
10 |
324 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/armv7/armv7reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/armv7/armv7_mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _mtx_init |
|
6 |
1 |
30 |
| __mtx_enter |
|
8 |
3 |
46 |
| __mtx_enter_try |
|
12 |
4 |
62 |
| __mtx_leave |
|
8 |
3 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/armv7/armv7var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/armv7/armv7_a4x_space.c |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/armv7/armv7_space.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| armv7_bs_map |
|
19 |
4 |
142 |
| armv7_bs_unmap |
|
9 |
1 |
66 |
| armv7_bs_subregion |
|
6 |
1 |
33 |
| armv7_bs_barrier |
|
5 |
1 |
24 |
| armv7_bs_vaddr |
|
4 |
1 |
20 |
| armv7_bs_alloc |
|
6 |
1 |
39 |
| armv7_bs_free |
|
4 |
1 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/mainbus/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
4 |
1 |
22 |
| mainbus_attach |
|
36 |
7 |
330 |
| mainbus_attach_node |
|
51 |
11 |
481 |
| mainbus_match_status |
|
13 |
4 |
114 |
| mainbus_attach_cpus |
|
16 |
3 |
124 |
| mainbus_match_primary |
|
10 |
3 |
88 |
| mainbus_match_secondary |
|
10 |
3 |
88 |
| mainbus_attach_framebuffer |
|
8 |
3 |
54 |
| mainbus_legacy_found |
|
7 |
1 |
46 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/mainbus/mainbus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/fiq.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| fiq_installhandler |
|
7 |
3 |
46 |
| fiq_claim |
|
25 |
6 |
146 |
| fiq_release |
|
23 |
6 |
149 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_match |
|
9 |
3 |
65 |
| cpu_attach |
|
16 |
2 |
88 |
| identify_arm_cpu |
|
76 |
17 |
401 |
| cpu_alloc_idle_pcb |
|
20 |
2 |
141 |
| intr_barrier |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/syscall.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| swi_handler |
|
63 |
11 |
380 |
| child_return |
|
9 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/cpufunc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| log2 |
|
7 |
2 |
28 |
| arm_get_cachetype_cp15v7 |
|
66 |
10 |
416 |
| armv7_idcache_wbinv_all |
|
7 |
1 |
27 |
| armv7_dcache_wbinv_all |
|
27 |
4 |
133 |
| set_cpufuncs |
|
29 |
5 |
132 |
| armv7_setup |
|
46 |
10 |
171 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/fault.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| data_abort_handler |
|
120 |
31 |
778 |
| dab_fatal |
|
35 |
5 |
248 |
| dab_align |
|
13 |
2 |
97 |
| dab_buserr |
|
27 |
8 |
194 |
| prefetch_abort_handler |
|
47 |
12 |
344 |
| badaddr_read |
|
33 |
10 |
212 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/stubs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dumpconf |
|
22 |
8 |
175 |
| dumpsys |
|
94 |
19 |
547 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
26 |
8 |
157 |
| writedisklabel |
|
30 |
4 |
213 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/undefined.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| install_coproc_handler |
|
10 |
2 |
68 |
| install_coproc_handler_static |
|
4 |
1 |
25 |
| remove_coproc_handler |
|
6 |
1 |
31 |
| gdb_trapper |
|
14 |
5 |
85 |
| undefined_init |
|
8 |
2 |
44 |
| undefinedinstruction |
|
64 |
17 |
404 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
24 |
13 |
114 |
| mmclose |
|
6 |
3 |
36 |
| mmrw |
|
69 |
18 |
440 |
| mmmmap |
|
10 |
4 |
66 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arm32_sync_icache |
|
40 |
10 |
251 |
| arm32_drain_writebuf |
|
9 |
1 |
37 |
| sys_sysarch |
|
21 |
3 |
101 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/arm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| setregs |
|
14 |
1 |
100 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
4 |
2 |
24 |
| iszerodev |
|
4 |
2 |
24 |
| getnulldev |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/db_interface.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_access_und_sp |
|
6 |
2 |
35 |
| db_access_abt_sp |
|
6 |
2 |
35 |
| db_access_irq_sp |
|
6 |
2 |
35 |
| db_ktrap |
|
23 |
4 |
93 |
| db_validate_address |
|
13 |
5 |
76 |
| db_read_bytes |
|
26 |
10 |
183 |
| db_write_text |
|
61 |
11 |
342 |
| db_write_bytes |
|
23 |
5 |
127 |
| db_enter |
|
4 |
1 |
11 |
| db_trapper |
|
12 |
3 |
74 |
| db_machine_init |
|
6 |
1 |
25 |
| db_fetch_reg |
|
39 |
17 |
184 |
| db_branch_taken |
|
45 |
12 |
330 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_frame |
|
4 |
1 |
18 |
| process_read_regs |
|
14 |
4 |
116 |
| process_read_fpregs |
|
5 |
1 |
32 |
| process_write_regs |
|
15 |
4 |
124 |
| process_write_fpregs |
|
4 |
1 |
19 |
| process_sstep |
|
6 |
2 |
24 |
| process_set_pc |
|
7 |
1 |
43 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
26 |
4 |
242 |
| cpu_exit |
|
5 |
1 |
19 |
| vmapbuf |
|
23 |
3 |
168 |
| vunmapbuf |
|
14 |
2 |
109 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/disassem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| disasm |
|
188 |
59 |
1198 |
| disasm_register_shift |
|
16 |
4 |
106 |
| disasm_print_reglist |
|
30 |
9 |
176 |
| disasm_insn_ldrstr |
|
25 |
8 |
175 |
| disasm_insn_ldrhstrh |
|
25 |
8 |
194 |
| disasm_insn_ldcstc |
|
16 |
6 |
174 |
| disassemble_readword |
|
4 |
1 |
19 |
| disassemble_printaddr |
|
4 |
1 |
14 |
| disassemble |
|
4 |
1 |
20 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/sig_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_frame |
|
4 |
1 |
18 |
| sendsig |
|
55 |
6 |
512 |
| sys_sigreturn |
|
44 |
6 |
360 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/arm32_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| arm32_vector_init |
|
19 |
4 |
138 |
| halt |
|
5 |
2 |
14 |
| bootsync |
|
17 |
4 |
68 |
| cpu_startup |
|
33 |
2 |
265 |
| cpu_sysctl |
|
27 |
7 |
159 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/db_trace.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_stack_trace_print |
|
79 |
19 |
521 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/db_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_show_frame_cmd |
|
20 |
2 |
157 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/softintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softintr_init |
|
11 |
2 |
61 |
| softintr_dispatch |
|
18 |
3 |
109 |
| softintr_establish |
|
30 |
7 |
142 |
| softintr_disestablish |
|
12 |
2 |
75 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/openprom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| openpromattach |
|
3 |
1 |
7 |
| openpromopen |
|
4 |
1 |
23 |
| openpromclose |
|
4 |
1 |
23 |
| openpromcheckid |
|
7 |
4 |
50 |
| openpromgetstr |
|
11 |
2 |
81 |
| openpromioctl |
|
136 |
34 |
841 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/ast.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ast |
|
12 |
4 |
65 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/disassem.h |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _bus_dma_busaddr_to_paddr |
|
13 |
5 |
96 |
| _bus_dma_inrange |
|
12 |
4 |
78 |
| _bus_dmamap_create |
|
28 |
5 |
206 |
| _bus_dmamap_destroy |
|
5 |
2 |
28 |
| _bus_dmamap_load |
|
25 |
5 |
162 |
| _bus_dmamap_load_mbuf |
|
36 |
11 |
236 |
| _bus_dmamap_load_uio |
|
39 |
9 |
256 |
| _bus_dmamap_load_raw |
|
73 |
18 |
514 |
| _bus_dmamap_unload |
|
9 |
2 |
49 |
| _bus_dmamap_sync_segment |
|
52 |
11 |
268 |
| _bus_dmamap_sync_linear |
|
18 |
3 |
119 |
| _bus_dmamap_sync_mbuf |
|
25 |
4 |
167 |
| _bus_dmamap_sync_uio |
|
26 |
4 |
173 |
| _bus_dmamap_sync_raw |
|
17 |
3 |
110 |
| _bus_dmamap_sync |
|
43 |
15 |
260 |
| _bus_dmamem_alloc |
|
28 |
7 |
200 |
| _bus_dmamem_free |
|
18 |
4 |
119 |
| _bus_dmamem_map |
|
40 |
11 |
288 |
| _bus_dmamem_unmap |
|
8 |
4 |
58 |
| _bus_dmamem_mmap |
|
20 |
7 |
127 |
| _bus_dmamap_load_buffer |
|
99 |
22 |
614 |
| _bus_dmamem_alloc_range |
|
45 |
12 |
313 |
| arm32_dma_range_intersect |
|
24 |
7 |
188 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/pmap7.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_is_current |
|
7 |
4 |
39 |
| pmap_tlb_flushID_SE |
|
5 |
2 |
22 |
| pmap_tlb_flushID |
|
5 |
2 |
18 |
| pmap_get_l2_bucket |
|
11 |
3 |
77 |
| pmap_enter_pv |
|
14 |
2 |
104 |
| pmap_find_pv |
|
9 |
4 |
61 |
| pmap_remove_pv |
|
21 |
5 |
135 |
| pmap_modify_pv |
|
21 |
5 |
157 |
| pmap_alloc_l1 |
|
34 |
7 |
214 |
| pmap_free_l1 |
|
25 |
2 |
179 |
| pmap_free_l2_ptp |
|
4 |
1 |
20 |
| pmap_alloc_l2_bucket |
|
30 |
6 |
209 |
| pmap_free_l2_bucket |
|
24 |
4 |
157 |
| pmap_clearbit |
|
44 |
7 |
269 |
| pmap_clean_page |
|
17 |
7 |
104 |
| pmap_page_remove |
|
45 |
11 |
273 |
| pmap_create |
|
9 |
1 |
45 |
| pmap_enter |
|
107 |
31 |
678 |
| pmap_remove |
|
53 |
11 |
274 |
| pmap_kenter_pa |
|
29 |
6 |
190 |
| pmap_kenter_cache |
|
6 |
2 |
35 |
| pmap_kremove |
|
33 |
6 |
181 |
| pmap_extract |
|
36 |
7 |
227 |
| pmap_protect |
|
57 |
17 |
343 |
| pmap_page_protect |
|
18 |
5 |
76 |
| pmap_clear_modify |
|
10 |
2 |
45 |
| pmap_clear_reference |
|
10 |
2 |
45 |
| dab_access |
|
34 |
3 |
244 |
| pmap_collect |
|
3 |
1 |
7 |
| pmap_proc_iflush |
|
5 |
2 |
30 |
| pmap_unwire |
|
16 |
2 |
115 |
| pmap_activate |
|
19 |
3 |
107 |
| pmap_update |
|
3 |
1 |
7 |
| pmap_destroy |
|
9 |
2 |
38 |
| pmap_reference |
|
6 |
2 |
20 |
| pmap_zero_page_generic |
|
11 |
3 |
65 |
| pmap_copy_page_generic |
|
16 |
3 |
108 |
| pmap_virtual_space |
|
5 |
1 |
22 |
| pmap_grow_map |
|
27 |
5 |
178 |
| pmap_grow_l2_bucket |
|
42 |
9 |
266 |
| pmap_growkernel |
|
30 |
3 |
158 |
| vector_page_setprot |
|
11 |
1 |
74 |
| pmap_set_pcb_pagedir |
|
5 |
1 |
29 |
| pmap_get_pde_pte |
|
23 |
5 |
155 |
| pmap_init_l1 |
|
10 |
3 |
76 |
| pmap_bootstrap |
|
74 |
8 |
575 |
| pmap_alloc_specials |
|
14 |
4 |
94 |
| pmap_init |
|
5 |
1 |
28 |
| pmap_bootstrap_pv_page_alloc |
|
18 |
4 |
119 |
| pmap_bootstrap_pv_page_free |
|
13 |
3 |
68 |
| pmap_postinit |
|
7 |
1 |
38 |
| kernel_pt_lookup |
|
11 |
3 |
67 |
| pmap_map_section |
|
20 |
4 |
102 |
| pmap_map_entry |
|
31 |
6 |
223 |
| pmap_link_l2pt |
|
12 |
2 |
132 |
| pmap_map_chunk |
|
82 |
16 |
550 |
| pmap_pte_init_armv7 |
|
43 |
3 |
205 |
| pmap_prefer |
|
10 |
2 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/arm/arm/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_disasm_read_word |
|
4 |
1 |
17 |
| db_disasm_printaddr |
|
4 |
1 |
19 |
| db_disasm |
|
4 |
1 |
21 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/dbdma.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbdma_st32 |
|
8 |
1 |
41 |
| dbdma_st16 |
|
8 |
1 |
41 |
| dbdma_ld32 |
|
9 |
1 |
39 |
| dbdma_ld16 |
|
9 |
1 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/i2sreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/daca.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| daca_match |
|
16 |
5 |
125 |
| daca_attach |
|
7 |
1 |
52 |
| daca_defer |
|
15 |
4 |
116 |
| daca_init |
|
5 |
1 |
31 |
| daca_set_volume |
|
10 |
1 |
65 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/dfs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dfs_match |
|
11 |
4 |
74 |
| dfs_attach |
|
26 |
5 |
188 |
| dfs_setperf |
|
29 |
7 |
148 |
| dfs_scale_frequency |
|
25 |
4 |
100 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/if_wi_obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wi_obio_match |
|
10 |
4 |
64 |
| wi_obio_attach |
|
22 |
2 |
195 |
| wi_obio_detach |
|
12 |
1 |
70 |
| wi_obio_activate |
|
20 |
3 |
104 |
| wi_obio_enable |
|
31 |
1 |
206 |
| wi_obio_disable |
|
11 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/kiic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kiic_match |
|
8 |
3 |
53 |
| kiic_attach |
|
50 |
7 |
410 |
| kiic_readreg |
|
5 |
1 |
32 |
| kiic_writereg |
|
7 |
1 |
45 |
| kiic_setmode |
|
13 |
2 |
70 |
| kiic_setspeed |
|
9 |
1 |
52 |
| kiic_intr |
|
52 |
14 |
307 |
| kiic_poll |
|
14 |
4 |
69 |
| kiic_start |
|
24 |
5 |
178 |
| kiic_read |
|
5 |
1 |
42 |
| kiic_write |
|
5 |
1 |
47 |
| kiic_i2c_acquire_bus |
|
5 |
1 |
31 |
| kiic_i2c_release_bus |
|
5 |
1 |
29 |
| kiic_i2c_exec |
|
25 |
10 |
193 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/xlights.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| xlights_match |
|
24 |
9 |
184 |
| xlights_attach |
|
85 |
13 |
697 |
| xlights_deferred |
|
5 |
1 |
35 |
| xlights_theosDOT |
|
40 |
8 |
243 |
| xlights_startdma |
|
14 |
1 |
103 |
| xlights_timeout |
|
8 |
1 |
48 |
| xlights_intr |
|
15 |
2 |
82 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/maci2cvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/wdc_obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_obio_probe |
|
17 |
7 |
133 |
| wdc_obio_attach |
|
87 |
13 |
655 |
| wdc_obio_detach |
|
17 |
3 |
134 |
| wdc_obio_adjust_timing |
|
55 |
17 |
383 |
| wdc_obio_ata4_adjust_timing |
|
67 |
21 |
478 |
| wdc_obio_ata6_adjust_timing |
|
56 |
20 |
389 |
| wdc_obio_dma_init |
|
24 |
6 |
198 |
| wdc_obio_dma_start |
|
5 |
1 |
32 |
| wdc_obio_dma_finish |
|
7 |
1 |
45 |
| wdc_obio_read_reg |
|
12 |
4 |
81 |
| wdc_obio_write_reg |
|
12 |
4 |
82 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/uni_n.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| memcmatch |
|
7 |
2 |
47 |
| memcattach |
|
22 |
5 |
207 |
| memc_attach_children |
|
34 |
6 |
258 |
| memc_print |
|
9 |
3 |
58 |
| memc_sleep |
|
8 |
1 |
46 |
| memc_resume |
|
8 |
1 |
46 |
| memc_read |
|
4 |
1 |
22 |
| memc_write |
|
4 |
1 |
26 |
| memc_enable |
|
5 |
1 |
33 |
| memc_disable |
|
5 |
1 |
35 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/akbd_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| akbd_is_console |
|
4 |
1 |
10 |
| akbd_cnattach |
|
6 |
1 |
23 |
| akbd_cngetc |
|
20 |
3 |
109 |
| akbd_cnpollc |
|
3 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/snapper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| snapper_match |
|
19 |
6 |
150 |
| snapper_attach |
|
10 |
1 |
70 |
| snapper_defer |
|
15 |
4 |
116 |
| snapper_set_volume |
|
24 |
3 |
200 |
| snapper_set_treble |
|
10 |
5 |
75 |
| snapper_set_bass |
|
10 |
5 |
75 |
| snapper_set_input |
|
13 |
3 |
61 |
| tas3004_write |
|
10 |
2 |
70 |
| tas3004_init |
|
36 |
1 |
346 |
| snapper_init |
|
12 |
3 |
81 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/mediabay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mediabay_match |
|
11 |
4 |
61 |
| mediabay_attach |
|
26 |
4 |
205 |
| mediabay_attach_content |
|
46 |
5 |
324 |
| mediabay_print |
|
9 |
3 |
51 |
| mediabay_intr |
|
7 |
1 |
28 |
| mediabay_create_kthread |
|
7 |
1 |
35 |
| mediabay_kthread |
|
38 |
6 |
201 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/mesh.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mesh_match |
|
12 |
3 |
89 |
| mesh_attach |
|
68 |
7 |
566 |
| mesh_activate |
|
16 |
2 |
81 |
| mesh_read_reg |
|
4 |
1 |
22 |
| mesh_set_reg |
|
4 |
1 |
26 |
| mesh_intr |
|
105 |
22 |
575 |
| mesh_error |
|
23 |
7 |
143 |
| mesh_select |
|
18 |
2 |
151 |
| mesh_identify |
|
15 |
2 |
102 |
| mesh_command |
|
19 |
5 |
149 |
| mesh_dma_setup |
|
22 |
6 |
189 |
| mesh_dataio |
|
18 |
4 |
119 |
| mesh_status |
|
18 |
3 |
130 |
| mesh_msgin |
|
93 |
18 |
586 |
| mesh_msgout |
|
40 |
7 |
306 |
| mesh_bus_reset |
|
9 |
1 |
51 |
| mesh_reset |
|
24 |
4 |
190 |
| mesh_stp |
|
7 |
2 |
43 |
| mesh_setsync |
|
20 |
6 |
130 |
| mesh_scb_alloc |
|
11 |
2 |
65 |
| mesh_scb_free |
|
8 |
1 |
54 |
| mesh_scsi_cmd |
|
36 |
6 |
229 |
| mesh_sched |
|
12 |
2 |
64 |
| mesh_poll |
|
15 |
4 |
76 |
| mesh_done |
|
20 |
4 |
130 |
| mesh_timeout |
|
23 |
2 |
161 |
| mesh_minphys |
|
6 |
2 |
37 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/i2s.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| i2s_attach |
|
45 |
5 |
471 |
| i2s_intr |
|
27 |
6 |
157 |
| i2s_iintr |
|
27 |
6 |
157 |
| i2s_open |
|
6 |
1 |
18 |
| i2s_close |
|
9 |
1 |
39 |
| i2s_set_params |
|
42 |
14 |
265 |
| i2s_round_blocksize |
|
8 |
2 |
30 |
| i2s_halt_output |
|
8 |
1 |
34 |
| i2s_halt_input |
|
8 |
1 |
34 |
| i2s_set_port |
|
72 |
26 |
499 |
| i2s_get_port |
|
37 |
10 |
240 |
| i2s_query_devinfo |
|
107 |
14 |
1025 |
| i2s_round_buffersize |
|
9 |
2 |
33 |
| i2s_get_props |
|
5 |
1 |
13 |
| for |
|
7 |
2 |
59 |
| for |
|
7 |
2 |
59 |
| i2s_set_rate |
|
78 |
12 |
376 |
| i2s_mute |
|
9 |
3 |
71 |
| i2s_cint |
|
41 |
9 |
272 |
| i2s_gpio_offset |
|
18 |
6 |
168 |
| i2s_gpio_init |
|
62 |
14 |
575 |
| i2s_allocm |
|
51 |
8 |
445 |
| deq_reset |
|
12 |
2 |
78 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/zs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| zs_match |
|
12 |
4 |
72 |
| zs_attach |
|
116 |
17 |
975 |
| zs_print |
|
9 |
3 |
54 |
| zsmdioctl |
|
8 |
1 |
34 |
| zsmd_setclock |
|
7 |
4 |
45 |
| zshard |
|
20 |
5 |
100 |
| zssoft |
|
15 |
4 |
72 |
| zs_txdma_int |
|
21 |
4 |
103 |
| zs_dma_setup |
|
18 |
1 |
122 |
| zs_get_speed |
|
8 |
1 |
45 |
| zs_set_speed |
|
100 |
25 |
732 |
| zs_set_modes |
|
38 |
11 |
232 |
| zs_read_reg |
|
11 |
1 |
48 |
| zs_write_reg |
|
9 |
1 |
46 |
| zs_read_csr |
|
9 |
1 |
34 |
| zs_write_csr |
|
7 |
1 |
29 |
| zs_read_data |
|
8 |
1 |
30 |
| zs_write_data |
|
7 |
1 |
29 |
| zs_enable |
|
7 |
1 |
27 |
| zs_disable |
|
6 |
1 |
22 |
| zs_getc |
|
14 |
2 |
79 |
| zs_putc |
|
17 |
4 |
104 |
| zscngetc |
|
14 |
2 |
60 |
| zscnputc |
|
12 |
2 |
54 |
| zscnprobe |
|
31 |
11 |
239 |
| zscninit |
|
26 |
6 |
195 |
| zs_abort |
|
14 |
4 |
55 |
| zscnpollc |
|
9 |
3 |
25 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/dbdma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbdma_start |
|
20 |
2 |
121 |
| dbdma_stop |
|
7 |
2 |
43 |
| dbdma_flush |
|
5 |
2 |
36 |
| dbdma_reset |
|
11 |
2 |
46 |
| dbdma_continue |
|
6 |
1 |
30 |
| dbdma_pause |
|
5 |
2 |
34 |
| dbdma_alloc |
|
26 |
6 |
240 |
| dbdma_free |
|
10 |
4 |
80 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/thermal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/thermal.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| thermal_thread_init |
|
7 |
2 |
24 |
| thermal_thread_create |
|
8 |
2 |
33 |
| thermal_thread_loop |
|
8 |
2 |
35 |
| thermal_manage_fans |
|
79 |
11 |
465 |
| thermal_fan_register |
|
9 |
1 |
51 |
| thermal_sensor_register |
|
11 |
1 |
63 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/smu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| smu_match |
|
7 |
2 |
47 |
| smu_attach |
|
228 |
44 |
2098 |
| smu_intr |
|
5 |
1 |
16 |
| smu_do_cmd |
|
20 |
4 |
180 |
| smu_time_read |
|
26 |
2 |
211 |
| smu_time_write |
|
22 |
1 |
199 |
| smu_get_datablock |
|
31 |
3 |
252 |
| smu_firmware_probe |
|
12 |
2 |
82 |
| smu_fan_set_rpm |
|
20 |
2 |
199 |
| smu_fan_set_pwm |
|
20 |
2 |
199 |
| smu_fan_read_rpm |
|
25 |
4 |
196 |
| smu_fan_read_pwm |
|
35 |
5 |
281 |
| smu_fan_refresh |
|
23 |
4 |
141 |
| smu_sensor_refresh |
|
55 |
7 |
287 |
| smu_refresh_sensors |
|
11 |
3 |
92 |
| smu_fan_set_rpm_thermal |
|
8 |
1 |
57 |
| smu_fan_set_pwm_thermal |
|
8 |
1 |
57 |
| smu_sensor_refresh_thermal |
|
9 |
1 |
56 |
| smu_i2c_acquire_bus |
|
7 |
2 |
42 |
| smu_i2c_release_bus |
|
7 |
2 |
34 |
| smu_i2c_exec |
|
46 |
13 |
372 |
| smu_slew_voltage |
|
14 |
1 |
106 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/openpic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| openpic_read |
|
9 |
2 |
42 |
| openpic_write |
|
9 |
2 |
47 |
| openpic_read_irq |
|
4 |
1 |
18 |
| openpic_eoi |
|
4 |
1 |
17 |
| openpic_match |
|
19 |
6 |
141 |
| openpic_attach |
|
77 |
15 |
540 |
| openpic_setipl |
|
6 |
1 |
31 |
| openpic_splraise |
|
13 |
2 |
62 |
| openpic_spllower |
|
7 |
1 |
31 |
| openpic_splx |
|
13 |
3 |
72 |
| openpic_collect_preconf_intr |
|
14 |
2 |
105 |
| openpic_intr_establish |
|
45 |
13 |
288 |
| openpic_intr_disestablish |
|
19 |
3 |
123 |
| openpic_calc_mask |
|
33 |
7 |
207 |
| openpic_gen_acknowledge_irq |
|
4 |
1 |
15 |
| openpic_gen_enable_irq |
|
12 |
2 |
56 |
| openpic_gen_disable_irq |
|
7 |
1 |
37 |
| openpic_set_priority |
|
4 |
1 |
20 |
| openpic_ext_intr |
|
63 |
16 |
388 |
| openpic_ext_intr_handler |
|
19 |
7 |
94 |
| openpic_acknowledge_irq |
|
4 |
1 |
21 |
| openpic_enable_irq |
|
4 |
1 |
26 |
| openpic_disable_irq |
|
4 |
1 |
21 |
| openpic_send_ipi |
|
14 |
3 |
70 |
| openpic_ipi_ddb |
|
4 |
2 |
10 |
| openpic_cpc945_acknowledge_irq |
|
5 |
1 |
22 |
| openpic_cpc945_enable_irq |
|
12 |
2 |
69 |
| openpic_cpc945_disable_irq |
|
5 |
1 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/viareg.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| via_reg_and |
|
5 |
1 |
35 |
| via_reg_or |
|
5 |
1 |
35 |
| via_reg_xor |
|
5 |
1 |
35 |
| read_via_reg |
|
5 |
1 |
26 |
| write_via_reg |
|
5 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/aoa.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| aoa_match |
|
20 |
7 |
157 |
| aoa_attach |
|
7 |
1 |
52 |
| aoa_defer |
|
6 |
1 |
39 |
| aoa_set_volume |
|
3 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/kiicvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/abtn.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| abtn_match |
|
10 |
4 |
62 |
| abtn_attach |
|
13 |
1 |
97 |
| abtn_adbcomplete |
|
41 |
17 |
164 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/onyx.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| onyx_match |
|
18 |
8 |
143 |
| onyx_attach |
|
7 |
1 |
52 |
| onyx_defer |
|
16 |
4 |
125 |
| onyx_set_volume |
|
13 |
1 |
95 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/macgpio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| macgpio_match |
|
9 |
3 |
54 |
| macgpio_attach |
|
32 |
5 |
262 |
| macgpio_print |
|
9 |
3 |
58 |
| macgpio_gpio_match |
|
9 |
3 |
54 |
| macgpio_gpio_attach |
|
9 |
1 |
90 |
| gpio_intr |
|
7 |
3 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/piic.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| piic_match |
|
7 |
2 |
47 |
| piic_attach |
|
18 |
1 |
144 |
| piic_i2c_acquire_bus |
|
5 |
1 |
31 |
| piic_i2c_release_bus |
|
5 |
1 |
26 |
| piic_i2c_exec |
|
40 |
11 |
324 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/pgs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pgs_match |
|
11 |
3 |
79 |
| pgs_attach |
|
12 |
1 |
108 |
| pgs_intr |
|
7 |
3 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/adbvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/asms.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| asms_match |
|
7 |
2 |
47 |
| asms_attach |
|
155 |
21 |
1243 |
| asms_refresh |
|
20 |
4 |
177 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/i2svar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/if_bmreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/maci2c.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| maciic_scan |
|
32 |
13 |
254 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/tumbler.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tumbler_match |
|
16 |
5 |
125 |
| tumbler_attach |
|
9 |
1 |
64 |
| tumbler_defer |
|
15 |
4 |
116 |
| tumbler_set_volume |
|
15 |
1 |
106 |
| tumbler_set_treble |
|
10 |
5 |
75 |
| tumbler_set_bass |
|
10 |
5 |
75 |
| tas3001_write |
|
10 |
2 |
70 |
| tas3001_init |
|
27 |
1 |
247 |
| tumbler_init |
|
8 |
3 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/macintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| macintr_match |
|
13 |
4 |
94 |
| macintr_splraise |
|
13 |
2 |
62 |
| macintr_spllower |
|
7 |
1 |
31 |
| macintr_splx |
|
13 |
3 |
72 |
| macintr_attach |
|
27 |
2 |
174 |
| macintr_collect_preconf_intr |
|
20 |
3 |
105 |
| macintr_prog_button |
|
7 |
3 |
24 |
| macintr_setipl |
|
9 |
2 |
52 |
| macintr_establish |
|
47 |
13 |
302 |
| macintr_disestablish |
|
22 |
3 |
141 |
| macintr_calc_mask |
|
42 |
14 |
302 |
| mac_ext_intr |
|
29 |
5 |
161 |
| macintr_eoi |
|
13 |
3 |
61 |
| macintr_read_irq |
|
24 |
5 |
123 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/adb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| print_single |
|
21 |
5 |
100 |
| adb_cuda_tickle |
|
22 |
4 |
91 |
| adb_intr_cuda |
|
142 |
35 |
684 |
| send_adb_cuda |
|
59 |
21 |
330 |
| adb_intr |
|
12 |
3 |
35 |
| adb_pass_up |
|
66 |
21 |
418 |
| adb_soft_intr |
|
35 |
9 |
209 |
| adb_op |
|
24 |
5 |
127 |
| adb_hw_setup |
|
35 |
4 |
175 |
| adb_reinit |
|
144 |
49 |
932 |
| adb_cmd_result |
|
15 |
7 |
81 |
| adb_op_sync |
|
17 |
7 |
101 |
| adb_op_comprout |
|
4 |
1 |
22 |
| count_adbs |
|
10 |
3 |
51 |
| get_ind_adb_info |
|
15 |
6 |
147 |
| get_adb_info |
|
18 |
6 |
150 |
| set_adb_info |
|
17 |
6 |
127 |
| adb_read_date_time |
|
41 |
7 |
200 |
| adb_set_date_time |
|
31 |
5 |
188 |
| adb_poweroff |
|
25 |
6 |
117 |
| setsoftadb |
|
6 |
2 |
36 |
| adb_cuda_autopoll |
|
15 |
3 |
83 |
| adb_cuda_fileserver_mode |
|
15 |
3 |
83 |
| adb_restart |
|
20 |
6 |
95 |
| adbmatch |
|
13 |
5 |
81 |
| adbattach |
|
72 |
18 |
507 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/esp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| espmatch |
|
11 |
4 |
65 |
| espattach |
|
40 |
3 |
340 |
| esp_activate |
|
15 |
2 |
69 |
| esp_read_reg |
|
5 |
1 |
38 |
| esp_write_reg |
|
6 |
1 |
47 |
| esp_dma_isintr |
|
4 |
1 |
19 |
| esp_dma_reset |
|
6 |
1 |
34 |
| esp_dma_intr |
|
5 |
1 |
29 |
| esp_dma_setup |
|
27 |
7 |
226 |
| esp_dma_go |
|
6 |
1 |
38 |
| esp_dma_stop |
|
7 |
1 |
45 |
| esp_dma_isactive |
|
5 |
1 |
28 |
| espdmaintr |
|
44 |
11 |
332 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/if_mc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mc_match |
|
11 |
4 |
75 |
| mc_attach |
|
108 |
11 |
887 |
| mc_ioctl |
|
34 |
10 |
200 |
| mc_start |
|
18 |
8 |
112 |
| mc_reset |
|
5 |
1 |
19 |
| mc_init |
|
39 |
6 |
307 |
| mc_stop |
|
13 |
1 |
74 |
| mc_watchdog |
|
6 |
1 |
28 |
| mc_intr |
|
25 |
9 |
151 |
| mc_tint |
|
36 |
8 |
215 |
| mc_rint |
|
28 |
10 |
190 |
| maceput |
|
26 |
5 |
184 |
| mace_read |
|
20 |
5 |
124 |
| mace_get |
|
39 |
7 |
217 |
| mc_putpacket |
|
10 |
1 |
74 |
| mc_dmaintr |
|
43 |
5 |
311 |
| mc_reset_rxdma |
|
23 |
2 |
169 |
| mc_reset_txdma |
|
18 |
1 |
145 |
| mace_calcladrf |
|
23 |
3 |
180 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/sysbutton.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sysbutton_match |
|
7 |
2 |
43 |
| sysbutton_attach |
|
12 |
1 |
108 |
| sysbutton_intr |
|
6 |
3 |
19 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/openpicreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/if_bm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bmac_read_reg |
|
4 |
1 |
22 |
| bmac_write_reg |
|
4 |
1 |
26 |
| bmac_set_bits |
|
5 |
1 |
33 |
| bmac_reset_bits |
|
4 |
1 |
31 |
| bmac_match |
|
11 |
5 |
84 |
| bmac_attach |
|
93 |
9 |
835 |
| bmac_reset_chip |
|
21 |
1 |
111 |
| bmac_init |
|
71 |
6 |
601 |
| bmac_init_dma |
|
20 |
2 |
159 |
| bmac_intr |
|
17 |
5 |
94 |
| bmac_rint |
|
52 |
12 |
343 |
| bmac_reset |
|
7 |
1 |
28 |
| bmac_stop |
|
16 |
1 |
104 |
| bmac_start |
|
21 |
8 |
138 |
| bmac_transmit_packet |
|
10 |
1 |
75 |
| bmac_put |
|
19 |
4 |
114 |
| bmac_get |
|
39 |
7 |
217 |
| bmac_watchdog |
|
9 |
1 |
55 |
| bmac_ioctl |
|
44 |
13 |
256 |
| bmac_mediachange |
|
5 |
1 |
27 |
| bmac_mediastatus |
|
7 |
1 |
51 |
| bmac_setladrf |
|
38 |
5 |
283 |
| bmac_mii_readreg |
|
4 |
1 |
28 |
| bmac_mii_writereg |
|
4 |
1 |
32 |
| bmac_mbo_read |
|
5 |
1 |
28 |
| bmac_mbo_write |
|
5 |
1 |
32 |
| bmac_mii_statchg |
|
13 |
3 |
81 |
| bmac_mii_tick |
|
9 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/apm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| apmmatch |
|
7 |
2 |
47 |
| apmattach |
|
7 |
1 |
58 |
| apmopen |
|
34 |
10 |
180 |
| apmclose |
|
18 |
6 |
106 |
| apmioctl |
|
87 |
26 |
486 |
| filt_apmrdetach |
|
5 |
1 |
37 |
| filt_apmread |
|
6 |
3 |
35 |
| apmkqfilter |
|
17 |
5 |
102 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/pm_direct.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pm_printerr |
|
12 |
2 |
68 |
| pm_wait_busy |
|
9 |
4 |
36 |
| pm_wait_free |
|
9 |
4 |
36 |
| pm_receive |
|
25 |
3 |
123 |
| pm_send |
|
21 |
3 |
112 |
| pmgrop |
|
70 |
16 |
410 |
| pm_intr |
|
44 |
15 |
196 |
| pm_adb_op |
|
100 |
22 |
636 |
| pm_adb_get_TALK_result |
|
21 |
2 |
149 |
| pm_adb_get_ADB_data |
|
12 |
2 |
98 |
| pm_adb_restart |
|
9 |
1 |
42 |
| pm_adb_poweroff |
|
11 |
1 |
65 |
| pm_read_date_time |
|
12 |
1 |
71 |
| pm_set_date_time |
|
10 |
1 |
63 |
| pm_eject_pcmcia |
|
11 |
3 |
63 |
| pm_battery_info |
|
32 |
4 |
276 |
| pmu_fileserver_mode |
|
21 |
2 |
138 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/pm_direct.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/dev/awacs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| awacs_match |
|
12 |
6 |
88 |
| awacs_attach |
|
73 |
6 |
644 |
| awacs_read_reg |
|
5 |
1 |
28 |
| awacs_write_reg |
|
5 |
1 |
32 |
| awacs_write_codec |
|
5 |
2 |
33 |
| awacs_intr |
|
26 |
5 |
155 |
| awacs_tx_intr |
|
23 |
6 |
140 |
| awacs_rx_intr |
|
23 |
6 |
140 |
| awacs_open |
|
4 |
1 |
14 |
| awacs_close |
|
8 |
1 |
37 |
| awacs_set_params |
|
36 |
11 |
234 |
| awacs_round_blocksize |
|
6 |
2 |
34 |
| awacs_halt_output |
|
11 |
1 |
57 |
| awacs_halt_input |
|
9 |
1 |
44 |
| awacs_set_port |
|
57 |
13 |
362 |
| awacs_get_port |
|
44 |
6 |
350 |
| awacs_query_devinfo |
|
83 |
9 |
798 |
| awacs_round_buffersize |
|
7 |
2 |
45 |
| awacs_allocm |
|
51 |
8 |
445 |
| awacs_get_props |
|
4 |
1 |
11 |
| awacs_trigger_output |
|
32 |
6 |
266 |
| awacs_trigger_input |
|
32 |
6 |
266 |
| awacs_set_speaker_volume |
|
9 |
1 |
78 |
| awacs_set_ext_volume |
|
9 |
1 |
78 |
| awacs_set_rate |
|
26 |
9 |
228 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/apmvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/ipkdb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/openpromio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/rbus_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/kbio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/pio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_read_region_1 |
|
8 |
2 |
52 |
| bus_space_read_region_2 |
|
9 |
2 |
64 |
| bus_space_read_region_4 |
|
9 |
2 |
64 |
| bus_space_write_region_1 |
|
8 |
2 |
54 |
| bus_space_write_region_2 |
|
9 |
2 |
65 |
| bus_space_write_region_4 |
|
9 |
2 |
65 |
| bus_space_read_raw_region_2 |
|
10 |
2 |
70 |
| bus_space_read_raw_region_4 |
|
10 |
2 |
70 |
| bus_space_write_raw_region_2 |
|
10 |
2 |
72 |
| bus_space_write_raw_region_4 |
|
10 |
2 |
72 |
| bus_space_set_multi_1 |
|
8 |
2 |
49 |
| bus_space_set_multi_2 |
|
9 |
2 |
60 |
| bus_space_set_multi_4 |
|
9 |
2 |
60 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/z8530var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/boot.mac/fixcoff.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| usage |
|
4 |
1 |
17 |
| help |
|
8 |
1 |
34 |
| main |
|
52 |
18 |
534 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/alloc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| alloc |
|
44 |
11 |
272 |
| free |
|
13 |
5 |
99 |
| freeall |
|
12 |
4 |
74 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/hfs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/hfs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hfs_open |
|
17 |
4 |
120 |
| hfs_close |
|
5 |
1 |
17 |
| hfs_read |
|
11 |
3 |
60 |
| hfs_write |
|
5 |
1 |
28 |
| hfs_seek |
|
11 |
4 |
44 |
| hfs_stat |
|
4 |
1 |
17 |
| hfs_readdir |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/netif_of.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| socktodesc |
|
6 |
2 |
19 |
| netif_open |
|
21 |
6 |
125 |
| netif_close |
|
19 |
6 |
87 |
| netif_put |
|
28 |
6 |
163 |
| netif_get |
|
25 |
8 |
169 |
| getsecs |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/net.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| net_open |
|
19 |
6 |
89 |
| net_close |
|
8 |
3 |
34 |
| net_mountroot |
|
18 |
7 |
114 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/openfirm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/ofdev.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/main.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| prom2boot |
|
10 |
4 |
54 |
| chain |
|
17 |
3 |
147 |
| main |
|
17 |
5 |
117 |
| get_alt_bootdev |
|
11 |
3 |
76 |
| devboot |
|
4 |
1 |
20 |
| run_loadfile |
|
34 |
6 |
210 |
| cnspeed |
|
4 |
1 |
13 |
| ttyname |
|
5 |
1 |
20 |
| ttydev |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/cache.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| syncicache |
|
15 |
3 |
102 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/Locore.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _start |
|
17 |
3 |
87 |
| patch_dec_intr |
|
10 |
1 |
58 |
| _rtt |
|
14 |
2 |
40 |
| OF_finddevice |
|
18 |
2 |
66 |
| OF_instance_to_package |
|
18 |
2 |
64 |
| OF_getprop |
|
24 |
2 |
104 |
| OF_open |
|
18 |
2 |
66 |
| OF_close |
|
15 |
1 |
47 |
| OF_write |
|
22 |
2 |
90 |
| OF_read |
|
22 |
2 |
90 |
| OF_seek |
|
22 |
2 |
96 |
| OF_claim |
|
24 |
3 |
104 |
| OF_release |
|
17 |
1 |
61 |
| OF_milliseconds |
|
15 |
1 |
44 |
| OF_chain |
|
23 |
1 |
109 |
| OF_chain |
|
4 |
1 |
39 |
| OF_call_method |
|
38 |
6 |
233 |
| setup |
|
13 |
5 |
87 |
| putchar |
|
14 |
3 |
73 |
| ofc_probe |
|
5 |
1 |
26 |
| ofc_init |
|
3 |
1 |
9 |
| ofc_getc |
|
24 |
8 |
114 |
| ofc_putc |
|
11 |
3 |
57 |
| machdep |
|
4 |
1 |
9 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/stand/ofdev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| parsename |
|
20 |
6 |
143 |
| strategy |
|
24 |
7 |
140 |
| devclose |
|
11 |
3 |
72 |
| get_long |
|
6 |
1 |
55 |
| read_mac_label |
|
35 |
14 |
254 |
| search_label |
|
52 |
17 |
315 |
| devopen |
|
77 |
19 |
533 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/hpb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| hpb_match |
|
12 |
4 |
89 |
| hpb_attach |
|
48 |
7 |
428 |
| hpb_print |
|
8 |
2 |
49 |
| hpb_eoi |
|
18 |
5 |
150 |
| hpb_enable_irq |
|
20 |
4 |
178 |
| hpb_disable_irq |
|
15 |
3 |
130 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/agp_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| agp_flush_cache |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/pciide_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pciide_machdep_compat_intr_establish |
|
10 |
1 |
71 |
| pciide_machdep_compat_intr_disestablish |
|
4 |
1 |
18 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/macobio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| macobio_match |
|
18 |
11 |
79 |
| macobio_attach |
|
85 |
20 |
562 |
| macobio_print |
|
9 |
3 |
58 |
| mac_intr_establish |
|
6 |
1 |
57 |
| mac_intr_disestablish |
|
4 |
1 |
22 |
| macobio_enable |
|
8 |
2 |
54 |
| macobio_disable |
|
8 |
2 |
56 |
| macobio_read |
|
7 |
2 |
41 |
| macobio_write |
|
7 |
2 |
43 |
| macobio_modem_power |
|
22 |
6 |
160 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/ht.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ht_match |
|
7 |
2 |
47 |
| ht_attach |
|
63 |
9 |
480 |
| ht_conf_read |
|
25 |
7 |
178 |
| ht_conf_write |
|
26 |
6 |
208 |
| ht_print |
|
8 |
2 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/vgafb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| vgafb_match |
|
14 |
5 |
92 |
| vgafb_attach |
|
28 |
6 |
200 |
| vgafb_console_init |
|
20 |
1 |
184 |
| vgafb_restore_default_colors |
|
5 |
1 |
36 |
| vgafb_ioctl |
|
97 |
29 |
481 |
| vgafb_mmap |
|
25 |
13 |
154 |
| vgafb_is_console |
|
5 |
1 |
18 |
| vgafb_getcmap |
|
31 |
9 |
237 |
| vgafb_putcmap |
|
31 |
9 |
237 |
| vgafb_burn |
|
8 |
2 |
44 |
| vgafb_alloc_screen |
|
7 |
1 |
61 |
| vgafb_free_screen |
|
6 |
1 |
37 |
| vgafb_show_screen |
|
9 |
2 |
77 |
| vgafb_load_font |
|
6 |
1 |
44 |
| vgafb_list_font |
|
6 |
1 |
38 |
| vgafb_mapregs |
|
42 |
9 |
240 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/kauaiata.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kauaiatamatch |
|
17 |
7 |
74 |
| kauaiataattach |
|
63 |
9 |
442 |
| kauaiata_print |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/pci_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pci_attach_hook |
|
4 |
1 |
19 |
| pci_bus_maxdevs |
|
4 |
1 |
15 |
| pci_make_tag |
|
29 |
11 |
245 |
| pci_decompose_tag |
|
9 |
4 |
64 |
| pci_conf_size |
|
4 |
1 |
15 |
| pci_conf_read |
|
6 |
2 |
50 |
| pci_conf_write |
|
5 |
2 |
46 |
| pci_intr_map |
|
20 |
5 |
172 |
| pci_intr_map_msi |
|
4 |
1 |
19 |
| pci_intr_line |
|
4 |
1 |
15 |
| pci_intr_string |
|
6 |
1 |
36 |
| pci_intr_establish |
|
5 |
1 |
53 |
| pci_intr_disestablish |
|
4 |
1 |
21 |
| pci_ether_hw_addr |
|
14 |
2 |
112 |
| ofw_enumerate_pcibus |
|
63 |
22 |
526 |
| ofw_intr_map |
|
37 |
12 |
346 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/pchb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pchbmatch |
|
39 |
25 |
148 |
| pchbattach |
|
12 |
4 |
79 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/macobio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/pci/mpcpcibus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mpcpcibrmatch |
|
9 |
2 |
56 |
| mpcpcibus_find_ranges_32 |
|
50 |
11 |
359 |
| mpcpcibus_find_ranges_64 |
|
61 |
12 |
450 |
| mpcpcibrattach |
|
107 |
15 |
747 |
| mpcpcibrprint |
|
8 |
2 |
49 |
| mpc_gen_config_reg |
|
24 |
6 |
163 |
| mpc_conf_read |
|
43 |
12 |
307 |
| mpc_conf_write |
|
27 |
5 |
211 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpumatch |
|
10 |
3 |
71 |
| ppc_cpuspeed |
|
5 |
1 |
18 |
| ppc64_scale_frequency |
|
25 |
4 |
134 |
| ppc64_do_setperf |
|
16 |
6 |
65 |
| ppc64_setperf |
|
5 |
1 |
19 |
| cpuattach |
|
189 |
56 |
1023 |
| config_l2cr |
|
64 |
21 |
286 |
| cpu_spinup |
|
74 |
8 |
469 |
| cpu_boot_secondary_processors |
|
15 |
3 |
83 |
| cpu_hatch |
|
57 |
6 |
329 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| initppc |
|
105 |
28 |
666 |
| install_extint |
|
19 |
4 |
146 |
| cpu_startup |
|
18 |
1 |
140 |
| consinit |
|
8 |
2 |
25 |
| setregs |
|
20 |
1 |
189 |
| sendsig |
|
38 |
8 |
408 |
| sys_sigreturn |
|
29 |
5 |
242 |
| cpu_sysctl |
|
20 |
6 |
129 |
| dumpconf |
|
18 |
8 |
143 |
| reserve_dumppages |
|
5 |
1 |
17 |
| cpu_dump |
|
11 |
1 |
108 |
| dumpsys |
|
56 |
17 |
386 |
| lcsplx |
|
4 |
1 |
13 |
| boot |
|
44 |
12 |
208 |
| do_pending_int |
|
6 |
2 |
20 |
| signotify |
|
5 |
1 |
21 |
| cpu_unidle |
|
5 |
2 |
24 |
| ppc_intr_establish |
|
17 |
2 |
119 |
| ppc_no_send_ipi |
|
4 |
1 |
17 |
| ppc_send_ipi |
|
4 |
1 |
22 |
| kcopy |
|
12 |
2 |
76 |
| cpu_switchto |
|
9 |
4 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_configure |
|
9 |
2 |
43 |
| findtype |
|
40 |
4 |
285 |
| parseofwbp |
|
34 |
11 |
192 |
| getpno |
|
17 |
6 |
94 |
| device_register |
|
29 |
13 |
162 |
| diskconf |
|
8 |
3 |
39 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
29 |
9 |
181 |
| readdpmelabel |
|
60 |
17 |
435 |
| writedisklabel |
|
34 |
5 |
259 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mem_match |
|
7 |
2 |
47 |
| mem_attach |
|
35 |
6 |
261 |
| mem_i2c_acquire_bus |
|
4 |
1 |
16 |
| mem_i2c_release_bus |
|
3 |
1 |
11 |
| mem_i2c_exec |
|
13 |
4 |
106 |
| mmopen |
|
24 |
13 |
114 |
| mmclose |
|
6 |
3 |
34 |
| mmrw |
|
55 |
13 |
297 |
| mmmmap |
|
4 |
1 |
19 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/opendev.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| OF_instance_to_package |
|
19 |
2 |
68 |
| OF_package_to_path |
|
27 |
4 |
122 |
| OF_call_method |
|
39 |
6 |
237 |
| OF_call_method_1 |
|
32 |
5 |
178 |
| OF_open |
|
23 |
3 |
101 |
| OF_close |
|
16 |
1 |
51 |
| OF_read |
|
37 |
6 |
175 |
| OF_write |
|
30 |
3 |
144 |
| OF_seek |
|
23 |
2 |
100 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/rbus_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rbus_pccbb_parent_mem |
|
6 |
1 |
43 |
| rbus_pccbb_parent_io |
|
5 |
1 |
32 |
| macppc_cardbus_init |
|
31 |
9 |
219 |
| pccbb_attach_hook |
|
16 |
5 |
113 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/openfirm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| OF_peer |
|
19 |
2 |
67 |
| OF_child |
|
19 |
2 |
67 |
| OF_parent |
|
19 |
2 |
67 |
| OF_getproplen |
|
21 |
2 |
82 |
| OF_getprop |
|
29 |
4 |
137 |
| OF_setprop |
|
28 |
3 |
128 |
| OF_nextprop |
|
24 |
2 |
107 |
| OF_interpret |
|
33 |
5 |
180 |
| OF_finddevice |
|
19 |
2 |
70 |
| OF_rboot |
|
17 |
2 |
64 |
| OF_boot |
|
7 |
2 |
27 |
| OF_exit |
|
16 |
2 |
50 |
| OF_quiesce |
|
14 |
1 |
42 |
| ofbcopy |
|
9 |
3 |
52 |
| OF_getnodebyname |
|
24 |
7 |
141 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
4 |
2 |
22 |
| iszerodev |
|
4 |
2 |
22 |
| getnulldev |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| inittodr |
|
52 |
14 |
305 |
| resettodr |
|
14 |
4 |
66 |
| decr_intr |
|
44 |
9 |
247 |
| cpu_initclocks |
|
46 |
9 |
255 |
| cpu_startclock |
|
10 |
1 |
60 |
| delay |
|
8 |
2 |
39 |
| setstatclockrate |
|
13 |
2 |
64 |
| tb_get_timecount |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mbmatch |
|
4 |
1 |
22 |
| mbattach |
|
110 |
23 |
793 |
| mbprint |
|
7 |
2 |
40 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/ofw_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/ofw_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ppc_mem_regions |
|
8 |
2 |
42 |
| ofw_read_mem_regions |
|
54 |
14 |
395 |
| save_ofw_mapping |
|
46 |
13 |
349 |
| ofwconprobe |
|
21 |
5 |
108 |
| ofw_recurse_keyboard |
|
31 |
8 |
162 |
| ofw_find_keyboard |
|
34 |
9 |
193 |
| of_display_console |
|
81 |
13 |
617 |
| ofwconsswitch |
|
8 |
2 |
59 |
| of_setbacklight |
|
9 |
3 |
38 |
| of_setbrightness |
|
11 |
4 |
51 |
| of_setcolors |
|
5 |
1 |
45 |
| ofwcnprobe |
|
3 |
1 |
9 |
| ofwcninit |
|
3 |
1 |
9 |
| ofwcnputc |
|
5 |
1 |
25 |
| ofwcngetc |
|
9 |
4 |
52 |
| ofwcnpollc |
|
3 |
1 |
10 |
| ofw_consinit |
|
9 |
2 |
62 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/openprom.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| openpromopen |
|
4 |
1 |
23 |
| openpromclose |
|
4 |
1 |
23 |
| openpromcheckid |
|
7 |
4 |
50 |
| openpromgetstr |
|
11 |
2 |
81 |
| openpromioctl |
|
136 |
33 |
841 |
| Source file: /home/sergeyb/sources/src/sys/arch/macppc/macppc/wscons_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wscnprobe |
|
13 |
4 |
70 |
| wscninit |
|
4 |
1 |
11 |
| wscnputc |
|
4 |
1 |
17 |
| wscngetc |
|
4 |
1 |
15 |
| wscnpollc |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/dev/clockvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/pmap.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_pte_lookup |
|
9 |
3 |
64 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/loongson2.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/loongson3.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| loongson3_get_cpuid |
|
11 |
1 |
28 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/cache.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/memconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/tcb.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mips64_set_tcb |
|
7 |
3 |
34 |
| __mips64_get_tcb |
|
10 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/archtype.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/cpu.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cp0_get_hwrena |
|
6 |
1 |
23 |
| cp0_set_hwrena |
|
4 |
1 |
19 |
| cp0_set_userlocal |
|
9 |
1 |
23 |
| intr_disable |
|
4 |
1 |
11 |
| intr_restore |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/cpustate.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/atomic.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| atomic_wait_and_setbits_int |
|
14 |
1 |
54 |
| atomic_setbits_int |
|
12 |
1 |
45 |
| atomic_clearbits_int |
|
12 |
1 |
45 |
| _atomic_cas_uint |
|
14 |
1 |
66 |
| _atomic_cas_ulong |
|
14 |
1 |
66 |
| _atomic_cas_ptr |
|
15 |
1 |
74 |
| _atomic_swap_uint |
|
13 |
1 |
56 |
| _atomic_swap_ulong |
|
13 |
1 |
56 |
| _atomic_swap_ptr |
|
14 |
1 |
64 |
| _atomic_add_int_nv |
|
13 |
1 |
58 |
| _atomic_add_long_nv |
|
13 |
1 |
58 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/mips_cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/arcbios.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/mips_opcode.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/sysarch.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/regdef.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/include/regnum.h |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cpu.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpumatch |
|
7 |
2 |
47 |
| cpuattach |
|
290 |
87 |
1426 |
| cpu_switchto |
|
7 |
3 |
40 |
| enable_fpu |
|
14 |
3 |
99 |
| save_fpu |
|
13 |
3 |
66 |
| get_cpu_info |
|
10 |
2 |
37 |
| cpu_boot_secondary_processors |
|
15 |
3 |
74 |
| cpu_unidle |
|
5 |
2 |
26 |
| alloc_contiguous_pages |
|
15 |
2 |
89 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_mips64r2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mips64r2_ConfigCache |
|
64 |
9 |
591 |
| mips64r2_hitwbinv_primary |
|
9 |
2 |
41 |
| mips64r2_hitwbinv_secondary |
|
9 |
2 |
41 |
| mips64r2_hitwbinv_ternary |
|
9 |
2 |
41 |
| mips64r2_hitinv_primary |
|
9 |
2 |
41 |
| mips64r2_hitinv_secondary |
|
9 |
2 |
41 |
| mips64r2_hitinv_ternary |
|
9 |
2 |
41 |
| mips64r2_SyncCache |
|
32 |
7 |
206 |
| mips64r2_InvalidateICache |
|
18 |
3 |
163 |
| mips64r2_InvalidateICachePage |
|
4 |
1 |
21 |
| mips64r2_SyncICache |
|
3 |
1 |
9 |
| mips64r2_SyncDCachePage |
|
17 |
3 |
125 |
| mips64r2_HitSyncDCachePage |
|
4 |
1 |
28 |
| mips64r2_HitSyncDCache |
|
8 |
1 |
78 |
| mips64r2_HitInvalidateDCache |
|
8 |
1 |
78 |
| mips64r2_IOSyncDCache |
|
91 |
27 |
653 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/interrupt.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| interrupt |
|
31 |
8 |
199 |
| set_intr |
|
22 |
9 |
154 |
| intr_barrier |
|
4 |
1 |
13 |
| dummy_splx |
|
3 |
1 |
7 |
| splinit |
|
10 |
2 |
79 |
| register_splx_handler |
|
4 |
1 |
17 |
| splraise |
|
14 |
2 |
61 |
| splx |
|
4 |
1 |
15 |
| spllower |
|
8 |
1 |
33 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/mem.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mmopen |
|
17 |
7 |
72 |
| mmclose |
|
4 |
1 |
23 |
| mmrw |
|
75 |
22 |
449 |
| mmmmap |
|
4 |
1 |
17 |
| mmioctl |
|
4 |
1 |
26 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/sys_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sys_sysarch |
|
20 |
3 |
99 |
| mips64_cacheflush |
|
40 |
12 |
257 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_r5k.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_config |
|
6 |
1 |
23 |
| set_config |
|
6 |
2 |
26 |
| run_uncached |
|
15 |
2 |
92 |
| mips5k_l2_init |
|
16 |
2 |
76 |
| mips7k_l2_init |
|
32 |
4 |
162 |
| mips7k_l3_init |
|
16 |
2 |
76 |
| mips5k_c0_cca_update |
|
5 |
2 |
16 |
| Mips5k_ConfigCache |
|
88 |
21 |
645 |
| Mips5k_SyncCache |
|
47 |
14 |
272 |
| Mips5k_InvalidateICache |
|
39 |
9 |
236 |
| Mips5k_InvalidateICachePage |
|
5 |
1 |
38 |
| Mips5k_SyncICache |
|
75 |
20 |
407 |
| mips5k_hitwbinv_primary |
|
9 |
2 |
40 |
| mips5k_hitwbinv_secondary |
|
10 |
2 |
49 |
| Mips5k_SyncDCachePage |
|
36 |
11 |
186 |
| Mips5k_HitSyncDCachePage |
|
10 |
3 |
48 |
| Mips5k_HitSyncDCache |
|
14 |
3 |
86 |
| mips5k_hitinv_primary |
|
9 |
2 |
40 |
| mips5k_hitinv_secondary |
|
10 |
2 |
49 |
| Mips5k_HitInvalidateDCache |
|
14 |
3 |
86 |
| mips5k_hitwb_primary |
|
9 |
2 |
40 |
| mips5k_hitwb_secondary |
|
10 |
2 |
49 |
| Mips5k_IOSyncDCache |
|
80 |
29 |
451 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/process_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| process_read_regs |
|
9 |
2 |
71 |
| process_write_regs |
|
16 |
2 |
139 |
| process_set_pc |
|
5 |
1 |
30 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/vm_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_fork |
|
42 |
14 |
410 |
| cpu_exit |
|
9 |
3 |
56 |
| vmapbuf |
|
29 |
4 |
203 |
| vunmapbuf |
|
15 |
2 |
112 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/mips64_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| build_trampoline |
|
46 |
7 |
228 |
| setregs |
|
16 |
3 |
155 |
| exec_md_map |
|
18 |
5 |
110 |
| tlb_init |
|
16 |
3 |
112 |
| tlb_asid_wrap |
|
5 |
2 |
31 |
| delay |
|
17 |
3 |
87 |
| cp0_get_timecount |
|
4 |
1 |
16 |
| cp0_calibrate |
|
23 |
4 |
162 |
| cpu_initclocks |
|
16 |
4 |
87 |
| setstatclockrate |
|
3 |
1 |
7 |
| inittodr |
|
42 |
8 |
268 |
| resettodr |
|
34 |
9 |
240 |
| classify_insn |
|
48 |
25 |
158 |
| unmap_startup |
|
7 |
2 |
34 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clockmatch |
|
6 |
2 |
41 |
| clockattach |
|
8 |
1 |
56 |
| cp0_int5 |
|
36 |
8 |
204 |
| cp0_startclock |
|
18 |
3 |
108 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/ipifuncs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mips64_ipi_init |
|
13 |
3 |
67 |
| mips64_ipi_intr |
|
18 |
4 |
117 |
| mips64_send_ipi |
|
9 |
5 |
67 |
| mips64_multicast_ipi |
|
12 |
3 |
75 |
| mips64_ipi_nop |
|
4 |
2 |
15 |
| smp_rendezvous_action |
|
11 |
2 |
75 |
| smp_rendezvous_cpus |
|
24 |
4 |
125 |
| mips64_ipi_ddb |
|
4 |
2 |
10 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/arcbios.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bios_getchar |
|
8 |
2 |
50 |
| bios_putchar |
|
18 |
4 |
89 |
| bios_putstring |
|
7 |
2 |
24 |
| bios_printf |
|
9 |
1 |
51 |
| bios_configure_memory |
|
85 |
34 |
433 |
| bios_get_system_type |
|
62 |
19 |
400 |
| bios_ident |
|
19 |
3 |
198 |
| bios_display_info |
|
11 |
2 |
56 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_r4k.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| run_uncached |
|
15 |
2 |
92 |
| Mips4k_ConfigCache |
|
45 |
6 |
351 |
| Mips4k_SyncCache |
|
29 |
5 |
171 |
| Mips4k_InvalidateICache |
|
24 |
4 |
182 |
| Mips4k_InvalidateICachePage |
|
5 |
1 |
39 |
| Mips4k_SyncICache |
|
30 |
7 |
180 |
| Mips4k_SyncDCachePage |
|
26 |
5 |
159 |
| mips4k_hitwbinv_primary |
|
9 |
2 |
41 |
| mips4k_hitwbinv_secondary |
|
9 |
2 |
41 |
| Mips4k_HitSyncDCachePage |
|
7 |
2 |
55 |
| Mips4k_HitSyncDCache |
|
22 |
3 |
181 |
| mips4k_hitinv_primary |
|
9 |
2 |
41 |
| mips4k_hitinv_secondary |
|
9 |
2 |
41 |
| Mips4k_HitInvalidateDCache |
|
22 |
3 |
181 |
| Mips4k_IOSyncDCache |
|
70 |
19 |
431 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/mutex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| __mtx_init |
|
6 |
1 |
30 |
| __mtx_enter |
|
12 |
5 |
55 |
| __mtx_enter_try |
|
20 |
8 |
125 |
| __mtx_enter |
|
10 |
5 |
66 |
| __mtx_enter_try |
|
5 |
1 |
19 |
| __mtx_leave |
|
11 |
4 |
53 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_loongson3.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Loongson3_ConfigCache |
|
13 |
1 |
68 |
| Loongson3_SyncCache |
|
4 |
1 |
13 |
| Loongson3_InvalidateICache |
|
3 |
1 |
15 |
| Loongson3_InvalidateICachePage |
|
3 |
1 |
12 |
| Loongson3_SyncICache |
|
3 |
1 |
9 |
| Loongson3_SyncDCachePage |
|
3 |
1 |
15 |
| Loongson3_HitSyncDCache |
|
3 |
1 |
15 |
| Loongson3_HitInvalidateDCache |
|
3 |
1 |
15 |
| Loongson3_IOSyncDCache |
|
11 |
4 |
41 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/sendsig.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sendsig |
|
54 |
11 |
509 |
| sys_sigreturn |
|
36 |
6 |
317 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_loongson2.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Loongson2_ConfigCache |
|
30 |
2 |
207 |
| Loongson2_SyncCache |
|
29 |
4 |
186 |
| Loongson2_InvalidateICache |
|
14 |
2 |
108 |
| Loongson2_InvalidateICachePage |
|
4 |
1 |
18 |
| Loongson2_SyncICache |
|
13 |
3 |
66 |
| Loongson2_SyncDCachePage |
|
11 |
3 |
85 |
| ls2f_hitwbinv_primary |
|
9 |
2 |
40 |
| ls2f_hitwbinv_secondary |
|
9 |
2 |
40 |
| Loongson2_HitSyncDCache |
|
10 |
1 |
71 |
| ls2f_hitinv_primary |
|
9 |
2 |
40 |
| ls2f_hitinv_secondary |
|
9 |
2 |
40 |
| Loongson2_HitInvalidateDCache |
|
10 |
1 |
71 |
| Loongson2_IOSyncDCache |
|
36 |
8 |
225 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/db_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| db_ktrap |
|
35 |
12 |
202 |
| db_enter_ddb |
|
53 |
18 |
315 |
| db_cpuinfo_cmd |
|
29 |
8 |
136 |
| db_read_bytes |
|
17 |
4 |
118 |
| db_write_bytes |
|
24 |
5 |
163 |
| db_stack_trace_print |
|
10 |
2 |
63 |
| next_instr_address |
|
8 |
1 |
45 |
| db_trap_trace_cmd |
|
4 |
1 |
24 |
| db_print_tlb |
|
25 |
7 |
134 |
| db_dump_tlb_cmd |
|
70 |
26 |
509 |
| db_machine_init |
|
12 |
5 |
55 |
| db_ddbproc_cmd |
|
18 |
5 |
86 |
| db_startproc_cmd |
|
18 |
7 |
95 |
| db_stopproc_cmd |
|
18 |
7 |
95 |
| db_startcpu |
|
8 |
3 |
42 |
| db_stopcpu |
|
12 |
4 |
67 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/softintr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| softintr_init |
|
11 |
2 |
61 |
| softintr_dispatch |
|
18 |
3 |
112 |
| softintr_establish |
|
31 |
7 |
145 |
| softintr_disestablish |
|
12 |
2 |
77 |
| softintr_schedule |
|
13 |
2 |
97 |
| dosoftint |
|
19 |
6 |
110 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_tfp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tfp_ConfigCache |
|
39 |
6 |
316 |
| tfp_SyncCache |
|
11 |
2 |
68 |
| tfp_InvalidateICache |
|
18 |
3 |
133 |
| tfp_InvalidateICachePage |
|
4 |
1 |
18 |
| tfp_SyncICache |
|
7 |
2 |
34 |
| tfp_SyncDCachePage |
|
3 |
1 |
15 |
| tfp_HitSyncDCache |
|
3 |
1 |
15 |
| tfp_HitInvalidateDCache |
|
12 |
2 |
90 |
| tfp_IOSyncDCache |
|
11 |
4 |
46 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_octeon.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Octeon_ConfigCache |
|
63 |
5 |
552 |
| Octeon_SyncCache |
|
4 |
1 |
13 |
| Octeon_InvalidateICache |
|
4 |
1 |
19 |
| Octeon_InvalidateICachePage |
|
4 |
1 |
18 |
| Octeon_SyncICache |
|
7 |
2 |
29 |
| Octeon_SyncDCachePage |
|
3 |
1 |
15 |
| Octeon_HitSyncDCache |
|
3 |
1 |
15 |
| Octeon_HitInvalidateDCache |
|
3 |
1 |
15 |
| Octeon_IOSyncDCache |
|
12 |
4 |
43 |
| Octeon_lock_secondary_cache |
|
16 |
2 |
110 |
| Octeon_unlock_secondary_cache |
|
15 |
2 |
106 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/pmap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_invalidate_user_page |
|
12 |
4 |
75 |
| pmap_update_user_page |
|
8 |
2 |
62 |
| pmap_lock |
|
5 |
2 |
23 |
| pmap_unlock |
|
5 |
2 |
23 |
| pmap_pte_cas |
|
5 |
2 |
44 |
| pmap_invalidate_icache |
|
18 |
4 |
101 |
| pmap_invalidate_icache_action |
|
7 |
1 |
51 |
| pmap_shootdown_range |
|
35 |
9 |
213 |
| pmap_shootdown_range_action |
|
12 |
4 |
83 |
| pmap_invalidate_icache |
|
6 |
1 |
43 |
| pmap_bootstrap |
|
30 |
6 |
220 |
| pmap_steal_memory |
|
43 |
15 |
298 |
| pmap_init |
|
5 |
2 |
24 |
| pg_to_pvh |
|
4 |
1 |
17 |
| pmap_create |
|
26 |
4 |
184 |
| pmap_destroy |
|
34 |
14 |
225 |
| pmap_collect |
|
41 |
10 |
256 |
| pmap_reference |
|
5 |
1 |
26 |
| pmap_activate |
|
11 |
2 |
70 |
| pmap_deactivate |
|
5 |
1 |
24 |
| pmap_do_remove |
|
68 |
22 |
501 |
| pmap_remove |
|
6 |
1 |
32 |
| pmap_page_wrprotect |
|
47 |
15 |
362 |
| pmap_page_remove |
|
29 |
4 |
192 |
| pmap_page_protect |
|
21 |
6 |
93 |
| pmap_protect |
|
74 |
26 |
534 |
| pmap_enter |
|
183 |
62 |
1238 |
| pmap_kenter_pa |
|
29 |
9 |
216 |
| pmap_kremove |
|
25 |
8 |
190 |
| pmap_unwire |
|
20 |
5 |
95 |
| pmap_extract |
|
37 |
14 |
248 |
| pmap_prefer |
|
6 |
2 |
29 |
| pmap_copy |
|
6 |
1 |
46 |
| pmap_zero_page |
|
24 |
7 |
179 |
| pmap_copy_page |
|
43 |
11 |
345 |
| pmap_clear_modify |
|
55 |
15 |
381 |
| pmap_clear_reference |
|
9 |
1 |
55 |
| pmap_is_referenced |
|
4 |
1 |
20 |
| pmap_is_modified |
|
4 |
1 |
20 |
| pmap_emulate_modify |
|
51 |
14 |
308 |
| pmap_do_page_cache |
|
40 |
11 |
290 |
| pmap_page_cache |
|
6 |
1 |
37 |
| pmap_alloc_tlbpid |
|
35 |
5 |
237 |
| pmap_enter_pv |
|
52 |
15 |
390 |
| pmap_remove_pv |
|
52 |
17 |
362 |
| pmap_pg_alloc |
|
20 |
5 |
98 |
| pmap_pg_free |
|
9 |
2 |
57 |
| pmap_proc_iflush |
|
13 |
3 |
78 |
| pmap_map_direct |
|
11 |
3 |
53 |
| pmap_unmap_direct |
|
14 |
4 |
66 |
| pmap_update |
|
4 |
1 |
16 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/r4000_errata.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| eop_undo |
|
6 |
1 |
35 |
| eop_page_check |
|
8 |
2 |
43 |
| eop_tlb_flush_addr |
|
14 |
4 |
91 |
| eop_tlb_miss_handler |
|
62 |
10 |
423 |
| eop_cleanup |
|
9 |
3 |
56 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/trap.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| ast |
|
9 |
1 |
54 |
| trap |
|
53 |
25 |
321 |
| itsa |
|
470 |
115 |
2644 |
| child_return |
|
11 |
1 |
55 |
| trapDump |
|
38 |
7 |
259 |
| MipsEmulateBranch |
|
102 |
33 |
552 |
| ptrace_read_insn |
|
15 |
1 |
106 |
| ptrace_write_insn |
|
15 |
1 |
106 |
| process_sstep |
|
48 |
12 |
333 |
| stacktrace |
|
4 |
1 |
18 |
| stacktrace_subr |
|
171 |
61 |
1065 |
| fn_name |
|
10 |
3 |
81 |
| fpe_branch_emulate |
|
98 |
35 |
595 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/cache_r10k.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| Mips10k_ConfigCache |
|
36 |
6 |
319 |
| mips10k_hitwbinv_primary |
|
9 |
2 |
40 |
| mips10k_hitwbinv_secondary |
|
9 |
2 |
43 |
| mips10k_hitinv_primary |
|
9 |
2 |
40 |
| mips10k_hitinv_secondary |
|
9 |
2 |
43 |
| Mips10k_SyncCache |
|
25 |
4 |
165 |
| Mips10k_InvalidateICache |
|
15 |
2 |
117 |
| Mips10k_InvalidateICachePage |
|
6 |
2 |
45 |
| Mips10k_SyncICache |
|
27 |
7 |
173 |
| Mips10k_SyncDCachePage |
|
19 |
3 |
180 |
| Mips10k_HitSyncDCachePage |
|
4 |
1 |
22 |
| Mips10k_HitSyncDCache |
|
8 |
1 |
60 |
| Mips10k_HitInvalidateDCache |
|
8 |
1 |
60 |
| Mips10k_IOSyncDCache |
|
47 |
12 |
287 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/db_disasm.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| dbmd_print_insn |
|
426 |
189 |
2662 |
| db_disasm |
|
12 |
2 |
70 |
| main |
|
12 |
3 |
61 |
| Source file: /home/sergeyb/sources/src/sys/arch/mips64/mips64/fp_emulate.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| MipsFPTrap |
|
186 |
63 |
928 |
| fpu_emulate |
|
64 |
28 |
287 |
| fpu_emulate_cop1 |
|
99 |
10 |
428 |
| fpu_emulate_cop1x |
|
38 |
8 |
210 |
| fpu_load |
|
30 |
10 |
140 |
| fpu_store |
|
12 |
2 |
104 |
| fpu_int_l |
|
21 |
6 |
169 |
| fpu_int_w |
|
21 |
6 |
169 |
| fpu_abs |
|
29 |
7 |
171 |
| fpu_add |
|
18 |
4 |
145 |
| fpu_c |
|
66 |
23 |
411 |
| fpu_ceil_l |
|
5 |
1 |
44 |
| fpu_ceil_w |
|
5 |
1 |
44 |
| fpu_cvt_d |
|
23 |
6 |
127 |
| fpu_cvt_l |
|
26 |
8 |
176 |
| fpu_cvt_s |
|
23 |
6 |
127 |
| fpu_cvt_w |
|
26 |
8 |
176 |
| fpu_div |
|
18 |
4 |
145 |
| fpu_floor_l |
|
5 |
1 |
44 |
| fpu_floor_w |
|
5 |
1 |
44 |
| fpu_madd |
|
23 |
4 |
179 |
| fpu_mov |
|
12 |
4 |
80 |
| fpu_movcf |
|
19 |
8 |
134 |
| fpu_movn |
|
13 |
5 |
96 |
| fpu_movz |
|
13 |
5 |
96 |
| fpu_msub |
|
23 |
4 |
179 |
| fpu_mul |
|
18 |
4 |
145 |
| fpu_neg |
|
29 |
7 |
167 |
| fpu_nmadd |
|
31 |
6 |
217 |
| fpu_nmsub |
|
31 |
6 |
217 |
| fpu_recip |
|
19 |
5 |
131 |
| fpu_round_l |
|
5 |
1 |
44 |
| fpu_round_w |
|
5 |
1 |
44 |
| fpu_rsqrt |
|
25 |
7 |
185 |
| fpu_sqrt |
|
19 |
5 |
127 |
| fpu_sub |
|
18 |
4 |
145 |
| fpu_trunc_l |
|
5 |
1 |
44 |
| fpu_trunc_w |
|
5 |
1 |
44 |
| nofpu_emulate_cop1 |
|
106 |
40 |
730 |
| nofpu_emulate_cop1x |
|
80 |
22 |
621 |
| nofpu_emulate_loadstore |
|
66 |
17 |
552 |
| nofpu_emulate_movci |
|
18 |
8 |
149 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/dev/rs5c313reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/dev/wdc_obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wdc_obio_match |
|
16 |
6 |
115 |
| wdc_obio_attach |
|
35 |
4 |
263 |
| wdc_obio_read_reg |
|
9 |
2 |
66 |
| wdc_obio_write_reg |
|
9 |
2 |
67 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/dev/obiovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/dev/power.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| power_match |
|
12 |
2 |
78 |
| power_attach |
|
12 |
2 |
76 |
| power_intr |
|
21 |
5 |
102 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/dev/obio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| obio_match |
|
7 |
2 |
49 |
| obio_attach |
|
9 |
1 |
67 |
| obio_search |
|
33 |
5 |
255 |
| obio_print |
|
43 |
12 |
316 |
| obio_intr_establish |
|
5 |
1 |
43 |
| obio_intr_disestablish |
|
4 |
1 |
13 |
| obio_iomem_add_mapping |
|
38 |
8 |
222 |
| obio_iomem_map |
|
13 |
3 |
92 |
| obio_iomem_unmap |
|
16 |
5 |
101 |
| obio_iomem_subregion |
|
6 |
1 |
33 |
| obio_iomem_alloc |
|
7 |
1 |
47 |
| obio_iomem_free |
|
4 |
1 |
23 |
| obio_iomem_vaddr |
|
4 |
1 |
20 |
| obio_iomem_read_1 |
|
4 |
1 |
27 |
| obio_iomem_read_2 |
|
4 |
1 |
27 |
| obio_iomem_read_4 |
|
4 |
1 |
27 |
| obio_iomem_read_multi_1 |
|
8 |
2 |
50 |
| obio_iomem_read_multi_2 |
|
8 |
2 |
50 |
| obio_iomem_read_multi_4 |
|
8 |
2 |
50 |
| obio_iomem_read_raw_multi_2 |
|
10 |
2 |
62 |
| obio_iomem_read_raw_multi_4 |
|
10 |
2 |
62 |
| obio_iomem_read_region_1 |
|
8 |
2 |
51 |
| obio_iomem_read_region_2 |
|
8 |
2 |
51 |
| obio_iomem_read_region_4 |
|
8 |
2 |
51 |
| obio_iomem_read_raw_region_2 |
|
10 |
2 |
63 |
| obio_iomem_read_raw_region_4 |
|
10 |
2 |
63 |
| obio_iomem_write_1 |
|
5 |
1 |
31 |
| obio_iomem_write_2 |
|
5 |
1 |
31 |
| obio_iomem_write_4 |
|
5 |
1 |
31 |
| obio_iomem_write_multi_1 |
|
8 |
2 |
51 |
| obio_iomem_write_multi_2 |
|
8 |
2 |
51 |
| obio_iomem_write_multi_4 |
|
8 |
2 |
51 |
| obio_iomem_write_raw_multi_2 |
|
10 |
2 |
63 |
| obio_iomem_write_raw_multi_4 |
|
10 |
2 |
63 |
| obio_iomem_write_region_1 |
|
8 |
2 |
52 |
| obio_iomem_write_region_2 |
|
8 |
2 |
52 |
| obio_iomem_write_region_4 |
|
8 |
2 |
52 |
| obio_iomem_write_raw_region_2 |
|
10 |
2 |
64 |
| obio_iomem_write_raw_region_4 |
|
10 |
2 |
64 |
| obio_iomem_set_multi_1 |
|
8 |
2 |
47 |
| obio_iomem_set_multi_2 |
|
8 |
2 |
47 |
| obio_iomem_set_multi_4 |
|
8 |
2 |
47 |
| obio_iomem_set_region_1 |
|
8 |
2 |
48 |
| obio_iomem_set_region_2 |
|
8 |
2 |
48 |
| obio_iomem_set_region_4 |
|
8 |
2 |
48 |
| obio_iomem_copy_1 |
|
17 |
4 |
106 |
| obio_iomem_copy_2 |
|
17 |
4 |
106 |
| obio_iomem_copy_4 |
|
17 |
4 |
106 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/dev/rs5c313.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rs5c313_init |
|
30 |
5 |
171 |
| rs5c313_read_reg |
|
26 |
1 |
171 |
| rs5c313_write_reg |
|
20 |
1 |
150 |
| rs5c313_gettime |
|
35 |
6 |
220 |
| rs5c313_settime |
|
34 |
4 |
221 |
| rtc_begin |
|
6 |
1 |
24 |
| rtc_ce |
|
8 |
2 |
36 |
| rtc_clk |
|
9 |
2 |
34 |
| rtc_dir |
|
9 |
2 |
34 |
| rtc_read |
|
10 |
2 |
51 |
| rtc_write |
|
13 |
2 |
58 |
| rs5c313_landisk_match |
|
7 |
2 |
39 |
| rs5c313_landisk_attach |
|
11 |
2 |
70 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/tcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/pte.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/pci_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/bus.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/cputypes.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/stand/xxboot/boot1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| boot1 |
|
27 |
11 |
175 |
| blkdevopen |
|
4 |
1 |
14 |
| blkdevclose |
|
4 |
1 |
12 |
| blkdevstrategy |
|
13 |
6 |
85 |
| raise |
|
4 |
1 |
10 |
| twiddle |
|
6 |
1 |
26 |
| devopen |
|
7 |
1 |
48 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/stand/boot/delay.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| tick_init |
|
9 |
1 |
44 |
| tick_stop |
|
4 |
1 |
13 |
| gettick |
|
4 |
1 |
14 |
| delay |
|
11 |
3 |
49 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/stand/boot/scifcons.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scif_init |
|
14 |
1 |
80 |
| scif_cnprobe |
|
4 |
1 |
15 |
| scif_cninit |
|
4 |
1 |
14 |
| scif_cngetc |
|
35 |
9 |
202 |
| scif_cnputc |
|
7 |
2 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/stand/boot/devs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| machdep |
|
5 |
1 |
14 |
| devopen |
|
9 |
4 |
76 |
| devboot |
|
7 |
1 |
36 |
| ttyname |
|
4 |
1 |
10 |
| ttydev |
|
4 |
1 |
11 |
| cnspeed |
|
5 |
1 |
18 |
| run_loadfile |
|
8 |
1 |
57 |
| blkdevopen |
|
4 |
1 |
14 |
| blkdevstrategy |
|
13 |
6 |
85 |
| blkdevclose |
|
4 |
1 |
12 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/stand/boot/libsa.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/stand/boot/getsecs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| rtc_init |
|
6 |
1 |
21 |
| rtc_ce |
|
9 |
2 |
45 |
| rtc_clk |
|
9 |
2 |
29 |
| rtc_dir |
|
9 |
2 |
29 |
| rtc_do |
|
11 |
2 |
39 |
| rtc_di |
|
8 |
2 |
34 |
| rtc_read |
|
29 |
1 |
154 |
| rtc_write |
|
23 |
1 |
125 |
| getsecs |
|
24 |
5 |
160 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_startup |
|
6 |
1 |
27 |
| landisk_startup |
|
31 |
6 |
180 |
| boot |
|
43 |
9 |
205 |
| machine_reset |
|
9 |
2 |
40 |
| InitializeBsc |
|
21 |
11 |
126 |
| cpu_dump |
|
22 |
3 |
196 |
| cpu_dumpsize |
|
6 |
1 |
43 |
| cpu_init_kcore_hdr |
|
16 |
2 |
112 |
| cpu_sysctl |
|
26 |
6 |
145 |
| blink_led |
|
16 |
2 |
96 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| device_register |
|
3 |
1 |
13 |
| cpu_configure |
|
10 |
2 |
42 |
| diskconf |
|
8 |
1 |
44 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/shpcic_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| shpcic_get_bus_io_tag |
|
5 |
1 |
15 |
| shpcic_get_bus_mem_tag |
|
5 |
1 |
15 |
| shpcic_get_bus_dma_tag |
|
5 |
1 |
15 |
| landisk_pci_attach_hook |
|
4 |
1 |
19 |
| landisk_pci_intr_map |
|
27 |
9 |
163 |
| landisk_pci_intr_string |
|
8 |
2 |
48 |
| landisk_pci_intr_establish |
|
7 |
2 |
60 |
| landisk_pci_intr_disestablish |
|
4 |
1 |
17 |
| landisk_pci_conf_interrupt |
|
9 |
5 |
88 |
| landisk_pci_conf_hook |
|
4 |
1 |
27 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
26 |
8 |
157 |
| writedisklabel |
|
30 |
4 |
213 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
5 |
2 |
26 |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
14 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/intr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| intc_intr |
|
45 |
16 |
307 |
| intr_init |
|
4 |
1 |
13 |
| extintr_establish |
|
48 |
12 |
340 |
| extintr_disestablish |
|
25 |
7 |
174 |
| extintr_enable |
|
28 |
6 |
166 |
| extintr_disable |
|
28 |
6 |
167 |
| extintr_disable_by_num |
|
15 |
3 |
92 |
| fakeintr |
|
4 |
1 |
11 |
| extintr_intr_handler |
|
20 |
6 |
111 |
| splassert_check |
|
11 |
2 |
65 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/clock_machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| machine_clock_init |
|
4 |
1 |
14 |
| landisk_rtc_init |
|
3 |
1 |
8 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
6 |
2 |
31 |
| mainbus_attach |
|
25 |
3 |
194 |
| mainbus_print |
|
4 |
2 |
22 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/consinit.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| consinit |
|
8 |
2 |
24 |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/landiskreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/landisk/landisk/bus_dma.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _bus_dmamap_create |
|
25 |
3 |
188 |
| _bus_dmamap_destroy |
|
5 |
1 |
30 |
| _bus_dmamap_load_paddr |
|
42 |
10 |
308 |
| _bus_dmamap_load_vaddr |
|
27 |
6 |
169 |
| _bus_dmamap_load |
|
17 |
4 |
122 |
| _bus_dmamap_load_mbuf |
|
23 |
7 |
142 |
| _bus_dmamap_load_uio |
|
5 |
1 |
23 |
| _bus_dmamap_load_raw |
|
5 |
1 |
28 |
| _bus_dmamap_unload |
|
6 |
1 |
33 |
| _bus_dmamap_sync |
|
64 |
22 |
392 |
| _bus_dmamem_alloc |
|
40 |
6 |
300 |
| _bus_dmamem_free |
|
20 |
3 |
153 |
| _bus_dmamem_map |
|
37 |
8 |
298 |
| _bus_dmamem_unmap |
|
14 |
5 |
101 |
| _bus_dmamem_mmap |
|
5 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/if_le.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lewrcsr |
|
6 |
1 |
44 |
| lerdcsr |
|
8 |
1 |
49 |
| le_match |
|
7 |
2 |
47 |
| le_attach |
|
24 |
1 |
195 |
| myetheraddr |
|
41 |
9 |
363 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/omrasops1.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| om1_windowmove |
|
129 |
23 |
759 |
| om4_windowmove |
|
183 |
23 |
1338 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/sioreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/siovar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/maskbits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/omrasops.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/siotty.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| siotty_match |
|
7 |
2 |
38 |
| siotty_attach |
|
47 |
5 |
415 |
| siottyintr |
|
47 |
9 |
252 |
| siottysoft |
|
15 |
3 |
70 |
| siotty_rxsoft |
|
33 |
7 |
199 |
| siotty_txsoft |
|
9 |
2 |
77 |
| siostart |
|
24 |
3 |
149 |
| siostop |
|
10 |
2 |
55 |
| sioparam |
|
44 |
13 |
343 |
| siomctl |
|
41 |
12 |
203 |
| sioopen |
|
41 |
11 |
293 |
| sioclose |
|
16 |
5 |
134 |
| sioread |
|
6 |
1 |
59 |
| siowrite |
|
6 |
1 |
59 |
| sioioctl |
|
50 |
14 |
308 |
| siotty |
|
5 |
1 |
27 |
| setsioreg |
|
6 |
2 |
33 |
| getsiocsr |
|
8 |
1 |
36 |
| syscnattach |
|
15 |
1 |
128 |
| syscngetc |
|
12 |
2 |
69 |
| syscnputc |
|
12 |
2 |
73 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/spc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spc_mainbus_match |
|
9 |
4 |
60 |
| spc_mainbus_attach |
|
14 |
1 |
103 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/lcd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lcd_match |
|
9 |
3 |
60 |
| lcd_attach |
|
5 |
1 |
27 |
| lcdopen |
|
13 |
4 |
78 |
| lcdclose |
|
8 |
1 |
49 |
| lcdwrite |
|
16 |
4 |
91 |
| lcdioctl |
|
66 |
25 |
254 |
| lcdbusywait |
|
16 |
2 |
93 |
| lcdput |
|
12 |
1 |
69 |
| lcdctrl |
|
12 |
1 |
69 |
| lcdshow |
|
6 |
2 |
29 |
| greeting |
|
12 |
1 |
60 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/mb89352.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| spc_attach |
|
18 |
2 |
148 |
| spc_reset |
|
21 |
1 |
186 |
| spc_scsi_reset |
|
10 |
1 |
80 |
| spc_init |
|
51 |
8 |
390 |
| spc_acb_free |
|
10 |
1 |
67 |
| spc_acb_alloc |
|
12 |
2 |
72 |
| spc_scsi_cmd |
|
40 |
6 |
280 |
| spc_poll |
|
15 |
4 |
88 |
| spc_sched_msgout |
|
9 |
2 |
58 |
| spc_setsync |
|
11 |
3 |
87 |
| spc_select |
|
19 |
2 |
170 |
| spc_reselect |
|
50 |
7 |
325 |
| spc_sched |
|
24 |
3 |
160 |
| spc_sense |
|
27 |
4 |
223 |
| spc_done |
|
51 |
14 |
309 |
| spc_dequeue |
|
8 |
2 |
54 |
| spc_msgin |
|
206 |
57 |
1277 |
| spc_msgout |
|
123 |
33 |
805 |
| spc_dataout_pio |
|
84 |
26 |
566 |
| spc_datain_pio |
|
75 |
28 |
500 |
| spc_intr |
|
253 |
60 |
1609 |
| spc_abort |
|
14 |
4 |
86 |
| spc_timeout |
|
19 |
2 |
104 |
| spc_show_scsi_cmd |
|
16 |
4 |
103 |
| spc_print_acb |
|
7 |
1 |
45 |
| spc_print_active_acb |
|
14 |
2 |
84 |
| spc_dump89352 |
|
26 |
2 |
189 |
| spc_dump_driver |
|
15 |
2 |
120 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/mb89352reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/timekeeper.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clock_match |
|
7 |
2 |
43 |
| clock_attach |
|
25 |
3 |
180 |
| mkclock_get |
|
22 |
3 |
237 |
| mkclock_set |
|
23 |
2 |
273 |
| dsclock_get |
|
31 |
5 |
238 |
| dsclock_set |
|
26 |
2 |
202 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/omkbdmap.c |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/lunaws.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| wsmatch |
|
7 |
2 |
38 |
| wsattach |
|
37 |
2 |
341 |
| ws_submatch_kbd |
|
7 |
2 |
61 |
| ws_submatch_mouse |
|
7 |
2 |
61 |
| wsintr |
|
22 |
5 |
131 |
| wssoftintr |
|
31 |
10 |
223 |
| omkbd_input |
|
25 |
7 |
145 |
| omkbd_decode |
|
5 |
2 |
39 |
| ws_cngetc |
|
6 |
1 |
40 |
| ws_cnpollc |
|
3 |
1 |
11 |
| ws_cnattach |
|
5 |
1 |
21 |
| omkbd_enable |
|
4 |
1 |
14 |
| omkbd_set_leds |
|
7 |
2 |
51 |
| omkbd_ioctl |
|
20 |
9 |
103 |
| omms_enable |
|
7 |
1 |
34 |
| omms_ioctl |
|
9 |
2 |
47 |
| omms_disable |
|
6 |
1 |
31 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/lunafb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| omfbmatch |
|
11 |
5 |
77 |
| omfbattach |
|
22 |
2 |
150 |
| omfb_cnattach |
|
11 |
1 |
75 |
| omfbioctl |
|
39 |
15 |
209 |
| omfbmmap |
|
13 |
7 |
113 |
| omgetcmap |
|
21 |
7 |
177 |
| omsetcmap |
|
43 |
11 |
429 |
| omfb_getdevconfig |
|
57 |
8 |
395 |
| omfb_alloc_screen |
|
14 |
2 |
104 |
| omfb_free_screen |
|
5 |
1 |
24 |
| omfb_show_screen |
|
5 |
1 |
36 |
| omfb_load_font |
|
6 |
1 |
46 |
| omfb_list_font |
|
6 |
1 |
40 |
| omfb_set_gfxmode |
|
33 |
10 |
186 |
| omfb_clear_framebuffer |
|
9 |
2 |
86 |
| omfb_set_default_cmap |
|
54 |
12 |
454 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/omrasops.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| om1_putchar |
|
52 |
7 |
482 |
| om4_putchar |
|
107 |
14 |
917 |
| om_erasecols |
|
14 |
2 |
146 |
| om_eraserows |
|
21 |
4 |
187 |
| om_copyrows |
|
11 |
1 |
89 |
| om_copycols |
|
12 |
1 |
106 |
| om1_cursor |
|
47 |
6 |
348 |
| om4_cursor |
|
51 |
6 |
370 |
| setup_omrasops1 |
|
8 |
1 |
39 |
| setup_omrasops4 |
|
9 |
1 |
47 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/omkbdmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/mb89352var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/xp.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| put_pio0c |
|
6 |
1 |
46 |
| xp_match |
|
12 |
4 |
65 |
| xp_attach |
|
8 |
1 |
52 |
| xpopen |
|
16 |
4 |
91 |
| xpclose |
|
12 |
2 |
73 |
| xpioctl |
|
40 |
7 |
233 |
| xpmmap |
|
14 |
3 |
78 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/sio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sio_match |
|
9 |
3 |
60 |
| sio_attach |
|
18 |
2 |
137 |
| sio_print |
|
9 |
3 |
54 |
| xsiointr |
|
7 |
1 |
62 |
| nullintr |
|
3 |
1 |
8 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/dev/timekeeper.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/pmap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/disklabel.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/asm_macro.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/kcore.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/profile.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/xpio.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/mmu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/vmparam.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/lock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/board.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/_float.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/m8820x.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/exec.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/spinlock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/tcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/stdarg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/_types.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/ieee.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/loadfile_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/ieeefp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/fenv.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/mutex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/cpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/cdefs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/endian.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/frame.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/varargs.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/intr.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/lcd.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/ptrace.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/limits.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/conf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/atomic.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/pmap_table.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/bus.h |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bus_space_map |
|
6 |
1 |
39 |
| bus_space_unmap |
|
4 |
1 |
15 |
| bus_space_subregion |
|
6 |
1 |
30 |
| bus_space_alloc |
|
6 |
1 |
38 |
| bus_space_free |
|
4 |
1 |
18 |
| bus_space_read_multi_1 |
|
6 |
2 |
43 |
| bus_space_read_multi_2 |
|
6 |
2 |
43 |
| bus_space_read_multi_4 |
|
6 |
2 |
43 |
| bus_space_read_raw_multi_2 |
|
10 |
2 |
57 |
| bus_space_read_raw_multi_4 |
|
10 |
2 |
57 |
| bus_space_read_region_1 |
|
6 |
2 |
44 |
| bus_space_read_region_2 |
|
8 |
2 |
49 |
| bus_space_read_region_4 |
|
8 |
2 |
49 |
| bus_space_write_multi_1 |
|
6 |
2 |
43 |
| bus_space_write_multi_2 |
|
6 |
2 |
43 |
| bus_space_write_multi_4 |
|
6 |
2 |
43 |
| bus_space_write_raw_multi_2 |
|
9 |
2 |
57 |
| bus_space_write_raw_multi_4 |
|
9 |
2 |
57 |
| bus_space_write_region_1 |
|
6 |
2 |
44 |
| bus_space_write_region_2 |
|
8 |
2 |
49 |
| bus_space_write_region_4 |
|
8 |
2 |
49 |
| bus_space_set_multi_1 |
|
6 |
2 |
40 |
| bus_space_set_multi_2 |
|
6 |
2 |
40 |
| bus_space_set_multi_4 |
|
6 |
2 |
40 |
| bus_space_set_region_1 |
|
6 |
2 |
41 |
| bus_space_set_region_2 |
|
8 |
2 |
46 |
| bus_space_set_region_4 |
|
8 |
2 |
46 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/cmmu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/psl.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/proc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/mplock.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/setjmp.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/reloc.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/pcb.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/m88100.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/autoconf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/db_machdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/signal.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/asm.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/param.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/pcex.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/trap.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/include/fpu.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/awaitkey.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| print_countdown |
|
9 |
2 |
61 |
| awaitkey |
|
28 |
9 |
129 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/if_le.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| leinit |
|
16 |
3 |
97 |
| le_match |
|
14 |
6 |
85 |
| le_probe |
|
4 |
1 |
16 |
| le_init |
|
13 |
2 |
92 |
| le_get |
|
15 |
3 |
102 |
| le_put |
|
12 |
3 |
109 |
| le_end |
|
7 |
2 |
46 |
| myetheraddr |
|
41 |
9 |
365 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/scsivar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/lance.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/lance.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| lance_attach |
|
17 |
3 |
98 |
| lance_cookie |
|
10 |
3 |
43 |
| lance_eaddr |
|
7 |
3 |
35 |
| lance_init |
|
10 |
3 |
45 |
| lance_get |
|
35 |
8 |
249 |
| lance_put |
|
44 |
9 |
290 |
| lance_end |
|
8 |
1 |
39 |
| lance_set_initblock |
|
16 |
1 |
98 |
| lance_do_initialize |
|
23 |
3 |
119 |
| lance_setup |
|
38 |
4 |
417 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/bcd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bcdtobin |
|
4 |
1 |
30 |
| bintobcd |
|
4 |
1 |
32 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/fault.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_vbr |
|
6 |
1 |
22 |
| set_vbr |
|
4 |
1 |
18 |
| libsa_fault_handler |
|
6 |
1 |
23 |
| br |
|
4 |
1 |
24 |
| libsa_fault_init |
|
16 |
2 |
98 |
| badaddr |
|
42 |
8 |
191 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/sioreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/bmd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bmd_escape |
|
14 |
2 |
60 |
| bmd_escape_0 |
|
36 |
9 |
191 |
| bmd_escape_1 |
|
29 |
5 |
207 |
| bmdinit |
|
37 |
2 |
319 |
| bmdadjust |
|
9 |
1 |
58 |
| bmdputc |
|
79 |
16 |
452 |
| bmdclear |
|
11 |
1 |
73 |
| bmd_draw_char |
|
53 |
9 |
583 |
| bmd_reverse_char |
|
47 |
9 |
539 |
| bmd_erase_char |
|
5 |
1 |
33 |
| bmd_erase_screen |
|
10 |
3 |
55 |
| bmd_scroll_screen |
|
20 |
5 |
167 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/sc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| scinit |
|
30 |
5 |
160 |
| screset |
|
22 |
5 |
125 |
| issue_select |
|
10 |
1 |
65 |
| ixfer_start |
|
8 |
1 |
72 |
| ixfer_out |
|
9 |
3 |
51 |
| ixfer_in |
|
9 |
3 |
51 |
| scrun |
|
23 |
4 |
164 |
| scfinish |
|
15 |
1 |
84 |
| scabort |
|
39 |
14 |
290 |
| scsi_test_unit_rdy |
|
24 |
9 |
154 |
| scsi_request_sense |
|
25 |
9 |
160 |
| scsi_immed_command |
|
25 |
9 |
177 |
| scintr |
|
101 |
25 |
626 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/bmc.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| bmccnprobe |
|
13 |
3 |
57 |
| bmccninit |
|
5 |
1 |
17 |
| bmccngetc |
|
10 |
2 |
41 |
| bmccnputc |
|
4 |
1 |
15 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/kbd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| kbd_decode |
|
35 |
12 |
174 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/sd.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sdident |
|
68 |
25 |
504 |
| sdinit |
|
33 |
6 |
233 |
| sdopen |
|
17 |
4 |
102 |
| sdclose |
|
7 |
1 |
36 |
| sdstrategy |
|
34 |
6 |
308 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/samachdep.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/status.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/conf.c |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/ufs_disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| sun_extended_sum |
|
10 |
2 |
65 |
| readdisklabel |
|
106 |
25 |
823 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/init_main.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| main |
|
59 |
14 |
356 |
| get_plane_numbers |
|
9 |
3 |
47 |
| get_fuse_rom_data |
|
11 |
2 |
79 |
| get_nvram_data |
|
30 |
7 |
265 |
| nvram_by_symbol |
|
14 |
3 |
71 |
| _rtt |
|
5 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/devopen.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| devopen |
|
27 |
8 |
206 |
| make_device |
|
55 |
27 |
397 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/dev_net.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| net_open |
|
42 |
13 |
196 |
| net_close |
|
19 |
8 |
83 |
| net_ioctl |
|
4 |
1 |
19 |
| net_strategy |
|
5 |
1 |
28 |
| net_getparams |
|
47 |
22 |
239 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/getline.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getline |
|
43 |
11 |
194 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/prf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getchar |
|
12 |
4 |
53 |
| tgetchar |
|
12 |
4 |
55 |
| putchar |
|
6 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/parse.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| exit_program |
|
4 |
1 |
18 |
| cmd_help |
|
5 |
1 |
21 |
| parse |
|
11 |
3 |
88 |
| getargs |
|
16 |
6 |
100 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/scsireg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/dev_net.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/getsecs.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| getsecs |
|
33 |
4 |
225 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/font.c |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/kbdreg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/boot.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| get_boot_device |
|
31 |
13 |
201 |
| boot |
|
10 |
2 |
48 |
| bootunix |
|
42 |
10 |
298 |
| loadrandom |
|
20 |
7 |
135 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/sio.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| _siointr |
|
7 |
3 |
33 |
| siointr |
|
20 |
6 |
135 |
| siocnprobe |
|
11 |
2 |
71 |
| siocninit |
|
6 |
1 |
24 |
| siocngetc |
|
9 |
2 |
40 |
| siocnputc |
|
11 |
4 |
90 |
| sioinit |
|
21 |
1 |
220 |
| sioreg |
|
15 |
4 |
98 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/stand/boot/rcvbuf.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/cbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cbus_match |
|
9 |
4 |
60 |
| cbus_attach |
|
20 |
3 |
174 |
| cbus_print |
|
9 |
3 |
56 |
| cbus_isrlink |
|
28 |
8 |
189 |
| cbus_isrunlink |
|
26 |
8 |
181 |
| cbus_isrdispatch |
|
32 |
11 |
187 |
| cbus_intr_registered |
|
9 |
3 |
46 |
| cbus_intr |
|
18 |
5 |
115 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/nec86reg.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/nec86hw.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nec86hw_attach |
|
25 |
1 |
184 |
| nec86hw_open |
|
19 |
3 |
115 |
| nec86hw_close |
|
9 |
1 |
57 |
| nec86hw_set_params |
|
24 |
4 |
194 |
| nec86hw_round_blocksize |
|
9 |
3 |
46 |
| nec86hw_set_out_port |
|
9 |
2 |
49 |
| nec86hw_get_out_port |
|
6 |
1 |
33 |
| nec86hw_set_in_port |
|
9 |
2 |
49 |
| nec86hw_get_in_port |
|
6 |
1 |
33 |
| nec86hw_commit_settings |
|
18 |
5 |
105 |
| nec86hw_setfd |
|
5 |
1 |
21 |
| nec86hw_mixer_set_port |
|
5 |
1 |
22 |
| nec86hw_mixer_get_port |
|
5 |
1 |
22 |
| nec86hw_mixer_query_devinfo |
|
5 |
1 |
22 |
| nec86hw_set_output_block |
|
25 |
2 |
183 |
| nec86hw_set_input_block |
|
18 |
1 |
150 |
| nec86hw_pdma_init_output |
|
15 |
1 |
94 |
| nec86hw_pdma_init_input |
|
15 |
1 |
94 |
| nec86hw_pdma_output |
|
33 |
5 |
215 |
| nec86hw_pdma_input |
|
29 |
4 |
196 |
| nec86hw_halt_pdma |
|
9 |
1 |
49 |
| nec86hw_cont_pdma |
|
9 |
1 |
49 |
| nec86hw_speaker_ctl |
|
20 |
3 |
101 |
| nec86hw_rate_bits |
|
16 |
5 |
103 |
| nec86hw_round_watermark |
|
7 |
2 |
30 |
| nec86hw_reset |
|
12 |
2 |
55 |
| nec86hw_set_mode_playing |
|
9 |
1 |
52 |
| nec86hw_set_mode_recording |
|
9 |
1 |
52 |
| nec86hw_set_volume |
|
8 |
1 |
50 |
| nec86hw_start_fifo |
|
9 |
1 |
52 |
| nec86hw_stop_fifo |
|
9 |
1 |
52 |
| nec86hw_enable_fifointr |
|
9 |
1 |
52 |
| nec86hw_disable_fifointr |
|
9 |
1 |
52 |
| nec86hw_seeif_intrflg |
|
8 |
1 |
44 |
| nec86hw_clear_intrflg |
|
11 |
1 |
67 |
| nec86hw_reset_fifo |
|
11 |
1 |
67 |
| nec86hw_set_watermark |
|
10 |
5 |
74 |
| nec86hw_set_precision_real |
|
11 |
2 |
65 |
| nec86hw_set_rate_real |
|
10 |
1 |
61 |
| nec86hw_output_chunk |
|
23 |
3 |
141 |
| nec86fifo_output_mono_8_direct |
|
15 |
2 |
93 |
| nec86fifo_output_mono_16_direct |
|
19 |
3 |
173 |
| nec86fifo_output_stereo_8_direct |
|
12 |
2 |
91 |
| nec86fifo_output_stereo_16_direct |
|
22 |
3 |
185 |
| nec86fifo_output_mono_8_resamp |
|
34 |
3 |
219 |
| nec86fifo_output_mono_16_resamp |
|
38 |
3 |
264 |
| nec86hw_input_chunk |
|
19 |
2 |
123 |
| nec86fifo_input_mono_8_direct |
|
13 |
2 |
96 |
| nec86fifo_input_mono_16_direct |
|
19 |
3 |
178 |
| nec86fifo_input_stereo_8_direct |
|
11 |
2 |
82 |
| nec86fifo_input_stereo_16_direct |
|
21 |
3 |
180 |
| nec86fifo_padding |
|
9 |
2 |
65 |
| nec86hw_intr |
|
43 |
8 |
221 |
| nec86_get_props |
|
4 |
1 |
11 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/necsb.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| necsb_match |
|
7 |
2 |
43 |
| necsb_attach |
|
24 |
5 |
177 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/i82365_cbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcic_cbus_probe |
|
33 |
8 |
233 |
| pcic_cbus_attach |
|
70 |
9 |
471 |
| pcic_cbus_chip_intr_establish |
|
35 |
7 |
282 |
| pcic_cbus_chip_intr_disestablish |
|
22 |
3 |
154 |
| pcic_cbus_chip_intr_string |
|
12 |
2 |
77 |
| pcic_cbus_intlevel_find |
|
14 |
5 |
82 |
| pcic_cbus_chip_io_alloc |
|
49 |
10 |
357 |
| pcic_cbus_chip_io_free |
|
8 |
1 |
42 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/nec86.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| nec86_ym_read |
|
8 |
1 |
65 |
| nec86_ym_write |
|
8 |
1 |
63 |
| nec86_probesubr |
|
21 |
9 |
96 |
| nec86_attachsubr |
|
61 |
9 |
330 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/pcex.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pcex_match |
|
7 |
2 |
43 |
| pcex_attach |
|
9 |
2 |
62 |
| pcexopen |
|
10 |
3 |
41 |
| pcexclose |
|
4 |
1 |
23 |
| pcexmmap |
|
17 |
7 |
87 |
| pcexioctl |
|
20 |
6 |
110 |
| pcex_set_int |
|
11 |
3 |
72 |
| pcex_reset_int |
|
10 |
3 |
54 |
| pcex_wait_int |
|
13 |
5 |
75 |
| pcex_intr |
|
6 |
2 |
23 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/cbusvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/nec86var.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/cbus/nec86hwvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/m8820x.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| m8820x_setup_board_config |
|
32 |
6 |
256 |
| m8820x_cpu_number |
|
24 |
7 |
142 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/machdep.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| consinit |
|
13 |
4 |
47 |
| size_memory |
|
21 |
5 |
138 |
| getcpuspeed |
|
11 |
3 |
30 |
| identifycpu |
|
7 |
2 |
31 |
| cpu_startup |
|
48 |
12 |
258 |
| boot |
|
38 |
11 |
184 |
| dumpconf |
|
19 |
7 |
148 |
| dumpsys |
|
82 |
17 |
452 |
| cpu_setup_secondary_processors |
|
10 |
5 |
57 |
| luna88k_set_cpu_number |
|
28 |
1 |
106 |
| cpu_boot_secondary_processors |
|
4 |
1 |
11 |
| secondary_pre_main |
|
19 |
3 |
104 |
| secondary_main |
|
21 |
1 |
122 |
| luna88k_ext_int |
|
50 |
15 |
282 |
| sys_sysarch |
|
9 |
2 |
35 |
| cpu_sysctl |
|
20 |
5 |
116 |
| luna88k_vector_init |
|
8 |
1 |
62 |
| luna88k_bootstrap |
|
42 |
4 |
268 |
| romttycnprobe |
|
6 |
1 |
28 |
| romttycninit |
|
4 |
1 |
11 |
| romttycngetc |
|
11 |
2 |
45 |
| romttycnputc |
|
9 |
1 |
33 |
| powerdown |
|
7 |
1 |
47 |
| get_fuse_rom_data |
|
11 |
2 |
79 |
| get_nvram_data |
|
30 |
7 |
265 |
| nvram_by_symbol |
|
14 |
3 |
70 |
| setlevel |
|
10 |
3 |
56 |
| getipl |
|
4 |
1 |
16 |
| setipl |
|
12 |
1 |
60 |
| splraise |
|
13 |
2 |
69 |
| m88k_send_ipi |
|
8 |
2 |
53 |
| luna88k_ipi_handler |
|
16 |
5 |
96 |
| m88k_broadcast_ipi |
|
12 |
3 |
60 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/clockvar.h |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/autoconf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| cpu_configure |
|
11 |
2 |
51 |
| diskconf |
|
7 |
2 |
34 |
| get_autoboot_device |
|
30 |
9 |
216 |
| device_register |
|
16 |
6 |
114 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/disksubr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| readdisklabel |
|
39 |
11 |
238 |
| writedisklabel |
|
23 |
3 |
154 |
| sun_extended_sum |
|
10 |
2 |
65 |
| disklabel_om_to_bsd |
|
89 |
20 |
711 |
| disklabel_bsd_to_om |
|
57 |
11 |
463 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/pmap_table.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| pmap_table_build |
|
4 |
1 |
8 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/conf.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| iskmemdev |
|
5 |
2 |
26 |
| iszerodev |
|
5 |
2 |
26 |
| getnulldev |
|
4 |
1 |
13 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/clock.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| clockattach |
|
9 |
2 |
43 |
| cpu_initclocks |
|
9 |
3 |
38 |
| setstatclockrate |
|
3 |
1 |
7 |
| inittodr |
|
41 |
15 |
254 |
| resettodr |
|
8 |
2 |
37 |
| clockintr |
|
10 |
4 |
55 |
| clock_get_tc |
|
4 |
1 |
17 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/mainbus.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| mainbus_match |
|
9 |
2 |
44 |
| mainbus_attach |
|
14 |
4 |
103 |
| mainbus_print |
|
9 |
2 |
44 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/isr.c |
| Function name | | LOC | Cyclomatic complexity | Token count |
| isrinit |
|
7 |
2 |
32 |
| isrlink_autovec |
|
30 |
8 |
217 |
| isrdispatch_autovec |
|
33 |
14 |
187 |
| Source file: /home/sergeyb/sources/src/sys/arch/luna88k/luna88k/isr.h |